1@%:@! /bin/sh 2@%:@ Guess values for system-dependent variables and create Makefiles. 3@%:@ Generated by GNU Autoconf 2.69 for mediainfo 21.09. 4@%:@ 5@%:@ 6@%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 7@%:@ 8@%:@ 9@%:@ This configure script is free software; the Free Software Foundation 10@%:@ gives unlimited permission to copy, distribute and modify it. 11## -------------------- ## 12## M4sh Initialization. ## 13## -------------------- ## 14 15# Be more Bourne compatible 16DUALCASE=1; export DUALCASE # for MKS sh 17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 emulate sh 19 NULLCMD=: 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 # is contrary to our usage. Disable this feature. 22 alias -g '${1+"$@"}'='"$@"' 23 setopt NO_GLOB_SUBST 24else 25 case `(set -o) 2>/dev/null` in @%:@( 26 *posix*) : 27 set -o posix ;; @%:@( 28 *) : 29 ;; 30esac 31fi 32 33 34as_nl=' 35' 36export as_nl 37# Printing a long string crashes Solaris 7 /usr/bin/printf. 38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 41# Prefer a ksh shell builtin over an external printf program on Solaris, 42# but without wasting forks for bash or zsh. 43if test -z "$BASH_VERSION$ZSH_VERSION" \ 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 45 as_echo='print -r --' 46 as_echo_n='print -rn --' 47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in @%:@( 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70fi 71 72# The user is always right. 73if test "${PATH_SEPARATOR+set}" != set; then 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79fi 80 81 82# IFS 83# We need space, tab and new line, in precisely that order. Quoting is 84# there to prevent editors from complaining about space-tab. 85# (If _AS_PATH_WALK were called with IFS unset, it would disable word 86# splitting by setting IFS to empty value.) 87IFS=" "" $as_nl" 88 89# Find who we are. Look in the path if we contain no directory separator. 90as_myself= 91case $0 in @%:@(( 92 *[\\/]* ) as_myself=$0 ;; 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 94for as_dir in $PATH 95do 96 IFS=$as_save_IFS 97 test -z "$as_dir" && as_dir=. 98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 99 done 100IFS=$as_save_IFS 101 102 ;; 103esac 104# We did not find ourselves, most probably we were run as `sh COMMAND' 105# in which case we are not to be found in the path. 106if test "x$as_myself" = x; then 107 as_myself=$0 108fi 109if test ! -f "$as_myself"; then 110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 111 exit 1 112fi 113 114# Unset variables that we do not need and which cause bugs (e.g. in 115# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 116# suppresses any "Segmentation fault" message there. '((' could 117# trigger a bug in pdksh 5.2.14. 118for as_var in BASH_ENV ENV MAIL MAILPATH 119do eval test x\${$as_var+set} = xset \ 120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 121done 122PS1='$ ' 123PS2='> ' 124PS4='+ ' 125 126# NLS nuisances. 127LC_ALL=C 128export LC_ALL 129LANGUAGE=C 130export LANGUAGE 131 132# CDPATH. 133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 134 135# Use a proper internal environment variable to ensure we don't fall 136 # into an infinite loop, continuously re-executing ourselves. 137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 138 _as_can_reexec=no; export _as_can_reexec; 139 # We cannot yet assume a decent shell, so we have to provide a 140# neutralization value for shells without unset; and this also 141# works around shells that cannot unset nonexistent variables. 142# Preserve -v and -x to the replacement shell. 143BASH_ENV=/dev/null 144ENV=/dev/null 145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 146case $- in @%:@ (((( 147 *v*x* | *x*v* ) as_opts=-vx ;; 148 *v* ) as_opts=-v ;; 149 *x* ) as_opts=-x ;; 150 * ) as_opts= ;; 151esac 152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 153# Admittedly, this is quite paranoid, since all the known shells bail 154# out after a failed `exec'. 155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 156as_fn_exit 255 157 fi 158 # We don't want this to propagate to other subprocesses. 159 { _as_can_reexec=; unset _as_can_reexec;} 160if test "x$CONFIG_SHELL" = x; then 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 162 emulate sh 163 NULLCMD=: 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 165 # is contrary to our usage. Disable this feature. 166 alias -g '\${1+\"\$@\"}'='\"\$@\"' 167 setopt NO_GLOB_SUBST 168else 169 case \`(set -o) 2>/dev/null\` in @%:@( 170 *posix*) : 171 set -o posix ;; @%:@( 172 *) : 173 ;; 174esac 175fi 176" 177 as_required="as_fn_return () { (exit \$1); } 178as_fn_success () { as_fn_return 0; } 179as_fn_failure () { as_fn_return 1; } 180as_fn_ret_success () { return 0; } 181as_fn_ret_failure () { return 1; } 182 183exitcode=0 184as_fn_success || { exitcode=1; echo as_fn_success failed.; } 185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 189 190else 191 exitcode=1; echo positional parameters were not saved. 192fi 193test x\$exitcode = x0 || exit 1 194test -x / || exit 1" 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 199 200 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 201 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 202 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 204 PATH=/empty FPATH=/empty; export PATH FPATH 205 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 206 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 207test \$(( 1 + 1 )) = 2 || exit 1" 208 if (eval "$as_required") 2>/dev/null; then : 209 as_have_required=yes 210else 211 as_have_required=no 212fi 213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 214 215else 216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 217as_found=false 218for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 219do 220 IFS=$as_save_IFS 221 test -z "$as_dir" && as_dir=. 222 as_found=: 223 case $as_dir in @%:@( 224 /*) 225 for as_base in sh bash ksh sh5; do 226 # Try only shells that exist, to save several forks. 227 as_shell=$as_dir/$as_base 228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 230 CONFIG_SHELL=$as_shell as_have_required=yes 231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 break 2 233fi 234fi 235 done;; 236 esac 237 as_found=false 238done 239$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 241 CONFIG_SHELL=$SHELL as_have_required=yes 242fi; } 243IFS=$as_save_IFS 244 245 246 if test "x$CONFIG_SHELL" != x; then : 247 export CONFIG_SHELL 248 # We cannot yet assume a decent shell, so we have to provide a 249# neutralization value for shells without unset; and this also 250# works around shells that cannot unset nonexistent variables. 251# Preserve -v and -x to the replacement shell. 252BASH_ENV=/dev/null 253ENV=/dev/null 254(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 255case $- in @%:@ (((( 256 *v*x* | *x*v* ) as_opts=-vx ;; 257 *v* ) as_opts=-v ;; 258 *x* ) as_opts=-x ;; 259 * ) as_opts= ;; 260esac 261exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 262# Admittedly, this is quite paranoid, since all the known shells bail 263# out after a failed `exec'. 264$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 265exit 255 266fi 267 268 if test x$as_have_required = xno; then : 269 $as_echo "$0: This script requires a shell more modern than all" 270 $as_echo "$0: the shells that I found on your system." 271 if test x${ZSH_VERSION+set} = xset ; then 272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 273 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 274 else 275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 276$0: including any error possibly output before this 277$0: message. Then install a modern shell, or manually run 278$0: the script under such a shell if you do have one." 279 fi 280 exit 1 281fi 282fi 283fi 284SHELL=${CONFIG_SHELL-/bin/sh} 285export SHELL 286# Unset more variables known to interfere with behavior of common tools. 287CLICOLOR_FORCE= GREP_OPTIONS= 288unset CLICOLOR_FORCE GREP_OPTIONS 289 290## --------------------- ## 291## M4sh Shell Functions. ## 292## --------------------- ## 293@%:@ as_fn_unset VAR 294@%:@ --------------- 295@%:@ Portably unset VAR. 296as_fn_unset () 297{ 298 { eval $1=; unset $1;} 299} 300as_unset=as_fn_unset 301 302@%:@ as_fn_set_status STATUS 303@%:@ ----------------------- 304@%:@ Set @S|@? to STATUS, without forking. 305as_fn_set_status () 306{ 307 return $1 308} @%:@ as_fn_set_status 309 310@%:@ as_fn_exit STATUS 311@%:@ ----------------- 312@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 313as_fn_exit () 314{ 315 set +e 316 as_fn_set_status $1 317 exit $1 318} @%:@ as_fn_exit 319 320@%:@ as_fn_mkdir_p 321@%:@ ------------- 322@%:@ Create "@S|@as_dir" as a directory, including parents if necessary. 323as_fn_mkdir_p () 324{ 325 326 case $as_dir in #( 327 -*) as_dir=./$as_dir;; 328 esac 329 test -d "$as_dir" || eval $as_mkdir_p || { 330 as_dirs= 331 while :; do 332 case $as_dir in #( 333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 334 *) as_qdir=$as_dir;; 335 esac 336 as_dirs="'$as_qdir' $as_dirs" 337 as_dir=`$as_dirname -- "$as_dir" || 338$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 339 X"$as_dir" : 'X\(//\)[^/]' \| \ 340 X"$as_dir" : 'X\(//\)$' \| \ 341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 342$as_echo X"$as_dir" | 343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 344 s//\1/ 345 q 346 } 347 /^X\(\/\/\)[^/].*/{ 348 s//\1/ 349 q 350 } 351 /^X\(\/\/\)$/{ 352 s//\1/ 353 q 354 } 355 /^X\(\/\).*/{ 356 s//\1/ 357 q 358 } 359 s/.*/./; q'` 360 test -d "$as_dir" && break 361 done 362 test -z "$as_dirs" || eval "mkdir $as_dirs" 363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 364 365 366} @%:@ as_fn_mkdir_p 367 368@%:@ as_fn_executable_p FILE 369@%:@ ----------------------- 370@%:@ Test if FILE is an executable regular file. 371as_fn_executable_p () 372{ 373 test -f "$1" && test -x "$1" 374} @%:@ as_fn_executable_p 375@%:@ as_fn_append VAR VALUE 376@%:@ ---------------------- 377@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take 378@%:@ advantage of any shell optimizations that allow amortized linear growth over 379@%:@ repeated appends, instead of the typical quadratic growth present in naive 380@%:@ implementations. 381if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 382 eval 'as_fn_append () 383 { 384 eval $1+=\$2 385 }' 386else 387 as_fn_append () 388 { 389 eval $1=\$$1\$2 390 } 391fi # as_fn_append 392 393@%:@ as_fn_arith ARG... 394@%:@ ------------------ 395@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the 396@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments 397@%:@ must be portable across @S|@(()) and expr. 398if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 399 eval 'as_fn_arith () 400 { 401 as_val=$(( $* )) 402 }' 403else 404 as_fn_arith () 405 { 406 as_val=`expr "$@" || test $? -eq 1` 407 } 408fi # as_fn_arith 409 410 411@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] 412@%:@ ---------------------------------------- 413@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are 414@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the 415@%:@ script with STATUS, using 1 if that was 0. 416as_fn_error () 417{ 418 as_status=$1; test $as_status -eq 0 && as_status=1 419 if test "$4"; then 420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 422 fi 423 $as_echo "$as_me: error: $2" >&2 424 as_fn_exit $as_status 425} @%:@ as_fn_error 426 427if expr a : '\(a\)' >/dev/null 2>&1 && 428 test "X`expr 00001 : '.*\(...\)'`" = X001; then 429 as_expr=expr 430else 431 as_expr=false 432fi 433 434if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 435 as_basename=basename 436else 437 as_basename=false 438fi 439 440if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 441 as_dirname=dirname 442else 443 as_dirname=false 444fi 445 446as_me=`$as_basename -- "$0" || 447$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 448 X"$0" : 'X\(//\)$' \| \ 449 X"$0" : 'X\(/\)' \| . 2>/dev/null || 450$as_echo X/"$0" | 451 sed '/^.*\/\([^/][^/]*\)\/*$/{ 452 s//\1/ 453 q 454 } 455 /^X\/\(\/\/\)$/{ 456 s//\1/ 457 q 458 } 459 /^X\/\(\/\).*/{ 460 s//\1/ 461 q 462 } 463 s/.*/./; q'` 464 465# Avoid depending upon Character Ranges. 466as_cr_letters='abcdefghijklmnopqrstuvwxyz' 467as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 468as_cr_Letters=$as_cr_letters$as_cr_LETTERS 469as_cr_digits='0123456789' 470as_cr_alnum=$as_cr_Letters$as_cr_digits 471 472 473 as_lineno_1=$LINENO as_lineno_1a=$LINENO 474 as_lineno_2=$LINENO as_lineno_2a=$LINENO 475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 478 sed -n ' 479 p 480 /[$]LINENO/= 481 ' <$as_myself | 482 sed ' 483 s/[$]LINENO.*/&-/ 484 t lineno 485 b 486 :lineno 487 N 488 :loop 489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 490 t loop 491 s/-\n.*// 492 ' >$as_me.lineno && 493 chmod +x "$as_me.lineno" || 494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 495 496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 497 # already done that, so ensure we don't try to do so again and fall 498 # in an infinite loop. This has already happened in practice. 499 _as_can_reexec=no; export _as_can_reexec 500 # Don't try to exec as it changes $[0], causing all sort of problems 501 # (the dirname of $[0] is not the place where we might find the 502 # original and so on. Autoconf is especially sensitive to this). 503 . "./$as_me.lineno" 504 # Exit status is that of the last command. 505 exit 506} 507 508ECHO_C= ECHO_N= ECHO_T= 509case `echo -n x` in @%:@((((( 510-n*) 511 case `echo 'xy\c'` in 512 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 513 xy) ECHO_C='\c';; 514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 515 ECHO_T=' ';; 516 esac;; 517*) 518 ECHO_N='-n';; 519esac 520 521rm -f conf$$ conf$$.exe conf$$.file 522if test -d conf$$.dir; then 523 rm -f conf$$.dir/conf$$.file 524else 525 rm -f conf$$.dir 526 mkdir conf$$.dir 2>/dev/null 527fi 528if (echo >conf$$.file) 2>/dev/null; then 529 if ln -s conf$$.file conf$$ 2>/dev/null; then 530 as_ln_s='ln -s' 531 # ... but there are two gotchas: 532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 534 # In both cases, we have to default to `cp -pR'. 535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 536 as_ln_s='cp -pR' 537 elif ln conf$$.file conf$$ 2>/dev/null; then 538 as_ln_s=ln 539 else 540 as_ln_s='cp -pR' 541 fi 542else 543 as_ln_s='cp -pR' 544fi 545rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 546rmdir conf$$.dir 2>/dev/null 547 548if mkdir -p . 2>/dev/null; then 549 as_mkdir_p='mkdir -p "$as_dir"' 550else 551 test -d ./-p && rmdir ./-p 552 as_mkdir_p=false 553fi 554 555as_test_x='test -x' 556as_executable_p=as_fn_executable_p 557 558# Sed expression to map a string onto a valid CPP name. 559as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 560 561# Sed expression to map a string onto a valid variable name. 562as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 563 564SHELL=${CONFIG_SHELL-/bin/sh} 565 566 567test -n "$DJDIR" || exec 7<&0 </dev/null 568exec 6>&1 569 570# Name of the host. 571# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 572# so uname gets run too. 573ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 574 575# 576# Initializations. 577# 578ac_default_prefix=/usr/local 579ac_clean_files= 580ac_config_libobj_dir=. 581LIB@&t@OBJS= 582cross_compiling=no 583subdirs= 584MFLAGS= 585MAKEFLAGS= 586 587# Identity of this package. 588PACKAGE_NAME='mediainfo' 589PACKAGE_TARNAME='mediainfo' 590PACKAGE_VERSION='21.09' 591PACKAGE_STRING='mediainfo 21.09' 592PACKAGE_BUGREPORT='' 593PACKAGE_URL='' 594 595ac_unique_file="../../../Source/CLI/CLI_Main.cpp" 596# Factoring default headers for most tests. 597ac_includes_default="\ 598#include <stdio.h> 599#ifdef HAVE_SYS_TYPES_H 600# include <sys/types.h> 601#endif 602#ifdef HAVE_SYS_STAT_H 603# include <sys/stat.h> 604#endif 605#ifdef STDC_HEADERS 606# include <stdlib.h> 607# include <stddef.h> 608#else 609# ifdef HAVE_STDLIB_H 610# include <stdlib.h> 611# endif 612#endif 613#ifdef HAVE_STRING_H 614# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 615# include <memory.h> 616# endif 617# include <string.h> 618#endif 619#ifdef HAVE_STRINGS_H 620# include <strings.h> 621#endif 622#ifdef HAVE_INTTYPES_H 623# include <inttypes.h> 624#endif 625#ifdef HAVE_STDINT_H 626# include <stdint.h> 627#endif 628#ifdef HAVE_UNISTD_H 629# include <unistd.h> 630#endif" 631 632ac_subst_vars='am__EXEEXT_FALSE 633am__EXEEXT_TRUE 634LTLIBOBJS 635LIB@&t@OBJS 636CXXCPP 637CPP 638LT_SYS_LIBRARY_PATH 639OTOOL64 640OTOOL 641LIPO 642NMEDIT 643DSYMUTIL 644MANIFEST_TOOL 645RANLIB 646ac_ct_AR 647AR 648DLLTOOL 649OBJDUMP 650LN_S 651NM 652ac_ct_DUMPBIN 653DUMPBIN 654LD 655FGREP 656EGREP 657GREP 658SED 659LIBTOOL 660am__fastdepCXX_FALSE 661am__fastdepCXX_TRUE 662CXXDEPMODE 663ac_ct_CXX 664CXXFLAGS 665CXX 666am__fastdepCC_FALSE 667am__fastdepCC_TRUE 668CCDEPMODE 669am__nodep 670AMDEPBACKSLASH 671AMDEP_FALSE 672AMDEP_TRUE 673am__include 674DEPDIR 675OBJEXT 676EXEEXT 677ac_ct_CC 678CPPFLAGS 679LDFLAGS 680CFLAGS 681CC 682AM_BACKSLASH 683AM_DEFAULT_VERBOSITY 684AM_DEFAULT_V 685AM_V 686am__untar 687am__tar 688AMTAR 689am__leading_dot 690SET_MAKE 691AWK 692mkdir_p 693MKDIR_P 694INSTALL_STRIP_PROGRAM 695STRIP 696install_sh 697MAKEINFO 698AUTOHEADER 699AUTOMAKE 700AUTOCONF 701ACLOCAL 702VERSION 703PACKAGE 704CYGPATH_W 705am__isrc 706INSTALL_DATA 707INSTALL_SCRIPT 708INSTALL_PROGRAM 709host_os 710host_vendor 711host_cpu 712host 713build_os 714build_vendor 715build_cpu 716build 717target_alias 718host_alias 719build_alias 720LIBS 721ECHO_T 722ECHO_N 723ECHO_C 724DEFS 725mandir 726localedir 727libdir 728psdir 729pdfdir 730dvidir 731htmldir 732infodir 733docdir 734oldincludedir 735includedir 736runstatedir 737localstatedir 738sharedstatedir 739sysconfdir 740datadir 741datarootdir 742libexecdir 743sbindir 744bindir 745program_transform_name 746prefix 747exec_prefix 748PACKAGE_URL 749PACKAGE_BUGREPORT 750PACKAGE_STRING 751PACKAGE_VERSION 752PACKAGE_TARNAME 753PACKAGE_NAME 754PATH_SEPARATOR 755SHELL 756am__quote' 757ac_subst_files='' 758ac_user_opts=' 759enable_option_checking 760enable_silent_rules 761enable_dependency_tracking 762enable_shared 763enable_static 764with_pic 765enable_fast_install 766with_aix_soname 767with_gnu_ld 768with_sysroot 769enable_libtool_lock 770enable_debug 771enable_gprof 772enable_universal_binary 773enable_arch_ppc 774enable_arch_ppc64 775enable_arch_i386 776enable_arch_x86_64 777enable_arch_arm64 778enable_staticlibs 779enable_stream_missing 780with_macosx_sdk 781with_macosx_version_min 782with_dll 783with_libmediainfo_name 784' 785 ac_precious_vars='build_alias 786host_alias 787target_alias 788CC 789CFLAGS 790LDFLAGS 791LIBS 792CPPFLAGS 793CXX 794CXXFLAGS 795CCC 796LT_SYS_LIBRARY_PATH 797CPP 798CXXCPP' 799 800 801# Initialize some variables set by options. 802ac_init_help= 803ac_init_version=false 804ac_unrecognized_opts= 805ac_unrecognized_sep= 806# The variables have the same names as the options, with 807# dashes changed to underlines. 808cache_file=/dev/null 809exec_prefix=NONE 810no_create= 811no_recursion= 812prefix=NONE 813program_prefix=NONE 814program_suffix=NONE 815program_transform_name=s,x,x, 816silent= 817site= 818srcdir= 819verbose= 820x_includes=NONE 821x_libraries=NONE 822 823# Installation directory options. 824# These are left unexpanded so users can "make install exec_prefix=/foo" 825# and all the variables that are supposed to be based on exec_prefix 826# by default will actually change. 827# Use braces instead of parens because sh, perl, etc. also accept them. 828# (The list follows the same order as the GNU Coding Standards.) 829bindir='${exec_prefix}/bin' 830sbindir='${exec_prefix}/sbin' 831libexecdir='${exec_prefix}/libexec' 832datarootdir='${prefix}/share' 833datadir='${datarootdir}' 834sysconfdir='${prefix}/etc' 835sharedstatedir='${prefix}/com' 836localstatedir='${prefix}/var' 837runstatedir='${localstatedir}/run' 838includedir='${prefix}/include' 839oldincludedir='/usr/include' 840docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 841infodir='${datarootdir}/info' 842htmldir='${docdir}' 843dvidir='${docdir}' 844pdfdir='${docdir}' 845psdir='${docdir}' 846libdir='${exec_prefix}/lib' 847localedir='${datarootdir}/locale' 848mandir='${datarootdir}/man' 849 850ac_prev= 851ac_dashdash= 852for ac_option 853do 854 # If the previous option needs an argument, assign it. 855 if test -n "$ac_prev"; then 856 eval $ac_prev=\$ac_option 857 ac_prev= 858 continue 859 fi 860 861 case $ac_option in 862 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 863 *=) ac_optarg= ;; 864 *) ac_optarg=yes ;; 865 esac 866 867 # Accept the important Cygnus configure options, so we can diagnose typos. 868 869 case $ac_dashdash$ac_option in 870 --) 871 ac_dashdash=yes ;; 872 873 -bindir | --bindir | --bindi | --bind | --bin | --bi) 874 ac_prev=bindir ;; 875 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 876 bindir=$ac_optarg ;; 877 878 -build | --build | --buil | --bui | --bu) 879 ac_prev=build_alias ;; 880 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 881 build_alias=$ac_optarg ;; 882 883 -cache-file | --cache-file | --cache-fil | --cache-fi \ 884 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 885 ac_prev=cache_file ;; 886 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 887 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 888 cache_file=$ac_optarg ;; 889 890 --config-cache | -C) 891 cache_file=config.cache ;; 892 893 -datadir | --datadir | --datadi | --datad) 894 ac_prev=datadir ;; 895 -datadir=* | --datadir=* | --datadi=* | --datad=*) 896 datadir=$ac_optarg ;; 897 898 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 899 | --dataroo | --dataro | --datar) 900 ac_prev=datarootdir ;; 901 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 902 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 903 datarootdir=$ac_optarg ;; 904 905 -disable-* | --disable-*) 906 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 907 # Reject names that are not valid shell variable names. 908 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 909 as_fn_error $? "invalid feature name: $ac_useropt" 910 ac_useropt_orig=$ac_useropt 911 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 912 case $ac_user_opts in 913 *" 914"enable_$ac_useropt" 915"*) ;; 916 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 917 ac_unrecognized_sep=', ';; 918 esac 919 eval enable_$ac_useropt=no ;; 920 921 -docdir | --docdir | --docdi | --doc | --do) 922 ac_prev=docdir ;; 923 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 924 docdir=$ac_optarg ;; 925 926 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 927 ac_prev=dvidir ;; 928 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 929 dvidir=$ac_optarg ;; 930 931 -enable-* | --enable-*) 932 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 933 # Reject names that are not valid shell variable names. 934 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 935 as_fn_error $? "invalid feature name: $ac_useropt" 936 ac_useropt_orig=$ac_useropt 937 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 938 case $ac_user_opts in 939 *" 940"enable_$ac_useropt" 941"*) ;; 942 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 943 ac_unrecognized_sep=', ';; 944 esac 945 eval enable_$ac_useropt=\$ac_optarg ;; 946 947 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 948 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 949 | --exec | --exe | --ex) 950 ac_prev=exec_prefix ;; 951 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 952 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 953 | --exec=* | --exe=* | --ex=*) 954 exec_prefix=$ac_optarg ;; 955 956 -gas | --gas | --ga | --g) 957 # Obsolete; use --with-gas. 958 with_gas=yes ;; 959 960 -help | --help | --hel | --he | -h) 961 ac_init_help=long ;; 962 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 963 ac_init_help=recursive ;; 964 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 965 ac_init_help=short ;; 966 967 -host | --host | --hos | --ho) 968 ac_prev=host_alias ;; 969 -host=* | --host=* | --hos=* | --ho=*) 970 host_alias=$ac_optarg ;; 971 972 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 973 ac_prev=htmldir ;; 974 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 975 | --ht=*) 976 htmldir=$ac_optarg ;; 977 978 -includedir | --includedir | --includedi | --included | --include \ 979 | --includ | --inclu | --incl | --inc) 980 ac_prev=includedir ;; 981 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 982 | --includ=* | --inclu=* | --incl=* | --inc=*) 983 includedir=$ac_optarg ;; 984 985 -infodir | --infodir | --infodi | --infod | --info | --inf) 986 ac_prev=infodir ;; 987 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 988 infodir=$ac_optarg ;; 989 990 -libdir | --libdir | --libdi | --libd) 991 ac_prev=libdir ;; 992 -libdir=* | --libdir=* | --libdi=* | --libd=*) 993 libdir=$ac_optarg ;; 994 995 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 996 | --libexe | --libex | --libe) 997 ac_prev=libexecdir ;; 998 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 999 | --libexe=* | --libex=* | --libe=*) 1000 libexecdir=$ac_optarg ;; 1001 1002 -localedir | --localedir | --localedi | --localed | --locale) 1003 ac_prev=localedir ;; 1004 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1005 localedir=$ac_optarg ;; 1006 1007 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1008 | --localstate | --localstat | --localsta | --localst | --locals) 1009 ac_prev=localstatedir ;; 1010 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1011 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1012 localstatedir=$ac_optarg ;; 1013 1014 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1015 ac_prev=mandir ;; 1016 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1017 mandir=$ac_optarg ;; 1018 1019 -nfp | --nfp | --nf) 1020 # Obsolete; use --without-fp. 1021 with_fp=no ;; 1022 1023 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1024 | --no-cr | --no-c | -n) 1025 no_create=yes ;; 1026 1027 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1028 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1029 no_recursion=yes ;; 1030 1031 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1032 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1033 | --oldin | --oldi | --old | --ol | --o) 1034 ac_prev=oldincludedir ;; 1035 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1036 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1037 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1038 oldincludedir=$ac_optarg ;; 1039 1040 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1041 ac_prev=prefix ;; 1042 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1043 prefix=$ac_optarg ;; 1044 1045 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1046 | --program-pre | --program-pr | --program-p) 1047 ac_prev=program_prefix ;; 1048 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1049 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1050 program_prefix=$ac_optarg ;; 1051 1052 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1053 | --program-suf | --program-su | --program-s) 1054 ac_prev=program_suffix ;; 1055 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1056 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1057 program_suffix=$ac_optarg ;; 1058 1059 -program-transform-name | --program-transform-name \ 1060 | --program-transform-nam | --program-transform-na \ 1061 | --program-transform-n | --program-transform- \ 1062 | --program-transform | --program-transfor \ 1063 | --program-transfo | --program-transf \ 1064 | --program-trans | --program-tran \ 1065 | --progr-tra | --program-tr | --program-t) 1066 ac_prev=program_transform_name ;; 1067 -program-transform-name=* | --program-transform-name=* \ 1068 | --program-transform-nam=* | --program-transform-na=* \ 1069 | --program-transform-n=* | --program-transform-=* \ 1070 | --program-transform=* | --program-transfor=* \ 1071 | --program-transfo=* | --program-transf=* \ 1072 | --program-trans=* | --program-tran=* \ 1073 | --progr-tra=* | --program-tr=* | --program-t=*) 1074 program_transform_name=$ac_optarg ;; 1075 1076 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1077 ac_prev=pdfdir ;; 1078 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1079 pdfdir=$ac_optarg ;; 1080 1081 -psdir | --psdir | --psdi | --psd | --ps) 1082 ac_prev=psdir ;; 1083 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1084 psdir=$ac_optarg ;; 1085 1086 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1087 | -silent | --silent | --silen | --sile | --sil) 1088 silent=yes ;; 1089 1090 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1091 | --runstate | --runstat | --runsta | --runst | --runs \ 1092 | --run | --ru | --r) 1093 ac_prev=runstatedir ;; 1094 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1095 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1096 | --run=* | --ru=* | --r=*) 1097 runstatedir=$ac_optarg ;; 1098 1099 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1100 ac_prev=sbindir ;; 1101 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1102 | --sbi=* | --sb=*) 1103 sbindir=$ac_optarg ;; 1104 1105 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1106 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1107 | --sharedst | --shareds | --shared | --share | --shar \ 1108 | --sha | --sh) 1109 ac_prev=sharedstatedir ;; 1110 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1111 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1112 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1113 | --sha=* | --sh=*) 1114 sharedstatedir=$ac_optarg ;; 1115 1116 -site | --site | --sit) 1117 ac_prev=site ;; 1118 -site=* | --site=* | --sit=*) 1119 site=$ac_optarg ;; 1120 1121 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1122 ac_prev=srcdir ;; 1123 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1124 srcdir=$ac_optarg ;; 1125 1126 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1127 | --syscon | --sysco | --sysc | --sys | --sy) 1128 ac_prev=sysconfdir ;; 1129 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1130 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1131 sysconfdir=$ac_optarg ;; 1132 1133 -target | --target | --targe | --targ | --tar | --ta | --t) 1134 ac_prev=target_alias ;; 1135 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1136 target_alias=$ac_optarg ;; 1137 1138 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1139 verbose=yes ;; 1140 1141 -version | --version | --versio | --versi | --vers | -V) 1142 ac_init_version=: ;; 1143 1144 -with-* | --with-*) 1145 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 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--with-$ac_useropt_orig" 1156 ac_unrecognized_sep=', ';; 1157 esac 1158 eval with_$ac_useropt=\$ac_optarg ;; 1159 1160 -without-* | --without-*) 1161 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1162 # Reject names that are not valid shell variable names. 1163 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1164 as_fn_error $? "invalid package name: $ac_useropt" 1165 ac_useropt_orig=$ac_useropt 1166 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1167 case $ac_user_opts in 1168 *" 1169"with_$ac_useropt" 1170"*) ;; 1171 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1172 ac_unrecognized_sep=', ';; 1173 esac 1174 eval with_$ac_useropt=no ;; 1175 1176 --x) 1177 # Obsolete; use --with-x. 1178 with_x=yes ;; 1179 1180 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1181 | --x-incl | --x-inc | --x-in | --x-i) 1182 ac_prev=x_includes ;; 1183 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1184 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1185 x_includes=$ac_optarg ;; 1186 1187 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1188 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1189 ac_prev=x_libraries ;; 1190 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1191 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1192 x_libraries=$ac_optarg ;; 1193 1194 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1195Try \`$0 --help' for more information" 1196 ;; 1197 1198 *=*) 1199 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1200 # Reject names that are not valid shell variable names. 1201 case $ac_envvar in #( 1202 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1203 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1204 esac 1205 eval $ac_envvar=\$ac_optarg 1206 export $ac_envvar ;; 1207 1208 *) 1209 # FIXME: should be removed in autoconf 3.0. 1210 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1211 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1212 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1213 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1214 ;; 1215 1216 esac 1217done 1218 1219if test -n "$ac_prev"; then 1220 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1221 as_fn_error $? "missing argument to $ac_option" 1222fi 1223 1224if test -n "$ac_unrecognized_opts"; then 1225 case $enable_option_checking in 1226 no) ;; 1227 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1228 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1229 esac 1230fi 1231 1232# Check all directory arguments for consistency. 1233for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1234 datadir sysconfdir sharedstatedir localstatedir includedir \ 1235 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1236 libdir localedir mandir runstatedir 1237do 1238 eval ac_val=\$$ac_var 1239 # Remove trailing slashes. 1240 case $ac_val in 1241 */ ) 1242 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1243 eval $ac_var=\$ac_val;; 1244 esac 1245 # Be sure to have absolute directory names. 1246 case $ac_val in 1247 [\\/$]* | ?:[\\/]* ) continue;; 1248 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1249 esac 1250 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1251done 1252 1253# There might be people who depend on the old broken behavior: `$host' 1254# used to hold the argument of --host etc. 1255# FIXME: To remove some day. 1256build=$build_alias 1257host=$host_alias 1258target=$target_alias 1259 1260# FIXME: To remove some day. 1261if test "x$host_alias" != x; then 1262 if test "x$build_alias" = x; then 1263 cross_compiling=maybe 1264 elif test "x$build_alias" != "x$host_alias"; then 1265 cross_compiling=yes 1266 fi 1267fi 1268 1269ac_tool_prefix= 1270test -n "$host_alias" && ac_tool_prefix=$host_alias- 1271 1272test "$silent" = yes && exec 6>/dev/null 1273 1274 1275ac_pwd=`pwd` && test -n "$ac_pwd" && 1276ac_ls_di=`ls -di .` && 1277ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1278 as_fn_error $? "working directory cannot be determined" 1279test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1280 as_fn_error $? "pwd does not report name of working directory" 1281 1282 1283# Find the source files, if location was not specified. 1284if test -z "$srcdir"; then 1285 ac_srcdir_defaulted=yes 1286 # Try the directory containing this script, then the parent directory. 1287 ac_confdir=`$as_dirname -- "$as_myself" || 1288$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1289 X"$as_myself" : 'X\(//\)[^/]' \| \ 1290 X"$as_myself" : 'X\(//\)$' \| \ 1291 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1292$as_echo X"$as_myself" | 1293 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1294 s//\1/ 1295 q 1296 } 1297 /^X\(\/\/\)[^/].*/{ 1298 s//\1/ 1299 q 1300 } 1301 /^X\(\/\/\)$/{ 1302 s//\1/ 1303 q 1304 } 1305 /^X\(\/\).*/{ 1306 s//\1/ 1307 q 1308 } 1309 s/.*/./; q'` 1310 srcdir=$ac_confdir 1311 if test ! -r "$srcdir/$ac_unique_file"; then 1312 srcdir=.. 1313 fi 1314else 1315 ac_srcdir_defaulted=no 1316fi 1317if test ! -r "$srcdir/$ac_unique_file"; then 1318 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1319 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1320fi 1321ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1322ac_abs_confdir=`( 1323 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1324 pwd)` 1325# When building in place, set srcdir=. 1326if test "$ac_abs_confdir" = "$ac_pwd"; then 1327 srcdir=. 1328fi 1329# Remove unnecessary trailing slashes from srcdir. 1330# Double slashes in file names in object file debugging info 1331# mess up M-x gdb in Emacs. 1332case $srcdir in 1333*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1334esac 1335for ac_var in $ac_precious_vars; do 1336 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1337 eval ac_env_${ac_var}_value=\$${ac_var} 1338 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1339 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1340done 1341 1342# 1343# Report the --help message. 1344# 1345if test "$ac_init_help" = "long"; then 1346 # Omit some internal or obsolete options to make the list less imposing. 1347 # This message is too long to be a string in the A/UX 3.1 sh. 1348 cat <<_ACEOF 1349\`configure' configures mediainfo 21.09 to adapt to many kinds of systems. 1350 1351Usage: $0 [OPTION]... [VAR=VALUE]... 1352 1353To assign environment variables (e.g., CC, CFLAGS...), specify them as 1354VAR=VALUE. See below for descriptions of some of the useful variables. 1355 1356Defaults for the options are specified in brackets. 1357 1358Configuration: 1359 -h, --help display this help and exit 1360 --help=short display options specific to this package 1361 --help=recursive display the short help of all the included packages 1362 -V, --version display version information and exit 1363 -q, --quiet, --silent do not print \`checking ...' messages 1364 --cache-file=FILE cache test results in FILE [disabled] 1365 -C, --config-cache alias for \`--cache-file=config.cache' 1366 -n, --no-create do not create output files 1367 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1368 1369Installation directories: 1370 --prefix=PREFIX install architecture-independent files in PREFIX 1371 @<:@@S|@ac_default_prefix@:>@ 1372 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1373 @<:@PREFIX@:>@ 1374 1375By default, \`make install' will install all the files in 1376\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1377an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1378for instance \`--prefix=\$HOME'. 1379 1380For better control, use the options below. 1381 1382Fine tuning of the installation directories: 1383 --bindir=DIR user executables [EPREFIX/bin] 1384 --sbindir=DIR system admin executables [EPREFIX/sbin] 1385 --libexecdir=DIR program executables [EPREFIX/libexec] 1386 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1387 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1388 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1389 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1390 --libdir=DIR object code libraries [EPREFIX/lib] 1391 --includedir=DIR C header files [PREFIX/include] 1392 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1393 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1394 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1395 --infodir=DIR info documentation [DATAROOTDIR/info] 1396 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1397 --mandir=DIR man documentation [DATAROOTDIR/man] 1398 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/mediainfo@:>@ 1399 --htmldir=DIR html documentation [DOCDIR] 1400 --dvidir=DIR dvi documentation [DOCDIR] 1401 --pdfdir=DIR pdf documentation [DOCDIR] 1402 --psdir=DIR ps documentation [DOCDIR] 1403_ACEOF 1404 1405 cat <<\_ACEOF 1406 1407Program names: 1408 --program-prefix=PREFIX prepend PREFIX to installed program names 1409 --program-suffix=SUFFIX append SUFFIX to installed program names 1410 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1411 1412System types: 1413 --build=BUILD configure for building on BUILD [guessed] 1414 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1415_ACEOF 1416fi 1417 1418if test -n "$ac_init_help"; then 1419 case $ac_init_help in 1420 short | recursive ) echo "Configuration of mediainfo 21.09:";; 1421 esac 1422 cat <<\_ACEOF 1423 1424Optional Features: 1425 --disable-option-checking ignore unrecognized --enable/--with options 1426 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1427 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1428 --enable-silent-rules less verbose build output (undo: "make V=1") 1429 --disable-silent-rules verbose build output (undo: "make V=0") 1430 --enable-dependency-tracking 1431 do not reject slow dependency extractors 1432 --disable-dependency-tracking 1433 speeds up one-time build 1434 --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@ 1435 --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=yes@:>@ 1436 --enable-fast-install@<:@=PKGS@:>@ 1437 optimize for fast installation @<:@default=yes@:>@ 1438 --disable-libtool-lock avoid locking (might break parallel builds) 1439 --enable-debug Enable full debug 1440 --enable-gprof Enable gprof log 1441 --enable-universal_binary 1442 Create Mac PPC/i386 Universal binary 1443 --enable-arch-ppc Create Mac PPC architecture 1444 --enable-arch-ppc64 Create Mac PPC64 architecture 1445 --enable-arch-i386 Create Mac i386 architecture 1446 --enable-arch-x86_64 Create Mac x86_64 architecture 1447 --enable-arch-arm64 Create Mac arm64 architecture 1448 --enable-staticlibs Use static libmediainfo and libzen 1449 (--enable-stream_missing, Disable stream support (old compilers)) 1450 1451 1452Optional Packages: 1453 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1454 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1455 --with-pic@<:@=PKGS@:>@ try to use only PIC/non-PIC objects @<:@default=use 1456 both@:>@ 1457 --with-aix-soname=aix|svr4|both 1458 shared library versioning (aka "SONAME") variant to 1459 provide on AIX, @<:@default=aix@:>@. 1460 --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@ 1461 --with-sysroot@<:@=DIR@:>@ Search for dependent libraries within DIR (or the 1462 compiler's sysroot if not specified). 1463 --with-macosx-sdk Force the Mac SDK 1464 --with-macosx-version-min 1465 Force the Mac Version 1466 --with-dll Do not link to libmediainfo, dynamic loading 1467 --with-libmediainfo-name 1468 Force libmediainfo filename 1469 1470Some influential environment variables: 1471 CC C compiler command 1472 CFLAGS C compiler flags 1473 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1474 nonstandard directory <lib dir> 1475 LIBS libraries to pass to the linker, e.g. -l<library> 1476 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1477 you have headers in a nonstandard directory <include dir> 1478 CXX C++ compiler command 1479 CXXFLAGS C++ compiler flags 1480 LT_SYS_LIBRARY_PATH 1481 User-defined run-time library search path. 1482 CPP C preprocessor 1483 CXXCPP C++ preprocessor 1484 1485Use these variables to override the choices made by `configure' or to help 1486it to find libraries and programs with nonstandard names/locations. 1487 1488Report bugs to the package provider. 1489_ACEOF 1490ac_status=$? 1491fi 1492 1493if test "$ac_init_help" = "recursive"; then 1494 # If there are subdirs, report their specific --help. 1495 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1496 test -d "$ac_dir" || 1497 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1498 continue 1499 ac_builddir=. 1500 1501case "$ac_dir" in 1502.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1503*) 1504 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1505 # A ".." for each directory in $ac_dir_suffix. 1506 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1507 case $ac_top_builddir_sub in 1508 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1509 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1510 esac ;; 1511esac 1512ac_abs_top_builddir=$ac_pwd 1513ac_abs_builddir=$ac_pwd$ac_dir_suffix 1514# for backward compatibility: 1515ac_top_builddir=$ac_top_build_prefix 1516 1517case $srcdir in 1518 .) # We are building in place. 1519 ac_srcdir=. 1520 ac_top_srcdir=$ac_top_builddir_sub 1521 ac_abs_top_srcdir=$ac_pwd ;; 1522 [\\/]* | ?:[\\/]* ) # Absolute name. 1523 ac_srcdir=$srcdir$ac_dir_suffix; 1524 ac_top_srcdir=$srcdir 1525 ac_abs_top_srcdir=$srcdir ;; 1526 *) # Relative name. 1527 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1528 ac_top_srcdir=$ac_top_build_prefix$srcdir 1529 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1530esac 1531ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1532 1533 cd "$ac_dir" || { ac_status=$?; continue; } 1534 # Check for guested configure. 1535 if test -f "$ac_srcdir/configure.gnu"; then 1536 echo && 1537 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1538 elif test -f "$ac_srcdir/configure"; then 1539 echo && 1540 $SHELL "$ac_srcdir/configure" --help=recursive 1541 else 1542 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1543 fi || ac_status=$? 1544 cd "$ac_pwd" || { ac_status=$?; break; } 1545 done 1546fi 1547 1548test -n "$ac_init_help" && exit $ac_status 1549if $ac_init_version; then 1550 cat <<\_ACEOF 1551mediainfo configure 21.09 1552generated by GNU Autoconf 2.69 1553 1554Copyright (C) 2012 Free Software Foundation, Inc. 1555This configure script is free software; the Free Software Foundation 1556gives unlimited permission to copy, distribute and modify it. 1557_ACEOF 1558 exit 1559fi 1560 1561## ------------------------ ## 1562## Autoconf initialization. ## 1563## ------------------------ ## 1564 1565@%:@ ac_fn_c_try_compile LINENO 1566@%:@ -------------------------- 1567@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded. 1568ac_fn_c_try_compile () 1569{ 1570 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1571 rm -f conftest.$ac_objext 1572 if { { ac_try="$ac_compile" 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_compile") 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_objext; then : 1591 ac_retval=0 1592else 1593 $as_echo "$as_me: failed program was:" >&5 1594sed 's/^/| /' conftest.$ac_ext >&5 1595 1596 ac_retval=1 1597fi 1598 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1599 as_fn_set_status $ac_retval 1600 1601} @%:@ ac_fn_c_try_compile 1602 1603@%:@ ac_fn_cxx_try_compile LINENO 1604@%:@ ---------------------------- 1605@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded. 1606ac_fn_cxx_try_compile () 1607{ 1608 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1609 rm -f conftest.$ac_objext 1610 if { { ac_try="$ac_compile" 1611case "(($ac_try" in 1612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1613 *) ac_try_echo=$ac_try;; 1614esac 1615eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1616$as_echo "$ac_try_echo"; } >&5 1617 (eval "$ac_compile") 2>conftest.err 1618 ac_status=$? 1619 if test -s conftest.err; then 1620 grep -v '^ *+' conftest.err >conftest.er1 1621 cat conftest.er1 >&5 1622 mv -f conftest.er1 conftest.err 1623 fi 1624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1625 test $ac_status = 0; } && { 1626 test -z "$ac_cxx_werror_flag" || 1627 test ! -s conftest.err 1628 } && test -s conftest.$ac_objext; then : 1629 ac_retval=0 1630else 1631 $as_echo "$as_me: failed program was:" >&5 1632sed 's/^/| /' conftest.$ac_ext >&5 1633 1634 ac_retval=1 1635fi 1636 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1637 as_fn_set_status $ac_retval 1638 1639} @%:@ ac_fn_cxx_try_compile 1640 1641@%:@ ac_fn_c_try_link LINENO 1642@%:@ ----------------------- 1643@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. 1644ac_fn_c_try_link () 1645{ 1646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1647 rm -f conftest.$ac_objext conftest$ac_exeext 1648 if { { ac_try="$ac_link" 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_link") 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; } && { 1664 test -z "$ac_c_werror_flag" || 1665 test ! -s conftest.err 1666 } && test -s conftest$ac_exeext && { 1667 test "$cross_compiling" = yes || 1668 test -x conftest$ac_exeext 1669 }; then : 1670 ac_retval=0 1671else 1672 $as_echo "$as_me: failed program was:" >&5 1673sed 's/^/| /' conftest.$ac_ext >&5 1674 1675 ac_retval=1 1676fi 1677 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1678 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1679 # interfere with the next link command; also delete a directory that is 1680 # left behind by Apple's compiler. We do this before executing the actions. 1681 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1682 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1683 as_fn_set_status $ac_retval 1684 1685} @%:@ ac_fn_c_try_link 1686 1687@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1688@%:@ ------------------------------------------------------- 1689@%:@ Tests whether HEADER exists and can be compiled using the include files in 1690@%:@ INCLUDES, setting the cache variable VAR accordingly. 1691ac_fn_c_check_header_compile () 1692{ 1693 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1695$as_echo_n "checking for $2... " >&6; } 1696if eval \${$3+:} false; then : 1697 $as_echo_n "(cached) " >&6 1698else 1699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1700/* end confdefs.h. */ 1701$4 1702@%:@include <$2> 1703_ACEOF 1704if ac_fn_c_try_compile "$LINENO"; then : 1705 eval "$3=yes" 1706else 1707 eval "$3=no" 1708fi 1709rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1710fi 1711eval ac_res=\$$3 1712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1713$as_echo "$ac_res" >&6; } 1714 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1715 1716} @%:@ ac_fn_c_check_header_compile 1717 1718@%:@ ac_fn_c_try_cpp LINENO 1719@%:@ ---------------------- 1720@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded. 1721ac_fn_c_try_cpp () 1722{ 1723 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1724 if { { ac_try="$ac_cpp conftest.$ac_ext" 1725case "(($ac_try" in 1726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1727 *) ac_try_echo=$ac_try;; 1728esac 1729eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1730$as_echo "$ac_try_echo"; } >&5 1731 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1732 ac_status=$? 1733 if test -s conftest.err; then 1734 grep -v '^ *+' conftest.err >conftest.er1 1735 cat conftest.er1 >&5 1736 mv -f conftest.er1 conftest.err 1737 fi 1738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1739 test $ac_status = 0; } > conftest.i && { 1740 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1741 test ! -s conftest.err 1742 }; then : 1743 ac_retval=0 1744else 1745 $as_echo "$as_me: failed program was:" >&5 1746sed 's/^/| /' conftest.$ac_ext >&5 1747 1748 ac_retval=1 1749fi 1750 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1751 as_fn_set_status $ac_retval 1752 1753} @%:@ ac_fn_c_try_cpp 1754 1755@%:@ ac_fn_c_try_run LINENO 1756@%:@ ---------------------- 1757@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes 1758@%:@ that executables *can* be run. 1759ac_fn_c_try_run () 1760{ 1761 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1762 if { { ac_try="$ac_link" 1763case "(($ac_try" in 1764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1765 *) ac_try_echo=$ac_try;; 1766esac 1767eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1768$as_echo "$ac_try_echo"; } >&5 1769 (eval "$ac_link") 2>&5 1770 ac_status=$? 1771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1772 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1773 { { case "(($ac_try" in 1774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1775 *) ac_try_echo=$ac_try;; 1776esac 1777eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1778$as_echo "$ac_try_echo"; } >&5 1779 (eval "$ac_try") 2>&5 1780 ac_status=$? 1781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1782 test $ac_status = 0; }; }; then : 1783 ac_retval=0 1784else 1785 $as_echo "$as_me: program exited with status $ac_status" >&5 1786 $as_echo "$as_me: failed program was:" >&5 1787sed 's/^/| /' conftest.$ac_ext >&5 1788 1789 ac_retval=$ac_status 1790fi 1791 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1792 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1793 as_fn_set_status $ac_retval 1794 1795} @%:@ ac_fn_c_try_run 1796 1797@%:@ ac_fn_c_check_func LINENO FUNC VAR 1798@%:@ ---------------------------------- 1799@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly 1800ac_fn_c_check_func () 1801{ 1802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1804$as_echo_n "checking for $2... " >&6; } 1805if eval \${$3+:} false; then : 1806 $as_echo_n "(cached) " >&6 1807else 1808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1809/* end confdefs.h. */ 1810/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1811 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1812#define $2 innocuous_$2 1813 1814/* System header to define __stub macros and hopefully few prototypes, 1815 which can conflict with char $2 (); below. 1816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1817 <limits.h> exists even on freestanding compilers. */ 1818 1819#ifdef __STDC__ 1820# include <limits.h> 1821#else 1822# include <assert.h> 1823#endif 1824 1825#undef $2 1826 1827/* Override any GCC internal prototype to avoid an error. 1828 Use char because int might match the return type of a GCC 1829 builtin and then its argument prototype would still apply. */ 1830#ifdef __cplusplus 1831extern "C" 1832#endif 1833char $2 (); 1834/* The GNU C library defines this for functions which it implements 1835 to always fail with ENOSYS. Some functions are actually named 1836 something starting with __ and the normal name is an alias. */ 1837#if defined __stub_$2 || defined __stub___$2 1838choke me 1839#endif 1840 1841int 1842main () 1843{ 1844return $2 (); 1845 ; 1846 return 0; 1847} 1848_ACEOF 1849if ac_fn_c_try_link "$LINENO"; then : 1850 eval "$3=yes" 1851else 1852 eval "$3=no" 1853fi 1854rm -f core conftest.err conftest.$ac_objext \ 1855 conftest$ac_exeext conftest.$ac_ext 1856fi 1857eval ac_res=\$$3 1858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1859$as_echo "$ac_res" >&6; } 1860 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1861 1862} @%:@ ac_fn_c_check_func 1863 1864@%:@ ac_fn_cxx_try_cpp LINENO 1865@%:@ ------------------------ 1866@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded. 1867ac_fn_cxx_try_cpp () 1868{ 1869 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1870 if { { ac_try="$ac_cpp conftest.$ac_ext" 1871case "(($ac_try" in 1872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1873 *) ac_try_echo=$ac_try;; 1874esac 1875eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1876$as_echo "$ac_try_echo"; } >&5 1877 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1878 ac_status=$? 1879 if test -s conftest.err; then 1880 grep -v '^ *+' conftest.err >conftest.er1 1881 cat conftest.er1 >&5 1882 mv -f conftest.er1 conftest.err 1883 fi 1884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1885 test $ac_status = 0; } > conftest.i && { 1886 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 1887 test ! -s conftest.err 1888 }; then : 1889 ac_retval=0 1890else 1891 $as_echo "$as_me: failed program was:" >&5 1892sed 's/^/| /' conftest.$ac_ext >&5 1893 1894 ac_retval=1 1895fi 1896 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1897 as_fn_set_status $ac_retval 1898 1899} @%:@ ac_fn_cxx_try_cpp 1900 1901@%:@ ac_fn_cxx_try_link LINENO 1902@%:@ ------------------------- 1903@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. 1904ac_fn_cxx_try_link () 1905{ 1906 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1907 rm -f conftest.$ac_objext conftest$ac_exeext 1908 if { { ac_try="$ac_link" 1909case "(($ac_try" in 1910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1911 *) ac_try_echo=$ac_try;; 1912esac 1913eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1914$as_echo "$ac_try_echo"; } >&5 1915 (eval "$ac_link") 2>conftest.err 1916 ac_status=$? 1917 if test -s conftest.err; then 1918 grep -v '^ *+' conftest.err >conftest.er1 1919 cat conftest.er1 >&5 1920 mv -f conftest.er1 conftest.err 1921 fi 1922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1923 test $ac_status = 0; } && { 1924 test -z "$ac_cxx_werror_flag" || 1925 test ! -s conftest.err 1926 } && test -s conftest$ac_exeext && { 1927 test "$cross_compiling" = yes || 1928 test -x conftest$ac_exeext 1929 }; then : 1930 ac_retval=0 1931else 1932 $as_echo "$as_me: failed program was:" >&5 1933sed 's/^/| /' conftest.$ac_ext >&5 1934 1935 ac_retval=1 1936fi 1937 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1938 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1939 # interfere with the next link command; also delete a directory that is 1940 # left behind by Apple's compiler. We do this before executing the actions. 1941 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1942 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1943 as_fn_set_status $ac_retval 1944 1945} @%:@ ac_fn_cxx_try_link 1946cat >config.log <<_ACEOF 1947This file contains any messages produced by compilers while 1948running configure, to aid debugging if configure makes a mistake. 1949 1950It was created by mediainfo $as_me 21.09, which was 1951generated by GNU Autoconf 2.69. Invocation command line was 1952 1953 $ $0 $@ 1954 1955_ACEOF 1956exec 5>>config.log 1957{ 1958cat <<_ASUNAME 1959## --------- ## 1960## Platform. ## 1961## --------- ## 1962 1963hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1964uname -m = `(uname -m) 2>/dev/null || echo unknown` 1965uname -r = `(uname -r) 2>/dev/null || echo unknown` 1966uname -s = `(uname -s) 2>/dev/null || echo unknown` 1967uname -v = `(uname -v) 2>/dev/null || echo unknown` 1968 1969/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1970/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1971 1972/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1973/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1974/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1975/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1976/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1977/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1978/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1979 1980_ASUNAME 1981 1982as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1983for as_dir in $PATH 1984do 1985 IFS=$as_save_IFS 1986 test -z "$as_dir" && as_dir=. 1987 $as_echo "PATH: $as_dir" 1988 done 1989IFS=$as_save_IFS 1990 1991} >&5 1992 1993cat >&5 <<_ACEOF 1994 1995 1996## ----------- ## 1997## Core tests. ## 1998## ----------- ## 1999 2000_ACEOF 2001 2002 2003# Keep a trace of the command line. 2004# Strip out --no-create and --no-recursion so they do not pile up. 2005# Strip out --silent because we don't want to record it for future runs. 2006# Also quote any args containing shell meta-characters. 2007# Make two passes to allow for proper duplicate-argument suppression. 2008ac_configure_args= 2009ac_configure_args0= 2010ac_configure_args1= 2011ac_must_keep_next=false 2012for ac_pass in 1 2 2013do 2014 for ac_arg 2015 do 2016 case $ac_arg in 2017 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2018 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2019 | -silent | --silent | --silen | --sile | --sil) 2020 continue ;; 2021 *\'*) 2022 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2023 esac 2024 case $ac_pass in 2025 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2026 2) 2027 as_fn_append ac_configure_args1 " '$ac_arg'" 2028 if test $ac_must_keep_next = true; then 2029 ac_must_keep_next=false # Got value, back to normal. 2030 else 2031 case $ac_arg in 2032 *=* | --config-cache | -C | -disable-* | --disable-* \ 2033 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2034 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2035 | -with-* | --with-* | -without-* | --without-* | --x) 2036 case "$ac_configure_args0 " in 2037 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2038 esac 2039 ;; 2040 -* ) ac_must_keep_next=true ;; 2041 esac 2042 fi 2043 as_fn_append ac_configure_args " '$ac_arg'" 2044 ;; 2045 esac 2046 done 2047done 2048{ ac_configure_args0=; unset ac_configure_args0;} 2049{ ac_configure_args1=; unset ac_configure_args1;} 2050 2051# When interrupted or exit'd, cleanup temporary files, and complete 2052# config.log. We remove comments because anyway the quotes in there 2053# would cause problems or look ugly. 2054# WARNING: Use '\'' to represent an apostrophe within the trap. 2055# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2056trap 'exit_status=$? 2057 # Save into config.log some information that might help in debugging. 2058 { 2059 echo 2060 2061 $as_echo "## ---------------- ## 2062## Cache variables. ## 2063## ---------------- ##" 2064 echo 2065 # The following way of writing the cache mishandles newlines in values, 2066( 2067 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2068 eval ac_val=\$$ac_var 2069 case $ac_val in #( 2070 *${as_nl}*) 2071 case $ac_var in #( 2072 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2073$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2074 esac 2075 case $ac_var in #( 2076 _ | IFS | as_nl) ;; #( 2077 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2078 *) { eval $ac_var=; unset $ac_var;} ;; 2079 esac ;; 2080 esac 2081 done 2082 (set) 2>&1 | 2083 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2084 *${as_nl}ac_space=\ *) 2085 sed -n \ 2086 "s/'\''/'\''\\\\'\'''\''/g; 2087 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2088 ;; #( 2089 *) 2090 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2091 ;; 2092 esac | 2093 sort 2094) 2095 echo 2096 2097 $as_echo "## ----------------- ## 2098## Output variables. ## 2099## ----------------- ##" 2100 echo 2101 for ac_var in $ac_subst_vars 2102 do 2103 eval ac_val=\$$ac_var 2104 case $ac_val in 2105 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2106 esac 2107 $as_echo "$ac_var='\''$ac_val'\''" 2108 done | sort 2109 echo 2110 2111 if test -n "$ac_subst_files"; then 2112 $as_echo "## ------------------- ## 2113## File substitutions. ## 2114## ------------------- ##" 2115 echo 2116 for ac_var in $ac_subst_files 2117 do 2118 eval ac_val=\$$ac_var 2119 case $ac_val in 2120 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2121 esac 2122 $as_echo "$ac_var='\''$ac_val'\''" 2123 done | sort 2124 echo 2125 fi 2126 2127 if test -s confdefs.h; then 2128 $as_echo "## ----------- ## 2129## confdefs.h. ## 2130## ----------- ##" 2131 echo 2132 cat confdefs.h 2133 echo 2134 fi 2135 test "$ac_signal" != 0 && 2136 $as_echo "$as_me: caught signal $ac_signal" 2137 $as_echo "$as_me: exit $exit_status" 2138 } >&5 2139 rm -f core *.core core.conftest.* && 2140 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2141 exit $exit_status 2142' 0 2143for ac_signal in 1 2 13 15; do 2144 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2145done 2146ac_signal=0 2147 2148# confdefs.h avoids OS command line length limits that DEFS can exceed. 2149rm -f -r conftest* confdefs.h 2150 2151$as_echo "/* confdefs.h */" > confdefs.h 2152 2153# Predefined preprocessor variables. 2154 2155cat >>confdefs.h <<_ACEOF 2156@%:@define PACKAGE_NAME "$PACKAGE_NAME" 2157_ACEOF 2158 2159cat >>confdefs.h <<_ACEOF 2160@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2161_ACEOF 2162 2163cat >>confdefs.h <<_ACEOF 2164@%:@define PACKAGE_VERSION "$PACKAGE_VERSION" 2165_ACEOF 2166 2167cat >>confdefs.h <<_ACEOF 2168@%:@define PACKAGE_STRING "$PACKAGE_STRING" 2169_ACEOF 2170 2171cat >>confdefs.h <<_ACEOF 2172@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2173_ACEOF 2174 2175cat >>confdefs.h <<_ACEOF 2176@%:@define PACKAGE_URL "$PACKAGE_URL" 2177_ACEOF 2178 2179 2180# Let the site file select an alternate cache file if it wants to. 2181# Prefer an explicitly selected file to automatically selected ones. 2182ac_site_file1=NONE 2183ac_site_file2=NONE 2184if test -n "$CONFIG_SITE"; then 2185 # We do not want a PATH search for config.site. 2186 case $CONFIG_SITE in @%:@(( 2187 -*) ac_site_file1=./$CONFIG_SITE;; 2188 */*) ac_site_file1=$CONFIG_SITE;; 2189 *) ac_site_file1=./$CONFIG_SITE;; 2190 esac 2191elif test "x$prefix" != xNONE; then 2192 ac_site_file1=$prefix/share/config.site 2193 ac_site_file2=$prefix/etc/config.site 2194else 2195 ac_site_file1=$ac_default_prefix/share/config.site 2196 ac_site_file2=$ac_default_prefix/etc/config.site 2197fi 2198for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2199do 2200 test "x$ac_site_file" = xNONE && continue 2201 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2202 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2203$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2204 sed 's/^/| /' "$ac_site_file" >&5 2205 . "$ac_site_file" \ 2206 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2207$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2208as_fn_error $? "failed to load site script $ac_site_file 2209See \`config.log' for more details" "$LINENO" 5; } 2210 fi 2211done 2212 2213if test -r "$cache_file"; then 2214 # Some versions of bash will fail to source /dev/null (special files 2215 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2216 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2217 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2218$as_echo "$as_me: loading cache $cache_file" >&6;} 2219 case $cache_file in 2220 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2221 *) . "./$cache_file";; 2222 esac 2223 fi 2224else 2225 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2226$as_echo "$as_me: creating cache $cache_file" >&6;} 2227 >$cache_file 2228fi 2229 2230# Check that the precious variables saved in the cache have kept the same 2231# value. 2232ac_cache_corrupted=false 2233for ac_var in $ac_precious_vars; do 2234 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2235 eval ac_new_set=\$ac_env_${ac_var}_set 2236 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2237 eval ac_new_val=\$ac_env_${ac_var}_value 2238 case $ac_old_set,$ac_new_set in 2239 set,) 2240 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2241$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2242 ac_cache_corrupted=: ;; 2243 ,set) 2244 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2245$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2246 ac_cache_corrupted=: ;; 2247 ,);; 2248 *) 2249 if test "x$ac_old_val" != "x$ac_new_val"; then 2250 # differences in whitespace do not lead to failure. 2251 ac_old_val_w=`echo x $ac_old_val` 2252 ac_new_val_w=`echo x $ac_new_val` 2253 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2254 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2255$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2256 ac_cache_corrupted=: 2257 else 2258 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2259$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2260 eval $ac_var=\$ac_old_val 2261 fi 2262 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2263$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2264 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2265$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2266 fi;; 2267 esac 2268 # Pass precious variables to config.status. 2269 if test "$ac_new_set" = set; then 2270 case $ac_new_val in 2271 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2272 *) ac_arg=$ac_var=$ac_new_val ;; 2273 esac 2274 case " $ac_configure_args " in 2275 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2276 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2277 esac 2278 fi 2279done 2280if $ac_cache_corrupted; then 2281 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2282$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2283 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2284$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2285 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2286fi 2287## -------------------- ## 2288## Main body of script. ## 2289## -------------------- ## 2290 2291ac_ext=c 2292ac_cpp='$CPP $CPPFLAGS' 2293ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2294ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2295ac_compiler_gnu=$ac_cv_c_compiler_gnu 2296 2297 2298 2299 2300 2301ac_aux_dir= 2302for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2303 if test -f "$ac_dir/install-sh"; then 2304 ac_aux_dir=$ac_dir 2305 ac_install_sh="$ac_aux_dir/install-sh -c" 2306 break 2307 elif test -f "$ac_dir/install.sh"; then 2308 ac_aux_dir=$ac_dir 2309 ac_install_sh="$ac_aux_dir/install.sh -c" 2310 break 2311 elif test -f "$ac_dir/shtool"; then 2312 ac_aux_dir=$ac_dir 2313 ac_install_sh="$ac_aux_dir/shtool install -c" 2314 break 2315 fi 2316done 2317if test -z "$ac_aux_dir"; then 2318 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2319fi 2320 2321# These three variables are undocumented and unsupported, 2322# and are intended to be withdrawn in a future Autoconf release. 2323# They can cause serious problems if a builder's source tree is in a directory 2324# whose full name contains unusual characters. 2325ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2326ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2327ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2328 2329 2330# Make sure we can run config.sub. 2331$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2332 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2333 2334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2335$as_echo_n "checking build system type... " >&6; } 2336if ${ac_cv_build+:} false; then : 2337 $as_echo_n "(cached) " >&6 2338else 2339 ac_build_alias=$build_alias 2340test "x$ac_build_alias" = x && 2341 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2342test "x$ac_build_alias" = x && 2343 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2344ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2345 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2346 2347fi 2348{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2349$as_echo "$ac_cv_build" >&6; } 2350case $ac_cv_build in 2351*-*-*) ;; 2352*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2353esac 2354build=$ac_cv_build 2355ac_save_IFS=$IFS; IFS='-' 2356set x $ac_cv_build 2357shift 2358build_cpu=$1 2359build_vendor=$2 2360shift; shift 2361# Remember, the first character of IFS is used to create $*, 2362# except with old shells: 2363build_os=$* 2364IFS=$ac_save_IFS 2365case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2366 2367 2368{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2369$as_echo_n "checking host system type... " >&6; } 2370if ${ac_cv_host+:} false; then : 2371 $as_echo_n "(cached) " >&6 2372else 2373 if test "x$host_alias" = x; then 2374 ac_cv_host=$ac_cv_build 2375else 2376 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2377 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2378fi 2379 2380fi 2381{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2382$as_echo "$ac_cv_host" >&6; } 2383case $ac_cv_host in 2384*-*-*) ;; 2385*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2386esac 2387host=$ac_cv_host 2388ac_save_IFS=$IFS; IFS='-' 2389set x $ac_cv_host 2390shift 2391host_cpu=$1 2392host_vendor=$2 2393shift; shift 2394# Remember, the first character of IFS is used to create $*, 2395# except with old shells: 2396host_os=$* 2397IFS=$ac_save_IFS 2398case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2399 2400 2401am__api_version='1.16' 2402 2403# Find a good install program. We prefer a C program (faster), 2404# so one script is as good as another. But avoid the broken or 2405# incompatible versions: 2406# SysV /etc/install, /usr/sbin/install 2407# SunOS /usr/etc/install 2408# IRIX /sbin/install 2409# AIX /bin/install 2410# AmigaOS /C/install, which installs bootblocks on floppy discs 2411# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2412# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2413# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2414# OS/2's system install, which has a completely different semantic 2415# ./install, which can be erroneously created by make from ./install.sh. 2416# Reject install programs that cannot install multiple files. 2417{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2418$as_echo_n "checking for a BSD-compatible install... " >&6; } 2419if test -z "$INSTALL"; then 2420if ${ac_cv_path_install+:} false; then : 2421 $as_echo_n "(cached) " >&6 2422else 2423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2424for as_dir in $PATH 2425do 2426 IFS=$as_save_IFS 2427 test -z "$as_dir" && as_dir=. 2428 # Account for people who put trailing slashes in PATH elements. 2429case $as_dir/ in @%:@(( 2430 ./ | .// | /[cC]/* | \ 2431 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2432 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2433 /usr/ucb/* ) ;; 2434 *) 2435 # OSF1 and SCO ODT 3.0 have their own names for install. 2436 # Don't use installbsd from OSF since it installs stuff as root 2437 # by default. 2438 for ac_prog in ginstall scoinst install; do 2439 for ac_exec_ext in '' $ac_executable_extensions; do 2440 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2441 if test $ac_prog = install && 2442 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2443 # AIX install. It has an incompatible calling convention. 2444 : 2445 elif test $ac_prog = install && 2446 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2447 # program-specific install script used by HP pwplus--don't use. 2448 : 2449 else 2450 rm -rf conftest.one conftest.two conftest.dir 2451 echo one > conftest.one 2452 echo two > conftest.two 2453 mkdir conftest.dir 2454 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2455 test -s conftest.one && test -s conftest.two && 2456 test -s conftest.dir/conftest.one && 2457 test -s conftest.dir/conftest.two 2458 then 2459 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2460 break 3 2461 fi 2462 fi 2463 fi 2464 done 2465 done 2466 ;; 2467esac 2468 2469 done 2470IFS=$as_save_IFS 2471 2472rm -rf conftest.one conftest.two conftest.dir 2473 2474fi 2475 if test "${ac_cv_path_install+set}" = set; then 2476 INSTALL=$ac_cv_path_install 2477 else 2478 # As a last resort, use the slow shell script. Don't cache a 2479 # value for INSTALL within a source directory, because that will 2480 # break other packages using the cache if that directory is 2481 # removed, or if the value is a relative name. 2482 INSTALL=$ac_install_sh 2483 fi 2484fi 2485{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2486$as_echo "$INSTALL" >&6; } 2487 2488# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2489# It thinks the first close brace ends the variable substitution. 2490test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2491 2492test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2493 2494test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2495 2496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2497$as_echo_n "checking whether build environment is sane... " >&6; } 2498# Reject unsafe characters in $srcdir or the absolute working directory 2499# name. Accept space and tab only in the latter. 2500am_lf=' 2501' 2502case `pwd` in 2503 *[\\\"\#\$\&\'\`$am_lf]*) 2504 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2505esac 2506case $srcdir in 2507 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2508 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2509esac 2510 2511# Do 'set' in a subshell so we don't clobber the current shell's 2512# arguments. Must try -L first in case configure is actually a 2513# symlink; some systems play weird games with the mod time of symlinks 2514# (eg FreeBSD returns the mod time of the symlink's containing 2515# directory). 2516if ( 2517 am_has_slept=no 2518 for am_try in 1 2; do 2519 echo "timestamp, slept: $am_has_slept" > conftest.file 2520 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2521 if test "$*" = "X"; then 2522 # -L didn't work. 2523 set X `ls -t "$srcdir/configure" conftest.file` 2524 fi 2525 if test "$*" != "X $srcdir/configure conftest.file" \ 2526 && test "$*" != "X conftest.file $srcdir/configure"; then 2527 2528 # If neither matched, then we have a broken ls. This can happen 2529 # if, for instance, CONFIG_SHELL is bash and it inherits a 2530 # broken ls alias from the environment. This has actually 2531 # happened. Such a system could not be considered "sane". 2532 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2533 alias in your environment" "$LINENO" 5 2534 fi 2535 if test "$2" = conftest.file || test $am_try -eq 2; then 2536 break 2537 fi 2538 # Just in case. 2539 sleep 1 2540 am_has_slept=yes 2541 done 2542 test "$2" = conftest.file 2543 ) 2544then 2545 # Ok. 2546 : 2547else 2548 as_fn_error $? "newly created file is older than distributed files! 2549Check your system clock" "$LINENO" 5 2550fi 2551{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2552$as_echo "yes" >&6; } 2553# If we didn't sleep, we still need to ensure time stamps of config.status and 2554# generated files are strictly newer. 2555am_sleep_pid= 2556if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2557 ( sleep 1 ) & 2558 am_sleep_pid=$! 2559fi 2560 2561rm -f conftest.file 2562 2563test "$program_prefix" != NONE && 2564 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2565# Use a double $ so make ignores it. 2566test "$program_suffix" != NONE && 2567 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2568# Double any \ or $. 2569# By default was `s,x,x', remove it if useless. 2570ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2571program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2572 2573# Expand $ac_aux_dir to an absolute path. 2574am_aux_dir=`cd "$ac_aux_dir" && pwd` 2575 2576if test x"${MISSING+set}" != xset; then 2577 case $am_aux_dir in 2578 *\ * | *\ *) 2579 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2580 *) 2581 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2582 esac 2583fi 2584# Use eval to expand $SHELL 2585if eval "$MISSING --is-lightweight"; then 2586 am_missing_run="$MISSING " 2587else 2588 am_missing_run= 2589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2590$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2591fi 2592 2593if test x"${install_sh+set}" != xset; then 2594 case $am_aux_dir in 2595 *\ * | *\ *) 2596 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2597 *) 2598 install_sh="\${SHELL} $am_aux_dir/install-sh" 2599 esac 2600fi 2601 2602# Installed binaries are usually stripped using 'strip' when the user 2603# run "make install-strip". However 'strip' might not be the right 2604# tool to use in cross-compilation environments, therefore Automake 2605# will honor the 'STRIP' environment variable to overrule this program. 2606if test "$cross_compiling" != no; then 2607 if test -n "$ac_tool_prefix"; then 2608 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2609set dummy ${ac_tool_prefix}strip; ac_word=$2 2610{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2611$as_echo_n "checking for $ac_word... " >&6; } 2612if ${ac_cv_prog_STRIP+:} false; then : 2613 $as_echo_n "(cached) " >&6 2614else 2615 if test -n "$STRIP"; then 2616 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2617else 2618as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2619for as_dir in $PATH 2620do 2621 IFS=$as_save_IFS 2622 test -z "$as_dir" && as_dir=. 2623 for ac_exec_ext in '' $ac_executable_extensions; do 2624 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2625 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2627 break 2 2628 fi 2629done 2630 done 2631IFS=$as_save_IFS 2632 2633fi 2634fi 2635STRIP=$ac_cv_prog_STRIP 2636if test -n "$STRIP"; then 2637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2638$as_echo "$STRIP" >&6; } 2639else 2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2641$as_echo "no" >&6; } 2642fi 2643 2644 2645fi 2646if test -z "$ac_cv_prog_STRIP"; then 2647 ac_ct_STRIP=$STRIP 2648 # Extract the first word of "strip", so it can be a program name with args. 2649set dummy strip; ac_word=$2 2650{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2651$as_echo_n "checking for $ac_word... " >&6; } 2652if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2653 $as_echo_n "(cached) " >&6 2654else 2655 if test -n "$ac_ct_STRIP"; then 2656 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2657else 2658as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2659for as_dir in $PATH 2660do 2661 IFS=$as_save_IFS 2662 test -z "$as_dir" && as_dir=. 2663 for ac_exec_ext in '' $ac_executable_extensions; do 2664 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2665 ac_cv_prog_ac_ct_STRIP="strip" 2666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2667 break 2 2668 fi 2669done 2670 done 2671IFS=$as_save_IFS 2672 2673fi 2674fi 2675ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2676if test -n "$ac_ct_STRIP"; then 2677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2678$as_echo "$ac_ct_STRIP" >&6; } 2679else 2680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2681$as_echo "no" >&6; } 2682fi 2683 2684 if test "x$ac_ct_STRIP" = x; then 2685 STRIP=":" 2686 else 2687 case $cross_compiling:$ac_tool_warned in 2688yes:) 2689{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2690$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2691ac_tool_warned=yes ;; 2692esac 2693 STRIP=$ac_ct_STRIP 2694 fi 2695else 2696 STRIP="$ac_cv_prog_STRIP" 2697fi 2698 2699fi 2700INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2701 2702{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2703$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2704if test -z "$MKDIR_P"; then 2705 if ${ac_cv_path_mkdir+:} false; then : 2706 $as_echo_n "(cached) " >&6 2707else 2708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2709for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2710do 2711 IFS=$as_save_IFS 2712 test -z "$as_dir" && as_dir=. 2713 for ac_prog in mkdir gmkdir; do 2714 for ac_exec_ext in '' $ac_executable_extensions; do 2715 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2716 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2717 'mkdir (GNU coreutils) '* | \ 2718 'mkdir (coreutils) '* | \ 2719 'mkdir (fileutils) '4.1*) 2720 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2721 break 3;; 2722 esac 2723 done 2724 done 2725 done 2726IFS=$as_save_IFS 2727 2728fi 2729 2730 test -d ./--version && rmdir ./--version 2731 if test "${ac_cv_path_mkdir+set}" = set; then 2732 MKDIR_P="$ac_cv_path_mkdir -p" 2733 else 2734 # As a last resort, use the slow shell script. Don't cache a 2735 # value for MKDIR_P within a source directory, because that will 2736 # break other packages using the cache if that directory is 2737 # removed, or if the value is a relative name. 2738 MKDIR_P="$ac_install_sh -d" 2739 fi 2740fi 2741{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2742$as_echo "$MKDIR_P" >&6; } 2743 2744for ac_prog in gawk mawk nawk awk 2745do 2746 # Extract the first word of "$ac_prog", so it can be a program name with args. 2747set dummy $ac_prog; ac_word=$2 2748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2749$as_echo_n "checking for $ac_word... " >&6; } 2750if ${ac_cv_prog_AWK+:} false; then : 2751 $as_echo_n "(cached) " >&6 2752else 2753 if test -n "$AWK"; then 2754 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2755else 2756as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2757for as_dir in $PATH 2758do 2759 IFS=$as_save_IFS 2760 test -z "$as_dir" && as_dir=. 2761 for ac_exec_ext in '' $ac_executable_extensions; do 2762 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2763 ac_cv_prog_AWK="$ac_prog" 2764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2765 break 2 2766 fi 2767done 2768 done 2769IFS=$as_save_IFS 2770 2771fi 2772fi 2773AWK=$ac_cv_prog_AWK 2774if test -n "$AWK"; then 2775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2776$as_echo "$AWK" >&6; } 2777else 2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2779$as_echo "no" >&6; } 2780fi 2781 2782 2783 test -n "$AWK" && break 2784done 2785 2786{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2787$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2788set x ${MAKE-make} 2789ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2790if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2791 $as_echo_n "(cached) " >&6 2792else 2793 cat >conftest.make <<\_ACEOF 2794SHELL = /bin/sh 2795all: 2796 @echo '@@@%%%=$(MAKE)=@@@%%%' 2797_ACEOF 2798# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2799case `${MAKE-make} -f conftest.make 2>/dev/null` in 2800 *@@@%%%=?*=@@@%%%*) 2801 eval ac_cv_prog_make_${ac_make}_set=yes;; 2802 *) 2803 eval ac_cv_prog_make_${ac_make}_set=no;; 2804esac 2805rm -f conftest.make 2806fi 2807if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2809$as_echo "yes" >&6; } 2810 SET_MAKE= 2811else 2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2813$as_echo "no" >&6; } 2814 SET_MAKE="MAKE=${MAKE-make}" 2815fi 2816 2817rm -rf .tst 2>/dev/null 2818mkdir .tst 2>/dev/null 2819if test -d .tst; then 2820 am__leading_dot=. 2821else 2822 am__leading_dot=_ 2823fi 2824rmdir .tst 2>/dev/null 2825 2826@%:@ Check whether --enable-silent-rules was given. 2827if test "${enable_silent_rules+set}" = set; then : 2828 enableval=$enable_silent_rules; 2829fi 2830 2831case $enable_silent_rules in @%:@ ((( 2832 yes) AM_DEFAULT_VERBOSITY=0;; 2833 no) AM_DEFAULT_VERBOSITY=1;; 2834 *) AM_DEFAULT_VERBOSITY=1;; 2835esac 2836am_make=${MAKE-make} 2837{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2838$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2839if ${am_cv_make_support_nested_variables+:} false; then : 2840 $as_echo_n "(cached) " >&6 2841else 2842 if $as_echo 'TRUE=$(BAR$(V)) 2843BAR0=false 2844BAR1=true 2845V=1 2846am__doit: 2847 @$(TRUE) 2848.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2849 am_cv_make_support_nested_variables=yes 2850else 2851 am_cv_make_support_nested_variables=no 2852fi 2853fi 2854{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2855$as_echo "$am_cv_make_support_nested_variables" >&6; } 2856if test $am_cv_make_support_nested_variables = yes; then 2857 AM_V='$(V)' 2858 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2859else 2860 AM_V=$AM_DEFAULT_VERBOSITY 2861 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2862fi 2863AM_BACKSLASH='\' 2864 2865if test "`cd $srcdir && pwd`" != "`pwd`"; then 2866 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2867 # is not polluted with repeated "-I." 2868 am__isrc=' -I$(srcdir)' 2869 # test to see if srcdir already configured 2870 if test -f $srcdir/config.status; then 2871 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2872 fi 2873fi 2874 2875# test whether we have cygpath 2876if test -z "$CYGPATH_W"; then 2877 if (cygpath --version) >/dev/null 2>/dev/null; then 2878 CYGPATH_W='cygpath -w' 2879 else 2880 CYGPATH_W=echo 2881 fi 2882fi 2883 2884 2885# Define the identity of the package. 2886 PACKAGE='mediainfo' 2887 VERSION='21.09' 2888 2889 2890cat >>confdefs.h <<_ACEOF 2891@%:@define PACKAGE "$PACKAGE" 2892_ACEOF 2893 2894 2895cat >>confdefs.h <<_ACEOF 2896@%:@define VERSION "$VERSION" 2897_ACEOF 2898 2899# Some tools Automake needs. 2900 2901ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2902 2903 2904AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2905 2906 2907AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2908 2909 2910AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2911 2912 2913MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2914 2915# For better backward compatibility. To be removed once Automake 1.9.x 2916# dies out for good. For more background, see: 2917# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2918# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2919mkdir_p='$(MKDIR_P)' 2920 2921# We need awk for the "check" target (and possibly the TAP driver). The 2922# system "awk" is bad on some platforms. 2923# Always define AMTAR for backward compatibility. Yes, it's still used 2924# in the wild :-( We should find a proper way to deprecate it ... 2925AMTAR='$${TAR-tar}' 2926 2927 2928# We'll loop over all known methods to create a tar archive until one works. 2929_am_tools='gnutar pax cpio none' 2930 2931am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2932 2933 2934 2935 2936 2937 2938# POSIX will say in a future version that running "rm -f" with no argument 2939# is OK; and we want to be able to make that assumption in our Makefile 2940# recipes. So use an aggressive probe to check that the usage we want is 2941# actually supported "in the wild" to an acceptable degree. 2942# See automake bug#10828. 2943# To make any issue more visible, cause the running configure to be aborted 2944# by default if the 'rm' program in use doesn't match our expectations; the 2945# user can still override this though. 2946if rm -f && rm -fr && rm -rf; then : OK; else 2947 cat >&2 <<'END' 2948Oops! 2949 2950Your 'rm' program seems unable to run without file operands specified 2951on the command line, even when the '-f' option is present. This is contrary 2952to the behaviour of most rm programs out there, and not conforming with 2953the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 2954 2955Please tell bug-automake@gnu.org about your system, including the value 2956of your $PATH and any error possibly output before this message. This 2957can help us improve future automake versions. 2958 2959END 2960 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 2961 echo 'Configuration will proceed anyway, since you have set the' >&2 2962 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 2963 echo >&2 2964 else 2965 cat >&2 <<'END' 2966Aborting the configuration process, to ensure you take notice of the issue. 2967 2968You can download and install GNU coreutils to get an 'rm' implementation 2969that behaves properly: <https://www.gnu.org/software/coreutils/>. 2970 2971If you want to complete the configuration process using your problematic 2972'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 2973to "yes", and re-run configure. 2974 2975END 2976 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 2977 fi 2978fi 2979 2980 2981CFLAGS="$CFLAGS" 2982CXXFLAGS="$CXXFLAGS" 2983ac_ext=c 2984ac_cpp='$CPP $CPPFLAGS' 2985ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2986ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2987ac_compiler_gnu=$ac_cv_c_compiler_gnu 2988if test -n "$ac_tool_prefix"; then 2989 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2990set dummy ${ac_tool_prefix}gcc; ac_word=$2 2991{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2992$as_echo_n "checking for $ac_word... " >&6; } 2993if ${ac_cv_prog_CC+:} false; then : 2994 $as_echo_n "(cached) " >&6 2995else 2996 if test -n "$CC"; then 2997 ac_cv_prog_CC="$CC" # Let the user override the test. 2998else 2999as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3000for as_dir in $PATH 3001do 3002 IFS=$as_save_IFS 3003 test -z "$as_dir" && as_dir=. 3004 for ac_exec_ext in '' $ac_executable_extensions; do 3005 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3006 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3008 break 2 3009 fi 3010done 3011 done 3012IFS=$as_save_IFS 3013 3014fi 3015fi 3016CC=$ac_cv_prog_CC 3017if test -n "$CC"; then 3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3019$as_echo "$CC" >&6; } 3020else 3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3022$as_echo "no" >&6; } 3023fi 3024 3025 3026fi 3027if test -z "$ac_cv_prog_CC"; then 3028 ac_ct_CC=$CC 3029 # Extract the first word of "gcc", so it can be a program name with args. 3030set dummy gcc; ac_word=$2 3031{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3032$as_echo_n "checking for $ac_word... " >&6; } 3033if ${ac_cv_prog_ac_ct_CC+:} false; then : 3034 $as_echo_n "(cached) " >&6 3035else 3036 if test -n "$ac_ct_CC"; then 3037 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3038else 3039as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3040for as_dir in $PATH 3041do 3042 IFS=$as_save_IFS 3043 test -z "$as_dir" && as_dir=. 3044 for ac_exec_ext in '' $ac_executable_extensions; do 3045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3046 ac_cv_prog_ac_ct_CC="gcc" 3047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3048 break 2 3049 fi 3050done 3051 done 3052IFS=$as_save_IFS 3053 3054fi 3055fi 3056ac_ct_CC=$ac_cv_prog_ac_ct_CC 3057if test -n "$ac_ct_CC"; then 3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3059$as_echo "$ac_ct_CC" >&6; } 3060else 3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3062$as_echo "no" >&6; } 3063fi 3064 3065 if test "x$ac_ct_CC" = x; then 3066 CC="" 3067 else 3068 case $cross_compiling:$ac_tool_warned in 3069yes:) 3070{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3071$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3072ac_tool_warned=yes ;; 3073esac 3074 CC=$ac_ct_CC 3075 fi 3076else 3077 CC="$ac_cv_prog_CC" 3078fi 3079 3080if test -z "$CC"; then 3081 if test -n "$ac_tool_prefix"; then 3082 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3083set dummy ${ac_tool_prefix}cc; ac_word=$2 3084{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3085$as_echo_n "checking for $ac_word... " >&6; } 3086if ${ac_cv_prog_CC+:} false; then : 3087 $as_echo_n "(cached) " >&6 3088else 3089 if test -n "$CC"; then 3090 ac_cv_prog_CC="$CC" # Let the user override the test. 3091else 3092as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3093for as_dir in $PATH 3094do 3095 IFS=$as_save_IFS 3096 test -z "$as_dir" && as_dir=. 3097 for ac_exec_ext in '' $ac_executable_extensions; do 3098 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3099 ac_cv_prog_CC="${ac_tool_prefix}cc" 3100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3101 break 2 3102 fi 3103done 3104 done 3105IFS=$as_save_IFS 3106 3107fi 3108fi 3109CC=$ac_cv_prog_CC 3110if test -n "$CC"; then 3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3112$as_echo "$CC" >&6; } 3113else 3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3115$as_echo "no" >&6; } 3116fi 3117 3118 3119 fi 3120fi 3121if test -z "$CC"; then 3122 # Extract the first word of "cc", so it can be a program name with args. 3123set dummy cc; ac_word=$2 3124{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3125$as_echo_n "checking for $ac_word... " >&6; } 3126if ${ac_cv_prog_CC+:} false; then : 3127 $as_echo_n "(cached) " >&6 3128else 3129 if test -n "$CC"; then 3130 ac_cv_prog_CC="$CC" # Let the user override the test. 3131else 3132 ac_prog_rejected=no 3133as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3134for as_dir in $PATH 3135do 3136 IFS=$as_save_IFS 3137 test -z "$as_dir" && as_dir=. 3138 for ac_exec_ext in '' $ac_executable_extensions; do 3139 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3140 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3141 ac_prog_rejected=yes 3142 continue 3143 fi 3144 ac_cv_prog_CC="cc" 3145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3146 break 2 3147 fi 3148done 3149 done 3150IFS=$as_save_IFS 3151 3152if test $ac_prog_rejected = yes; then 3153 # We found a bogon in the path, so make sure we never use it. 3154 set dummy $ac_cv_prog_CC 3155 shift 3156 if test $@%:@ != 0; then 3157 # We chose a different compiler from the bogus one. 3158 # However, it has the same basename, so the bogon will be chosen 3159 # first if we set CC to just the basename; use the full file name. 3160 shift 3161 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3162 fi 3163fi 3164fi 3165fi 3166CC=$ac_cv_prog_CC 3167if test -n "$CC"; then 3168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3169$as_echo "$CC" >&6; } 3170else 3171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3172$as_echo "no" >&6; } 3173fi 3174 3175 3176fi 3177if test -z "$CC"; then 3178 if test -n "$ac_tool_prefix"; then 3179 for ac_prog in cl.exe 3180 do 3181 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3182set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3183{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3184$as_echo_n "checking for $ac_word... " >&6; } 3185if ${ac_cv_prog_CC+:} false; then : 3186 $as_echo_n "(cached) " >&6 3187else 3188 if test -n "$CC"; then 3189 ac_cv_prog_CC="$CC" # Let the user override the test. 3190else 3191as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3192for as_dir in $PATH 3193do 3194 IFS=$as_save_IFS 3195 test -z "$as_dir" && as_dir=. 3196 for ac_exec_ext in '' $ac_executable_extensions; do 3197 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3198 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3200 break 2 3201 fi 3202done 3203 done 3204IFS=$as_save_IFS 3205 3206fi 3207fi 3208CC=$ac_cv_prog_CC 3209if test -n "$CC"; then 3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3211$as_echo "$CC" >&6; } 3212else 3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3214$as_echo "no" >&6; } 3215fi 3216 3217 3218 test -n "$CC" && break 3219 done 3220fi 3221if test -z "$CC"; then 3222 ac_ct_CC=$CC 3223 for ac_prog in cl.exe 3224do 3225 # Extract the first word of "$ac_prog", so it can be a program name with args. 3226set dummy $ac_prog; ac_word=$2 3227{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3228$as_echo_n "checking for $ac_word... " >&6; } 3229if ${ac_cv_prog_ac_ct_CC+:} false; then : 3230 $as_echo_n "(cached) " >&6 3231else 3232 if test -n "$ac_ct_CC"; then 3233 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3234else 3235as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3236for as_dir in $PATH 3237do 3238 IFS=$as_save_IFS 3239 test -z "$as_dir" && as_dir=. 3240 for ac_exec_ext in '' $ac_executable_extensions; do 3241 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3242 ac_cv_prog_ac_ct_CC="$ac_prog" 3243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3244 break 2 3245 fi 3246done 3247 done 3248IFS=$as_save_IFS 3249 3250fi 3251fi 3252ac_ct_CC=$ac_cv_prog_ac_ct_CC 3253if test -n "$ac_ct_CC"; then 3254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3255$as_echo "$ac_ct_CC" >&6; } 3256else 3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3258$as_echo "no" >&6; } 3259fi 3260 3261 3262 test -n "$ac_ct_CC" && break 3263done 3264 3265 if test "x$ac_ct_CC" = x; then 3266 CC="" 3267 else 3268 case $cross_compiling:$ac_tool_warned in 3269yes:) 3270{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3271$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3272ac_tool_warned=yes ;; 3273esac 3274 CC=$ac_ct_CC 3275 fi 3276fi 3277 3278fi 3279 3280 3281test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3282$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3283as_fn_error $? "no acceptable C compiler found in \$PATH 3284See \`config.log' for more details" "$LINENO" 5; } 3285 3286# Provide some information about the compiler. 3287$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3288set X $ac_compile 3289ac_compiler=$2 3290for ac_option in --version -v -V -qversion; do 3291 { { ac_try="$ac_compiler $ac_option >&5" 3292case "(($ac_try" in 3293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3294 *) ac_try_echo=$ac_try;; 3295esac 3296eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3297$as_echo "$ac_try_echo"; } >&5 3298 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3299 ac_status=$? 3300 if test -s conftest.err; then 3301 sed '10a\ 3302... rest of stderr output deleted ... 3303 10q' conftest.err >conftest.er1 3304 cat conftest.er1 >&5 3305 fi 3306 rm -f conftest.er1 conftest.err 3307 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3308 test $ac_status = 0; } 3309done 3310 3311cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3312/* end confdefs.h. */ 3313 3314int 3315main () 3316{ 3317 3318 ; 3319 return 0; 3320} 3321_ACEOF 3322ac_clean_files_save=$ac_clean_files 3323ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3324# Try to create an executable without -o first, disregard a.out. 3325# It will help us diagnose broken compilers, and finding out an intuition 3326# of exeext. 3327{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3328$as_echo_n "checking whether the C compiler works... " >&6; } 3329ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3330 3331# The possible output files: 3332ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3333 3334ac_rmfiles= 3335for ac_file in $ac_files 3336do 3337 case $ac_file in 3338 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3339 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3340 esac 3341done 3342rm -f $ac_rmfiles 3343 3344if { { ac_try="$ac_link_default" 3345case "(($ac_try" in 3346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3347 *) ac_try_echo=$ac_try;; 3348esac 3349eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3350$as_echo "$ac_try_echo"; } >&5 3351 (eval "$ac_link_default") 2>&5 3352 ac_status=$? 3353 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3354 test $ac_status = 0; }; then : 3355 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3356# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3357# in a Makefile. We should not override ac_cv_exeext if it was cached, 3358# so that the user can short-circuit this test for compilers unknown to 3359# Autoconf. 3360for ac_file in $ac_files '' 3361do 3362 test -f "$ac_file" || continue 3363 case $ac_file in 3364 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3365 ;; 3366 [ab].out ) 3367 # We found the default executable, but exeext='' is most 3368 # certainly right. 3369 break;; 3370 *.* ) 3371 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3372 then :; else 3373 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3374 fi 3375 # We set ac_cv_exeext here because the later test for it is not 3376 # safe: cross compilers may not add the suffix if given an `-o' 3377 # argument, so we may need to know it at that point already. 3378 # Even if this section looks crufty: it has the advantage of 3379 # actually working. 3380 break;; 3381 * ) 3382 break;; 3383 esac 3384done 3385test "$ac_cv_exeext" = no && ac_cv_exeext= 3386 3387else 3388 ac_file='' 3389fi 3390if test -z "$ac_file"; then : 3391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3392$as_echo "no" >&6; } 3393$as_echo "$as_me: failed program was:" >&5 3394sed 's/^/| /' conftest.$ac_ext >&5 3395 3396{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3397$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3398as_fn_error 77 "C compiler cannot create executables 3399See \`config.log' for more details" "$LINENO" 5; } 3400else 3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3402$as_echo "yes" >&6; } 3403fi 3404{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3405$as_echo_n "checking for C compiler default output file name... " >&6; } 3406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3407$as_echo "$ac_file" >&6; } 3408ac_exeext=$ac_cv_exeext 3409 3410rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3411ac_clean_files=$ac_clean_files_save 3412{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3413$as_echo_n "checking for suffix of executables... " >&6; } 3414if { { ac_try="$ac_link" 3415case "(($ac_try" in 3416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3417 *) ac_try_echo=$ac_try;; 3418esac 3419eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3420$as_echo "$ac_try_echo"; } >&5 3421 (eval "$ac_link") 2>&5 3422 ac_status=$? 3423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3424 test $ac_status = 0; }; then : 3425 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3426# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3427# work properly (i.e., refer to `conftest.exe'), while it won't with 3428# `rm'. 3429for ac_file in conftest.exe conftest conftest.*; do 3430 test -f "$ac_file" || continue 3431 case $ac_file in 3432 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3433 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3434 break;; 3435 * ) break;; 3436 esac 3437done 3438else 3439 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3440$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3441as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3442See \`config.log' for more details" "$LINENO" 5; } 3443fi 3444rm -f conftest conftest$ac_cv_exeext 3445{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3446$as_echo "$ac_cv_exeext" >&6; } 3447 3448rm -f conftest.$ac_ext 3449EXEEXT=$ac_cv_exeext 3450ac_exeext=$EXEEXT 3451cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3452/* end confdefs.h. */ 3453@%:@include <stdio.h> 3454int 3455main () 3456{ 3457FILE *f = fopen ("conftest.out", "w"); 3458 return ferror (f) || fclose (f) != 0; 3459 3460 ; 3461 return 0; 3462} 3463_ACEOF 3464ac_clean_files="$ac_clean_files conftest.out" 3465# Check that the compiler produces executables we can run. If not, either 3466# the compiler is broken, or we cross compile. 3467{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3468$as_echo_n "checking whether we are cross compiling... " >&6; } 3469if test "$cross_compiling" != yes; then 3470 { { ac_try="$ac_link" 3471case "(($ac_try" in 3472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3473 *) ac_try_echo=$ac_try;; 3474esac 3475eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3476$as_echo "$ac_try_echo"; } >&5 3477 (eval "$ac_link") 2>&5 3478 ac_status=$? 3479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3480 test $ac_status = 0; } 3481 if { ac_try='./conftest$ac_cv_exeext' 3482 { { case "(($ac_try" in 3483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3484 *) ac_try_echo=$ac_try;; 3485esac 3486eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3487$as_echo "$ac_try_echo"; } >&5 3488 (eval "$ac_try") 2>&5 3489 ac_status=$? 3490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3491 test $ac_status = 0; }; }; then 3492 cross_compiling=no 3493 else 3494 if test "$cross_compiling" = maybe; then 3495 cross_compiling=yes 3496 else 3497 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3498$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3499as_fn_error $? "cannot run C compiled programs. 3500If you meant to cross compile, use \`--host'. 3501See \`config.log' for more details" "$LINENO" 5; } 3502 fi 3503 fi 3504fi 3505{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3506$as_echo "$cross_compiling" >&6; } 3507 3508rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3509ac_clean_files=$ac_clean_files_save 3510{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3511$as_echo_n "checking for suffix of object files... " >&6; } 3512if ${ac_cv_objext+:} false; then : 3513 $as_echo_n "(cached) " >&6 3514else 3515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3516/* end confdefs.h. */ 3517 3518int 3519main () 3520{ 3521 3522 ; 3523 return 0; 3524} 3525_ACEOF 3526rm -f conftest.o conftest.obj 3527if { { ac_try="$ac_compile" 3528case "(($ac_try" in 3529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3530 *) ac_try_echo=$ac_try;; 3531esac 3532eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3533$as_echo "$ac_try_echo"; } >&5 3534 (eval "$ac_compile") 2>&5 3535 ac_status=$? 3536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3537 test $ac_status = 0; }; then : 3538 for ac_file in conftest.o conftest.obj conftest.*; do 3539 test -f "$ac_file" || continue; 3540 case $ac_file in 3541 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3542 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3543 break;; 3544 esac 3545done 3546else 3547 $as_echo "$as_me: failed program was:" >&5 3548sed 's/^/| /' conftest.$ac_ext >&5 3549 3550{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3551$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3552as_fn_error $? "cannot compute suffix of object files: cannot compile 3553See \`config.log' for more details" "$LINENO" 5; } 3554fi 3555rm -f conftest.$ac_cv_objext conftest.$ac_ext 3556fi 3557{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3558$as_echo "$ac_cv_objext" >&6; } 3559OBJEXT=$ac_cv_objext 3560ac_objext=$OBJEXT 3561{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3562$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3563if ${ac_cv_c_compiler_gnu+:} false; then : 3564 $as_echo_n "(cached) " >&6 3565else 3566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3567/* end confdefs.h. */ 3568 3569int 3570main () 3571{ 3572#ifndef __GNUC__ 3573 choke me 3574#endif 3575 3576 ; 3577 return 0; 3578} 3579_ACEOF 3580if ac_fn_c_try_compile "$LINENO"; then : 3581 ac_compiler_gnu=yes 3582else 3583 ac_compiler_gnu=no 3584fi 3585rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3586ac_cv_c_compiler_gnu=$ac_compiler_gnu 3587 3588fi 3589{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3590$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3591if test $ac_compiler_gnu = yes; then 3592 GCC=yes 3593else 3594 GCC= 3595fi 3596ac_test_CFLAGS=${CFLAGS+set} 3597ac_save_CFLAGS=$CFLAGS 3598{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3599$as_echo_n "checking whether $CC accepts -g... " >&6; } 3600if ${ac_cv_prog_cc_g+:} false; then : 3601 $as_echo_n "(cached) " >&6 3602else 3603 ac_save_c_werror_flag=$ac_c_werror_flag 3604 ac_c_werror_flag=yes 3605 ac_cv_prog_cc_g=no 3606 CFLAGS="-g" 3607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3608/* end confdefs.h. */ 3609 3610int 3611main () 3612{ 3613 3614 ; 3615 return 0; 3616} 3617_ACEOF 3618if ac_fn_c_try_compile "$LINENO"; then : 3619 ac_cv_prog_cc_g=yes 3620else 3621 CFLAGS="" 3622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3623/* end confdefs.h. */ 3624 3625int 3626main () 3627{ 3628 3629 ; 3630 return 0; 3631} 3632_ACEOF 3633if ac_fn_c_try_compile "$LINENO"; then : 3634 3635else 3636 ac_c_werror_flag=$ac_save_c_werror_flag 3637 CFLAGS="-g" 3638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3639/* end confdefs.h. */ 3640 3641int 3642main () 3643{ 3644 3645 ; 3646 return 0; 3647} 3648_ACEOF 3649if ac_fn_c_try_compile "$LINENO"; then : 3650 ac_cv_prog_cc_g=yes 3651fi 3652rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3653fi 3654rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3655fi 3656rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3657 ac_c_werror_flag=$ac_save_c_werror_flag 3658fi 3659{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3660$as_echo "$ac_cv_prog_cc_g" >&6; } 3661if test "$ac_test_CFLAGS" = set; then 3662 CFLAGS=$ac_save_CFLAGS 3663elif test $ac_cv_prog_cc_g = yes; then 3664 if test "$GCC" = yes; then 3665 CFLAGS="-g -O2" 3666 else 3667 CFLAGS="-g" 3668 fi 3669else 3670 if test "$GCC" = yes; then 3671 CFLAGS="-O2" 3672 else 3673 CFLAGS= 3674 fi 3675fi 3676{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3677$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3678if ${ac_cv_prog_cc_c89+:} false; then : 3679 $as_echo_n "(cached) " >&6 3680else 3681 ac_cv_prog_cc_c89=no 3682ac_save_CC=$CC 3683cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3684/* end confdefs.h. */ 3685#include <stdarg.h> 3686#include <stdio.h> 3687struct stat; 3688/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3689struct buf { int x; }; 3690FILE * (*rcsopen) (struct buf *, struct stat *, int); 3691static char *e (p, i) 3692 char **p; 3693 int i; 3694{ 3695 return p[i]; 3696} 3697static char *f (char * (*g) (char **, int), char **p, ...) 3698{ 3699 char *s; 3700 va_list v; 3701 va_start (v,p); 3702 s = g (p, va_arg (v,int)); 3703 va_end (v); 3704 return s; 3705} 3706 3707/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3708 function prototypes and stuff, but not '\xHH' hex character constants. 3709 These don't provoke an error unfortunately, instead are silently treated 3710 as 'x'. The following induces an error, until -std is added to get 3711 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3712 array size at least. It's necessary to write '\x00'==0 to get something 3713 that's true only with -std. */ 3714int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3715 3716/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3717 inside strings and character constants. */ 3718#define FOO(x) 'x' 3719int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3720 3721int test (int i, double x); 3722struct s1 {int (*f) (int a);}; 3723struct s2 {int (*f) (double a);}; 3724int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3725int argc; 3726char **argv; 3727int 3728main () 3729{ 3730return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3731 ; 3732 return 0; 3733} 3734_ACEOF 3735for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3736 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3737do 3738 CC="$ac_save_CC $ac_arg" 3739 if ac_fn_c_try_compile "$LINENO"; then : 3740 ac_cv_prog_cc_c89=$ac_arg 3741fi 3742rm -f core conftest.err conftest.$ac_objext 3743 test "x$ac_cv_prog_cc_c89" != "xno" && break 3744done 3745rm -f conftest.$ac_ext 3746CC=$ac_save_CC 3747 3748fi 3749# AC_CACHE_VAL 3750case "x$ac_cv_prog_cc_c89" in 3751 x) 3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3753$as_echo "none needed" >&6; } ;; 3754 xno) 3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3756$as_echo "unsupported" >&6; } ;; 3757 *) 3758 CC="$CC $ac_cv_prog_cc_c89" 3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3760$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3761esac 3762if test "x$ac_cv_prog_cc_c89" != xno; then : 3763 3764fi 3765 3766ac_ext=c 3767ac_cpp='$CPP $CPPFLAGS' 3768ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3769ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3770ac_compiler_gnu=$ac_cv_c_compiler_gnu 3771 3772ac_ext=c 3773ac_cpp='$CPP $CPPFLAGS' 3774ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3775ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3776ac_compiler_gnu=$ac_cv_c_compiler_gnu 3777{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3778$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 3779if ${am_cv_prog_cc_c_o+:} false; then : 3780 $as_echo_n "(cached) " >&6 3781else 3782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3783/* end confdefs.h. */ 3784 3785int 3786main () 3787{ 3788 3789 ; 3790 return 0; 3791} 3792_ACEOF 3793 # Make sure it works both with $CC and with simple cc. 3794 # Following AC_PROG_CC_C_O, we do the test twice because some 3795 # compilers refuse to overwrite an existing .o file with -o, 3796 # though they will create one. 3797 am_cv_prog_cc_c_o=yes 3798 for am_i in 1 2; do 3799 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 3800 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 3801 ac_status=$? 3802 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3803 (exit $ac_status); } \ 3804 && test -f conftest2.$ac_objext; then 3805 : OK 3806 else 3807 am_cv_prog_cc_c_o=no 3808 break 3809 fi 3810 done 3811 rm -f core conftest* 3812 unset am_i 3813fi 3814{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3815$as_echo "$am_cv_prog_cc_c_o" >&6; } 3816if test "$am_cv_prog_cc_c_o" != yes; then 3817 # Losing compiler, so override with the script. 3818 # FIXME: It is wrong to rewrite CC. 3819 # But if we don't then we get into trouble of one sort or another. 3820 # A longer-term fix would be to have automake use am__CC in this case, 3821 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3822 CC="$am_aux_dir/compile $CC" 3823fi 3824ac_ext=c 3825ac_cpp='$CPP $CPPFLAGS' 3826ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3827ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3828ac_compiler_gnu=$ac_cv_c_compiler_gnu 3829 3830DEPDIR="${am__leading_dot}deps" 3831 3832ac_config_commands="$ac_config_commands depfiles" 3833 3834{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 3835$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } 3836cat > confinc.mk << 'END' 3837am__doit: 3838 @echo this is the am__doit target >confinc.out 3839.PHONY: am__doit 3840END 3841am__include="#" 3842am__quote= 3843# BSD make does it like this. 3844echo '.include "confinc.mk" # ignored' > confmf.BSD 3845# Other make implementations (GNU, Solaris 10, AIX) do it like this. 3846echo 'include confinc.mk # ignored' > confmf.GNU 3847_am_result=no 3848for s in GNU BSD; do 3849 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 3850 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 3851 ac_status=$? 3852 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3853 (exit $ac_status); } 3854 case $?:`cat confinc.out 2>/dev/null` in @%:@( 3855 '0:this is the am__doit target') : 3856 case $s in @%:@( 3857 BSD) : 3858 am__include='.include' am__quote='"' ;; @%:@( 3859 *) : 3860 am__include='include' am__quote='' ;; 3861esac ;; @%:@( 3862 *) : 3863 ;; 3864esac 3865 if test "$am__include" != "#"; then 3866 _am_result="yes ($s style)" 3867 break 3868 fi 3869done 3870rm -f confinc.* confmf.* 3871{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 3872$as_echo "${_am_result}" >&6; } 3873 3874@%:@ Check whether --enable-dependency-tracking was given. 3875if test "${enable_dependency_tracking+set}" = set; then : 3876 enableval=$enable_dependency_tracking; 3877fi 3878 3879if test "x$enable_dependency_tracking" != xno; then 3880 am_depcomp="$ac_aux_dir/depcomp" 3881 AMDEPBACKSLASH='\' 3882 am__nodep='_no' 3883fi 3884 if test "x$enable_dependency_tracking" != xno; then 3885 AMDEP_TRUE= 3886 AMDEP_FALSE='#' 3887else 3888 AMDEP_TRUE='#' 3889 AMDEP_FALSE= 3890fi 3891 3892 3893 3894depcc="$CC" am_compiler_list= 3895 3896{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3897$as_echo_n "checking dependency style of $depcc... " >&6; } 3898if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3899 $as_echo_n "(cached) " >&6 3900else 3901 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3902 # We make a subdir and do the tests there. Otherwise we can end up 3903 # making bogus files that we don't know about and never remove. For 3904 # instance it was reported that on HP-UX the gcc test will end up 3905 # making a dummy file named 'D' -- because '-MD' means "put the output 3906 # in D". 3907 rm -rf conftest.dir 3908 mkdir conftest.dir 3909 # Copy depcomp to subdir because otherwise we won't find it if we're 3910 # using a relative directory. 3911 cp "$am_depcomp" conftest.dir 3912 cd conftest.dir 3913 # We will build objects and dependencies in a subdirectory because 3914 # it helps to detect inapplicable dependency modes. For instance 3915 # both Tru64's cc and ICC support -MD to output dependencies as a 3916 # side effect of compilation, but ICC will put the dependencies in 3917 # the current directory while Tru64 will put them in the object 3918 # directory. 3919 mkdir sub 3920 3921 am_cv_CC_dependencies_compiler_type=none 3922 if test "$am_compiler_list" = ""; then 3923 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3924 fi 3925 am__universal=false 3926 case " $depcc " in #( 3927 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3928 esac 3929 3930 for depmode in $am_compiler_list; do 3931 # Setup a source with many dependencies, because some compilers 3932 # like to wrap large dependency lists on column 80 (with \), and 3933 # we should not choose a depcomp mode which is confused by this. 3934 # 3935 # We need to recreate these files for each test, as the compiler may 3936 # overwrite some of them when testing with obscure command lines. 3937 # This happens at least with the AIX C compiler. 3938 : > sub/conftest.c 3939 for i in 1 2 3 4 5 6; do 3940 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3941 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 3942 # Solaris 10 /bin/sh. 3943 echo '/* dummy */' > sub/conftst$i.h 3944 done 3945 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3946 3947 # We check with '-c' and '-o' for the sake of the "dashmstdout" 3948 # mode. It turns out that the SunPro C++ compiler does not properly 3949 # handle '-M -o', and we need to detect this. Also, some Intel 3950 # versions had trouble with output in subdirs. 3951 am__obj=sub/conftest.${OBJEXT-o} 3952 am__minus_obj="-o $am__obj" 3953 case $depmode in 3954 gcc) 3955 # This depmode causes a compiler race in universal mode. 3956 test "$am__universal" = false || continue 3957 ;; 3958 nosideeffect) 3959 # After this tag, mechanisms are not by side-effect, so they'll 3960 # only be used when explicitly requested. 3961 if test "x$enable_dependency_tracking" = xyes; then 3962 continue 3963 else 3964 break 3965 fi 3966 ;; 3967 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3968 # This compiler won't grok '-c -o', but also, the minuso test has 3969 # not run yet. These depmodes are late enough in the game, and 3970 # so weak that their functioning should not be impacted. 3971 am__obj=conftest.${OBJEXT-o} 3972 am__minus_obj= 3973 ;; 3974 none) break ;; 3975 esac 3976 if depmode=$depmode \ 3977 source=sub/conftest.c object=$am__obj \ 3978 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3979 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3980 >/dev/null 2>conftest.err && 3981 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3982 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3983 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3984 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3985 # icc doesn't choke on unknown options, it will just issue warnings 3986 # or remarks (even with -Werror). So we grep stderr for any message 3987 # that says an option was ignored or not supported. 3988 # When given -MP, icc 7.0 and 7.1 complain thusly: 3989 # icc: Command line warning: ignoring option '-M'; no argument required 3990 # The diagnosis changed in icc 8.0: 3991 # icc: Command line remark: option '-MP' not supported 3992 if (grep 'ignoring option' conftest.err || 3993 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3994 am_cv_CC_dependencies_compiler_type=$depmode 3995 break 3996 fi 3997 fi 3998 done 3999 4000 cd .. 4001 rm -rf conftest.dir 4002else 4003 am_cv_CC_dependencies_compiler_type=none 4004fi 4005 4006fi 4007{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4008$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4009CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4010 4011 if 4012 test "x$enable_dependency_tracking" != xno \ 4013 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4014 am__fastdepCC_TRUE= 4015 am__fastdepCC_FALSE='#' 4016else 4017 am__fastdepCC_TRUE='#' 4018 am__fastdepCC_FALSE= 4019fi 4020 4021 4022ac_ext=cpp 4023ac_cpp='$CXXCPP $CPPFLAGS' 4024ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4025ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4026ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4027if test -z "$CXX"; then 4028 if test -n "$CCC"; then 4029 CXX=$CCC 4030 else 4031 if test -n "$ac_tool_prefix"; then 4032 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 4033 do 4034 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4035set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4036{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4037$as_echo_n "checking for $ac_word... " >&6; } 4038if ${ac_cv_prog_CXX+:} false; then : 4039 $as_echo_n "(cached) " >&6 4040else 4041 if test -n "$CXX"; then 4042 ac_cv_prog_CXX="$CXX" # Let the user override the test. 4043else 4044as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4045for as_dir in $PATH 4046do 4047 IFS=$as_save_IFS 4048 test -z "$as_dir" && as_dir=. 4049 for ac_exec_ext in '' $ac_executable_extensions; do 4050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4051 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 4052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4053 break 2 4054 fi 4055done 4056 done 4057IFS=$as_save_IFS 4058 4059fi 4060fi 4061CXX=$ac_cv_prog_CXX 4062if test -n "$CXX"; then 4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 4064$as_echo "$CXX" >&6; } 4065else 4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4067$as_echo "no" >&6; } 4068fi 4069 4070 4071 test -n "$CXX" && break 4072 done 4073fi 4074if test -z "$CXX"; then 4075 ac_ct_CXX=$CXX 4076 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 4077do 4078 # Extract the first word of "$ac_prog", so it can be a program name with args. 4079set dummy $ac_prog; ac_word=$2 4080{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4081$as_echo_n "checking for $ac_word... " >&6; } 4082if ${ac_cv_prog_ac_ct_CXX+:} false; then : 4083 $as_echo_n "(cached) " >&6 4084else 4085 if test -n "$ac_ct_CXX"; then 4086 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 4087else 4088as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4089for as_dir in $PATH 4090do 4091 IFS=$as_save_IFS 4092 test -z "$as_dir" && as_dir=. 4093 for ac_exec_ext in '' $ac_executable_extensions; do 4094 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4095 ac_cv_prog_ac_ct_CXX="$ac_prog" 4096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4097 break 2 4098 fi 4099done 4100 done 4101IFS=$as_save_IFS 4102 4103fi 4104fi 4105ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 4106if test -n "$ac_ct_CXX"; then 4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 4108$as_echo "$ac_ct_CXX" >&6; } 4109else 4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4111$as_echo "no" >&6; } 4112fi 4113 4114 4115 test -n "$ac_ct_CXX" && break 4116done 4117 4118 if test "x$ac_ct_CXX" = x; then 4119 CXX="g++" 4120 else 4121 case $cross_compiling:$ac_tool_warned in 4122yes:) 4123{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4124$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4125ac_tool_warned=yes ;; 4126esac 4127 CXX=$ac_ct_CXX 4128 fi 4129fi 4130 4131 fi 4132fi 4133# Provide some information about the compiler. 4134$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 4135set X $ac_compile 4136ac_compiler=$2 4137for ac_option in --version -v -V -qversion; do 4138 { { ac_try="$ac_compiler $ac_option >&5" 4139case "(($ac_try" in 4140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4141 *) ac_try_echo=$ac_try;; 4142esac 4143eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4144$as_echo "$ac_try_echo"; } >&5 4145 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4146 ac_status=$? 4147 if test -s conftest.err; then 4148 sed '10a\ 4149... rest of stderr output deleted ... 4150 10q' conftest.err >conftest.er1 4151 cat conftest.er1 >&5 4152 fi 4153 rm -f conftest.er1 conftest.err 4154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4155 test $ac_status = 0; } 4156done 4157 4158{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 4159$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 4160if ${ac_cv_cxx_compiler_gnu+:} false; then : 4161 $as_echo_n "(cached) " >&6 4162else 4163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4164/* end confdefs.h. */ 4165 4166int 4167main () 4168{ 4169#ifndef __GNUC__ 4170 choke me 4171#endif 4172 4173 ; 4174 return 0; 4175} 4176_ACEOF 4177if ac_fn_cxx_try_compile "$LINENO"; then : 4178 ac_compiler_gnu=yes 4179else 4180 ac_compiler_gnu=no 4181fi 4182rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4183ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 4184 4185fi 4186{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 4187$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 4188if test $ac_compiler_gnu = yes; then 4189 GXX=yes 4190else 4191 GXX= 4192fi 4193ac_test_CXXFLAGS=${CXXFLAGS+set} 4194ac_save_CXXFLAGS=$CXXFLAGS 4195{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 4196$as_echo_n "checking whether $CXX accepts -g... " >&6; } 4197if ${ac_cv_prog_cxx_g+:} false; then : 4198 $as_echo_n "(cached) " >&6 4199else 4200 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 4201 ac_cxx_werror_flag=yes 4202 ac_cv_prog_cxx_g=no 4203 CXXFLAGS="-g" 4204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4205/* end confdefs.h. */ 4206 4207int 4208main () 4209{ 4210 4211 ; 4212 return 0; 4213} 4214_ACEOF 4215if ac_fn_cxx_try_compile "$LINENO"; then : 4216 ac_cv_prog_cxx_g=yes 4217else 4218 CXXFLAGS="" 4219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4220/* end confdefs.h. */ 4221 4222int 4223main () 4224{ 4225 4226 ; 4227 return 0; 4228} 4229_ACEOF 4230if ac_fn_cxx_try_compile "$LINENO"; then : 4231 4232else 4233 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4234 CXXFLAGS="-g" 4235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4236/* end confdefs.h. */ 4237 4238int 4239main () 4240{ 4241 4242 ; 4243 return 0; 4244} 4245_ACEOF 4246if ac_fn_cxx_try_compile "$LINENO"; then : 4247 ac_cv_prog_cxx_g=yes 4248fi 4249rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4250fi 4251rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4252fi 4253rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4254 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4255fi 4256{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 4257$as_echo "$ac_cv_prog_cxx_g" >&6; } 4258if test "$ac_test_CXXFLAGS" = set; then 4259 CXXFLAGS=$ac_save_CXXFLAGS 4260elif test $ac_cv_prog_cxx_g = yes; then 4261 if test "$GXX" = yes; then 4262 CXXFLAGS="-g -O2" 4263 else 4264 CXXFLAGS="-g" 4265 fi 4266else 4267 if test "$GXX" = yes; then 4268 CXXFLAGS="-O2" 4269 else 4270 CXXFLAGS= 4271 fi 4272fi 4273ac_ext=c 4274ac_cpp='$CPP $CPPFLAGS' 4275ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4276ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4277ac_compiler_gnu=$ac_cv_c_compiler_gnu 4278 4279depcc="$CXX" am_compiler_list= 4280 4281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4282$as_echo_n "checking dependency style of $depcc... " >&6; } 4283if ${am_cv_CXX_dependencies_compiler_type+:} false; then : 4284 $as_echo_n "(cached) " >&6 4285else 4286 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4287 # We make a subdir and do the tests there. Otherwise we can end up 4288 # making bogus files that we don't know about and never remove. For 4289 # instance it was reported that on HP-UX the gcc test will end up 4290 # making a dummy file named 'D' -- because '-MD' means "put the output 4291 # in D". 4292 rm -rf conftest.dir 4293 mkdir conftest.dir 4294 # Copy depcomp to subdir because otherwise we won't find it if we're 4295 # using a relative directory. 4296 cp "$am_depcomp" conftest.dir 4297 cd conftest.dir 4298 # We will build objects and dependencies in a subdirectory because 4299 # it helps to detect inapplicable dependency modes. For instance 4300 # both Tru64's cc and ICC support -MD to output dependencies as a 4301 # side effect of compilation, but ICC will put the dependencies in 4302 # the current directory while Tru64 will put them in the object 4303 # directory. 4304 mkdir sub 4305 4306 am_cv_CXX_dependencies_compiler_type=none 4307 if test "$am_compiler_list" = ""; then 4308 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4309 fi 4310 am__universal=false 4311 case " $depcc " in #( 4312 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4313 esac 4314 4315 for depmode in $am_compiler_list; do 4316 # Setup a source with many dependencies, because some compilers 4317 # like to wrap large dependency lists on column 80 (with \), and 4318 # we should not choose a depcomp mode which is confused by this. 4319 # 4320 # We need to recreate these files for each test, as the compiler may 4321 # overwrite some of them when testing with obscure command lines. 4322 # This happens at least with the AIX C compiler. 4323 : > sub/conftest.c 4324 for i in 1 2 3 4 5 6; do 4325 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4326 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4327 # Solaris 10 /bin/sh. 4328 echo '/* dummy */' > sub/conftst$i.h 4329 done 4330 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4331 4332 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4333 # mode. It turns out that the SunPro C++ compiler does not properly 4334 # handle '-M -o', and we need to detect this. Also, some Intel 4335 # versions had trouble with output in subdirs. 4336 am__obj=sub/conftest.${OBJEXT-o} 4337 am__minus_obj="-o $am__obj" 4338 case $depmode in 4339 gcc) 4340 # This depmode causes a compiler race in universal mode. 4341 test "$am__universal" = false || continue 4342 ;; 4343 nosideeffect) 4344 # After this tag, mechanisms are not by side-effect, so they'll 4345 # only be used when explicitly requested. 4346 if test "x$enable_dependency_tracking" = xyes; then 4347 continue 4348 else 4349 break 4350 fi 4351 ;; 4352 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4353 # This compiler won't grok '-c -o', but also, the minuso test has 4354 # not run yet. These depmodes are late enough in the game, and 4355 # so weak that their functioning should not be impacted. 4356 am__obj=conftest.${OBJEXT-o} 4357 am__minus_obj= 4358 ;; 4359 none) break ;; 4360 esac 4361 if depmode=$depmode \ 4362 source=sub/conftest.c object=$am__obj \ 4363 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4364 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4365 >/dev/null 2>conftest.err && 4366 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4367 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4368 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4369 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4370 # icc doesn't choke on unknown options, it will just issue warnings 4371 # or remarks (even with -Werror). So we grep stderr for any message 4372 # that says an option was ignored or not supported. 4373 # When given -MP, icc 7.0 and 7.1 complain thusly: 4374 # icc: Command line warning: ignoring option '-M'; no argument required 4375 # The diagnosis changed in icc 8.0: 4376 # icc: Command line remark: option '-MP' not supported 4377 if (grep 'ignoring option' conftest.err || 4378 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4379 am_cv_CXX_dependencies_compiler_type=$depmode 4380 break 4381 fi 4382 fi 4383 done 4384 4385 cd .. 4386 rm -rf conftest.dir 4387else 4388 am_cv_CXX_dependencies_compiler_type=none 4389fi 4390 4391fi 4392{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 4393$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 4394CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 4395 4396 if 4397 test "x$enable_dependency_tracking" != xno \ 4398 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 4399 am__fastdepCXX_TRUE= 4400 am__fastdepCXX_FALSE='#' 4401else 4402 am__fastdepCXX_TRUE='#' 4403 am__fastdepCXX_FALSE= 4404fi 4405 4406 4407case `pwd` in 4408 *\ * | *\ *) 4409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4410$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4411esac 4412 4413 4414 4415macro_version='2.4.6' 4416macro_revision='2.4.6' 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430ltmain=$ac_aux_dir/ltmain.sh 4431 4432# Backslashify metacharacters that are still active within 4433# double-quoted strings. 4434sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 4435 4436# Same as above, but do not quote variable references. 4437double_quote_subst='s/\(["`\\]\)/\\\1/g' 4438 4439# Sed substitution to delay expansion of an escaped shell variable in a 4440# double_quote_subst'ed string. 4441delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 4442 4443# Sed substitution to delay expansion of an escaped single quote. 4444delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 4445 4446# Sed substitution to avoid accidental globbing in evaled expressions 4447no_glob_subst='s/\*/\\\*/g' 4448 4449ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4450ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 4451ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 4452 4453{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 4454$as_echo_n "checking how to print strings... " >&6; } 4455# Test print first, because it will be a builtin if present. 4456if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 4457 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 4458 ECHO='print -r --' 4459elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 4460 ECHO='printf %s\n' 4461else 4462 # Use this function as a fallback that always works. 4463 func_fallback_echo () 4464 { 4465 eval 'cat <<_LTECHO_EOF 4466$1 4467_LTECHO_EOF' 4468 } 4469 ECHO='func_fallback_echo' 4470fi 4471 4472# func_echo_all arg... 4473# Invoke $ECHO with all args, space-separated. 4474func_echo_all () 4475{ 4476 $ECHO "" 4477} 4478 4479case $ECHO in 4480 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 4481$as_echo "printf" >&6; } ;; 4482 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 4483$as_echo "print -r" >&6; } ;; 4484 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 4485$as_echo "cat" >&6; } ;; 4486esac 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4502$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4503if ${ac_cv_path_SED+:} false; then : 4504 $as_echo_n "(cached) " >&6 4505else 4506 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4507 for ac_i in 1 2 3 4 5 6 7; do 4508 ac_script="$ac_script$as_nl$ac_script" 4509 done 4510 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4511 { ac_script=; unset ac_script;} 4512 if test -z "$SED"; then 4513 ac_path_SED_found=false 4514 # Loop through the user's path and test for each of PROGNAME-LIST 4515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4516for as_dir in $PATH 4517do 4518 IFS=$as_save_IFS 4519 test -z "$as_dir" && as_dir=. 4520 for ac_prog in sed gsed; do 4521 for ac_exec_ext in '' $ac_executable_extensions; do 4522 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4523 as_fn_executable_p "$ac_path_SED" || continue 4524# Check for GNU ac_path_SED and select it if it is found. 4525 # Check for GNU $ac_path_SED 4526case `"$ac_path_SED" --version 2>&1` in 4527*GNU*) 4528 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4529*) 4530 ac_count=0 4531 $as_echo_n 0123456789 >"conftest.in" 4532 while : 4533 do 4534 cat "conftest.in" "conftest.in" >"conftest.tmp" 4535 mv "conftest.tmp" "conftest.in" 4536 cp "conftest.in" "conftest.nl" 4537 $as_echo '' >> "conftest.nl" 4538 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4539 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4540 as_fn_arith $ac_count + 1 && ac_count=$as_val 4541 if test $ac_count -gt ${ac_path_SED_max-0}; then 4542 # Best one so far, save it but keep looking for a better one 4543 ac_cv_path_SED="$ac_path_SED" 4544 ac_path_SED_max=$ac_count 4545 fi 4546 # 10*(2^10) chars as input seems more than enough 4547 test $ac_count -gt 10 && break 4548 done 4549 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4550esac 4551 4552 $ac_path_SED_found && break 3 4553 done 4554 done 4555 done 4556IFS=$as_save_IFS 4557 if test -z "$ac_cv_path_SED"; then 4558 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4559 fi 4560else 4561 ac_cv_path_SED=$SED 4562fi 4563 4564fi 4565{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4566$as_echo "$ac_cv_path_SED" >&6; } 4567 SED="$ac_cv_path_SED" 4568 rm -f conftest.sed 4569 4570test -z "$SED" && SED=sed 4571Xsed="$SED -e 1s/^X//" 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4584$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4585if ${ac_cv_path_GREP+:} false; then : 4586 $as_echo_n "(cached) " >&6 4587else 4588 if test -z "$GREP"; then 4589 ac_path_GREP_found=false 4590 # Loop through the user's path and test for each of PROGNAME-LIST 4591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4592for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4593do 4594 IFS=$as_save_IFS 4595 test -z "$as_dir" && as_dir=. 4596 for ac_prog in grep ggrep; do 4597 for ac_exec_ext in '' $ac_executable_extensions; do 4598 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4599 as_fn_executable_p "$ac_path_GREP" || continue 4600# Check for GNU ac_path_GREP and select it if it is found. 4601 # Check for GNU $ac_path_GREP 4602case `"$ac_path_GREP" --version 2>&1` in 4603*GNU*) 4604 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4605*) 4606 ac_count=0 4607 $as_echo_n 0123456789 >"conftest.in" 4608 while : 4609 do 4610 cat "conftest.in" "conftest.in" >"conftest.tmp" 4611 mv "conftest.tmp" "conftest.in" 4612 cp "conftest.in" "conftest.nl" 4613 $as_echo 'GREP' >> "conftest.nl" 4614 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4615 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4616 as_fn_arith $ac_count + 1 && ac_count=$as_val 4617 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4618 # Best one so far, save it but keep looking for a better one 4619 ac_cv_path_GREP="$ac_path_GREP" 4620 ac_path_GREP_max=$ac_count 4621 fi 4622 # 10*(2^10) chars as input seems more than enough 4623 test $ac_count -gt 10 && break 4624 done 4625 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4626esac 4627 4628 $ac_path_GREP_found && break 3 4629 done 4630 done 4631 done 4632IFS=$as_save_IFS 4633 if test -z "$ac_cv_path_GREP"; then 4634 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4635 fi 4636else 4637 ac_cv_path_GREP=$GREP 4638fi 4639 4640fi 4641{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4642$as_echo "$ac_cv_path_GREP" >&6; } 4643 GREP="$ac_cv_path_GREP" 4644 4645 4646{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4647$as_echo_n "checking for egrep... " >&6; } 4648if ${ac_cv_path_EGREP+:} false; then : 4649 $as_echo_n "(cached) " >&6 4650else 4651 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4652 then ac_cv_path_EGREP="$GREP -E" 4653 else 4654 if test -z "$EGREP"; then 4655 ac_path_EGREP_found=false 4656 # Loop through the user's path and test for each of PROGNAME-LIST 4657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4658for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4659do 4660 IFS=$as_save_IFS 4661 test -z "$as_dir" && as_dir=. 4662 for ac_prog in egrep; do 4663 for ac_exec_ext in '' $ac_executable_extensions; do 4664 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4665 as_fn_executable_p "$ac_path_EGREP" || continue 4666# Check for GNU ac_path_EGREP and select it if it is found. 4667 # Check for GNU $ac_path_EGREP 4668case `"$ac_path_EGREP" --version 2>&1` in 4669*GNU*) 4670 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4671*) 4672 ac_count=0 4673 $as_echo_n 0123456789 >"conftest.in" 4674 while : 4675 do 4676 cat "conftest.in" "conftest.in" >"conftest.tmp" 4677 mv "conftest.tmp" "conftest.in" 4678 cp "conftest.in" "conftest.nl" 4679 $as_echo 'EGREP' >> "conftest.nl" 4680 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4681 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4682 as_fn_arith $ac_count + 1 && ac_count=$as_val 4683 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4684 # Best one so far, save it but keep looking for a better one 4685 ac_cv_path_EGREP="$ac_path_EGREP" 4686 ac_path_EGREP_max=$ac_count 4687 fi 4688 # 10*(2^10) chars as input seems more than enough 4689 test $ac_count -gt 10 && break 4690 done 4691 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4692esac 4693 4694 $ac_path_EGREP_found && break 3 4695 done 4696 done 4697 done 4698IFS=$as_save_IFS 4699 if test -z "$ac_cv_path_EGREP"; then 4700 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4701 fi 4702else 4703 ac_cv_path_EGREP=$EGREP 4704fi 4705 4706 fi 4707fi 4708{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4709$as_echo "$ac_cv_path_EGREP" >&6; } 4710 EGREP="$ac_cv_path_EGREP" 4711 4712 4713{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4714$as_echo_n "checking for fgrep... " >&6; } 4715if ${ac_cv_path_FGREP+:} false; then : 4716 $as_echo_n "(cached) " >&6 4717else 4718 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4719 then ac_cv_path_FGREP="$GREP -F" 4720 else 4721 if test -z "$FGREP"; then 4722 ac_path_FGREP_found=false 4723 # Loop through the user's path and test for each of PROGNAME-LIST 4724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4725for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4726do 4727 IFS=$as_save_IFS 4728 test -z "$as_dir" && as_dir=. 4729 for ac_prog in fgrep; do 4730 for ac_exec_ext in '' $ac_executable_extensions; do 4731 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4732 as_fn_executable_p "$ac_path_FGREP" || continue 4733# Check for GNU ac_path_FGREP and select it if it is found. 4734 # Check for GNU $ac_path_FGREP 4735case `"$ac_path_FGREP" --version 2>&1` in 4736*GNU*) 4737 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4738*) 4739 ac_count=0 4740 $as_echo_n 0123456789 >"conftest.in" 4741 while : 4742 do 4743 cat "conftest.in" "conftest.in" >"conftest.tmp" 4744 mv "conftest.tmp" "conftest.in" 4745 cp "conftest.in" "conftest.nl" 4746 $as_echo 'FGREP' >> "conftest.nl" 4747 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4748 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4749 as_fn_arith $ac_count + 1 && ac_count=$as_val 4750 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4751 # Best one so far, save it but keep looking for a better one 4752 ac_cv_path_FGREP="$ac_path_FGREP" 4753 ac_path_FGREP_max=$ac_count 4754 fi 4755 # 10*(2^10) chars as input seems more than enough 4756 test $ac_count -gt 10 && break 4757 done 4758 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4759esac 4760 4761 $ac_path_FGREP_found && break 3 4762 done 4763 done 4764 done 4765IFS=$as_save_IFS 4766 if test -z "$ac_cv_path_FGREP"; then 4767 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4768 fi 4769else 4770 ac_cv_path_FGREP=$FGREP 4771fi 4772 4773 fi 4774fi 4775{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4776$as_echo "$ac_cv_path_FGREP" >&6; } 4777 FGREP="$ac_cv_path_FGREP" 4778 4779 4780test -z "$GREP" && GREP=grep 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800@%:@ Check whether --with-gnu-ld was given. 4801if test "${with_gnu_ld+set}" = set; then : 4802 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 4803else 4804 with_gnu_ld=no 4805fi 4806 4807ac_prog=ld 4808if test yes = "$GCC"; then 4809 # Check if gcc -print-prog-name=ld gives a path. 4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4811$as_echo_n "checking for ld used by $CC... " >&6; } 4812 case $host in 4813 *-*-mingw*) 4814 # gcc leaves a trailing carriage return, which upsets mingw 4815 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4816 *) 4817 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4818 esac 4819 case $ac_prog in 4820 # Accept absolute paths. 4821 [\\/]* | ?:[\\/]*) 4822 re_direlt='/[^/][^/]*/\.\./' 4823 # Canonicalize the pathname of ld 4824 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4825 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4826 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4827 done 4828 test -z "$LD" && LD=$ac_prog 4829 ;; 4830 "") 4831 # If it fails, then pretend we aren't using GCC. 4832 ac_prog=ld 4833 ;; 4834 *) 4835 # If it is relative, then search for the first ld in PATH. 4836 with_gnu_ld=unknown 4837 ;; 4838 esac 4839elif test yes = "$with_gnu_ld"; then 4840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4841$as_echo_n "checking for GNU ld... " >&6; } 4842else 4843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4844$as_echo_n "checking for non-GNU ld... " >&6; } 4845fi 4846if ${lt_cv_path_LD+:} false; then : 4847 $as_echo_n "(cached) " >&6 4848else 4849 if test -z "$LD"; then 4850 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4851 for ac_dir in $PATH; do 4852 IFS=$lt_save_ifs 4853 test -z "$ac_dir" && ac_dir=. 4854 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4855 lt_cv_path_LD=$ac_dir/$ac_prog 4856 # Check to see if the program is GNU ld. I'd rather use --version, 4857 # but apparently some variants of GNU ld only accept -v. 4858 # Break only if it was the GNU/non-GNU ld that we prefer. 4859 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4860 *GNU* | *'with BFD'*) 4861 test no != "$with_gnu_ld" && break 4862 ;; 4863 *) 4864 test yes != "$with_gnu_ld" && break 4865 ;; 4866 esac 4867 fi 4868 done 4869 IFS=$lt_save_ifs 4870else 4871 lt_cv_path_LD=$LD # Let the user override the test with a path. 4872fi 4873fi 4874 4875LD=$lt_cv_path_LD 4876if test -n "$LD"; then 4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4878$as_echo "$LD" >&6; } 4879else 4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4881$as_echo "no" >&6; } 4882fi 4883test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4884{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4885$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4886if ${lt_cv_prog_gnu_ld+:} false; then : 4887 $as_echo_n "(cached) " >&6 4888else 4889 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4890case `$LD -v 2>&1 </dev/null` in 4891*GNU* | *'with BFD'*) 4892 lt_cv_prog_gnu_ld=yes 4893 ;; 4894*) 4895 lt_cv_prog_gnu_ld=no 4896 ;; 4897esac 4898fi 4899{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4900$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4901with_gnu_ld=$lt_cv_prog_gnu_ld 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4912$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4913if ${lt_cv_path_NM+:} false; then : 4914 $as_echo_n "(cached) " >&6 4915else 4916 if test -n "$NM"; then 4917 # Let the user override the test. 4918 lt_cv_path_NM=$NM 4919else 4920 lt_nm_to_check=${ac_tool_prefix}nm 4921 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4922 lt_nm_to_check="$lt_nm_to_check nm" 4923 fi 4924 for lt_tmp_nm in $lt_nm_to_check; do 4925 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4926 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4927 IFS=$lt_save_ifs 4928 test -z "$ac_dir" && ac_dir=. 4929 tmp_nm=$ac_dir/$lt_tmp_nm 4930 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 4931 # Check to see if the nm accepts a BSD-compat flag. 4932 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 4933 # nm: unknown option "B" ignored 4934 # Tru64's nm complains that /dev/null is an invalid object file 4935 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 4936 case $build_os in 4937 mingw*) lt_bad_file=conftest.nm/nofile ;; 4938 *) lt_bad_file=/dev/null ;; 4939 esac 4940 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 4941 *$lt_bad_file* | *'Invalid file or object type'*) 4942 lt_cv_path_NM="$tmp_nm -B" 4943 break 2 4944 ;; 4945 *) 4946 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4947 */dev/null*) 4948 lt_cv_path_NM="$tmp_nm -p" 4949 break 2 4950 ;; 4951 *) 4952 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4953 continue # so that we can try to find one that supports BSD flags 4954 ;; 4955 esac 4956 ;; 4957 esac 4958 fi 4959 done 4960 IFS=$lt_save_ifs 4961 done 4962 : ${lt_cv_path_NM=no} 4963fi 4964fi 4965{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4966$as_echo "$lt_cv_path_NM" >&6; } 4967if test no != "$lt_cv_path_NM"; then 4968 NM=$lt_cv_path_NM 4969else 4970 # Didn't find any BSD compatible name lister, look for dumpbin. 4971 if test -n "$DUMPBIN"; then : 4972 # Let the user override the test. 4973 else 4974 if test -n "$ac_tool_prefix"; then 4975 for ac_prog in dumpbin "link -dump" 4976 do 4977 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4978set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4979{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4980$as_echo_n "checking for $ac_word... " >&6; } 4981if ${ac_cv_prog_DUMPBIN+:} false; then : 4982 $as_echo_n "(cached) " >&6 4983else 4984 if test -n "$DUMPBIN"; then 4985 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4986else 4987as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4988for as_dir in $PATH 4989do 4990 IFS=$as_save_IFS 4991 test -z "$as_dir" && as_dir=. 4992 for ac_exec_ext in '' $ac_executable_extensions; do 4993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4994 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4996 break 2 4997 fi 4998done 4999 done 5000IFS=$as_save_IFS 5001 5002fi 5003fi 5004DUMPBIN=$ac_cv_prog_DUMPBIN 5005if test -n "$DUMPBIN"; then 5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 5007$as_echo "$DUMPBIN" >&6; } 5008else 5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5010$as_echo "no" >&6; } 5011fi 5012 5013 5014 test -n "$DUMPBIN" && break 5015 done 5016fi 5017if test -z "$DUMPBIN"; then 5018 ac_ct_DUMPBIN=$DUMPBIN 5019 for ac_prog in dumpbin "link -dump" 5020do 5021 # Extract the first word of "$ac_prog", so it can be a program name with args. 5022set dummy $ac_prog; ac_word=$2 5023{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5024$as_echo_n "checking for $ac_word... " >&6; } 5025if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 5026 $as_echo_n "(cached) " >&6 5027else 5028 if test -n "$ac_ct_DUMPBIN"; then 5029 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 5030else 5031as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5032for as_dir in $PATH 5033do 5034 IFS=$as_save_IFS 5035 test -z "$as_dir" && as_dir=. 5036 for ac_exec_ext in '' $ac_executable_extensions; do 5037 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5038 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 5039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5040 break 2 5041 fi 5042done 5043 done 5044IFS=$as_save_IFS 5045 5046fi 5047fi 5048ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 5049if test -n "$ac_ct_DUMPBIN"; then 5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 5051$as_echo "$ac_ct_DUMPBIN" >&6; } 5052else 5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5054$as_echo "no" >&6; } 5055fi 5056 5057 5058 test -n "$ac_ct_DUMPBIN" && break 5059done 5060 5061 if test "x$ac_ct_DUMPBIN" = x; then 5062 DUMPBIN=":" 5063 else 5064 case $cross_compiling:$ac_tool_warned in 5065yes:) 5066{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5067$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5068ac_tool_warned=yes ;; 5069esac 5070 DUMPBIN=$ac_ct_DUMPBIN 5071 fi 5072fi 5073 5074 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 5075 *COFF*) 5076 DUMPBIN="$DUMPBIN -symbols -headers" 5077 ;; 5078 *) 5079 DUMPBIN=: 5080 ;; 5081 esac 5082 fi 5083 5084 if test : != "$DUMPBIN"; then 5085 NM=$DUMPBIN 5086 fi 5087fi 5088test -z "$NM" && NM=nm 5089 5090 5091 5092 5093 5094 5095{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5096$as_echo_n "checking the name lister ($NM) interface... " >&6; } 5097if ${lt_cv_nm_interface+:} false; then : 5098 $as_echo_n "(cached) " >&6 5099else 5100 lt_cv_nm_interface="BSD nm" 5101 echo "int some_variable = 0;" > conftest.$ac_ext 5102 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 5103 (eval "$ac_compile" 2>conftest.err) 5104 cat conftest.err >&5 5105 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5106 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5107 cat conftest.err >&5 5108 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 5109 cat conftest.out >&5 5110 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5111 lt_cv_nm_interface="MS dumpbin" 5112 fi 5113 rm -f conftest* 5114fi 5115{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5116$as_echo "$lt_cv_nm_interface" >&6; } 5117 5118{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5119$as_echo_n "checking whether ln -s works... " >&6; } 5120LN_S=$as_ln_s 5121if test "$LN_S" = "ln -s"; then 5122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5123$as_echo "yes" >&6; } 5124else 5125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5126$as_echo "no, using $LN_S" >&6; } 5127fi 5128 5129# find the maximum length of command line arguments 5130{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5131$as_echo_n "checking the maximum length of command line arguments... " >&6; } 5132if ${lt_cv_sys_max_cmd_len+:} false; then : 5133 $as_echo_n "(cached) " >&6 5134else 5135 i=0 5136 teststring=ABCD 5137 5138 case $build_os in 5139 msdosdjgpp*) 5140 # On DJGPP, this test can blow up pretty badly due to problems in libc 5141 # (any single argument exceeding 2000 bytes causes a buffer overrun 5142 # during glob expansion). Even if it were fixed, the result of this 5143 # check would be larger than it should be. 5144 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5145 ;; 5146 5147 gnu*) 5148 # Under GNU Hurd, this test is not required because there is 5149 # no limit to the length of command line arguments. 5150 # Libtool will interpret -1 as no limit whatsoever 5151 lt_cv_sys_max_cmd_len=-1; 5152 ;; 5153 5154 cygwin* | mingw* | cegcc*) 5155 # On Win9x/ME, this test blows up -- it succeeds, but takes 5156 # about 5 minutes as the teststring grows exponentially. 5157 # Worse, since 9x/ME are not pre-emptively multitasking, 5158 # you end up with a "frozen" computer, even though with patience 5159 # the test eventually succeeds (with a max line length of 256k). 5160 # Instead, let's just punt: use the minimum linelength reported by 5161 # all of the supported platforms: 8192 (on NT/2K/XP). 5162 lt_cv_sys_max_cmd_len=8192; 5163 ;; 5164 5165 mint*) 5166 # On MiNT this can take a long time and run out of memory. 5167 lt_cv_sys_max_cmd_len=8192; 5168 ;; 5169 5170 amigaos*) 5171 # On AmigaOS with pdksh, this test takes hours, literally. 5172 # So we just punt and use a minimum line length of 8192. 5173 lt_cv_sys_max_cmd_len=8192; 5174 ;; 5175 5176 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 5177 # This has been around since 386BSD, at least. Likely further. 5178 if test -x /sbin/sysctl; then 5179 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5180 elif test -x /usr/sbin/sysctl; then 5181 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5182 else 5183 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5184 fi 5185 # And add a safety zone 5186 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5187 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5188 ;; 5189 5190 interix*) 5191 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5192 lt_cv_sys_max_cmd_len=196608 5193 ;; 5194 5195 os2*) 5196 # The test takes a long time on OS/2. 5197 lt_cv_sys_max_cmd_len=8192 5198 ;; 5199 5200 osf*) 5201 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5202 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5203 # nice to cause kernel panics so lets avoid the loop below. 5204 # First set a reasonable default. 5205 lt_cv_sys_max_cmd_len=16384 5206 # 5207 if test -x /sbin/sysconfig; then 5208 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5209 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5210 esac 5211 fi 5212 ;; 5213 sco3.2v5*) 5214 lt_cv_sys_max_cmd_len=102400 5215 ;; 5216 sysv5* | sco5v6* | sysv4.2uw2*) 5217 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5218 if test -n "$kargmax"; then 5219 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5220 else 5221 lt_cv_sys_max_cmd_len=32768 5222 fi 5223 ;; 5224 *) 5225 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5226 if test -n "$lt_cv_sys_max_cmd_len" && \ 5227 test undefined != "$lt_cv_sys_max_cmd_len"; then 5228 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5229 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5230 else 5231 # Make teststring a little bigger before we do anything with it. 5232 # a 1K string should be a reasonable start. 5233 for i in 1 2 3 4 5 6 7 8; do 5234 teststring=$teststring$teststring 5235 done 5236 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5237 # If test is not a shell built-in, we'll probably end up computing a 5238 # maximum length that is only half of the actual maximum length, but 5239 # we can't tell. 5240 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 5241 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5242 test 17 != "$i" # 1/2 MB should be enough 5243 do 5244 i=`expr $i + 1` 5245 teststring=$teststring$teststring 5246 done 5247 # Only check the string length outside the loop. 5248 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5249 teststring= 5250 # Add a significant safety factor because C++ compilers can tack on 5251 # massive amounts of additional arguments before passing them to the 5252 # linker. It appears as though 1/2 is a usable value. 5253 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5254 fi 5255 ;; 5256 esac 5257 5258fi 5259 5260if test -n "$lt_cv_sys_max_cmd_len"; then 5261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5262$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5263else 5264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5265$as_echo "none" >&6; } 5266fi 5267max_cmd_len=$lt_cv_sys_max_cmd_len 5268 5269 5270 5271 5272 5273 5274: ${CP="cp -f"} 5275: ${MV="mv -f"} 5276: ${RM="rm -f"} 5277 5278if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5279 lt_unset=unset 5280else 5281 lt_unset=false 5282fi 5283 5284 5285 5286 5287 5288# test EBCDIC or ASCII 5289case `echo X|tr X '\101'` in 5290 A) # ASCII based system 5291 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5292 lt_SP2NL='tr \040 \012' 5293 lt_NL2SP='tr \015\012 \040\040' 5294 ;; 5295 *) # EBCDIC based system 5296 lt_SP2NL='tr \100 \n' 5297 lt_NL2SP='tr \r\n \100\100' 5298 ;; 5299esac 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5310$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5311if ${lt_cv_to_host_file_cmd+:} false; then : 5312 $as_echo_n "(cached) " >&6 5313else 5314 case $host in 5315 *-*-mingw* ) 5316 case $build in 5317 *-*-mingw* ) # actually msys 5318 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5319 ;; 5320 *-*-cygwin* ) 5321 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5322 ;; 5323 * ) # otherwise, assume *nix 5324 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5325 ;; 5326 esac 5327 ;; 5328 *-*-cygwin* ) 5329 case $build in 5330 *-*-mingw* ) # actually msys 5331 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5332 ;; 5333 *-*-cygwin* ) 5334 lt_cv_to_host_file_cmd=func_convert_file_noop 5335 ;; 5336 * ) # otherwise, assume *nix 5337 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5338 ;; 5339 esac 5340 ;; 5341 * ) # unhandled hosts (and "normal" native builds) 5342 lt_cv_to_host_file_cmd=func_convert_file_noop 5343 ;; 5344esac 5345 5346fi 5347 5348to_host_file_cmd=$lt_cv_to_host_file_cmd 5349{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5350$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5351 5352 5353 5354 5355 5356{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5357$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5358if ${lt_cv_to_tool_file_cmd+:} false; then : 5359 $as_echo_n "(cached) " >&6 5360else 5361 #assume ordinary cross tools, or native build. 5362lt_cv_to_tool_file_cmd=func_convert_file_noop 5363case $host in 5364 *-*-mingw* ) 5365 case $build in 5366 *-*-mingw* ) # actually msys 5367 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5368 ;; 5369 esac 5370 ;; 5371esac 5372 5373fi 5374 5375to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5376{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5377$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5378 5379 5380 5381 5382 5383{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5384$as_echo_n "checking for $LD option to reload object files... " >&6; } 5385if ${lt_cv_ld_reload_flag+:} false; then : 5386 $as_echo_n "(cached) " >&6 5387else 5388 lt_cv_ld_reload_flag='-r' 5389fi 5390{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5391$as_echo "$lt_cv_ld_reload_flag" >&6; } 5392reload_flag=$lt_cv_ld_reload_flag 5393case $reload_flag in 5394"" | " "*) ;; 5395*) reload_flag=" $reload_flag" ;; 5396esac 5397reload_cmds='$LD$reload_flag -o $output$reload_objs' 5398case $host_os in 5399 cygwin* | mingw* | pw32* | cegcc*) 5400 if test yes != "$GCC"; then 5401 reload_cmds=false 5402 fi 5403 ;; 5404 darwin*) 5405 if test yes = "$GCC"; then 5406 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 5407 else 5408 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5409 fi 5410 ;; 5411esac 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421if test -n "$ac_tool_prefix"; then 5422 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5423set dummy ${ac_tool_prefix}objdump; ac_word=$2 5424{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5425$as_echo_n "checking for $ac_word... " >&6; } 5426if ${ac_cv_prog_OBJDUMP+:} false; then : 5427 $as_echo_n "(cached) " >&6 5428else 5429 if test -n "$OBJDUMP"; then 5430 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5431else 5432as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5433for as_dir in $PATH 5434do 5435 IFS=$as_save_IFS 5436 test -z "$as_dir" && as_dir=. 5437 for ac_exec_ext in '' $ac_executable_extensions; do 5438 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5439 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5441 break 2 5442 fi 5443done 5444 done 5445IFS=$as_save_IFS 5446 5447fi 5448fi 5449OBJDUMP=$ac_cv_prog_OBJDUMP 5450if test -n "$OBJDUMP"; then 5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5452$as_echo "$OBJDUMP" >&6; } 5453else 5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5455$as_echo "no" >&6; } 5456fi 5457 5458 5459fi 5460if test -z "$ac_cv_prog_OBJDUMP"; then 5461 ac_ct_OBJDUMP=$OBJDUMP 5462 # Extract the first word of "objdump", so it can be a program name with args. 5463set dummy objdump; ac_word=$2 5464{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5465$as_echo_n "checking for $ac_word... " >&6; } 5466if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5467 $as_echo_n "(cached) " >&6 5468else 5469 if test -n "$ac_ct_OBJDUMP"; then 5470 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5471else 5472as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5473for as_dir in $PATH 5474do 5475 IFS=$as_save_IFS 5476 test -z "$as_dir" && as_dir=. 5477 for ac_exec_ext in '' $ac_executable_extensions; do 5478 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5479 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5481 break 2 5482 fi 5483done 5484 done 5485IFS=$as_save_IFS 5486 5487fi 5488fi 5489ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5490if test -n "$ac_ct_OBJDUMP"; then 5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5492$as_echo "$ac_ct_OBJDUMP" >&6; } 5493else 5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5495$as_echo "no" >&6; } 5496fi 5497 5498 if test "x$ac_ct_OBJDUMP" = x; then 5499 OBJDUMP="false" 5500 else 5501 case $cross_compiling:$ac_tool_warned in 5502yes:) 5503{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5504$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5505ac_tool_warned=yes ;; 5506esac 5507 OBJDUMP=$ac_ct_OBJDUMP 5508 fi 5509else 5510 OBJDUMP="$ac_cv_prog_OBJDUMP" 5511fi 5512 5513test -z "$OBJDUMP" && OBJDUMP=objdump 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5524$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5525if ${lt_cv_deplibs_check_method+:} false; then : 5526 $as_echo_n "(cached) " >&6 5527else 5528 lt_cv_file_magic_cmd='$MAGIC_CMD' 5529lt_cv_file_magic_test_file= 5530lt_cv_deplibs_check_method='unknown' 5531# Need to set the preceding variable on all platforms that support 5532# interlibrary dependencies. 5533# 'none' -- dependencies not supported. 5534# 'unknown' -- same as none, but documents that we really don't know. 5535# 'pass_all' -- all dependencies passed with no checks. 5536# 'test_compile' -- check by making test program. 5537# 'file_magic [[regex]]' -- check by looking for files in library path 5538# that responds to the $file_magic_cmd with a given extended regex. 5539# If you have 'file' or equivalent on your system and you're not sure 5540# whether 'pass_all' will *always* work, you probably want this one. 5541 5542case $host_os in 5543aix[4-9]*) 5544 lt_cv_deplibs_check_method=pass_all 5545 ;; 5546 5547beos*) 5548 lt_cv_deplibs_check_method=pass_all 5549 ;; 5550 5551bsdi[45]*) 5552 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5553 lt_cv_file_magic_cmd='/usr/bin/file -L' 5554 lt_cv_file_magic_test_file=/shlib/libc.so 5555 ;; 5556 5557cygwin*) 5558 # func_win32_libid is a shell function defined in ltmain.sh 5559 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5560 lt_cv_file_magic_cmd='func_win32_libid' 5561 ;; 5562 5563mingw* | pw32*) 5564 # Base MSYS/MinGW do not provide the 'file' command needed by 5565 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5566 # unless we find 'file', for example because we are cross-compiling. 5567 if ( file / ) >/dev/null 2>&1; then 5568 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5569 lt_cv_file_magic_cmd='func_win32_libid' 5570 else 5571 # Keep this pattern in sync with the one in func_win32_libid. 5572 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5573 lt_cv_file_magic_cmd='$OBJDUMP -f' 5574 fi 5575 ;; 5576 5577cegcc*) 5578 # use the weaker test based on 'objdump'. See mingw*. 5579 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5580 lt_cv_file_magic_cmd='$OBJDUMP -f' 5581 ;; 5582 5583darwin* | rhapsody*) 5584 lt_cv_deplibs_check_method=pass_all 5585 ;; 5586 5587freebsd* | dragonfly*) 5588 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5589 case $host_cpu in 5590 i*86 ) 5591 # Not sure whether the presence of OpenBSD here was a mistake. 5592 # Let's accept both of them until this is cleared up. 5593 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5594 lt_cv_file_magic_cmd=/usr/bin/file 5595 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5596 ;; 5597 esac 5598 else 5599 lt_cv_deplibs_check_method=pass_all 5600 fi 5601 ;; 5602 5603haiku*) 5604 lt_cv_deplibs_check_method=pass_all 5605 ;; 5606 5607hpux10.20* | hpux11*) 5608 lt_cv_file_magic_cmd=/usr/bin/file 5609 case $host_cpu in 5610 ia64*) 5611 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5612 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5613 ;; 5614 hppa*64*) 5615 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]' 5616 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5617 ;; 5618 *) 5619 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5620 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5621 ;; 5622 esac 5623 ;; 5624 5625interix[3-9]*) 5626 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5627 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5628 ;; 5629 5630irix5* | irix6* | nonstopux*) 5631 case $LD in 5632 *-32|*"-32 ") libmagic=32-bit;; 5633 *-n32|*"-n32 ") libmagic=N32;; 5634 *-64|*"-64 ") libmagic=64-bit;; 5635 *) libmagic=never-match;; 5636 esac 5637 lt_cv_deplibs_check_method=pass_all 5638 ;; 5639 5640# This must be glibc/ELF. 5641linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 5642 lt_cv_deplibs_check_method=pass_all 5643 ;; 5644 5645netbsd* | netbsdelf*-gnu) 5646 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5647 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5648 else 5649 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5650 fi 5651 ;; 5652 5653newos6*) 5654 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5655 lt_cv_file_magic_cmd=/usr/bin/file 5656 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5657 ;; 5658 5659*nto* | *qnx*) 5660 lt_cv_deplibs_check_method=pass_all 5661 ;; 5662 5663openbsd* | bitrig*) 5664 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 5665 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5666 else 5667 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5668 fi 5669 ;; 5670 5671osf3* | osf4* | osf5*) 5672 lt_cv_deplibs_check_method=pass_all 5673 ;; 5674 5675rdos*) 5676 lt_cv_deplibs_check_method=pass_all 5677 ;; 5678 5679solaris*) 5680 lt_cv_deplibs_check_method=pass_all 5681 ;; 5682 5683sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5684 lt_cv_deplibs_check_method=pass_all 5685 ;; 5686 5687sysv4 | sysv4.3*) 5688 case $host_vendor in 5689 motorola) 5690 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]' 5691 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5692 ;; 5693 ncr) 5694 lt_cv_deplibs_check_method=pass_all 5695 ;; 5696 sequent) 5697 lt_cv_file_magic_cmd='/bin/file' 5698 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5699 ;; 5700 sni) 5701 lt_cv_file_magic_cmd='/bin/file' 5702 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5703 lt_cv_file_magic_test_file=/lib/libc.so 5704 ;; 5705 siemens) 5706 lt_cv_deplibs_check_method=pass_all 5707 ;; 5708 pc) 5709 lt_cv_deplibs_check_method=pass_all 5710 ;; 5711 esac 5712 ;; 5713 5714tpf*) 5715 lt_cv_deplibs_check_method=pass_all 5716 ;; 5717os2*) 5718 lt_cv_deplibs_check_method=pass_all 5719 ;; 5720esac 5721 5722fi 5723{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5724$as_echo "$lt_cv_deplibs_check_method" >&6; } 5725 5726file_magic_glob= 5727want_nocaseglob=no 5728if test "$build" = "$host"; then 5729 case $host_os in 5730 mingw* | pw32*) 5731 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 5732 want_nocaseglob=yes 5733 else 5734 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 5735 fi 5736 ;; 5737 esac 5738fi 5739 5740file_magic_cmd=$lt_cv_file_magic_cmd 5741deplibs_check_method=$lt_cv_deplibs_check_method 5742test -z "$deplibs_check_method" && deplibs_check_method=unknown 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765if test -n "$ac_tool_prefix"; then 5766 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5767set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5768{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5769$as_echo_n "checking for $ac_word... " >&6; } 5770if ${ac_cv_prog_DLLTOOL+:} false; then : 5771 $as_echo_n "(cached) " >&6 5772else 5773 if test -n "$DLLTOOL"; then 5774 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5775else 5776as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5777for as_dir in $PATH 5778do 5779 IFS=$as_save_IFS 5780 test -z "$as_dir" && as_dir=. 5781 for ac_exec_ext in '' $ac_executable_extensions; do 5782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5783 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5785 break 2 5786 fi 5787done 5788 done 5789IFS=$as_save_IFS 5790 5791fi 5792fi 5793DLLTOOL=$ac_cv_prog_DLLTOOL 5794if test -n "$DLLTOOL"; then 5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5796$as_echo "$DLLTOOL" >&6; } 5797else 5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5799$as_echo "no" >&6; } 5800fi 5801 5802 5803fi 5804if test -z "$ac_cv_prog_DLLTOOL"; then 5805 ac_ct_DLLTOOL=$DLLTOOL 5806 # Extract the first word of "dlltool", so it can be a program name with args. 5807set dummy dlltool; ac_word=$2 5808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5809$as_echo_n "checking for $ac_word... " >&6; } 5810if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5811 $as_echo_n "(cached) " >&6 5812else 5813 if test -n "$ac_ct_DLLTOOL"; then 5814 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5815else 5816as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5817for as_dir in $PATH 5818do 5819 IFS=$as_save_IFS 5820 test -z "$as_dir" && as_dir=. 5821 for ac_exec_ext in '' $ac_executable_extensions; do 5822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5823 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5825 break 2 5826 fi 5827done 5828 done 5829IFS=$as_save_IFS 5830 5831fi 5832fi 5833ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5834if test -n "$ac_ct_DLLTOOL"; then 5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5836$as_echo "$ac_ct_DLLTOOL" >&6; } 5837else 5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5839$as_echo "no" >&6; } 5840fi 5841 5842 if test "x$ac_ct_DLLTOOL" = x; then 5843 DLLTOOL="false" 5844 else 5845 case $cross_compiling:$ac_tool_warned in 5846yes:) 5847{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5848$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5849ac_tool_warned=yes ;; 5850esac 5851 DLLTOOL=$ac_ct_DLLTOOL 5852 fi 5853else 5854 DLLTOOL="$ac_cv_prog_DLLTOOL" 5855fi 5856 5857test -z "$DLLTOOL" && DLLTOOL=dlltool 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5869$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5870if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 5871 $as_echo_n "(cached) " >&6 5872else 5873 lt_cv_sharedlib_from_linklib_cmd='unknown' 5874 5875case $host_os in 5876cygwin* | mingw* | pw32* | cegcc*) 5877 # two different shell functions defined in ltmain.sh; 5878 # decide which one to use based on capabilities of $DLLTOOL 5879 case `$DLLTOOL --help 2>&1` in 5880 *--identify-strict*) 5881 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 5882 ;; 5883 *) 5884 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 5885 ;; 5886 esac 5887 ;; 5888*) 5889 # fallback: assume linklib IS sharedlib 5890 lt_cv_sharedlib_from_linklib_cmd=$ECHO 5891 ;; 5892esac 5893 5894fi 5895{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 5896$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 5897sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 5898test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 5899 5900 5901 5902 5903 5904 5905 5906 5907if test -n "$ac_tool_prefix"; then 5908 for ac_prog in ar 5909 do 5910 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5911set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5912{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5913$as_echo_n "checking for $ac_word... " >&6; } 5914if ${ac_cv_prog_AR+:} false; then : 5915 $as_echo_n "(cached) " >&6 5916else 5917 if test -n "$AR"; then 5918 ac_cv_prog_AR="$AR" # Let the user override the test. 5919else 5920as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5921for as_dir in $PATH 5922do 5923 IFS=$as_save_IFS 5924 test -z "$as_dir" && as_dir=. 5925 for ac_exec_ext in '' $ac_executable_extensions; do 5926 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5927 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5929 break 2 5930 fi 5931done 5932 done 5933IFS=$as_save_IFS 5934 5935fi 5936fi 5937AR=$ac_cv_prog_AR 5938if test -n "$AR"; then 5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5940$as_echo "$AR" >&6; } 5941else 5942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5943$as_echo "no" >&6; } 5944fi 5945 5946 5947 test -n "$AR" && break 5948 done 5949fi 5950if test -z "$AR"; then 5951 ac_ct_AR=$AR 5952 for ac_prog in ar 5953do 5954 # Extract the first word of "$ac_prog", so it can be a program name with args. 5955set dummy $ac_prog; ac_word=$2 5956{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5957$as_echo_n "checking for $ac_word... " >&6; } 5958if ${ac_cv_prog_ac_ct_AR+:} false; then : 5959 $as_echo_n "(cached) " >&6 5960else 5961 if test -n "$ac_ct_AR"; then 5962 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5963else 5964as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5965for as_dir in $PATH 5966do 5967 IFS=$as_save_IFS 5968 test -z "$as_dir" && as_dir=. 5969 for ac_exec_ext in '' $ac_executable_extensions; do 5970 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5971 ac_cv_prog_ac_ct_AR="$ac_prog" 5972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5973 break 2 5974 fi 5975done 5976 done 5977IFS=$as_save_IFS 5978 5979fi 5980fi 5981ac_ct_AR=$ac_cv_prog_ac_ct_AR 5982if test -n "$ac_ct_AR"; then 5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5984$as_echo "$ac_ct_AR" >&6; } 5985else 5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5987$as_echo "no" >&6; } 5988fi 5989 5990 5991 test -n "$ac_ct_AR" && break 5992done 5993 5994 if test "x$ac_ct_AR" = x; then 5995 AR="false" 5996 else 5997 case $cross_compiling:$ac_tool_warned in 5998yes:) 5999{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6000$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6001ac_tool_warned=yes ;; 6002esac 6003 AR=$ac_ct_AR 6004 fi 6005fi 6006 6007: ${AR=ar} 6008: ${AR_FLAGS=cr} 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 6021$as_echo_n "checking for archiver @FILE support... " >&6; } 6022if ${lt_cv_ar_at_file+:} false; then : 6023 $as_echo_n "(cached) " >&6 6024else 6025 lt_cv_ar_at_file=no 6026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6027/* end confdefs.h. */ 6028 6029int 6030main () 6031{ 6032 6033 ; 6034 return 0; 6035} 6036_ACEOF 6037if ac_fn_c_try_compile "$LINENO"; then : 6038 echo conftest.$ac_objext > conftest.lst 6039 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 6040 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6041 (eval $lt_ar_try) 2>&5 6042 ac_status=$? 6043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6044 test $ac_status = 0; } 6045 if test 0 -eq "$ac_status"; then 6046 # Ensure the archiver fails upon bogus file names. 6047 rm -f conftest.$ac_objext libconftest.a 6048 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6049 (eval $lt_ar_try) 2>&5 6050 ac_status=$? 6051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6052 test $ac_status = 0; } 6053 if test 0 -ne "$ac_status"; then 6054 lt_cv_ar_at_file=@ 6055 fi 6056 fi 6057 rm -f conftest.* libconftest.a 6058 6059fi 6060rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6061 6062fi 6063{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 6064$as_echo "$lt_cv_ar_at_file" >&6; } 6065 6066if test no = "$lt_cv_ar_at_file"; then 6067 archiver_list_spec= 6068else 6069 archiver_list_spec=$lt_cv_ar_at_file 6070fi 6071 6072 6073 6074 6075 6076 6077 6078if test -n "$ac_tool_prefix"; then 6079 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6080set dummy ${ac_tool_prefix}strip; ac_word=$2 6081{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6082$as_echo_n "checking for $ac_word... " >&6; } 6083if ${ac_cv_prog_STRIP+:} false; then : 6084 $as_echo_n "(cached) " >&6 6085else 6086 if test -n "$STRIP"; then 6087 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6088else 6089as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6090for as_dir in $PATH 6091do 6092 IFS=$as_save_IFS 6093 test -z "$as_dir" && as_dir=. 6094 for ac_exec_ext in '' $ac_executable_extensions; do 6095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6096 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6098 break 2 6099 fi 6100done 6101 done 6102IFS=$as_save_IFS 6103 6104fi 6105fi 6106STRIP=$ac_cv_prog_STRIP 6107if test -n "$STRIP"; then 6108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 6109$as_echo "$STRIP" >&6; } 6110else 6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6112$as_echo "no" >&6; } 6113fi 6114 6115 6116fi 6117if test -z "$ac_cv_prog_STRIP"; then 6118 ac_ct_STRIP=$STRIP 6119 # Extract the first word of "strip", so it can be a program name with args. 6120set dummy strip; ac_word=$2 6121{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6122$as_echo_n "checking for $ac_word... " >&6; } 6123if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 6124 $as_echo_n "(cached) " >&6 6125else 6126 if test -n "$ac_ct_STRIP"; then 6127 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6128else 6129as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6130for as_dir in $PATH 6131do 6132 IFS=$as_save_IFS 6133 test -z "$as_dir" && as_dir=. 6134 for ac_exec_ext in '' $ac_executable_extensions; do 6135 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6136 ac_cv_prog_ac_ct_STRIP="strip" 6137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6138 break 2 6139 fi 6140done 6141 done 6142IFS=$as_save_IFS 6143 6144fi 6145fi 6146ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6147if test -n "$ac_ct_STRIP"; then 6148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 6149$as_echo "$ac_ct_STRIP" >&6; } 6150else 6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6152$as_echo "no" >&6; } 6153fi 6154 6155 if test "x$ac_ct_STRIP" = x; then 6156 STRIP=":" 6157 else 6158 case $cross_compiling:$ac_tool_warned in 6159yes:) 6160{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6161$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6162ac_tool_warned=yes ;; 6163esac 6164 STRIP=$ac_ct_STRIP 6165 fi 6166else 6167 STRIP="$ac_cv_prog_STRIP" 6168fi 6169 6170test -z "$STRIP" && STRIP=: 6171 6172 6173 6174 6175 6176 6177if test -n "$ac_tool_prefix"; then 6178 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6179set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6180{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6181$as_echo_n "checking for $ac_word... " >&6; } 6182if ${ac_cv_prog_RANLIB+:} false; then : 6183 $as_echo_n "(cached) " >&6 6184else 6185 if test -n "$RANLIB"; then 6186 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6187else 6188as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6189for as_dir in $PATH 6190do 6191 IFS=$as_save_IFS 6192 test -z "$as_dir" && as_dir=. 6193 for ac_exec_ext in '' $ac_executable_extensions; do 6194 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6195 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6197 break 2 6198 fi 6199done 6200 done 6201IFS=$as_save_IFS 6202 6203fi 6204fi 6205RANLIB=$ac_cv_prog_RANLIB 6206if test -n "$RANLIB"; then 6207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6208$as_echo "$RANLIB" >&6; } 6209else 6210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6211$as_echo "no" >&6; } 6212fi 6213 6214 6215fi 6216if test -z "$ac_cv_prog_RANLIB"; then 6217 ac_ct_RANLIB=$RANLIB 6218 # Extract the first word of "ranlib", so it can be a program name with args. 6219set dummy ranlib; ac_word=$2 6220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6221$as_echo_n "checking for $ac_word... " >&6; } 6222if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 6223 $as_echo_n "(cached) " >&6 6224else 6225 if test -n "$ac_ct_RANLIB"; then 6226 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6227else 6228as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6229for as_dir in $PATH 6230do 6231 IFS=$as_save_IFS 6232 test -z "$as_dir" && as_dir=. 6233 for ac_exec_ext in '' $ac_executable_extensions; do 6234 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6235 ac_cv_prog_ac_ct_RANLIB="ranlib" 6236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6237 break 2 6238 fi 6239done 6240 done 6241IFS=$as_save_IFS 6242 6243fi 6244fi 6245ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6246if test -n "$ac_ct_RANLIB"; then 6247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6248$as_echo "$ac_ct_RANLIB" >&6; } 6249else 6250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6251$as_echo "no" >&6; } 6252fi 6253 6254 if test "x$ac_ct_RANLIB" = x; then 6255 RANLIB=":" 6256 else 6257 case $cross_compiling:$ac_tool_warned in 6258yes:) 6259{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6260$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6261ac_tool_warned=yes ;; 6262esac 6263 RANLIB=$ac_ct_RANLIB 6264 fi 6265else 6266 RANLIB="$ac_cv_prog_RANLIB" 6267fi 6268 6269test -z "$RANLIB" && RANLIB=: 6270 6271 6272 6273 6274 6275 6276# Determine commands to create old-style static archives. 6277old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6278old_postinstall_cmds='chmod 644 $oldlib' 6279old_postuninstall_cmds= 6280 6281if test -n "$RANLIB"; then 6282 case $host_os in 6283 bitrig* | openbsd*) 6284 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 6285 ;; 6286 *) 6287 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 6288 ;; 6289 esac 6290 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 6291fi 6292 6293case $host_os in 6294 darwin*) 6295 lock_old_archive_extraction=yes ;; 6296 *) 6297 lock_old_archive_extraction=no ;; 6298esac 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338# If no C compiler was specified, use CC. 6339LTCC=${LTCC-"$CC"} 6340 6341# If no C compiler flags were specified, use CFLAGS. 6342LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6343 6344# Allow CC to be a program name with arguments. 6345compiler=$CC 6346 6347 6348# Check for command to grab the raw symbol name followed by C symbol from nm. 6349{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6350$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6351if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6352 $as_echo_n "(cached) " >&6 6353else 6354 6355# These are sane defaults that work on at least a few old systems. 6356# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6357 6358# Character class describing NM global symbol codes. 6359symcode='[BCDEGRST]' 6360 6361# Regexp to match symbols that can be accessed directly from C. 6362sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6363 6364# Define system-specific variables. 6365case $host_os in 6366aix*) 6367 symcode='[BCDT]' 6368 ;; 6369cygwin* | mingw* | pw32* | cegcc*) 6370 symcode='[ABCDGISTW]' 6371 ;; 6372hpux*) 6373 if test ia64 = "$host_cpu"; then 6374 symcode='[ABCDEGRST]' 6375 fi 6376 ;; 6377irix* | nonstopux*) 6378 symcode='[BCDEGRST]' 6379 ;; 6380osf*) 6381 symcode='[BCDEGQRST]' 6382 ;; 6383solaris*) 6384 symcode='[BDRT]' 6385 ;; 6386sco3.2v5*) 6387 symcode='[DT]' 6388 ;; 6389sysv4.2uw2*) 6390 symcode='[DT]' 6391 ;; 6392sysv5* | sco5v6* | unixware* | OpenUNIX*) 6393 symcode='[ABDT]' 6394 ;; 6395sysv4) 6396 symcode='[DFNSTU]' 6397 ;; 6398esac 6399 6400# If we're using GNU nm, then use its standard symbol codes. 6401case `$NM -V 2>&1` in 6402*GNU* | *'with BFD'*) 6403 symcode='[ABCDGIRSTW]' ;; 6404esac 6405 6406if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6407 # Gets list of data symbols to import. 6408 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 6409 # Adjust the below global symbol transforms to fixup imported variables. 6410 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 6411 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 6412 lt_c_name_lib_hook="\ 6413 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 6414 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 6415else 6416 # Disable hooks by default. 6417 lt_cv_sys_global_symbol_to_import= 6418 lt_cdecl_hook= 6419 lt_c_name_hook= 6420 lt_c_name_lib_hook= 6421fi 6422 6423# Transform an extracted symbol line into a proper C declaration. 6424# Some systems (esp. on ia64) link data and code symbols differently, 6425# so use this general approach. 6426lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 6427$lt_cdecl_hook\ 6428" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 6429" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 6430 6431# Transform an extracted symbol line into symbol name and symbol address 6432lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 6433$lt_c_name_hook\ 6434" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6435" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 6436 6437# Transform an extracted symbol line into symbol name with lib prefix and 6438# symbol address. 6439lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 6440$lt_c_name_lib_hook\ 6441" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6442" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 6443" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 6444 6445# Handle CRLF in mingw tool chain 6446opt_cr= 6447case $build_os in 6448mingw*) 6449 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6450 ;; 6451esac 6452 6453# Try without a prefix underscore, then with it. 6454for ac_symprfx in "" "_"; do 6455 6456 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6457 symxfrm="\\1 $ac_symprfx\\2 \\2" 6458 6459 # Write the raw and C identifiers. 6460 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6461 # Fake it for dumpbin and say T for any non-static function, 6462 # D for any global variable and I for any imported variable. 6463 # Also find C++ and __fastcall symbols from MSVC++, 6464 # which start with @ or ?. 6465 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6466" {last_section=section; section=\$ 3};"\ 6467" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6468" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6469" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 6470" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 6471" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 6472" \$ 0!~/External *\|/{next};"\ 6473" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6474" {if(hide[section]) next};"\ 6475" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 6476" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 6477" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 6478" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 6479" ' prfx=^$ac_symprfx" 6480 else 6481 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6482 fi 6483 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6484 6485 # Check to see that the pipe works correctly. 6486 pipe_works=no 6487 6488 rm -f conftest* 6489 cat > conftest.$ac_ext <<_LT_EOF 6490#ifdef __cplusplus 6491extern "C" { 6492#endif 6493char nm_test_var; 6494void nm_test_func(void); 6495void nm_test_func(void){} 6496#ifdef __cplusplus 6497} 6498#endif 6499int main(){nm_test_var='a';nm_test_func();return(0);} 6500_LT_EOF 6501 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 # Now try to grab the symbols. 6508 nlist=conftest.nm 6509 $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5 6510 if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then 6511 # Try sorting and uniquifying the output. 6512 if sort "$nlist" | uniq > "$nlist"T; then 6513 mv -f "$nlist"T "$nlist" 6514 else 6515 rm -f "$nlist"T 6516 fi 6517 6518 # Make sure that we snagged all the symbols we need. 6519 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6520 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6521 cat <<_LT_EOF > conftest.$ac_ext 6522/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6523#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 6524/* DATA imports from DLLs on WIN32 can't be const, because runtime 6525 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6526# define LT@&t@_DLSYM_CONST 6527#elif defined __osf__ 6528/* This system does not cope well with relocations in const data. */ 6529# define LT@&t@_DLSYM_CONST 6530#else 6531# define LT@&t@_DLSYM_CONST const 6532#endif 6533 6534#ifdef __cplusplus 6535extern "C" { 6536#endif 6537 6538_LT_EOF 6539 # Now generate the symbol file. 6540 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6541 6542 cat <<_LT_EOF >> conftest.$ac_ext 6543 6544/* The mapping between symbol names and symbols. */ 6545LT@&t@_DLSYM_CONST struct { 6546 const char *name; 6547 void *address; 6548} 6549lt__PROGRAM__LTX_preloaded_symbols[] = 6550{ 6551 { "@PROGRAM@", (void *) 0 }, 6552_LT_EOF 6553 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6554 cat <<\_LT_EOF >> conftest.$ac_ext 6555 {0, (void *) 0} 6556}; 6557 6558/* This works around a problem in FreeBSD linker */ 6559#ifdef FREEBSD_WORKAROUND 6560static const void *lt_preloaded_setup() { 6561 return lt__PROGRAM__LTX_preloaded_symbols; 6562} 6563#endif 6564 6565#ifdef __cplusplus 6566} 6567#endif 6568_LT_EOF 6569 # Now try linking the two files. 6570 mv conftest.$ac_objext conftstm.$ac_objext 6571 lt_globsym_save_LIBS=$LIBS 6572 lt_globsym_save_CFLAGS=$CFLAGS 6573 LIBS=conftstm.$ac_objext 6574 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6575 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6576 (eval $ac_link) 2>&5 6577 ac_status=$? 6578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6579 test $ac_status = 0; } && test -s conftest$ac_exeext; then 6580 pipe_works=yes 6581 fi 6582 LIBS=$lt_globsym_save_LIBS 6583 CFLAGS=$lt_globsym_save_CFLAGS 6584 else 6585 echo "cannot find nm_test_func in $nlist" >&5 6586 fi 6587 else 6588 echo "cannot find nm_test_var in $nlist" >&5 6589 fi 6590 else 6591 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6592 fi 6593 else 6594 echo "$progname: failed program was:" >&5 6595 cat conftest.$ac_ext >&5 6596 fi 6597 rm -rf conftest* conftst* 6598 6599 # Do not use the global_symbol_pipe unless it works. 6600 if test yes = "$pipe_works"; then 6601 break 6602 else 6603 lt_cv_sys_global_symbol_pipe= 6604 fi 6605done 6606 6607fi 6608 6609if test -z "$lt_cv_sys_global_symbol_pipe"; then 6610 lt_cv_sys_global_symbol_to_cdecl= 6611fi 6612if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6614$as_echo "failed" >&6; } 6615else 6616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6617$as_echo "ok" >&6; } 6618fi 6619 6620# Response file support. 6621if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6622 nm_file_list_spec='@' 6623elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6624 nm_file_list_spec='@' 6625fi 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6664$as_echo_n "checking for sysroot... " >&6; } 6665 6666@%:@ Check whether --with-sysroot was given. 6667if test "${with_sysroot+set}" = set; then : 6668 withval=$with_sysroot; 6669else 6670 with_sysroot=no 6671fi 6672 6673 6674lt_sysroot= 6675case $with_sysroot in #( 6676 yes) 6677 if test yes = "$GCC"; then 6678 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6679 fi 6680 ;; #( 6681 /*) 6682 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6683 ;; #( 6684 no|'') 6685 ;; #( 6686 *) 6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 6688$as_echo "$with_sysroot" >&6; } 6689 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6690 ;; 6691esac 6692 6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6694$as_echo "${lt_sysroot:-no}" >&6; } 6695 6696 6697 6698 6699 6700{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 6701$as_echo_n "checking for a working dd... " >&6; } 6702if ${ac_cv_path_lt_DD+:} false; then : 6703 $as_echo_n "(cached) " >&6 6704else 6705 printf 0123456789abcdef0123456789abcdef >conftest.i 6706cat conftest.i conftest.i >conftest2.i 6707: ${lt_DD:=$DD} 6708if test -z "$lt_DD"; then 6709 ac_path_lt_DD_found=false 6710 # Loop through the user's path and test for each of PROGNAME-LIST 6711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6712for as_dir in $PATH 6713do 6714 IFS=$as_save_IFS 6715 test -z "$as_dir" && as_dir=. 6716 for ac_prog in dd; do 6717 for ac_exec_ext in '' $ac_executable_extensions; do 6718 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 6719 as_fn_executable_p "$ac_path_lt_DD" || continue 6720if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6721 cmp -s conftest.i conftest.out \ 6722 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 6723fi 6724 $ac_path_lt_DD_found && break 3 6725 done 6726 done 6727 done 6728IFS=$as_save_IFS 6729 if test -z "$ac_cv_path_lt_DD"; then 6730 : 6731 fi 6732else 6733 ac_cv_path_lt_DD=$lt_DD 6734fi 6735 6736rm -f conftest.i conftest2.i conftest.out 6737fi 6738{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 6739$as_echo "$ac_cv_path_lt_DD" >&6; } 6740 6741 6742{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 6743$as_echo_n "checking how to truncate binary pipes... " >&6; } 6744if ${lt_cv_truncate_bin+:} false; then : 6745 $as_echo_n "(cached) " >&6 6746else 6747 printf 0123456789abcdef0123456789abcdef >conftest.i 6748cat conftest.i conftest.i >conftest2.i 6749lt_cv_truncate_bin= 6750if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6751 cmp -s conftest.i conftest.out \ 6752 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 6753fi 6754rm -f conftest.i conftest2.i conftest.out 6755test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 6756fi 6757{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 6758$as_echo "$lt_cv_truncate_bin" >&6; } 6759 6760 6761 6762 6763 6764 6765 6766# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 6767func_cc_basename () 6768{ 6769 for cc_temp in @S|@*""; do 6770 case $cc_temp in 6771 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 6772 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 6773 \-*) ;; 6774 *) break;; 6775 esac 6776 done 6777 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 6778} 6779 6780@%:@ Check whether --enable-libtool-lock was given. 6781if test "${enable_libtool_lock+set}" = set; then : 6782 enableval=$enable_libtool_lock; 6783fi 6784 6785test no = "$enable_libtool_lock" || enable_libtool_lock=yes 6786 6787# Some flags need to be propagated to the compiler or linker for good 6788# libtool support. 6789case $host in 6790ia64-*-hpux*) 6791 # Find out what ABI is being produced by ac_compile, and set mode 6792 # options accordingly. 6793 echo 'int i;' > conftest.$ac_ext 6794 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6795 (eval $ac_compile) 2>&5 6796 ac_status=$? 6797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6798 test $ac_status = 0; }; then 6799 case `/usr/bin/file conftest.$ac_objext` in 6800 *ELF-32*) 6801 HPUX_IA64_MODE=32 6802 ;; 6803 *ELF-64*) 6804 HPUX_IA64_MODE=64 6805 ;; 6806 esac 6807 fi 6808 rm -rf conftest* 6809 ;; 6810*-*-irix6*) 6811 # Find out what ABI is being produced by ac_compile, and set linker 6812 # options accordingly. 6813 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6814 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6815 (eval $ac_compile) 2>&5 6816 ac_status=$? 6817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6818 test $ac_status = 0; }; then 6819 if test yes = "$lt_cv_prog_gnu_ld"; then 6820 case `/usr/bin/file conftest.$ac_objext` in 6821 *32-bit*) 6822 LD="${LD-ld} -melf32bsmip" 6823 ;; 6824 *N32*) 6825 LD="${LD-ld} -melf32bmipn32" 6826 ;; 6827 *64-bit*) 6828 LD="${LD-ld} -melf64bmip" 6829 ;; 6830 esac 6831 else 6832 case `/usr/bin/file conftest.$ac_objext` in 6833 *32-bit*) 6834 LD="${LD-ld} -32" 6835 ;; 6836 *N32*) 6837 LD="${LD-ld} -n32" 6838 ;; 6839 *64-bit*) 6840 LD="${LD-ld} -64" 6841 ;; 6842 esac 6843 fi 6844 fi 6845 rm -rf conftest* 6846 ;; 6847 6848mips64*-*linux*) 6849 # Find out what ABI is being produced by ac_compile, and set linker 6850 # options accordingly. 6851 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6852 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6853 (eval $ac_compile) 2>&5 6854 ac_status=$? 6855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6856 test $ac_status = 0; }; then 6857 emul=elf 6858 case `/usr/bin/file conftest.$ac_objext` in 6859 *32-bit*) 6860 emul="${emul}32" 6861 ;; 6862 *64-bit*) 6863 emul="${emul}64" 6864 ;; 6865 esac 6866 case `/usr/bin/file conftest.$ac_objext` in 6867 *MSB*) 6868 emul="${emul}btsmip" 6869 ;; 6870 *LSB*) 6871 emul="${emul}ltsmip" 6872 ;; 6873 esac 6874 case `/usr/bin/file conftest.$ac_objext` in 6875 *N32*) 6876 emul="${emul}n32" 6877 ;; 6878 esac 6879 LD="${LD-ld} -m $emul" 6880 fi 6881 rm -rf conftest* 6882 ;; 6883 6884x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 6885s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6886 # Find out what ABI is being produced by ac_compile, and set linker 6887 # options accordingly. Note that the listed cases only cover the 6888 # situations where additional linker options are needed (such as when 6889 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 6890 # vice versa); the common cases where no linker options are needed do 6891 # not appear in the list. 6892 echo 'int i;' > conftest.$ac_ext 6893 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6894 (eval $ac_compile) 2>&5 6895 ac_status=$? 6896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6897 test $ac_status = 0; }; then 6898 case `/usr/bin/file conftest.o` in 6899 *32-bit*) 6900 case $host in 6901 x86_64-*kfreebsd*-gnu) 6902 LD="${LD-ld} -m elf_i386_fbsd" 6903 ;; 6904 x86_64-*linux*) 6905 case `/usr/bin/file conftest.o` in 6906 *x86-64*) 6907 LD="${LD-ld} -m elf32_x86_64" 6908 ;; 6909 *) 6910 LD="${LD-ld} -m elf_i386" 6911 ;; 6912 esac 6913 ;; 6914 powerpc64le-*linux*) 6915 LD="${LD-ld} -m elf32lppclinux" 6916 ;; 6917 powerpc64-*linux*) 6918 LD="${LD-ld} -m elf32ppclinux" 6919 ;; 6920 s390x-*linux*) 6921 LD="${LD-ld} -m elf_s390" 6922 ;; 6923 sparc64-*linux*) 6924 LD="${LD-ld} -m elf32_sparc" 6925 ;; 6926 esac 6927 ;; 6928 *64-bit*) 6929 case $host in 6930 x86_64-*kfreebsd*-gnu) 6931 LD="${LD-ld} -m elf_x86_64_fbsd" 6932 ;; 6933 x86_64-*linux*) 6934 LD="${LD-ld} -m elf_x86_64" 6935 ;; 6936 powerpcle-*linux*) 6937 LD="${LD-ld} -m elf64lppc" 6938 ;; 6939 powerpc-*linux*) 6940 LD="${LD-ld} -m elf64ppc" 6941 ;; 6942 s390*-*linux*|s390*-*tpf*) 6943 LD="${LD-ld} -m elf64_s390" 6944 ;; 6945 sparc*-*linux*) 6946 LD="${LD-ld} -m elf64_sparc" 6947 ;; 6948 esac 6949 ;; 6950 esac 6951 fi 6952 rm -rf conftest* 6953 ;; 6954 6955*-*-sco3.2v5*) 6956 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6957 SAVE_CFLAGS=$CFLAGS 6958 CFLAGS="$CFLAGS -belf" 6959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6960$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6961if ${lt_cv_cc_needs_belf+:} false; then : 6962 $as_echo_n "(cached) " >&6 6963else 6964 ac_ext=c 6965ac_cpp='$CPP $CPPFLAGS' 6966ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6967ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6968ac_compiler_gnu=$ac_cv_c_compiler_gnu 6969 6970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6971/* end confdefs.h. */ 6972 6973int 6974main () 6975{ 6976 6977 ; 6978 return 0; 6979} 6980_ACEOF 6981if ac_fn_c_try_link "$LINENO"; then : 6982 lt_cv_cc_needs_belf=yes 6983else 6984 lt_cv_cc_needs_belf=no 6985fi 6986rm -f core conftest.err conftest.$ac_objext \ 6987 conftest$ac_exeext conftest.$ac_ext 6988 ac_ext=c 6989ac_cpp='$CPP $CPPFLAGS' 6990ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6991ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6992ac_compiler_gnu=$ac_cv_c_compiler_gnu 6993 6994fi 6995{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6996$as_echo "$lt_cv_cc_needs_belf" >&6; } 6997 if test yes != "$lt_cv_cc_needs_belf"; then 6998 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6999 CFLAGS=$SAVE_CFLAGS 7000 fi 7001 ;; 7002*-*solaris*) 7003 # Find out what ABI is being produced by ac_compile, and set linker 7004 # options accordingly. 7005 echo 'int i;' > conftest.$ac_ext 7006 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7007 (eval $ac_compile) 2>&5 7008 ac_status=$? 7009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7010 test $ac_status = 0; }; then 7011 case `/usr/bin/file conftest.o` in 7012 *64-bit*) 7013 case $lt_cv_prog_gnu_ld in 7014 yes*) 7015 case $host in 7016 i?86-*-solaris*|x86_64-*-solaris*) 7017 LD="${LD-ld} -m elf_x86_64" 7018 ;; 7019 sparc*-*-solaris*) 7020 LD="${LD-ld} -m elf64_sparc" 7021 ;; 7022 esac 7023 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 7024 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 7025 LD=${LD-ld}_sol2 7026 fi 7027 ;; 7028 *) 7029 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 7030 LD="${LD-ld} -64" 7031 fi 7032 ;; 7033 esac 7034 ;; 7035 esac 7036 fi 7037 rm -rf conftest* 7038 ;; 7039esac 7040 7041need_locks=$enable_libtool_lock 7042 7043if test -n "$ac_tool_prefix"; then 7044 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 7045set dummy ${ac_tool_prefix}mt; ac_word=$2 7046{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7047$as_echo_n "checking for $ac_word... " >&6; } 7048if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 7049 $as_echo_n "(cached) " >&6 7050else 7051 if test -n "$MANIFEST_TOOL"; then 7052 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 7053else 7054as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7055for as_dir in $PATH 7056do 7057 IFS=$as_save_IFS 7058 test -z "$as_dir" && as_dir=. 7059 for ac_exec_ext in '' $ac_executable_extensions; do 7060 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7061 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 7062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7063 break 2 7064 fi 7065done 7066 done 7067IFS=$as_save_IFS 7068 7069fi 7070fi 7071MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 7072if test -n "$MANIFEST_TOOL"; then 7073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 7074$as_echo "$MANIFEST_TOOL" >&6; } 7075else 7076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7077$as_echo "no" >&6; } 7078fi 7079 7080 7081fi 7082if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 7083 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 7084 # Extract the first word of "mt", so it can be a program name with args. 7085set dummy mt; ac_word=$2 7086{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7087$as_echo_n "checking for $ac_word... " >&6; } 7088if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 7089 $as_echo_n "(cached) " >&6 7090else 7091 if test -n "$ac_ct_MANIFEST_TOOL"; then 7092 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 7093else 7094as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7095for as_dir in $PATH 7096do 7097 IFS=$as_save_IFS 7098 test -z "$as_dir" && as_dir=. 7099 for ac_exec_ext in '' $ac_executable_extensions; do 7100 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7101 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 7102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7103 break 2 7104 fi 7105done 7106 done 7107IFS=$as_save_IFS 7108 7109fi 7110fi 7111ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 7112if test -n "$ac_ct_MANIFEST_TOOL"; then 7113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 7114$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 7115else 7116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7117$as_echo "no" >&6; } 7118fi 7119 7120 if test "x$ac_ct_MANIFEST_TOOL" = x; then 7121 MANIFEST_TOOL=":" 7122 else 7123 case $cross_compiling:$ac_tool_warned in 7124yes:) 7125{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7126$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7127ac_tool_warned=yes ;; 7128esac 7129 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 7130 fi 7131else 7132 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 7133fi 7134 7135test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 7136{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 7137$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 7138if ${lt_cv_path_mainfest_tool+:} false; then : 7139 $as_echo_n "(cached) " >&6 7140else 7141 lt_cv_path_mainfest_tool=no 7142 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 7143 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 7144 cat conftest.err >&5 7145 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 7146 lt_cv_path_mainfest_tool=yes 7147 fi 7148 rm -f conftest* 7149fi 7150{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 7151$as_echo "$lt_cv_path_mainfest_tool" >&6; } 7152if test yes != "$lt_cv_path_mainfest_tool"; then 7153 MANIFEST_TOOL=: 7154fi 7155 7156 7157 7158 7159 7160 7161 case $host_os in 7162 rhapsody* | darwin*) 7163 if test -n "$ac_tool_prefix"; then 7164 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7165set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7166{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7167$as_echo_n "checking for $ac_word... " >&6; } 7168if ${ac_cv_prog_DSYMUTIL+:} false; then : 7169 $as_echo_n "(cached) " >&6 7170else 7171 if test -n "$DSYMUTIL"; then 7172 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7173else 7174as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7175for as_dir in $PATH 7176do 7177 IFS=$as_save_IFS 7178 test -z "$as_dir" && as_dir=. 7179 for ac_exec_ext in '' $ac_executable_extensions; do 7180 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7181 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7183 break 2 7184 fi 7185done 7186 done 7187IFS=$as_save_IFS 7188 7189fi 7190fi 7191DSYMUTIL=$ac_cv_prog_DSYMUTIL 7192if test -n "$DSYMUTIL"; then 7193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 7194$as_echo "$DSYMUTIL" >&6; } 7195else 7196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7197$as_echo "no" >&6; } 7198fi 7199 7200 7201fi 7202if test -z "$ac_cv_prog_DSYMUTIL"; then 7203 ac_ct_DSYMUTIL=$DSYMUTIL 7204 # Extract the first word of "dsymutil", so it can be a program name with args. 7205set dummy dsymutil; ac_word=$2 7206{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7207$as_echo_n "checking for $ac_word... " >&6; } 7208if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 7209 $as_echo_n "(cached) " >&6 7210else 7211 if test -n "$ac_ct_DSYMUTIL"; then 7212 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7213else 7214as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7215for as_dir in $PATH 7216do 7217 IFS=$as_save_IFS 7218 test -z "$as_dir" && as_dir=. 7219 for ac_exec_ext in '' $ac_executable_extensions; do 7220 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7221 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7223 break 2 7224 fi 7225done 7226 done 7227IFS=$as_save_IFS 7228 7229fi 7230fi 7231ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7232if test -n "$ac_ct_DSYMUTIL"; then 7233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 7234$as_echo "$ac_ct_DSYMUTIL" >&6; } 7235else 7236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7237$as_echo "no" >&6; } 7238fi 7239 7240 if test "x$ac_ct_DSYMUTIL" = x; then 7241 DSYMUTIL=":" 7242 else 7243 case $cross_compiling:$ac_tool_warned in 7244yes:) 7245{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7246$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7247ac_tool_warned=yes ;; 7248esac 7249 DSYMUTIL=$ac_ct_DSYMUTIL 7250 fi 7251else 7252 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7253fi 7254 7255 if test -n "$ac_tool_prefix"; then 7256 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7257set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7258{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7259$as_echo_n "checking for $ac_word... " >&6; } 7260if ${ac_cv_prog_NMEDIT+:} false; then : 7261 $as_echo_n "(cached) " >&6 7262else 7263 if test -n "$NMEDIT"; then 7264 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7265else 7266as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7267for as_dir in $PATH 7268do 7269 IFS=$as_save_IFS 7270 test -z "$as_dir" && as_dir=. 7271 for ac_exec_ext in '' $ac_executable_extensions; do 7272 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7273 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7275 break 2 7276 fi 7277done 7278 done 7279IFS=$as_save_IFS 7280 7281fi 7282fi 7283NMEDIT=$ac_cv_prog_NMEDIT 7284if test -n "$NMEDIT"; then 7285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 7286$as_echo "$NMEDIT" >&6; } 7287else 7288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7289$as_echo "no" >&6; } 7290fi 7291 7292 7293fi 7294if test -z "$ac_cv_prog_NMEDIT"; then 7295 ac_ct_NMEDIT=$NMEDIT 7296 # Extract the first word of "nmedit", so it can be a program name with args. 7297set dummy nmedit; ac_word=$2 7298{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7299$as_echo_n "checking for $ac_word... " >&6; } 7300if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 7301 $as_echo_n "(cached) " >&6 7302else 7303 if test -n "$ac_ct_NMEDIT"; then 7304 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7305else 7306as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7307for as_dir in $PATH 7308do 7309 IFS=$as_save_IFS 7310 test -z "$as_dir" && as_dir=. 7311 for ac_exec_ext in '' $ac_executable_extensions; do 7312 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7313 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7315 break 2 7316 fi 7317done 7318 done 7319IFS=$as_save_IFS 7320 7321fi 7322fi 7323ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7324if test -n "$ac_ct_NMEDIT"; then 7325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7326$as_echo "$ac_ct_NMEDIT" >&6; } 7327else 7328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7329$as_echo "no" >&6; } 7330fi 7331 7332 if test "x$ac_ct_NMEDIT" = x; then 7333 NMEDIT=":" 7334 else 7335 case $cross_compiling:$ac_tool_warned in 7336yes:) 7337{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7338$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7339ac_tool_warned=yes ;; 7340esac 7341 NMEDIT=$ac_ct_NMEDIT 7342 fi 7343else 7344 NMEDIT="$ac_cv_prog_NMEDIT" 7345fi 7346 7347 if test -n "$ac_tool_prefix"; then 7348 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7349set dummy ${ac_tool_prefix}lipo; ac_word=$2 7350{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7351$as_echo_n "checking for $ac_word... " >&6; } 7352if ${ac_cv_prog_LIPO+:} false; then : 7353 $as_echo_n "(cached) " >&6 7354else 7355 if test -n "$LIPO"; then 7356 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7357else 7358as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7359for as_dir in $PATH 7360do 7361 IFS=$as_save_IFS 7362 test -z "$as_dir" && as_dir=. 7363 for ac_exec_ext in '' $ac_executable_extensions; do 7364 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7365 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7367 break 2 7368 fi 7369done 7370 done 7371IFS=$as_save_IFS 7372 7373fi 7374fi 7375LIPO=$ac_cv_prog_LIPO 7376if test -n "$LIPO"; then 7377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7378$as_echo "$LIPO" >&6; } 7379else 7380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7381$as_echo "no" >&6; } 7382fi 7383 7384 7385fi 7386if test -z "$ac_cv_prog_LIPO"; then 7387 ac_ct_LIPO=$LIPO 7388 # Extract the first word of "lipo", so it can be a program name with args. 7389set dummy lipo; ac_word=$2 7390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7391$as_echo_n "checking for $ac_word... " >&6; } 7392if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 7393 $as_echo_n "(cached) " >&6 7394else 7395 if test -n "$ac_ct_LIPO"; then 7396 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7397else 7398as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7399for as_dir in $PATH 7400do 7401 IFS=$as_save_IFS 7402 test -z "$as_dir" && as_dir=. 7403 for ac_exec_ext in '' $ac_executable_extensions; do 7404 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7405 ac_cv_prog_ac_ct_LIPO="lipo" 7406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7407 break 2 7408 fi 7409done 7410 done 7411IFS=$as_save_IFS 7412 7413fi 7414fi 7415ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7416if test -n "$ac_ct_LIPO"; then 7417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7418$as_echo "$ac_ct_LIPO" >&6; } 7419else 7420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7421$as_echo "no" >&6; } 7422fi 7423 7424 if test "x$ac_ct_LIPO" = x; then 7425 LIPO=":" 7426 else 7427 case $cross_compiling:$ac_tool_warned in 7428yes:) 7429{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7430$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7431ac_tool_warned=yes ;; 7432esac 7433 LIPO=$ac_ct_LIPO 7434 fi 7435else 7436 LIPO="$ac_cv_prog_LIPO" 7437fi 7438 7439 if test -n "$ac_tool_prefix"; then 7440 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7441set dummy ${ac_tool_prefix}otool; ac_word=$2 7442{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7443$as_echo_n "checking for $ac_word... " >&6; } 7444if ${ac_cv_prog_OTOOL+:} false; then : 7445 $as_echo_n "(cached) " >&6 7446else 7447 if test -n "$OTOOL"; then 7448 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7449else 7450as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7451for as_dir in $PATH 7452do 7453 IFS=$as_save_IFS 7454 test -z "$as_dir" && as_dir=. 7455 for ac_exec_ext in '' $ac_executable_extensions; do 7456 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7457 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7459 break 2 7460 fi 7461done 7462 done 7463IFS=$as_save_IFS 7464 7465fi 7466fi 7467OTOOL=$ac_cv_prog_OTOOL 7468if test -n "$OTOOL"; then 7469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7470$as_echo "$OTOOL" >&6; } 7471else 7472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7473$as_echo "no" >&6; } 7474fi 7475 7476 7477fi 7478if test -z "$ac_cv_prog_OTOOL"; then 7479 ac_ct_OTOOL=$OTOOL 7480 # Extract the first word of "otool", so it can be a program name with args. 7481set dummy otool; ac_word=$2 7482{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7483$as_echo_n "checking for $ac_word... " >&6; } 7484if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 7485 $as_echo_n "(cached) " >&6 7486else 7487 if test -n "$ac_ct_OTOOL"; then 7488 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7489else 7490as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7491for as_dir in $PATH 7492do 7493 IFS=$as_save_IFS 7494 test -z "$as_dir" && as_dir=. 7495 for ac_exec_ext in '' $ac_executable_extensions; do 7496 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7497 ac_cv_prog_ac_ct_OTOOL="otool" 7498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7499 break 2 7500 fi 7501done 7502 done 7503IFS=$as_save_IFS 7504 7505fi 7506fi 7507ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7508if test -n "$ac_ct_OTOOL"; then 7509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7510$as_echo "$ac_ct_OTOOL" >&6; } 7511else 7512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7513$as_echo "no" >&6; } 7514fi 7515 7516 if test "x$ac_ct_OTOOL" = x; then 7517 OTOOL=":" 7518 else 7519 case $cross_compiling:$ac_tool_warned in 7520yes:) 7521{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7522$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7523ac_tool_warned=yes ;; 7524esac 7525 OTOOL=$ac_ct_OTOOL 7526 fi 7527else 7528 OTOOL="$ac_cv_prog_OTOOL" 7529fi 7530 7531 if test -n "$ac_tool_prefix"; then 7532 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7533set dummy ${ac_tool_prefix}otool64; ac_word=$2 7534{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7535$as_echo_n "checking for $ac_word... " >&6; } 7536if ${ac_cv_prog_OTOOL64+:} false; then : 7537 $as_echo_n "(cached) " >&6 7538else 7539 if test -n "$OTOOL64"; then 7540 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7541else 7542as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7543for as_dir in $PATH 7544do 7545 IFS=$as_save_IFS 7546 test -z "$as_dir" && as_dir=. 7547 for ac_exec_ext in '' $ac_executable_extensions; do 7548 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7549 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7551 break 2 7552 fi 7553done 7554 done 7555IFS=$as_save_IFS 7556 7557fi 7558fi 7559OTOOL64=$ac_cv_prog_OTOOL64 7560if test -n "$OTOOL64"; then 7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7562$as_echo "$OTOOL64" >&6; } 7563else 7564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7565$as_echo "no" >&6; } 7566fi 7567 7568 7569fi 7570if test -z "$ac_cv_prog_OTOOL64"; then 7571 ac_ct_OTOOL64=$OTOOL64 7572 # Extract the first word of "otool64", so it can be a program name with args. 7573set dummy otool64; ac_word=$2 7574{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7575$as_echo_n "checking for $ac_word... " >&6; } 7576if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 7577 $as_echo_n "(cached) " >&6 7578else 7579 if test -n "$ac_ct_OTOOL64"; then 7580 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7581else 7582as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7583for as_dir in $PATH 7584do 7585 IFS=$as_save_IFS 7586 test -z "$as_dir" && as_dir=. 7587 for ac_exec_ext in '' $ac_executable_extensions; do 7588 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7589 ac_cv_prog_ac_ct_OTOOL64="otool64" 7590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7591 break 2 7592 fi 7593done 7594 done 7595IFS=$as_save_IFS 7596 7597fi 7598fi 7599ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7600if test -n "$ac_ct_OTOOL64"; then 7601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7602$as_echo "$ac_ct_OTOOL64" >&6; } 7603else 7604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7605$as_echo "no" >&6; } 7606fi 7607 7608 if test "x$ac_ct_OTOOL64" = x; then 7609 OTOOL64=":" 7610 else 7611 case $cross_compiling:$ac_tool_warned in 7612yes:) 7613{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7614$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7615ac_tool_warned=yes ;; 7616esac 7617 OTOOL64=$ac_ct_OTOOL64 7618 fi 7619else 7620 OTOOL64="$ac_cv_prog_OTOOL64" 7621fi 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7650$as_echo_n "checking for -single_module linker flag... " >&6; } 7651if ${lt_cv_apple_cc_single_mod+:} false; then : 7652 $as_echo_n "(cached) " >&6 7653else 7654 lt_cv_apple_cc_single_mod=no 7655 if test -z "$LT_MULTI_MODULE"; then 7656 # By default we will add the -single_module flag. You can override 7657 # by either setting the environment variable LT_MULTI_MODULE 7658 # non-empty at configure time, or by adding -multi_module to the 7659 # link flags. 7660 rm -rf libconftest.dylib* 7661 echo "int foo(void){return 1;}" > conftest.c 7662 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7663-dynamiclib -Wl,-single_module conftest.c" >&5 7664 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7665 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7666 _lt_result=$? 7667 # If there is a non-empty error log, and "single_module" 7668 # appears in it, assume the flag caused a linker warning 7669 if test -s conftest.err && $GREP single_module conftest.err; then 7670 cat conftest.err >&5 7671 # Otherwise, if the output was created with a 0 exit code from 7672 # the compiler, it worked. 7673 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 7674 lt_cv_apple_cc_single_mod=yes 7675 else 7676 cat conftest.err >&5 7677 fi 7678 rm -rf libconftest.dylib* 7679 rm -f conftest.* 7680 fi 7681fi 7682{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7683$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7684 7685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7686$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7687if ${lt_cv_ld_exported_symbols_list+:} false; then : 7688 $as_echo_n "(cached) " >&6 7689else 7690 lt_cv_ld_exported_symbols_list=no 7691 save_LDFLAGS=$LDFLAGS 7692 echo "_main" > conftest.sym 7693 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7695/* end confdefs.h. */ 7696 7697int 7698main () 7699{ 7700 7701 ; 7702 return 0; 7703} 7704_ACEOF 7705if ac_fn_c_try_link "$LINENO"; then : 7706 lt_cv_ld_exported_symbols_list=yes 7707else 7708 lt_cv_ld_exported_symbols_list=no 7709fi 7710rm -f core conftest.err conftest.$ac_objext \ 7711 conftest$ac_exeext conftest.$ac_ext 7712 LDFLAGS=$save_LDFLAGS 7713 7714fi 7715{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7716$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7717 7718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7719$as_echo_n "checking for -force_load linker flag... " >&6; } 7720if ${lt_cv_ld_force_load+:} false; then : 7721 $as_echo_n "(cached) " >&6 7722else 7723 lt_cv_ld_force_load=no 7724 cat > conftest.c << _LT_EOF 7725int forced_loaded() { return 2;} 7726_LT_EOF 7727 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7728 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7729 echo "$AR cr libconftest.a conftest.o" >&5 7730 $AR cr libconftest.a conftest.o 2>&5 7731 echo "$RANLIB libconftest.a" >&5 7732 $RANLIB libconftest.a 2>&5 7733 cat > conftest.c << _LT_EOF 7734int main() { return 0;} 7735_LT_EOF 7736 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7737 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7738 _lt_result=$? 7739 if test -s conftest.err && $GREP force_load conftest.err; then 7740 cat conftest.err >&5 7741 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 7742 lt_cv_ld_force_load=yes 7743 else 7744 cat conftest.err >&5 7745 fi 7746 rm -f conftest.err libconftest.a conftest conftest.c 7747 rm -rf conftest.dSYM 7748 7749fi 7750{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7751$as_echo "$lt_cv_ld_force_load" >&6; } 7752 case $host_os in 7753 rhapsody* | darwin1.[012]) 7754 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 7755 darwin1.*) 7756 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7757 darwin*) # darwin 5.x on 7758 # if running on 10.5 or later, the deployment target defaults 7759 # to the OS version, if on x86, and 10.4, the deployment 7760 # target defaults to 10.4. Don't you love it? 7761 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7762 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7763 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7764 10.[012][,.]*) 7765 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7766 10.*) 7767 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7768 esac 7769 ;; 7770 esac 7771 if test yes = "$lt_cv_apple_cc_single_mod"; then 7772 _lt_dar_single_mod='$single_module' 7773 fi 7774 if test yes = "$lt_cv_ld_exported_symbols_list"; then 7775 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 7776 else 7777 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 7778 fi 7779 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 7780 _lt_dsymutil='~$DSYMUTIL $lib || :' 7781 else 7782 _lt_dsymutil= 7783 fi 7784 ;; 7785 esac 7786 7787# func_munge_path_list VARIABLE PATH 7788# ----------------------------------- 7789# VARIABLE is name of variable containing _space_ separated list of 7790# directories to be munged by the contents of PATH, which is string 7791# having a format: 7792# "DIR[:DIR]:" 7793# string "DIR[ DIR]" will be prepended to VARIABLE 7794# ":DIR[:DIR]" 7795# string "DIR[ DIR]" will be appended to VARIABLE 7796# "DIRP[:DIRP]::[DIRA:]DIRA" 7797# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 7798# "DIRA[ DIRA]" will be appended to VARIABLE 7799# "DIR[:DIR]" 7800# VARIABLE will be replaced by "DIR[ DIR]" 7801func_munge_path_list () 7802{ 7803 case x@S|@2 in 7804 x) 7805 ;; 7806 *:) 7807 eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\" 7808 ;; 7809 x:*) 7810 eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\" 7811 ;; 7812 *::*) 7813 eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 7814 eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\" 7815 ;; 7816 *) 7817 eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\" 7818 ;; 7819 esac 7820} 7821 7822ac_ext=c 7823ac_cpp='$CPP $CPPFLAGS' 7824ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7825ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7826ac_compiler_gnu=$ac_cv_c_compiler_gnu 7827{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7828$as_echo_n "checking how to run the C preprocessor... " >&6; } 7829# On Suns, sometimes $CPP names a directory. 7830if test -n "$CPP" && test -d "$CPP"; then 7831 CPP= 7832fi 7833if test -z "$CPP"; then 7834 if ${ac_cv_prog_CPP+:} false; then : 7835 $as_echo_n "(cached) " >&6 7836else 7837 # Double quotes because CPP needs to be expanded 7838 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 7839 do 7840 ac_preproc_ok=false 7841for ac_c_preproc_warn_flag in '' yes 7842do 7843 # Use a header file that comes with gcc, so configuring glibc 7844 # with a fresh cross-compiler works. 7845 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7846 # <limits.h> exists even on freestanding compilers. 7847 # On the NeXT, cc -E runs the code through the compiler's parser, 7848 # not just through cpp. "Syntax error" is here to catch this case. 7849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7850/* end confdefs.h. */ 7851@%:@ifdef __STDC__ 7852@%:@ include <limits.h> 7853@%:@else 7854@%:@ include <assert.h> 7855@%:@endif 7856 Syntax error 7857_ACEOF 7858if ac_fn_c_try_cpp "$LINENO"; then : 7859 7860else 7861 # Broken: fails on valid input. 7862continue 7863fi 7864rm -f conftest.err conftest.i conftest.$ac_ext 7865 7866 # OK, works on sane cases. Now check whether nonexistent headers 7867 # can be detected and how. 7868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7869/* end confdefs.h. */ 7870@%:@include <ac_nonexistent.h> 7871_ACEOF 7872if ac_fn_c_try_cpp "$LINENO"; then : 7873 # Broken: success on invalid input. 7874continue 7875else 7876 # Passes both tests. 7877ac_preproc_ok=: 7878break 7879fi 7880rm -f conftest.err conftest.i conftest.$ac_ext 7881 7882done 7883# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7884rm -f conftest.i conftest.err conftest.$ac_ext 7885if $ac_preproc_ok; then : 7886 break 7887fi 7888 7889 done 7890 ac_cv_prog_CPP=$CPP 7891 7892fi 7893 CPP=$ac_cv_prog_CPP 7894else 7895 ac_cv_prog_CPP=$CPP 7896fi 7897{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7898$as_echo "$CPP" >&6; } 7899ac_preproc_ok=false 7900for ac_c_preproc_warn_flag in '' yes 7901do 7902 # Use a header file that comes with gcc, so configuring glibc 7903 # with a fresh cross-compiler works. 7904 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7905 # <limits.h> exists even on freestanding compilers. 7906 # On the NeXT, cc -E runs the code through the compiler's parser, 7907 # not just through cpp. "Syntax error" is here to catch this case. 7908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7909/* end confdefs.h. */ 7910@%:@ifdef __STDC__ 7911@%:@ include <limits.h> 7912@%:@else 7913@%:@ include <assert.h> 7914@%:@endif 7915 Syntax error 7916_ACEOF 7917if ac_fn_c_try_cpp "$LINENO"; then : 7918 7919else 7920 # Broken: fails on valid input. 7921continue 7922fi 7923rm -f conftest.err conftest.i conftest.$ac_ext 7924 7925 # OK, works on sane cases. Now check whether nonexistent headers 7926 # can be detected and how. 7927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7928/* end confdefs.h. */ 7929@%:@include <ac_nonexistent.h> 7930_ACEOF 7931if ac_fn_c_try_cpp "$LINENO"; then : 7932 # Broken: success on invalid input. 7933continue 7934else 7935 # Passes both tests. 7936ac_preproc_ok=: 7937break 7938fi 7939rm -f conftest.err conftest.i conftest.$ac_ext 7940 7941done 7942# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7943rm -f conftest.i conftest.err conftest.$ac_ext 7944if $ac_preproc_ok; then : 7945 7946else 7947 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7948$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7949as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7950See \`config.log' for more details" "$LINENO" 5; } 7951fi 7952 7953ac_ext=c 7954ac_cpp='$CPP $CPPFLAGS' 7955ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7956ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7957ac_compiler_gnu=$ac_cv_c_compiler_gnu 7958 7959 7960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7961$as_echo_n "checking for ANSI C header files... " >&6; } 7962if ${ac_cv_header_stdc+:} false; then : 7963 $as_echo_n "(cached) " >&6 7964else 7965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7966/* end confdefs.h. */ 7967#include <stdlib.h> 7968#include <stdarg.h> 7969#include <string.h> 7970#include <float.h> 7971 7972int 7973main () 7974{ 7975 7976 ; 7977 return 0; 7978} 7979_ACEOF 7980if ac_fn_c_try_compile "$LINENO"; then : 7981 ac_cv_header_stdc=yes 7982else 7983 ac_cv_header_stdc=no 7984fi 7985rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7986 7987if test $ac_cv_header_stdc = yes; then 7988 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7990/* end confdefs.h. */ 7991#include <string.h> 7992 7993_ACEOF 7994if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7995 $EGREP "memchr" >/dev/null 2>&1; then : 7996 7997else 7998 ac_cv_header_stdc=no 7999fi 8000rm -f conftest* 8001 8002fi 8003 8004if test $ac_cv_header_stdc = yes; then 8005 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 8006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8007/* end confdefs.h. */ 8008#include <stdlib.h> 8009 8010_ACEOF 8011if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8012 $EGREP "free" >/dev/null 2>&1; then : 8013 8014else 8015 ac_cv_header_stdc=no 8016fi 8017rm -f conftest* 8018 8019fi 8020 8021if test $ac_cv_header_stdc = yes; then 8022 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 8023 if test "$cross_compiling" = yes; then : 8024 : 8025else 8026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8027/* end confdefs.h. */ 8028#include <ctype.h> 8029#include <stdlib.h> 8030#if ((' ' & 0x0FF) == 0x020) 8031# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 8032# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 8033#else 8034# define ISLOWER(c) \ 8035 (('a' <= (c) && (c) <= 'i') \ 8036 || ('j' <= (c) && (c) <= 'r') \ 8037 || ('s' <= (c) && (c) <= 'z')) 8038# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 8039#endif 8040 8041#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 8042int 8043main () 8044{ 8045 int i; 8046 for (i = 0; i < 256; i++) 8047 if (XOR (islower (i), ISLOWER (i)) 8048 || toupper (i) != TOUPPER (i)) 8049 return 2; 8050 return 0; 8051} 8052_ACEOF 8053if ac_fn_c_try_run "$LINENO"; then : 8054 8055else 8056 ac_cv_header_stdc=no 8057fi 8058rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 8059 conftest.$ac_objext conftest.beam conftest.$ac_ext 8060fi 8061 8062fi 8063fi 8064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 8065$as_echo "$ac_cv_header_stdc" >&6; } 8066if test $ac_cv_header_stdc = yes; then 8067 8068$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h 8069 8070fi 8071 8072# On IRIX 5.3, sys/types and inttypes.h are conflicting. 8073for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 8074 inttypes.h stdint.h unistd.h 8075do : 8076 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8077ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 8078" 8079if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 8080 cat >>confdefs.h <<_ACEOF 8081@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8082_ACEOF 8083 8084fi 8085 8086done 8087 8088 8089for ac_header in dlfcn.h 8090do : 8091 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 8092" 8093if test "x$ac_cv_header_dlfcn_h" = xyes; then : 8094 cat >>confdefs.h <<_ACEOF 8095@%:@define HAVE_DLFCN_H 1 8096_ACEOF 8097 8098fi 8099 8100done 8101 8102 8103 8104 8105func_stripname_cnf () 8106{ 8107 case @S|@2 in 8108 .*) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%\\\\@S|@2\$%%"`;; 8109 *) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%@S|@2\$%%"`;; 8110 esac 8111} # func_stripname_cnf 8112 8113 8114 8115 8116 8117# Set options 8118 8119 8120 8121 enable_dlopen=no 8122 8123 8124 enable_win32_dll=no 8125 8126 8127 @%:@ Check whether --enable-shared was given. 8128if test "${enable_shared+set}" = set; then : 8129 enableval=$enable_shared; p=${PACKAGE-default} 8130 case $enableval in 8131 yes) enable_shared=yes ;; 8132 no) enable_shared=no ;; 8133 *) 8134 enable_shared=no 8135 # Look at the argument we got. We use all the common list separators. 8136 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8137 for pkg in $enableval; do 8138 IFS=$lt_save_ifs 8139 if test "X$pkg" = "X$p"; then 8140 enable_shared=yes 8141 fi 8142 done 8143 IFS=$lt_save_ifs 8144 ;; 8145 esac 8146else 8147 enable_shared=yes 8148fi 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 @%:@ Check whether --enable-static was given. 8159if test "${enable_static+set}" = set; then : 8160 enableval=$enable_static; p=${PACKAGE-default} 8161 case $enableval in 8162 yes) enable_static=yes ;; 8163 no) enable_static=no ;; 8164 *) 8165 enable_static=no 8166 # Look at the argument we got. We use all the common list separators. 8167 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8168 for pkg in $enableval; do 8169 IFS=$lt_save_ifs 8170 if test "X$pkg" = "X$p"; then 8171 enable_static=yes 8172 fi 8173 done 8174 IFS=$lt_save_ifs 8175 ;; 8176 esac 8177else 8178 enable_static=yes 8179fi 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190@%:@ Check whether --with-pic was given. 8191if test "${with_pic+set}" = set; then : 8192 withval=$with_pic; lt_p=${PACKAGE-default} 8193 case $withval in 8194 yes|no) pic_mode=$withval ;; 8195 *) 8196 pic_mode=default 8197 # Look at the argument we got. We use all the common list separators. 8198 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8199 for lt_pkg in $withval; do 8200 IFS=$lt_save_ifs 8201 if test "X$lt_pkg" = "X$lt_p"; then 8202 pic_mode=yes 8203 fi 8204 done 8205 IFS=$lt_save_ifs 8206 ;; 8207 esac 8208else 8209 pic_mode=default 8210fi 8211 8212 8213 8214 8215 8216 8217 8218 8219 @%:@ Check whether --enable-fast-install was given. 8220if test "${enable_fast_install+set}" = set; then : 8221 enableval=$enable_fast_install; p=${PACKAGE-default} 8222 case $enableval in 8223 yes) enable_fast_install=yes ;; 8224 no) enable_fast_install=no ;; 8225 *) 8226 enable_fast_install=no 8227 # Look at the argument we got. We use all the common list separators. 8228 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8229 for pkg in $enableval; do 8230 IFS=$lt_save_ifs 8231 if test "X$pkg" = "X$p"; then 8232 enable_fast_install=yes 8233 fi 8234 done 8235 IFS=$lt_save_ifs 8236 ;; 8237 esac 8238else 8239 enable_fast_install=yes 8240fi 8241 8242 8243 8244 8245 8246 8247 8248 8249 shared_archive_member_spec= 8250case $host,$enable_shared in 8251power*-*-aix[5-9]*,yes) 8252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 8253$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 8254 8255@%:@ Check whether --with-aix-soname was given. 8256if test "${with_aix_soname+set}" = set; then : 8257 withval=$with_aix_soname; case $withval in 8258 aix|svr4|both) 8259 ;; 8260 *) 8261 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 8262 ;; 8263 esac 8264 lt_cv_with_aix_soname=$with_aix_soname 8265else 8266 if ${lt_cv_with_aix_soname+:} false; then : 8267 $as_echo_n "(cached) " >&6 8268else 8269 lt_cv_with_aix_soname=aix 8270fi 8271 8272 with_aix_soname=$lt_cv_with_aix_soname 8273fi 8274 8275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 8276$as_echo "$with_aix_soname" >&6; } 8277 if test aix != "$with_aix_soname"; then 8278 # For the AIX way of multilib, we name the shared archive member 8279 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 8280 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 8281 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 8282 # the AIX toolchain works better with OBJECT_MODE set (default 32). 8283 if test 64 = "${OBJECT_MODE-32}"; then 8284 shared_archive_member_spec=shr_64 8285 else 8286 shared_archive_member_spec=shr 8287 fi 8288 fi 8289 ;; 8290*) 8291 with_aix_soname=aix 8292 ;; 8293esac 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304# This can be used to rebuild libtool when needed 8305LIBTOOL_DEPS=$ltmain 8306 8307# Always use our own libtool. 8308LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339test -z "$LN_S" && LN_S="ln -s" 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354if test -n "${ZSH_VERSION+set}"; then 8355 setopt NO_GLOB_SUBST 8356fi 8357 8358{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8359$as_echo_n "checking for objdir... " >&6; } 8360if ${lt_cv_objdir+:} false; then : 8361 $as_echo_n "(cached) " >&6 8362else 8363 rm -f .libs 2>/dev/null 8364mkdir .libs 2>/dev/null 8365if test -d .libs; then 8366 lt_cv_objdir=.libs 8367else 8368 # MS-DOS does not allow filenames that begin with a dot. 8369 lt_cv_objdir=_libs 8370fi 8371rmdir .libs 2>/dev/null 8372fi 8373{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 8374$as_echo "$lt_cv_objdir" >&6; } 8375objdir=$lt_cv_objdir 8376 8377 8378 8379 8380 8381cat >>confdefs.h <<_ACEOF 8382@%:@define LT_OBJDIR "$lt_cv_objdir/" 8383_ACEOF 8384 8385 8386 8387 8388case $host_os in 8389aix3*) 8390 # AIX sometimes has problems with the GCC collect2 program. For some 8391 # reason, if we set the COLLECT_NAMES environment variable, the problems 8392 # vanish in a puff of smoke. 8393 if test set != "${COLLECT_NAMES+set}"; then 8394 COLLECT_NAMES= 8395 export COLLECT_NAMES 8396 fi 8397 ;; 8398esac 8399 8400# Global variables: 8401ofile=libtool 8402can_build_shared=yes 8403 8404# All known linkers require a '.a' archive for static linking (except MSVC, 8405# which needs '.lib'). 8406libext=a 8407 8408with_gnu_ld=$lt_cv_prog_gnu_ld 8409 8410old_CC=$CC 8411old_CFLAGS=$CFLAGS 8412 8413# Set sane defaults for various variables 8414test -z "$CC" && CC=cc 8415test -z "$LTCC" && LTCC=$CC 8416test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 8417test -z "$LD" && LD=ld 8418test -z "$ac_objext" && ac_objext=o 8419 8420func_cc_basename $compiler 8421cc_basename=$func_cc_basename_result 8422 8423 8424# Only perform the check for file, if the check method requires it 8425test -z "$MAGIC_CMD" && MAGIC_CMD=file 8426case $deplibs_check_method in 8427file_magic*) 8428 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8430$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8431if ${lt_cv_path_MAGIC_CMD+:} false; then : 8432 $as_echo_n "(cached) " >&6 8433else 8434 case $MAGIC_CMD in 8435[\\/*] | ?:[\\/]*) 8436 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8437 ;; 8438*) 8439 lt_save_MAGIC_CMD=$MAGIC_CMD 8440 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8441 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8442 for ac_dir in $ac_dummy; do 8443 IFS=$lt_save_ifs 8444 test -z "$ac_dir" && ac_dir=. 8445 if test -f "$ac_dir/${ac_tool_prefix}file"; then 8446 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 8447 if test -n "$file_magic_test_file"; then 8448 case $deplibs_check_method in 8449 "file_magic "*) 8450 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8451 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8452 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8453 $EGREP "$file_magic_regex" > /dev/null; then 8454 : 8455 else 8456 cat <<_LT_EOF 1>&2 8457 8458*** Warning: the command libtool uses to detect shared libraries, 8459*** $file_magic_cmd, produces output that libtool cannot recognize. 8460*** The result is that libtool may fail to recognize shared libraries 8461*** as such. This will affect the creation of libtool libraries that 8462*** depend on shared libraries, but programs linked with such libtool 8463*** libraries will work regardless of this problem. Nevertheless, you 8464*** may want to report the problem to your system manager and/or to 8465*** bug-libtool@gnu.org 8466 8467_LT_EOF 8468 fi ;; 8469 esac 8470 fi 8471 break 8472 fi 8473 done 8474 IFS=$lt_save_ifs 8475 MAGIC_CMD=$lt_save_MAGIC_CMD 8476 ;; 8477esac 8478fi 8479 8480MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8481if test -n "$MAGIC_CMD"; then 8482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8483$as_echo "$MAGIC_CMD" >&6; } 8484else 8485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8486$as_echo "no" >&6; } 8487fi 8488 8489 8490 8491 8492 8493if test -z "$lt_cv_path_MAGIC_CMD"; then 8494 if test -n "$ac_tool_prefix"; then 8495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8496$as_echo_n "checking for file... " >&6; } 8497if ${lt_cv_path_MAGIC_CMD+:} false; then : 8498 $as_echo_n "(cached) " >&6 8499else 8500 case $MAGIC_CMD in 8501[\\/*] | ?:[\\/]*) 8502 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8503 ;; 8504*) 8505 lt_save_MAGIC_CMD=$MAGIC_CMD 8506 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8507 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8508 for ac_dir in $ac_dummy; do 8509 IFS=$lt_save_ifs 8510 test -z "$ac_dir" && ac_dir=. 8511 if test -f "$ac_dir/file"; then 8512 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 8513 if test -n "$file_magic_test_file"; then 8514 case $deplibs_check_method in 8515 "file_magic "*) 8516 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8517 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8518 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8519 $EGREP "$file_magic_regex" > /dev/null; then 8520 : 8521 else 8522 cat <<_LT_EOF 1>&2 8523 8524*** Warning: the command libtool uses to detect shared libraries, 8525*** $file_magic_cmd, produces output that libtool cannot recognize. 8526*** The result is that libtool may fail to recognize shared libraries 8527*** as such. This will affect the creation of libtool libraries that 8528*** depend on shared libraries, but programs linked with such libtool 8529*** libraries will work regardless of this problem. Nevertheless, you 8530*** may want to report the problem to your system manager and/or to 8531*** bug-libtool@gnu.org 8532 8533_LT_EOF 8534 fi ;; 8535 esac 8536 fi 8537 break 8538 fi 8539 done 8540 IFS=$lt_save_ifs 8541 MAGIC_CMD=$lt_save_MAGIC_CMD 8542 ;; 8543esac 8544fi 8545 8546MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8547if test -n "$MAGIC_CMD"; then 8548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8549$as_echo "$MAGIC_CMD" >&6; } 8550else 8551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8552$as_echo "no" >&6; } 8553fi 8554 8555 8556 else 8557 MAGIC_CMD=: 8558 fi 8559fi 8560 8561 fi 8562 ;; 8563esac 8564 8565# Use C for the default configuration in the libtool script 8566 8567lt_save_CC=$CC 8568ac_ext=c 8569ac_cpp='$CPP $CPPFLAGS' 8570ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8571ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8572ac_compiler_gnu=$ac_cv_c_compiler_gnu 8573 8574 8575# Source file extension for C test sources. 8576ac_ext=c 8577 8578# Object file extension for compiled C test sources. 8579objext=o 8580objext=$objext 8581 8582# Code to be used in simple compile tests 8583lt_simple_compile_test_code="int some_variable = 0;" 8584 8585# Code to be used in simple link tests 8586lt_simple_link_test_code='int main(){return(0);}' 8587 8588 8589 8590 8591 8592 8593 8594# If no C compiler was specified, use CC. 8595LTCC=${LTCC-"$CC"} 8596 8597# If no C compiler flags were specified, use CFLAGS. 8598LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8599 8600# Allow CC to be a program name with arguments. 8601compiler=$CC 8602 8603# Save the default compiler, since it gets overwritten when the other 8604# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8605compiler_DEFAULT=$CC 8606 8607# save warnings/boilerplate of simple test code 8608ac_outfile=conftest.$ac_objext 8609echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8610eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8611_lt_compiler_boilerplate=`cat conftest.err` 8612$RM conftest* 8613 8614ac_outfile=conftest.$ac_objext 8615echo "$lt_simple_link_test_code" >conftest.$ac_ext 8616eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8617_lt_linker_boilerplate=`cat conftest.err` 8618$RM -r conftest* 8619 8620 8621if test -n "$compiler"; then 8622 8623lt_prog_compiler_no_builtin_flag= 8624 8625if test yes = "$GCC"; then 8626 case $cc_basename in 8627 nvcc*) 8628 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 8629 *) 8630 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8631 esac 8632 8633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8634$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8635if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 8636 $as_echo_n "(cached) " >&6 8637else 8638 lt_cv_prog_compiler_rtti_exceptions=no 8639 ac_outfile=conftest.$ac_objext 8640 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8641 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 8642 # Insert the option either (1) after the last *FLAGS variable, or 8643 # (2) before a word containing "conftest.", or (3) at the end. 8644 # Note that $ac_compile itself does not contain backslashes and begins 8645 # with a dollar sign (not a hyphen), so the echo should work correctly. 8646 # The option is referenced via a variable to avoid confusing sed. 8647 lt_compile=`echo "$ac_compile" | $SED \ 8648 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8649 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8650 -e 's:$: $lt_compiler_flag:'` 8651 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8652 (eval "$lt_compile" 2>conftest.err) 8653 ac_status=$? 8654 cat conftest.err >&5 8655 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8656 if (exit $ac_status) && test -s "$ac_outfile"; then 8657 # The compiler can only warn and ignore the option if not recognized 8658 # So say no if there are warnings other than the usual output. 8659 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8660 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8661 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8662 lt_cv_prog_compiler_rtti_exceptions=yes 8663 fi 8664 fi 8665 $RM conftest* 8666 8667fi 8668{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8669$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8670 8671if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 8672 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8673else 8674 : 8675fi 8676 8677fi 8678 8679 8680 8681 8682 8683 8684 lt_prog_compiler_wl= 8685lt_prog_compiler_pic= 8686lt_prog_compiler_static= 8687 8688 8689 if test yes = "$GCC"; then 8690 lt_prog_compiler_wl='-Wl,' 8691 lt_prog_compiler_static='-static' 8692 8693 case $host_os in 8694 aix*) 8695 # All AIX code is PIC. 8696 if test ia64 = "$host_cpu"; then 8697 # AIX 5 now supports IA64 processor 8698 lt_prog_compiler_static='-Bstatic' 8699 fi 8700 lt_prog_compiler_pic='-fPIC' 8701 ;; 8702 8703 amigaos*) 8704 case $host_cpu in 8705 powerpc) 8706 # see comment about AmigaOS4 .so support 8707 lt_prog_compiler_pic='-fPIC' 8708 ;; 8709 m68k) 8710 # FIXME: we need at least 68020 code to build shared libraries, but 8711 # adding the '-m68020' flag to GCC prevents building anything better, 8712 # like '-m68040'. 8713 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8714 ;; 8715 esac 8716 ;; 8717 8718 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8719 # PIC is the default for these OSes. 8720 ;; 8721 8722 mingw* | cygwin* | pw32* | os2* | cegcc*) 8723 # This hack is so that the source file can tell whether it is being 8724 # built for inclusion in a dll (and should export symbols for example). 8725 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8726 # (--disable-auto-import) libraries 8727 lt_prog_compiler_pic='-DDLL_EXPORT' 8728 case $host_os in 8729 os2*) 8730 lt_prog_compiler_static='$wl-static' 8731 ;; 8732 esac 8733 ;; 8734 8735 darwin* | rhapsody*) 8736 # PIC is the default on this platform 8737 # Common symbols not allowed in MH_DYLIB files 8738 lt_prog_compiler_pic='-fno-common' 8739 ;; 8740 8741 haiku*) 8742 # PIC is the default for Haiku. 8743 # The "-static" flag exists, but is broken. 8744 lt_prog_compiler_static= 8745 ;; 8746 8747 hpux*) 8748 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8749 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8750 # sets the default TLS model and affects inlining. 8751 case $host_cpu in 8752 hppa*64*) 8753 # +Z the default 8754 ;; 8755 *) 8756 lt_prog_compiler_pic='-fPIC' 8757 ;; 8758 esac 8759 ;; 8760 8761 interix[3-9]*) 8762 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8763 # Instead, we relocate shared libraries at runtime. 8764 ;; 8765 8766 msdosdjgpp*) 8767 # Just because we use GCC doesn't mean we suddenly get shared libraries 8768 # on systems that don't support them. 8769 lt_prog_compiler_can_build_shared=no 8770 enable_shared=no 8771 ;; 8772 8773 *nto* | *qnx*) 8774 # QNX uses GNU C++, but need to define -shared option too, otherwise 8775 # it will coredump. 8776 lt_prog_compiler_pic='-fPIC -shared' 8777 ;; 8778 8779 sysv4*MP*) 8780 if test -d /usr/nec; then 8781 lt_prog_compiler_pic=-Kconform_pic 8782 fi 8783 ;; 8784 8785 *) 8786 lt_prog_compiler_pic='-fPIC' 8787 ;; 8788 esac 8789 8790 case $cc_basename in 8791 nvcc*) # Cuda Compiler Driver 2.2 8792 lt_prog_compiler_wl='-Xlinker ' 8793 if test -n "$lt_prog_compiler_pic"; then 8794 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 8795 fi 8796 ;; 8797 esac 8798 else 8799 # PORTME Check for flag to pass linker flags through the system compiler. 8800 case $host_os in 8801 aix*) 8802 lt_prog_compiler_wl='-Wl,' 8803 if test ia64 = "$host_cpu"; then 8804 # AIX 5 now supports IA64 processor 8805 lt_prog_compiler_static='-Bstatic' 8806 else 8807 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8808 fi 8809 ;; 8810 8811 darwin* | rhapsody*) 8812 # PIC is the default on this platform 8813 # Common symbols not allowed in MH_DYLIB files 8814 lt_prog_compiler_pic='-fno-common' 8815 case $cc_basename in 8816 nagfor*) 8817 # NAG Fortran compiler 8818 lt_prog_compiler_wl='-Wl,-Wl,,' 8819 lt_prog_compiler_pic='-PIC' 8820 lt_prog_compiler_static='-Bstatic' 8821 ;; 8822 esac 8823 ;; 8824 8825 mingw* | cygwin* | pw32* | os2* | cegcc*) 8826 # This hack is so that the source file can tell whether it is being 8827 # built for inclusion in a dll (and should export symbols for example). 8828 lt_prog_compiler_pic='-DDLL_EXPORT' 8829 case $host_os in 8830 os2*) 8831 lt_prog_compiler_static='$wl-static' 8832 ;; 8833 esac 8834 ;; 8835 8836 hpux9* | hpux10* | hpux11*) 8837 lt_prog_compiler_wl='-Wl,' 8838 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8839 # not for PA HP-UX. 8840 case $host_cpu in 8841 hppa*64*|ia64*) 8842 # +Z the default 8843 ;; 8844 *) 8845 lt_prog_compiler_pic='+Z' 8846 ;; 8847 esac 8848 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8849 lt_prog_compiler_static='$wl-a ${wl}archive' 8850 ;; 8851 8852 irix5* | irix6* | nonstopux*) 8853 lt_prog_compiler_wl='-Wl,' 8854 # PIC (with -KPIC) is the default. 8855 lt_prog_compiler_static='-non_shared' 8856 ;; 8857 8858 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 8859 case $cc_basename in 8860 # old Intel for x86_64, which still supported -KPIC. 8861 ecc*) 8862 lt_prog_compiler_wl='-Wl,' 8863 lt_prog_compiler_pic='-KPIC' 8864 lt_prog_compiler_static='-static' 8865 ;; 8866 # flang / f18. f95 an alias for gfortran or flang on Debian 8867 flang* | f18* | f95*) 8868 lt_prog_compiler_wl='-Wl,' 8869 lt_prog_compiler_pic='-fPIC' 8870 lt_prog_compiler_static='-static' 8871 ;; 8872 # icc used to be incompatible with GCC. 8873 # ICC 10 doesn't accept -KPIC any more. 8874 icc* | ifort*) 8875 lt_prog_compiler_wl='-Wl,' 8876 lt_prog_compiler_pic='-fPIC' 8877 lt_prog_compiler_static='-static' 8878 ;; 8879 # Lahey Fortran 8.1. 8880 lf95*) 8881 lt_prog_compiler_wl='-Wl,' 8882 lt_prog_compiler_pic='--shared' 8883 lt_prog_compiler_static='--static' 8884 ;; 8885 nagfor*) 8886 # NAG Fortran compiler 8887 lt_prog_compiler_wl='-Wl,-Wl,,' 8888 lt_prog_compiler_pic='-PIC' 8889 lt_prog_compiler_static='-Bstatic' 8890 ;; 8891 tcc*) 8892 # Fabrice Bellard et al's Tiny C Compiler 8893 lt_prog_compiler_wl='-Wl,' 8894 lt_prog_compiler_pic='-fPIC' 8895 lt_prog_compiler_static='-static' 8896 ;; 8897 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8898 # Portland Group compilers (*not* the Pentium gcc compiler, 8899 # which looks to be a dead project) 8900 lt_prog_compiler_wl='-Wl,' 8901 lt_prog_compiler_pic='-fpic' 8902 lt_prog_compiler_static='-Bstatic' 8903 ;; 8904 ccc*) 8905 lt_prog_compiler_wl='-Wl,' 8906 # All Alpha code is PIC. 8907 lt_prog_compiler_static='-non_shared' 8908 ;; 8909 xl* | bgxl* | bgf* | mpixl*) 8910 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8911 lt_prog_compiler_wl='-Wl,' 8912 lt_prog_compiler_pic='-qpic' 8913 lt_prog_compiler_static='-qstaticlink' 8914 ;; 8915 *) 8916 case `$CC -V 2>&1 | sed 5q` in 8917 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 8918 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8919 lt_prog_compiler_pic='-KPIC' 8920 lt_prog_compiler_static='-Bstatic' 8921 lt_prog_compiler_wl='' 8922 ;; 8923 *Sun\ F* | *Sun*Fortran*) 8924 lt_prog_compiler_pic='-KPIC' 8925 lt_prog_compiler_static='-Bstatic' 8926 lt_prog_compiler_wl='-Qoption ld ' 8927 ;; 8928 *Sun\ C*) 8929 # Sun C 5.9 8930 lt_prog_compiler_pic='-KPIC' 8931 lt_prog_compiler_static='-Bstatic' 8932 lt_prog_compiler_wl='-Wl,' 8933 ;; 8934 *Intel*\ [CF]*Compiler*) 8935 lt_prog_compiler_wl='-Wl,' 8936 lt_prog_compiler_pic='-fPIC' 8937 lt_prog_compiler_static='-static' 8938 ;; 8939 *Portland\ Group*) 8940 lt_prog_compiler_wl='-Wl,' 8941 lt_prog_compiler_pic='-fpic' 8942 lt_prog_compiler_static='-Bstatic' 8943 ;; 8944 esac 8945 ;; 8946 esac 8947 ;; 8948 8949 newsos6) 8950 lt_prog_compiler_pic='-KPIC' 8951 lt_prog_compiler_static='-Bstatic' 8952 ;; 8953 8954 *nto* | *qnx*) 8955 # QNX uses GNU C++, but need to define -shared option too, otherwise 8956 # it will coredump. 8957 lt_prog_compiler_pic='-fPIC -shared' 8958 ;; 8959 8960 osf3* | osf4* | osf5*) 8961 lt_prog_compiler_wl='-Wl,' 8962 # All OSF/1 code is PIC. 8963 lt_prog_compiler_static='-non_shared' 8964 ;; 8965 8966 rdos*) 8967 lt_prog_compiler_static='-non_shared' 8968 ;; 8969 8970 solaris*) 8971 lt_prog_compiler_pic='-KPIC' 8972 lt_prog_compiler_static='-Bstatic' 8973 case $cc_basename in 8974 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 8975 lt_prog_compiler_wl='-Qoption ld ';; 8976 *) 8977 lt_prog_compiler_wl='-Wl,';; 8978 esac 8979 ;; 8980 8981 sunos4*) 8982 lt_prog_compiler_wl='-Qoption ld ' 8983 lt_prog_compiler_pic='-PIC' 8984 lt_prog_compiler_static='-Bstatic' 8985 ;; 8986 8987 sysv4 | sysv4.2uw2* | sysv4.3*) 8988 lt_prog_compiler_wl='-Wl,' 8989 lt_prog_compiler_pic='-KPIC' 8990 lt_prog_compiler_static='-Bstatic' 8991 ;; 8992 8993 sysv4*MP*) 8994 if test -d /usr/nec; then 8995 lt_prog_compiler_pic='-Kconform_pic' 8996 lt_prog_compiler_static='-Bstatic' 8997 fi 8998 ;; 8999 9000 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 9001 lt_prog_compiler_wl='-Wl,' 9002 lt_prog_compiler_pic='-KPIC' 9003 lt_prog_compiler_static='-Bstatic' 9004 ;; 9005 9006 unicos*) 9007 lt_prog_compiler_wl='-Wl,' 9008 lt_prog_compiler_can_build_shared=no 9009 ;; 9010 9011 uts4*) 9012 lt_prog_compiler_pic='-pic' 9013 lt_prog_compiler_static='-Bstatic' 9014 ;; 9015 9016 *) 9017 lt_prog_compiler_can_build_shared=no 9018 ;; 9019 esac 9020 fi 9021 9022case $host_os in 9023 # For platforms that do not support PIC, -DPIC is meaningless: 9024 *djgpp*) 9025 lt_prog_compiler_pic= 9026 ;; 9027 *) 9028 lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC" 9029 ;; 9030esac 9031 9032{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 9033$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 9034if ${lt_cv_prog_compiler_pic+:} false; then : 9035 $as_echo_n "(cached) " >&6 9036else 9037 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 9038fi 9039{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 9040$as_echo "$lt_cv_prog_compiler_pic" >&6; } 9041lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 9042 9043# 9044# Check to make sure the PIC flag actually works. 9045# 9046if test -n "$lt_prog_compiler_pic"; then 9047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 9048$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 9049if ${lt_cv_prog_compiler_pic_works+:} false; then : 9050 $as_echo_n "(cached) " >&6 9051else 9052 lt_cv_prog_compiler_pic_works=no 9053 ac_outfile=conftest.$ac_objext 9054 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9055 lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC" ## exclude from sc_useless_quotes_in_assignment 9056 # Insert the option either (1) after the last *FLAGS variable, or 9057 # (2) before a word containing "conftest.", or (3) at the end. 9058 # Note that $ac_compile itself does not contain backslashes and begins 9059 # with a dollar sign (not a hyphen), so the echo should work correctly. 9060 # The option is referenced via a variable to avoid confusing sed. 9061 lt_compile=`echo "$ac_compile" | $SED \ 9062 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9063 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9064 -e 's:$: $lt_compiler_flag:'` 9065 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9066 (eval "$lt_compile" 2>conftest.err) 9067 ac_status=$? 9068 cat conftest.err >&5 9069 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9070 if (exit $ac_status) && test -s "$ac_outfile"; then 9071 # The compiler can only warn and ignore the option if not recognized 9072 # So say no if there are warnings other than the usual output. 9073 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9074 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9075 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9076 lt_cv_prog_compiler_pic_works=yes 9077 fi 9078 fi 9079 $RM conftest* 9080 9081fi 9082{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 9083$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 9084 9085if test yes = "$lt_cv_prog_compiler_pic_works"; then 9086 case $lt_prog_compiler_pic in 9087 "" | " "*) ;; 9088 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 9089 esac 9090else 9091 lt_prog_compiler_pic= 9092 lt_prog_compiler_can_build_shared=no 9093fi 9094 9095fi 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107# 9108# Check to make sure the static flag actually works. 9109# 9110wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 9111{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 9112$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 9113if ${lt_cv_prog_compiler_static_works+:} false; then : 9114 $as_echo_n "(cached) " >&6 9115else 9116 lt_cv_prog_compiler_static_works=no 9117 save_LDFLAGS=$LDFLAGS 9118 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 9119 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9120 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9121 # The linker can only warn and ignore the option if not recognized 9122 # So say no if there are warnings 9123 if test -s conftest.err; then 9124 # Append any errors to the config.log. 9125 cat conftest.err 1>&5 9126 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9127 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9128 if diff conftest.exp conftest.er2 >/dev/null; then 9129 lt_cv_prog_compiler_static_works=yes 9130 fi 9131 else 9132 lt_cv_prog_compiler_static_works=yes 9133 fi 9134 fi 9135 $RM -r conftest* 9136 LDFLAGS=$save_LDFLAGS 9137 9138fi 9139{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 9140$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 9141 9142if test yes = "$lt_cv_prog_compiler_static_works"; then 9143 : 9144else 9145 lt_prog_compiler_static= 9146fi 9147 9148 9149 9150 9151 9152 9153 9154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9155$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9156if ${lt_cv_prog_compiler_c_o+:} false; then : 9157 $as_echo_n "(cached) " >&6 9158else 9159 lt_cv_prog_compiler_c_o=no 9160 $RM -r conftest 2>/dev/null 9161 mkdir conftest 9162 cd conftest 9163 mkdir out 9164 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9165 9166 lt_compiler_flag="-o out/conftest2.$ac_objext" 9167 # Insert the option either (1) after the last *FLAGS variable, or 9168 # (2) before a word containing "conftest.", or (3) at the end. 9169 # Note that $ac_compile itself does not contain backslashes and begins 9170 # with a dollar sign (not a hyphen), so the echo should work correctly. 9171 lt_compile=`echo "$ac_compile" | $SED \ 9172 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9173 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9174 -e 's:$: $lt_compiler_flag:'` 9175 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9176 (eval "$lt_compile" 2>out/conftest.err) 9177 ac_status=$? 9178 cat out/conftest.err >&5 9179 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9180 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9181 then 9182 # The compiler can only warn and ignore the option if not recognized 9183 # So say no if there are warnings 9184 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9185 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9186 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9187 lt_cv_prog_compiler_c_o=yes 9188 fi 9189 fi 9190 chmod u+w . 2>&5 9191 $RM conftest* 9192 # SGI C++ compiler will create directory out/ii_files/ for 9193 # template instantiation 9194 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9195 $RM out/* && rmdir out 9196 cd .. 9197 $RM -r conftest 9198 $RM conftest* 9199 9200fi 9201{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9202$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9203 9204 9205 9206 9207 9208 9209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9210$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9211if ${lt_cv_prog_compiler_c_o+:} false; then : 9212 $as_echo_n "(cached) " >&6 9213else 9214 lt_cv_prog_compiler_c_o=no 9215 $RM -r conftest 2>/dev/null 9216 mkdir conftest 9217 cd conftest 9218 mkdir out 9219 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9220 9221 lt_compiler_flag="-o out/conftest2.$ac_objext" 9222 # Insert the option either (1) after the last *FLAGS variable, or 9223 # (2) before a word containing "conftest.", or (3) at the end. 9224 # Note that $ac_compile itself does not contain backslashes and begins 9225 # with a dollar sign (not a hyphen), so the echo should work correctly. 9226 lt_compile=`echo "$ac_compile" | $SED \ 9227 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9228 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9229 -e 's:$: $lt_compiler_flag:'` 9230 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9231 (eval "$lt_compile" 2>out/conftest.err) 9232 ac_status=$? 9233 cat out/conftest.err >&5 9234 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9235 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9236 then 9237 # The compiler can only warn and ignore the option if not recognized 9238 # So say no if there are warnings 9239 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9240 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9241 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9242 lt_cv_prog_compiler_c_o=yes 9243 fi 9244 fi 9245 chmod u+w . 2>&5 9246 $RM conftest* 9247 # SGI C++ compiler will create directory out/ii_files/ for 9248 # template instantiation 9249 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9250 $RM out/* && rmdir out 9251 cd .. 9252 $RM -r conftest 9253 $RM conftest* 9254 9255fi 9256{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9257$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9258 9259 9260 9261 9262hard_links=nottested 9263if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 9264 # do not overwrite the value of need_locks provided by the user 9265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 9266$as_echo_n "checking if we can lock with hard links... " >&6; } 9267 hard_links=yes 9268 $RM conftest* 9269 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9270 touch conftest.a 9271 ln conftest.a conftest.b 2>&5 || hard_links=no 9272 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 9274$as_echo "$hard_links" >&6; } 9275 if test no = "$hard_links"; then 9276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 9277$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 9278 need_locks=warn 9279 fi 9280else 9281 need_locks=no 9282fi 9283 9284 9285 9286 9287 9288 9289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9290$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9291 9292 runpath_var= 9293 allow_undefined_flag= 9294 always_export_symbols=no 9295 archive_cmds= 9296 archive_expsym_cmds= 9297 compiler_needs_object=no 9298 enable_shared_with_static_runtimes=no 9299 export_dynamic_flag_spec= 9300 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9301 hardcode_automatic=no 9302 hardcode_direct=no 9303 hardcode_direct_absolute=no 9304 hardcode_libdir_flag_spec= 9305 hardcode_libdir_separator= 9306 hardcode_minus_L=no 9307 hardcode_shlibpath_var=unsupported 9308 inherit_rpath=no 9309 link_all_deplibs=unknown 9310 module_cmds= 9311 module_expsym_cmds= 9312 old_archive_from_new_cmds= 9313 old_archive_from_expsyms_cmds= 9314 thread_safe_flag_spec= 9315 whole_archive_flag_spec= 9316 # include_expsyms should be a list of space-separated symbols to be *always* 9317 # included in the symbol list 9318 include_expsyms= 9319 # exclude_expsyms can be an extended regexp of symbols to exclude 9320 # it will be wrapped by ' (' and ')$', so one must not match beginning or 9321 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 9322 # as well as any symbol that contains 'd'. 9323 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9324 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9325 # platforms (ab)use it in PIC code, but their linkers get confused if 9326 # the symbol is explicitly referenced. Since portable code cannot 9327 # rely on this symbol name, it's probably fine to never include it in 9328 # preloaded symbol tables. 9329 # Exclude shared library initialization/finalization symbols. 9330 extract_expsyms_cmds= 9331 9332 case $host_os in 9333 cygwin* | mingw* | pw32* | cegcc*) 9334 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9335 # When not using gcc, we currently assume that we are using 9336 # Microsoft Visual C++. 9337 if test yes != "$GCC"; then 9338 with_gnu_ld=no 9339 fi 9340 ;; 9341 interix*) 9342 # we just hope/assume this is gcc and not c89 (= MSVC++) 9343 with_gnu_ld=yes 9344 ;; 9345 openbsd* | bitrig*) 9346 with_gnu_ld=no 9347 ;; 9348 linux* | k*bsd*-gnu | gnu*) 9349 link_all_deplibs=no 9350 ;; 9351 esac 9352 9353 ld_shlibs=yes 9354 9355 # On some targets, GNU ld is compatible enough with the native linker 9356 # that we're better off using the native interface for both. 9357 lt_use_gnu_ld_interface=no 9358 if test yes = "$with_gnu_ld"; then 9359 case $host_os in 9360 aix*) 9361 # The AIX port of GNU ld has always aspired to compatibility 9362 # with the native linker. However, as the warning in the GNU ld 9363 # block says, versions before 2.19.5* couldn't really create working 9364 # shared libraries, regardless of the interface used. 9365 case `$LD -v 2>&1` in 9366 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 9367 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 9368 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 9369 *) 9370 lt_use_gnu_ld_interface=yes 9371 ;; 9372 esac 9373 ;; 9374 *) 9375 lt_use_gnu_ld_interface=yes 9376 ;; 9377 esac 9378 fi 9379 9380 if test yes = "$lt_use_gnu_ld_interface"; then 9381 # If archive_cmds runs LD, not CC, wlarc should be empty 9382 wlarc='$wl' 9383 9384 # Set some defaults for GNU ld with shared library support. These 9385 # are reset later if shared libraries are not supported. Putting them 9386 # here allows them to be overridden if necessary. 9387 runpath_var=LD_RUN_PATH 9388 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9389 export_dynamic_flag_spec='$wl--export-dynamic' 9390 # ancient GNU ld didn't support --whole-archive et. al. 9391 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9392 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 9393 else 9394 whole_archive_flag_spec= 9395 fi 9396 supports_anon_versioning=no 9397 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 9398 *GNU\ gold*) supports_anon_versioning=yes ;; 9399 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 9400 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 9401 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 9402 *\ 2.11.*) ;; # other 2.11 versions 9403 *) supports_anon_versioning=yes ;; 9404 esac 9405 9406 # See if GNU ld supports shared libraries. 9407 case $host_os in 9408 aix[3-9]*) 9409 # On AIX/PPC, the GNU linker is very broken 9410 if test ia64 != "$host_cpu"; then 9411 ld_shlibs=no 9412 cat <<_LT_EOF 1>&2 9413 9414*** Warning: the GNU linker, at least up to release 2.19, is reported 9415*** to be unable to reliably create shared libraries on AIX. 9416*** Therefore, libtool is disabling shared libraries support. If you 9417*** really care for shared libraries, you may want to install binutils 9418*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 9419*** You will then need to restart the configuration process. 9420 9421_LT_EOF 9422 fi 9423 ;; 9424 9425 amigaos*) 9426 case $host_cpu in 9427 powerpc) 9428 # see comment about AmigaOS4 .so support 9429 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9430 archive_expsym_cmds='' 9431 ;; 9432 m68k) 9433 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)' 9434 hardcode_libdir_flag_spec='-L$libdir' 9435 hardcode_minus_L=yes 9436 ;; 9437 esac 9438 ;; 9439 9440 beos*) 9441 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9442 allow_undefined_flag=unsupported 9443 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 9444 # support --undefined. This deserves some investigation. FIXME 9445 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9446 else 9447 ld_shlibs=no 9448 fi 9449 ;; 9450 9451 cygwin* | mingw* | pw32* | cegcc*) 9452 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9453 # as there is no search path for DLLs. 9454 hardcode_libdir_flag_spec='-L$libdir' 9455 export_dynamic_flag_spec='$wl--export-all-symbols' 9456 allow_undefined_flag=unsupported 9457 always_export_symbols=no 9458 enable_shared_with_static_runtimes=yes 9459 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' 9460 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 9461 9462 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9463 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9464 # If the export-symbols file already is a .def file, use it as 9465 # is; otherwise, prepend EXPORTS... 9466 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 9467 cp $export_symbols $output_objdir/$soname.def; 9468 else 9469 echo EXPORTS > $output_objdir/$soname.def; 9470 cat $export_symbols >> $output_objdir/$soname.def; 9471 fi~ 9472 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9473 else 9474 ld_shlibs=no 9475 fi 9476 ;; 9477 9478 haiku*) 9479 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9480 link_all_deplibs=yes 9481 ;; 9482 9483 os2*) 9484 hardcode_libdir_flag_spec='-L$libdir' 9485 hardcode_minus_L=yes 9486 allow_undefined_flag=unsupported 9487 shrext_cmds=.dll 9488 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9489 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9490 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9491 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9492 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 9493 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9494 emximp -o $lib $output_objdir/$libname.def' 9495 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9496 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9497 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9498 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9499 prefix_cmds="$SED"~ 9500 if test EXPORTS = "`$SED 1q $export_symbols`"; then 9501 prefix_cmds="$prefix_cmds -e 1d"; 9502 fi~ 9503 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 9504 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 9505 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9506 emximp -o $lib $output_objdir/$libname.def' 9507 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 9508 enable_shared_with_static_runtimes=yes 9509 ;; 9510 9511 interix[3-9]*) 9512 hardcode_direct=no 9513 hardcode_shlibpath_var=no 9514 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 9515 export_dynamic_flag_spec='$wl-E' 9516 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9517 # Instead, shared libraries are loaded at an image base (0x10000000 by 9518 # default) and relocated if they conflict, which is a slow very memory 9519 # consuming and fragmenting process. To avoid this, we pick a random, 9520 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9521 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9522 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9523 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' 9524 ;; 9525 9526 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9527 tmp_diet=no 9528 if test linux-dietlibc = "$host_os"; then 9529 case $cc_basename in 9530 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9531 esac 9532 fi 9533 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9534 && test no = "$tmp_diet" 9535 then 9536 tmp_addflag=' $pic_flag' 9537 tmp_sharedflag='-shared' 9538 case $cc_basename,$host_cpu in 9539 pgcc*) # Portland Group C compiler 9540 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' 9541 tmp_addflag=' $pic_flag' 9542 ;; 9543 pgf77* | pgf90* | pgf95* | pgfortran*) 9544 # Portland Group f77 and f90 compilers 9545 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' 9546 tmp_addflag=' $pic_flag -Mnomain' ;; 9547 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9548 tmp_addflag=' -i_dynamic' ;; 9549 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9550 tmp_addflag=' -i_dynamic -nofor_main' ;; 9551 ifc* | ifort*) # Intel Fortran compiler 9552 tmp_addflag=' -nofor_main' ;; 9553 lf95*) # Lahey Fortran 8.1 9554 whole_archive_flag_spec= 9555 tmp_sharedflag='--shared' ;; 9556 nagfor*) # NAGFOR 5.3 9557 tmp_sharedflag='-Wl,-shared' ;; 9558 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9559 tmp_sharedflag='-qmkshrobj' 9560 tmp_addflag= ;; 9561 nvcc*) # Cuda Compiler Driver 2.2 9562 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' 9563 compiler_needs_object=yes 9564 ;; 9565 esac 9566 case `$CC -V 2>&1 | sed 5q` in 9567 *Sun\ C*) # Sun C 5.9 9568 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' 9569 compiler_needs_object=yes 9570 tmp_sharedflag='-G' ;; 9571 *Sun\ F*) # Sun Fortran 8.3 9572 tmp_sharedflag='-G' ;; 9573 esac 9574 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9575 9576 if test yes = "$supports_anon_versioning"; then 9577 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9578 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9579 echo "local: *; };" >> $output_objdir/$libname.ver~ 9580 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 9581 fi 9582 9583 case $cc_basename in 9584 tcc*) 9585 export_dynamic_flag_spec='-rdynamic' 9586 ;; 9587 xlf* | bgf* | bgxlf* | mpixlf*) 9588 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9589 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9590 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9591 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 9592 if test yes = "$supports_anon_versioning"; then 9593 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9594 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9595 echo "local: *; };" >> $output_objdir/$libname.ver~ 9596 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9597 fi 9598 ;; 9599 esac 9600 else 9601 ld_shlibs=no 9602 fi 9603 ;; 9604 9605 netbsd* | netbsdelf*-gnu) 9606 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9607 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9608 wlarc= 9609 else 9610 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9611 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9612 fi 9613 ;; 9614 9615 solaris*) 9616 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9617 ld_shlibs=no 9618 cat <<_LT_EOF 1>&2 9619 9620*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9621*** create shared libraries on Solaris systems. Therefore, libtool 9622*** is disabling shared libraries support. We urge you to upgrade GNU 9623*** binutils to release 2.9.1 or newer. Another option is to modify 9624*** your PATH or compiler configuration so that the native linker is 9625*** used, and then restart. 9626 9627_LT_EOF 9628 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9629 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9630 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9631 else 9632 ld_shlibs=no 9633 fi 9634 ;; 9635 9636 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9637 case `$LD -v 2>&1` in 9638 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9639 ld_shlibs=no 9640 cat <<_LT_EOF 1>&2 9641 9642*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 9643*** reliably create shared libraries on SCO systems. Therefore, libtool 9644*** is disabling shared libraries support. We urge you to upgrade GNU 9645*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9646*** your PATH or compiler configuration so that the native linker is 9647*** used, and then restart. 9648 9649_LT_EOF 9650 ;; 9651 *) 9652 # For security reasons, it is highly recommended that you always 9653 # use absolute paths for naming shared libraries, and exclude the 9654 # DT_RUNPATH tag from executables and libraries. But doing so 9655 # requires that you compile everything twice, which is a pain. 9656 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9657 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9658 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9659 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9660 else 9661 ld_shlibs=no 9662 fi 9663 ;; 9664 esac 9665 ;; 9666 9667 sunos4*) 9668 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9669 wlarc= 9670 hardcode_direct=yes 9671 hardcode_shlibpath_var=no 9672 ;; 9673 9674 *) 9675 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9676 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9677 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9678 else 9679 ld_shlibs=no 9680 fi 9681 ;; 9682 esac 9683 9684 if test no = "$ld_shlibs"; then 9685 runpath_var= 9686 hardcode_libdir_flag_spec= 9687 export_dynamic_flag_spec= 9688 whole_archive_flag_spec= 9689 fi 9690 else 9691 # PORTME fill in a description of your system's linker (not GNU ld) 9692 case $host_os in 9693 aix3*) 9694 allow_undefined_flag=unsupported 9695 always_export_symbols=yes 9696 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' 9697 # Note: this linker hardcodes the directories in LIBPATH if there 9698 # are no directories specified by -L. 9699 hardcode_minus_L=yes 9700 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 9701 # Neither direct hardcoding nor static linking is supported with a 9702 # broken collect2. 9703 hardcode_direct=unsupported 9704 fi 9705 ;; 9706 9707 aix[4-9]*) 9708 if test ia64 = "$host_cpu"; then 9709 # On IA64, the linker does run time linking by default, so we don't 9710 # have to do anything special. 9711 aix_use_runtimelinking=no 9712 exp_sym_flag='-Bexport' 9713 no_entry_flag= 9714 else 9715 # If we're using GNU nm, then we don't want the "-C" option. 9716 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 9717 # Without the "-l" option, or with the "-B" option, AIX nm treats 9718 # weak defined symbols like other global defined symbols, whereas 9719 # GNU nm marks them as "W". 9720 # While the 'weak' keyword is ignored in the Export File, we need 9721 # it in the Import File for the 'aix-soname' feature, so we have 9722 # to replace the "-B" option with "-P" for AIX nm. 9723 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9724 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' 9725 else 9726 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' 9727 fi 9728 aix_use_runtimelinking=no 9729 9730 # Test if we are trying to use run time linking or normal 9731 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9732 # have runtime linking enabled, and use it for executables. 9733 # For shared libraries, we enable/disable runtime linking 9734 # depending on the kind of the shared library created - 9735 # when "with_aix_soname,aix_use_runtimelinking" is: 9736 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 9737 # "aix,yes" lib.so shared, rtl:yes, for executables 9738 # lib.a static archive 9739 # "both,no" lib.so.V(shr.o) shared, rtl:yes 9740 # lib.a(lib.so.V) shared, rtl:no, for executables 9741 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 9742 # lib.a(lib.so.V) shared, rtl:no 9743 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 9744 # lib.a static archive 9745 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9746 for ld_flag in $LDFLAGS; do 9747 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 9748 aix_use_runtimelinking=yes 9749 break 9750 fi 9751 done 9752 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 9753 # With aix-soname=svr4, we create the lib.so.V shared archives only, 9754 # so we don't have lib.a shared libs to link our executables. 9755 # We have to force runtime linking in this case. 9756 aix_use_runtimelinking=yes 9757 LDFLAGS="$LDFLAGS -Wl,-brtl" 9758 fi 9759 ;; 9760 esac 9761 9762 exp_sym_flag='-bexport' 9763 no_entry_flag='-bnoentry' 9764 fi 9765 9766 # When large executables or shared objects are built, AIX ld can 9767 # have problems creating the table of contents. If linking a library 9768 # or program results in "error TOC overflow" add -mminimal-toc to 9769 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9770 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9771 9772 archive_cmds='' 9773 hardcode_direct=yes 9774 hardcode_direct_absolute=yes 9775 hardcode_libdir_separator=':' 9776 link_all_deplibs=yes 9777 file_list_spec='$wl-f,' 9778 case $with_aix_soname,$aix_use_runtimelinking in 9779 aix,*) ;; # traditional, no import file 9780 svr4,* | *,yes) # use import file 9781 # The Import File defines what to hardcode. 9782 hardcode_direct=no 9783 hardcode_direct_absolute=no 9784 ;; 9785 esac 9786 9787 if test yes = "$GCC"; then 9788 case $host_os in aix4.[012]|aix4.[012].*) 9789 # We only want to do this on AIX 4.2 and lower, the check 9790 # below for broken collect2 doesn't work under 4.3+ 9791 collect2name=`$CC -print-prog-name=collect2` 9792 if test -f "$collect2name" && 9793 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9794 then 9795 # We have reworked collect2 9796 : 9797 else 9798 # We have old collect2 9799 hardcode_direct=unsupported 9800 # It fails to find uninstalled libraries when the uninstalled 9801 # path is not listed in the libpath. Setting hardcode_minus_L 9802 # to unsupported forces relinking 9803 hardcode_minus_L=yes 9804 hardcode_libdir_flag_spec='-L$libdir' 9805 hardcode_libdir_separator= 9806 fi 9807 ;; 9808 esac 9809 shared_flag='-shared' 9810 if test yes = "$aix_use_runtimelinking"; then 9811 shared_flag="$shared_flag "'$wl-G' 9812 fi 9813 # Need to ensure runtime linking is disabled for the traditional 9814 # shared library, or the linker may eventually find shared libraries 9815 # /with/ Import File - we do not want to mix them. 9816 shared_flag_aix='-shared' 9817 shared_flag_svr4='-shared $wl-G' 9818 else 9819 # not using gcc 9820 if test ia64 = "$host_cpu"; then 9821 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9822 # chokes on -Wl,-G. The following line is correct: 9823 shared_flag='-G' 9824 else 9825 if test yes = "$aix_use_runtimelinking"; then 9826 shared_flag='$wl-G' 9827 else 9828 shared_flag='$wl-bM:SRE' 9829 fi 9830 shared_flag_aix='$wl-bM:SRE' 9831 shared_flag_svr4='$wl-G' 9832 fi 9833 fi 9834 9835 export_dynamic_flag_spec='$wl-bexpall' 9836 # It seems that -bexpall does not export symbols beginning with 9837 # underscore (_), so it is better to generate a list of symbols to export. 9838 always_export_symbols=yes 9839 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 9840 # Warning - without using the other runtime loading flags (-brtl), 9841 # -berok will link without error, but may produce a broken library. 9842 allow_undefined_flag='-berok' 9843 # Determine the default libpath from the value encoded in an 9844 # empty executable. 9845 if test set = "${lt_cv_aix_libpath+set}"; then 9846 aix_libpath=$lt_cv_aix_libpath 9847else 9848 if ${lt_cv_aix_libpath_+:} false; then : 9849 $as_echo_n "(cached) " >&6 9850else 9851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9852/* end confdefs.h. */ 9853 9854int 9855main () 9856{ 9857 9858 ; 9859 return 0; 9860} 9861_ACEOF 9862if ac_fn_c_try_link "$LINENO"; then : 9863 9864 lt_aix_libpath_sed=' 9865 /Import File Strings/,/^$/ { 9866 /^0/ { 9867 s/^0 *\([^ ]*\) *$/\1/ 9868 p 9869 } 9870 }' 9871 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9872 # Check for a 64-bit object if we didn't find anything. 9873 if test -z "$lt_cv_aix_libpath_"; then 9874 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9875 fi 9876fi 9877rm -f core conftest.err conftest.$ac_objext \ 9878 conftest$ac_exeext conftest.$ac_ext 9879 if test -z "$lt_cv_aix_libpath_"; then 9880 lt_cv_aix_libpath_=/usr/lib:/lib 9881 fi 9882 9883fi 9884 9885 aix_libpath=$lt_cv_aix_libpath_ 9886fi 9887 9888 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 9889 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag 9890 else 9891 if test ia64 = "$host_cpu"; then 9892 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 9893 allow_undefined_flag="-z nodefs" 9894 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" 9895 else 9896 # Determine the default libpath from the value encoded in an 9897 # empty executable. 9898 if test set = "${lt_cv_aix_libpath+set}"; then 9899 aix_libpath=$lt_cv_aix_libpath 9900else 9901 if ${lt_cv_aix_libpath_+:} false; then : 9902 $as_echo_n "(cached) " >&6 9903else 9904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9905/* end confdefs.h. */ 9906 9907int 9908main () 9909{ 9910 9911 ; 9912 return 0; 9913} 9914_ACEOF 9915if ac_fn_c_try_link "$LINENO"; then : 9916 9917 lt_aix_libpath_sed=' 9918 /Import File Strings/,/^$/ { 9919 /^0/ { 9920 s/^0 *\([^ ]*\) *$/\1/ 9921 p 9922 } 9923 }' 9924 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9925 # Check for a 64-bit object if we didn't find anything. 9926 if test -z "$lt_cv_aix_libpath_"; then 9927 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9928 fi 9929fi 9930rm -f core conftest.err conftest.$ac_objext \ 9931 conftest$ac_exeext conftest.$ac_ext 9932 if test -z "$lt_cv_aix_libpath_"; then 9933 lt_cv_aix_libpath_=/usr/lib:/lib 9934 fi 9935 9936fi 9937 9938 aix_libpath=$lt_cv_aix_libpath_ 9939fi 9940 9941 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 9942 # Warning - without using the other run time loading flags, 9943 # -berok will link without error, but may produce a broken library. 9944 no_undefined_flag=' $wl-bernotok' 9945 allow_undefined_flag=' $wl-berok' 9946 if test yes = "$with_gnu_ld"; then 9947 # We only use this code for GNU lds that support --whole-archive. 9948 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 9949 else 9950 # Exported symbols can be pulled into shared objects from archives 9951 whole_archive_flag_spec='$convenience' 9952 fi 9953 archive_cmds_need_lc=yes 9954 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 9955 # -brtl affects multiple linker settings, -berok does not and is overridden later 9956 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 9957 if test svr4 != "$with_aix_soname"; then 9958 # This is similar to how AIX traditionally builds its shared libraries. 9959 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' 9960 fi 9961 if test aix != "$with_aix_soname"; then 9962 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' 9963 else 9964 # used by -dlpreopen to get the symbols 9965 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 9966 fi 9967 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 9968 fi 9969 fi 9970 ;; 9971 9972 amigaos*) 9973 case $host_cpu in 9974 powerpc) 9975 # see comment about AmigaOS4 .so support 9976 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9977 archive_expsym_cmds='' 9978 ;; 9979 m68k) 9980 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)' 9981 hardcode_libdir_flag_spec='-L$libdir' 9982 hardcode_minus_L=yes 9983 ;; 9984 esac 9985 ;; 9986 9987 bsdi[45]*) 9988 export_dynamic_flag_spec=-rdynamic 9989 ;; 9990 9991 cygwin* | mingw* | pw32* | cegcc*) 9992 # When not using gcc, we currently assume that we are using 9993 # Microsoft Visual C++. 9994 # hardcode_libdir_flag_spec is actually meaningless, as there is 9995 # no search path for DLLs. 9996 case $cc_basename in 9997 cl*) 9998 # Native MSVC 9999 hardcode_libdir_flag_spec=' ' 10000 allow_undefined_flag=unsupported 10001 always_export_symbols=yes 10002 file_list_spec='@' 10003 # Tell ltmain to make .lib files, not .a files. 10004 libext=lib 10005 # Tell ltmain to make .dll files, not .so files. 10006 shrext_cmds=.dll 10007 # FIXME: Setting linknames here is a bad hack. 10008 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 10009 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 10010 cp "$export_symbols" "$output_objdir/$soname.def"; 10011 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 10012 else 10013 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 10014 fi~ 10015 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 10016 linknames=' 10017 # The linker will not automatically build a static lib if we build a DLL. 10018 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 10019 enable_shared_with_static_runtimes=yes 10020 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 10021 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 10022 # Don't use ranlib 10023 old_postinstall_cmds='chmod 644 $oldlib' 10024 postlink_cmds='lt_outputfile="@OUTPUT@"~ 10025 lt_tool_outputfile="@TOOL_OUTPUT@"~ 10026 case $lt_outputfile in 10027 *.exe|*.EXE) ;; 10028 *) 10029 lt_outputfile=$lt_outputfile.exe 10030 lt_tool_outputfile=$lt_tool_outputfile.exe 10031 ;; 10032 esac~ 10033 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 10034 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 10035 $RM "$lt_outputfile.manifest"; 10036 fi' 10037 ;; 10038 *) 10039 # Assume MSVC wrapper 10040 hardcode_libdir_flag_spec=' ' 10041 allow_undefined_flag=unsupported 10042 # Tell ltmain to make .lib files, not .a files. 10043 libext=lib 10044 # Tell ltmain to make .dll files, not .so files. 10045 shrext_cmds=.dll 10046 # FIXME: Setting linknames here is a bad hack. 10047 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 10048 # The linker will automatically build a .lib file if we build a DLL. 10049 old_archive_from_new_cmds='true' 10050 # FIXME: Should let the user specify the lib program. 10051 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 10052 enable_shared_with_static_runtimes=yes 10053 ;; 10054 esac 10055 ;; 10056 10057 darwin* | rhapsody*) 10058 10059 10060 archive_cmds_need_lc=no 10061 hardcode_direct=no 10062 hardcode_automatic=yes 10063 hardcode_shlibpath_var=unsupported 10064 if test yes = "$lt_cv_ld_force_load"; then 10065 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\"`' 10066 10067 else 10068 whole_archive_flag_spec='' 10069 fi 10070 link_all_deplibs=yes 10071 allow_undefined_flag=$_lt_dar_allow_undefined 10072 case $cc_basename in 10073 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 10074 *) _lt_dar_can_shared=$GCC ;; 10075 esac 10076 if test yes = "$_lt_dar_can_shared"; then 10077 output_verbose_link_cmd=func_echo_all 10078 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 10079 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 10080 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" 10081 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" 10082 10083 else 10084 ld_shlibs=no 10085 fi 10086 10087 ;; 10088 10089 dgux*) 10090 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10091 hardcode_libdir_flag_spec='-L$libdir' 10092 hardcode_shlibpath_var=no 10093 ;; 10094 10095 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 10096 # support. Future versions do this automatically, but an explicit c++rt0.o 10097 # does not break anything, and helps significantly (at the cost of a little 10098 # extra space). 10099 freebsd2.2*) 10100 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 10101 hardcode_libdir_flag_spec='-R$libdir' 10102 hardcode_direct=yes 10103 hardcode_shlibpath_var=no 10104 ;; 10105 10106 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 10107 freebsd2.*) 10108 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10109 hardcode_direct=yes 10110 hardcode_minus_L=yes 10111 hardcode_shlibpath_var=no 10112 ;; 10113 10114 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 10115 freebsd* | dragonfly*) 10116 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10117 hardcode_libdir_flag_spec='-R$libdir' 10118 hardcode_direct=yes 10119 hardcode_shlibpath_var=no 10120 ;; 10121 10122 hpux9*) 10123 if test yes = "$GCC"; then 10124 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 10125 else 10126 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 10127 fi 10128 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10129 hardcode_libdir_separator=: 10130 hardcode_direct=yes 10131 10132 # hardcode_minus_L: Not really in the search PATH, 10133 # but as the default location of the library. 10134 hardcode_minus_L=yes 10135 export_dynamic_flag_spec='$wl-E' 10136 ;; 10137 10138 hpux10*) 10139 if test yes,no = "$GCC,$with_gnu_ld"; then 10140 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10141 else 10142 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10143 fi 10144 if test no = "$with_gnu_ld"; then 10145 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10146 hardcode_libdir_separator=: 10147 hardcode_direct=yes 10148 hardcode_direct_absolute=yes 10149 export_dynamic_flag_spec='$wl-E' 10150 # hardcode_minus_L: Not really in the search PATH, 10151 # but as the default location of the library. 10152 hardcode_minus_L=yes 10153 fi 10154 ;; 10155 10156 hpux11*) 10157 if test yes,no = "$GCC,$with_gnu_ld"; then 10158 case $host_cpu in 10159 hppa*64*) 10160 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10161 ;; 10162 ia64*) 10163 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10164 ;; 10165 *) 10166 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10167 ;; 10168 esac 10169 else 10170 case $host_cpu in 10171 hppa*64*) 10172 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10173 ;; 10174 ia64*) 10175 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10176 ;; 10177 *) 10178 10179 # Older versions of the 11.00 compiler do not understand -b yet 10180 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 10181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 10182$as_echo_n "checking if $CC understands -b... " >&6; } 10183if ${lt_cv_prog_compiler__b+:} false; then : 10184 $as_echo_n "(cached) " >&6 10185else 10186 lt_cv_prog_compiler__b=no 10187 save_LDFLAGS=$LDFLAGS 10188 LDFLAGS="$LDFLAGS -b" 10189 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10190 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10191 # The linker can only warn and ignore the option if not recognized 10192 # So say no if there are warnings 10193 if test -s conftest.err; then 10194 # Append any errors to the config.log. 10195 cat conftest.err 1>&5 10196 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10197 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10198 if diff conftest.exp conftest.er2 >/dev/null; then 10199 lt_cv_prog_compiler__b=yes 10200 fi 10201 else 10202 lt_cv_prog_compiler__b=yes 10203 fi 10204 fi 10205 $RM -r conftest* 10206 LDFLAGS=$save_LDFLAGS 10207 10208fi 10209{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 10210$as_echo "$lt_cv_prog_compiler__b" >&6; } 10211 10212if test yes = "$lt_cv_prog_compiler__b"; then 10213 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10214else 10215 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10216fi 10217 10218 ;; 10219 esac 10220 fi 10221 if test no = "$with_gnu_ld"; then 10222 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10223 hardcode_libdir_separator=: 10224 10225 case $host_cpu in 10226 hppa*64*|ia64*) 10227 hardcode_direct=no 10228 hardcode_shlibpath_var=no 10229 ;; 10230 *) 10231 hardcode_direct=yes 10232 hardcode_direct_absolute=yes 10233 export_dynamic_flag_spec='$wl-E' 10234 10235 # hardcode_minus_L: Not really in the search PATH, 10236 # but as the default location of the library. 10237 hardcode_minus_L=yes 10238 ;; 10239 esac 10240 fi 10241 ;; 10242 10243 irix5* | irix6* | nonstopux*) 10244 if test yes = "$GCC"; then 10245 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' 10246 # Try to use the -exported_symbol ld option, if it does not 10247 # work, assume that -exports_file does not work either and 10248 # implicitly export all symbols. 10249 # This should be the same for all languages, so no per-tag cache variable. 10250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 10251$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 10252if ${lt_cv_irix_exported_symbol+:} false; then : 10253 $as_echo_n "(cached) " >&6 10254else 10255 save_LDFLAGS=$LDFLAGS 10256 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 10257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10258/* end confdefs.h. */ 10259int foo (void) { return 0; } 10260_ACEOF 10261if ac_fn_c_try_link "$LINENO"; then : 10262 lt_cv_irix_exported_symbol=yes 10263else 10264 lt_cv_irix_exported_symbol=no 10265fi 10266rm -f core conftest.err conftest.$ac_objext \ 10267 conftest$ac_exeext conftest.$ac_ext 10268 LDFLAGS=$save_LDFLAGS 10269fi 10270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 10271$as_echo "$lt_cv_irix_exported_symbol" >&6; } 10272 if test yes = "$lt_cv_irix_exported_symbol"; then 10273 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' 10274 fi 10275 link_all_deplibs=no 10276 else 10277 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' 10278 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' 10279 fi 10280 archive_cmds_need_lc='no' 10281 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10282 hardcode_libdir_separator=: 10283 inherit_rpath=yes 10284 link_all_deplibs=yes 10285 ;; 10286 10287 linux*) 10288 case $cc_basename in 10289 tcc*) 10290 # Fabrice Bellard et al's Tiny C Compiler 10291 ld_shlibs=yes 10292 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10293 ;; 10294 esac 10295 ;; 10296 10297 netbsd* | netbsdelf*-gnu) 10298 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10299 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 10300 else 10301 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 10302 fi 10303 hardcode_libdir_flag_spec='-R$libdir' 10304 hardcode_direct=yes 10305 hardcode_shlibpath_var=no 10306 ;; 10307 10308 newsos6) 10309 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10310 hardcode_direct=yes 10311 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10312 hardcode_libdir_separator=: 10313 hardcode_shlibpath_var=no 10314 ;; 10315 10316 *nto* | *qnx*) 10317 ;; 10318 10319 openbsd* | bitrig*) 10320 if test -f /usr/libexec/ld.so; then 10321 hardcode_direct=yes 10322 hardcode_shlibpath_var=no 10323 hardcode_direct_absolute=yes 10324 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 10325 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10326 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 10327 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10328 export_dynamic_flag_spec='$wl-E' 10329 else 10330 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10331 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10332 fi 10333 else 10334 ld_shlibs=no 10335 fi 10336 ;; 10337 10338 os2*) 10339 hardcode_libdir_flag_spec='-L$libdir' 10340 hardcode_minus_L=yes 10341 allow_undefined_flag=unsupported 10342 shrext_cmds=.dll 10343 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10344 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10345 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10346 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10347 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10348 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10349 emximp -o $lib $output_objdir/$libname.def' 10350 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10351 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10352 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10353 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10354 prefix_cmds="$SED"~ 10355 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10356 prefix_cmds="$prefix_cmds -e 1d"; 10357 fi~ 10358 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10359 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10360 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10361 emximp -o $lib $output_objdir/$libname.def' 10362 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10363 enable_shared_with_static_runtimes=yes 10364 ;; 10365 10366 osf3*) 10367 if test yes = "$GCC"; then 10368 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10369 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' 10370 else 10371 allow_undefined_flag=' -expect_unresolved \*' 10372 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' 10373 fi 10374 archive_cmds_need_lc='no' 10375 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10376 hardcode_libdir_separator=: 10377 ;; 10378 10379 osf4* | osf5*) # as osf3* with the addition of -msym flag 10380 if test yes = "$GCC"; then 10381 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10382 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' 10383 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10384 else 10385 allow_undefined_flag=' -expect_unresolved \*' 10386 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' 10387 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~ 10388 $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' 10389 10390 # Both c and cxx compiler support -rpath directly 10391 hardcode_libdir_flag_spec='-rpath $libdir' 10392 fi 10393 archive_cmds_need_lc='no' 10394 hardcode_libdir_separator=: 10395 ;; 10396 10397 solaris*) 10398 no_undefined_flag=' -z defs' 10399 if test yes = "$GCC"; then 10400 wlarc='$wl' 10401 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10402 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10403 $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' 10404 else 10405 case `$CC -V 2>&1` in 10406 *"Compilers 5.0"*) 10407 wlarc='' 10408 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 10409 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10410 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10411 ;; 10412 *) 10413 wlarc='$wl' 10414 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10415 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10416 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10417 ;; 10418 esac 10419 fi 10420 hardcode_libdir_flag_spec='-R$libdir' 10421 hardcode_shlibpath_var=no 10422 case $host_os in 10423 solaris2.[0-5] | solaris2.[0-5].*) ;; 10424 *) 10425 # The compiler driver will combine and reorder linker options, 10426 # but understands '-z linker_flag'. GCC discards it without '$wl', 10427 # but is careful enough not to reorder. 10428 # Supported since Solaris 2.6 (maybe 2.5.1?) 10429 if test yes = "$GCC"; then 10430 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 10431 else 10432 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10433 fi 10434 ;; 10435 esac 10436 link_all_deplibs=yes 10437 ;; 10438 10439 sunos4*) 10440 if test sequent = "$host_vendor"; then 10441 # Use $CC to link under sequent, because it throws in some extra .o 10442 # files that make .init and .fini sections work. 10443 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10444 else 10445 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10446 fi 10447 hardcode_libdir_flag_spec='-L$libdir' 10448 hardcode_direct=yes 10449 hardcode_minus_L=yes 10450 hardcode_shlibpath_var=no 10451 ;; 10452 10453 sysv4) 10454 case $host_vendor in 10455 sni) 10456 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10457 hardcode_direct=yes # is this really true??? 10458 ;; 10459 siemens) 10460 ## LD is ld it makes a PLAMLIB 10461 ## CC just makes a GrossModule. 10462 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10463 reload_cmds='$CC -r -o $output$reload_objs' 10464 hardcode_direct=no 10465 ;; 10466 motorola) 10467 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10468 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10469 ;; 10470 esac 10471 runpath_var='LD_RUN_PATH' 10472 hardcode_shlibpath_var=no 10473 ;; 10474 10475 sysv4.3*) 10476 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10477 hardcode_shlibpath_var=no 10478 export_dynamic_flag_spec='-Bexport' 10479 ;; 10480 10481 sysv4*MP*) 10482 if test -d /usr/nec; then 10483 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10484 hardcode_shlibpath_var=no 10485 runpath_var=LD_RUN_PATH 10486 hardcode_runpath_var=yes 10487 ld_shlibs=yes 10488 fi 10489 ;; 10490 10491 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10492 no_undefined_flag='$wl-z,text' 10493 archive_cmds_need_lc=no 10494 hardcode_shlibpath_var=no 10495 runpath_var='LD_RUN_PATH' 10496 10497 if test yes = "$GCC"; then 10498 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10499 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10500 else 10501 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10502 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10503 fi 10504 ;; 10505 10506 sysv5* | sco3.2v5* | sco5v6*) 10507 # Note: We CANNOT use -z defs as we might desire, because we do not 10508 # link with -lc, and that would cause any symbols used from libc to 10509 # always be unresolved, which means just about no library would 10510 # ever link correctly. If we're not using GNU ld we use -z text 10511 # though, which does catch some bad symbols but isn't as heavy-handed 10512 # as -z defs. 10513 no_undefined_flag='$wl-z,text' 10514 allow_undefined_flag='$wl-z,nodefs' 10515 archive_cmds_need_lc=no 10516 hardcode_shlibpath_var=no 10517 hardcode_libdir_flag_spec='$wl-R,$libdir' 10518 hardcode_libdir_separator=':' 10519 link_all_deplibs=yes 10520 export_dynamic_flag_spec='$wl-Bexport' 10521 runpath_var='LD_RUN_PATH' 10522 10523 if test yes = "$GCC"; then 10524 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10525 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10526 else 10527 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10528 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10529 fi 10530 ;; 10531 10532 uts4*) 10533 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10534 hardcode_libdir_flag_spec='-L$libdir' 10535 hardcode_shlibpath_var=no 10536 ;; 10537 10538 *) 10539 ld_shlibs=no 10540 ;; 10541 esac 10542 10543 if test sni = "$host_vendor"; then 10544 case $host in 10545 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10546 export_dynamic_flag_spec='$wl-Blargedynsym' 10547 ;; 10548 esac 10549 fi 10550 fi 10551 10552{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 10553$as_echo "$ld_shlibs" >&6; } 10554test no = "$ld_shlibs" && can_build_shared=no 10555 10556with_gnu_ld=$with_gnu_ld 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572# 10573# Do we need to explicitly link libc? 10574# 10575case "x$archive_cmds_need_lc" in 10576x|xyes) 10577 # Assume -lc should be added 10578 archive_cmds_need_lc=yes 10579 10580 if test yes,yes = "$GCC,$enable_shared"; then 10581 case $archive_cmds in 10582 *'~'*) 10583 # FIXME: we may have to deal with multi-command sequences. 10584 ;; 10585 '$CC '*) 10586 # Test whether the compiler implicitly links with -lc since on some 10587 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10588 # to ld, don't add -lc before -lgcc. 10589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10590$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10591if ${lt_cv_archive_cmds_need_lc+:} false; then : 10592 $as_echo_n "(cached) " >&6 10593else 10594 $RM conftest* 10595 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10596 10597 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10598 (eval $ac_compile) 2>&5 10599 ac_status=$? 10600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10601 test $ac_status = 0; } 2>conftest.err; then 10602 soname=conftest 10603 lib=conftest 10604 libobjs=conftest.$ac_objext 10605 deplibs= 10606 wl=$lt_prog_compiler_wl 10607 pic_flag=$lt_prog_compiler_pic 10608 compiler_flags=-v 10609 linker_flags=-v 10610 verstring= 10611 output_objdir=. 10612 libname=conftest 10613 lt_save_allow_undefined_flag=$allow_undefined_flag 10614 allow_undefined_flag= 10615 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10616 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10617 ac_status=$? 10618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10619 test $ac_status = 0; } 10620 then 10621 lt_cv_archive_cmds_need_lc=no 10622 else 10623 lt_cv_archive_cmds_need_lc=yes 10624 fi 10625 allow_undefined_flag=$lt_save_allow_undefined_flag 10626 else 10627 cat conftest.err 1>&5 10628 fi 10629 $RM conftest* 10630 10631fi 10632{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 10633$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 10634 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 10635 ;; 10636 esac 10637 fi 10638 ;; 10639esac 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10793$as_echo_n "checking dynamic linker characteristics... " >&6; } 10794 10795if test yes = "$GCC"; then 10796 case $host_os in 10797 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 10798 *) lt_awk_arg='/^libraries:/' ;; 10799 esac 10800 case $host_os in 10801 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 10802 *) lt_sed_strip_eq='s|=/|/|g' ;; 10803 esac 10804 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 10805 case $lt_search_path_spec in 10806 *\;*) 10807 # if the path contains ";" then we assume it to be the separator 10808 # otherwise default to the standard path separator (i.e. ":") - it is 10809 # assumed that no part of a normal pathname contains ";" but that should 10810 # okay in the real world where ";" in dirpaths is itself problematic. 10811 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 10812 ;; 10813 *) 10814 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 10815 ;; 10816 esac 10817 # Ok, now we have the path, separated by spaces, we can step through it 10818 # and add multilib dir if necessary... 10819 lt_tmp_lt_search_path_spec= 10820 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10821 # ...but if some path component already ends with the multilib dir we assume 10822 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 10823 case "$lt_multi_os_dir; $lt_search_path_spec " in 10824 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 10825 lt_multi_os_dir= 10826 ;; 10827 esac 10828 for lt_sys_path in $lt_search_path_spec; do 10829 if test -d "$lt_sys_path$lt_multi_os_dir"; then 10830 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 10831 elif test -n "$lt_multi_os_dir"; then 10832 test -d "$lt_sys_path" && \ 10833 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10834 fi 10835 done 10836 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 10837BEGIN {RS = " "; FS = "/|\n";} { 10838 lt_foo = ""; 10839 lt_count = 0; 10840 for (lt_i = NF; lt_i > 0; lt_i--) { 10841 if ($lt_i != "" && $lt_i != ".") { 10842 if ($lt_i == "..") { 10843 lt_count++; 10844 } else { 10845 if (lt_count == 0) { 10846 lt_foo = "/" $lt_i lt_foo; 10847 } else { 10848 lt_count--; 10849 } 10850 } 10851 } 10852 } 10853 if (lt_foo != "") { lt_freq[lt_foo]++; } 10854 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10855}'` 10856 # AWK program above erroneously prepends '/' to C:/dos/paths 10857 # for these hosts. 10858 case $host_os in 10859 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 10860 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 10861 esac 10862 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 10863else 10864 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10865fi 10866library_names_spec= 10867libname_spec='lib$name' 10868soname_spec= 10869shrext_cmds=.so 10870postinstall_cmds= 10871postuninstall_cmds= 10872finish_cmds= 10873finish_eval= 10874shlibpath_var= 10875shlibpath_overrides_runpath=unknown 10876version_type=none 10877dynamic_linker="$host_os ld.so" 10878sys_lib_dlsearch_path_spec="/lib /usr/lib" 10879need_lib_prefix=unknown 10880hardcode_into_libs=no 10881 10882# when you set need_version to no, make sure it does not cause -set_version 10883# flags to be left without arguments 10884need_version=unknown 10885 10886 10887 10888case $host_os in 10889aix3*) 10890 version_type=linux # correct to gnu/linux during the next big refactor 10891 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 10892 shlibpath_var=LIBPATH 10893 10894 # AIX 3 has no versioning support, so we append a major version to the name. 10895 soname_spec='$libname$release$shared_ext$major' 10896 ;; 10897 10898aix[4-9]*) 10899 version_type=linux # correct to gnu/linux during the next big refactor 10900 need_lib_prefix=no 10901 need_version=no 10902 hardcode_into_libs=yes 10903 if test ia64 = "$host_cpu"; then 10904 # AIX 5 supports IA64 10905 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 10906 shlibpath_var=LD_LIBRARY_PATH 10907 else 10908 # With GCC up to 2.95.x, collect2 would create an import file 10909 # for dependence libraries. The import file would start with 10910 # the line '#! .'. This would cause the generated library to 10911 # depend on '.', always an invalid library. This was fixed in 10912 # development snapshots of GCC prior to 3.0. 10913 case $host_os in 10914 aix4 | aix4.[01] | aix4.[01].*) 10915 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10916 echo ' yes ' 10917 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 10918 : 10919 else 10920 can_build_shared=no 10921 fi 10922 ;; 10923 esac 10924 # Using Import Files as archive members, it is possible to support 10925 # filename-based versioning of shared library archives on AIX. While 10926 # this would work for both with and without runtime linking, it will 10927 # prevent static linking of such archives. So we do filename-based 10928 # shared library versioning with .so extension only, which is used 10929 # when both runtime linking and shared linking is enabled. 10930 # Unfortunately, runtime linking may impact performance, so we do 10931 # not want this to be the default eventually. Also, we use the 10932 # versioned .so libs for executables only if there is the -brtl 10933 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 10934 # To allow for filename-based versioning support, we need to create 10935 # libNAME.so.V as an archive file, containing: 10936 # *) an Import File, referring to the versioned filename of the 10937 # archive as well as the shared archive member, telling the 10938 # bitwidth (32 or 64) of that shared object, and providing the 10939 # list of exported symbols of that shared object, eventually 10940 # decorated with the 'weak' keyword 10941 # *) the shared object with the F_LOADONLY flag set, to really avoid 10942 # it being seen by the linker. 10943 # At run time we better use the real file rather than another symlink, 10944 # but for link time we create the symlink libNAME.so -> libNAME.so.V 10945 10946 case $with_aix_soname,$aix_use_runtimelinking in 10947 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 10948 # soname into executable. Probably we can add versioning support to 10949 # collect2, so additional links can be useful in future. 10950 aix,yes) # traditional libtool 10951 dynamic_linker='AIX unversionable lib.so' 10952 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10953 # instead of lib<name>.a to let people know that these are not 10954 # typical AIX shared libraries. 10955 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10956 ;; 10957 aix,no) # traditional AIX only 10958 dynamic_linker='AIX lib.a(lib.so.V)' 10959 # We preserve .a as extension for shared libraries through AIX4.2 10960 # and later when we are not doing run time linking. 10961 library_names_spec='$libname$release.a $libname.a' 10962 soname_spec='$libname$release$shared_ext$major' 10963 ;; 10964 svr4,*) # full svr4 only 10965 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 10966 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 10967 # We do not specify a path in Import Files, so LIBPATH fires. 10968 shlibpath_overrides_runpath=yes 10969 ;; 10970 *,yes) # both, prefer svr4 10971 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 10972 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 10973 # unpreferred sharedlib libNAME.a needs extra handling 10974 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' 10975 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' 10976 # We do not specify a path in Import Files, so LIBPATH fires. 10977 shlibpath_overrides_runpath=yes 10978 ;; 10979 *,no) # both, prefer aix 10980 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 10981 library_names_spec='$libname$release.a $libname.a' 10982 soname_spec='$libname$release$shared_ext$major' 10983 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 10984 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' 10985 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' 10986 ;; 10987 esac 10988 shlibpath_var=LIBPATH 10989 fi 10990 ;; 10991 10992amigaos*) 10993 case $host_cpu in 10994 powerpc) 10995 # Since July 2007 AmigaOS4 officially supports .so libraries. 10996 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 10997 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10998 ;; 10999 m68k) 11000 library_names_spec='$libname.ixlibrary $libname.a' 11001 # Create ${libname}_ixlibrary.a entries in /sys/libs. 11002 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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' 11003 ;; 11004 esac 11005 ;; 11006 11007beos*) 11008 library_names_spec='$libname$shared_ext' 11009 dynamic_linker="$host_os ld.so" 11010 shlibpath_var=LIBRARY_PATH 11011 ;; 11012 11013bsdi[45]*) 11014 version_type=linux # correct to gnu/linux during the next big refactor 11015 need_version=no 11016 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11017 soname_spec='$libname$release$shared_ext$major' 11018 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 11019 shlibpath_var=LD_LIBRARY_PATH 11020 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 11021 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 11022 # the default ld.so.conf also contains /usr/contrib/lib and 11023 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 11024 # libtool to hard-code these into programs 11025 ;; 11026 11027cygwin* | mingw* | pw32* | cegcc*) 11028 version_type=windows 11029 shrext_cmds=.dll 11030 need_version=no 11031 need_lib_prefix=no 11032 11033 case $GCC,$cc_basename in 11034 yes,*) 11035 # gcc 11036 library_names_spec='$libname.dll.a' 11037 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11038 postinstall_cmds='base_file=`basename \$file`~ 11039 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11040 dldir=$destdir/`dirname \$dlpath`~ 11041 test -d \$dldir || mkdir -p \$dldir~ 11042 $install_prog $dir/$dlname \$dldir/$dlname~ 11043 chmod a+x \$dldir/$dlname~ 11044 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11045 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11046 fi' 11047 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11048 dlpath=$dir/\$dldll~ 11049 $RM \$dlpath' 11050 shlibpath_overrides_runpath=yes 11051 11052 case $host_os in 11053 cygwin*) 11054 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 11055 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11056 11057 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 11058 ;; 11059 mingw* | cegcc*) 11060 # MinGW DLLs use traditional 'lib' prefix 11061 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11062 ;; 11063 pw32*) 11064 # pw32 DLLs use 'pw' prefix rather than 'lib' 11065 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11066 ;; 11067 esac 11068 dynamic_linker='Win32 ld.exe' 11069 ;; 11070 11071 *,cl*) 11072 # Native MSVC 11073 libname_spec='$name' 11074 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11075 library_names_spec='$libname.dll.lib' 11076 11077 case $build_os in 11078 mingw*) 11079 sys_lib_search_path_spec= 11080 lt_save_ifs=$IFS 11081 IFS=';' 11082 for lt_path in $LIB 11083 do 11084 IFS=$lt_save_ifs 11085 # Let DOS variable expansion print the short 8.3 style file name. 11086 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 11087 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 11088 done 11089 IFS=$lt_save_ifs 11090 # Convert to MSYS style. 11091 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 11092 ;; 11093 cygwin*) 11094 # Convert to unix form, then to dos form, then back to unix form 11095 # but this time dos style (no spaces!) so that the unix form looks 11096 # like /cygdrive/c/PROGRA~1:/cygdr... 11097 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 11098 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 11099 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11100 ;; 11101 *) 11102 sys_lib_search_path_spec=$LIB 11103 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 11104 # It is most probably a Windows format PATH. 11105 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 11106 else 11107 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11108 fi 11109 # FIXME: find the short name or the path components, as spaces are 11110 # common. (e.g. "Program Files" -> "PROGRA~1") 11111 ;; 11112 esac 11113 11114 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11115 postinstall_cmds='base_file=`basename \$file`~ 11116 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11117 dldir=$destdir/`dirname \$dlpath`~ 11118 test -d \$dldir || mkdir -p \$dldir~ 11119 $install_prog $dir/$dlname \$dldir/$dlname' 11120 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11121 dlpath=$dir/\$dldll~ 11122 $RM \$dlpath' 11123 shlibpath_overrides_runpath=yes 11124 dynamic_linker='Win32 link.exe' 11125 ;; 11126 11127 *) 11128 # Assume MSVC wrapper 11129 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 11130 dynamic_linker='Win32 ld.exe' 11131 ;; 11132 esac 11133 # FIXME: first we should search . and the directory the executable is in 11134 shlibpath_var=PATH 11135 ;; 11136 11137darwin* | rhapsody*) 11138 dynamic_linker="$host_os dyld" 11139 version_type=darwin 11140 need_lib_prefix=no 11141 need_version=no 11142 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 11143 soname_spec='$libname$release$major$shared_ext' 11144 shlibpath_overrides_runpath=yes 11145 shlibpath_var=DYLD_LIBRARY_PATH 11146 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 11147 11148 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 11149 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 11150 ;; 11151 11152dgux*) 11153 version_type=linux # correct to gnu/linux during the next big refactor 11154 need_lib_prefix=no 11155 need_version=no 11156 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11157 soname_spec='$libname$release$shared_ext$major' 11158 shlibpath_var=LD_LIBRARY_PATH 11159 ;; 11160 11161freebsd* | dragonfly*) 11162 # DragonFly does not have aout. When/if they implement a new 11163 # versioning mechanism, adjust this. 11164 if test -x /usr/bin/objformat; then 11165 objformat=`/usr/bin/objformat` 11166 else 11167 case $host_os in 11168 freebsd[23].*) objformat=aout ;; 11169 *) objformat=elf ;; 11170 esac 11171 fi 11172 version_type=freebsd-$objformat 11173 case $version_type in 11174 freebsd-elf*) 11175 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11176 soname_spec='$libname$release$shared_ext$major' 11177 need_version=no 11178 need_lib_prefix=no 11179 ;; 11180 freebsd-*) 11181 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11182 need_version=yes 11183 ;; 11184 esac 11185 shlibpath_var=LD_LIBRARY_PATH 11186 case $host_os in 11187 freebsd2.*) 11188 shlibpath_overrides_runpath=yes 11189 ;; 11190 freebsd3.[01]* | freebsdelf3.[01]*) 11191 shlibpath_overrides_runpath=yes 11192 hardcode_into_libs=yes 11193 ;; 11194 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 11195 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 11196 shlibpath_overrides_runpath=no 11197 hardcode_into_libs=yes 11198 ;; 11199 *) # from 4.6 on, and DragonFly 11200 shlibpath_overrides_runpath=yes 11201 hardcode_into_libs=yes 11202 ;; 11203 esac 11204 ;; 11205 11206haiku*) 11207 version_type=linux # correct to gnu/linux during the next big refactor 11208 need_lib_prefix=no 11209 need_version=no 11210 dynamic_linker="$host_os runtime_loader" 11211 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11212 soname_spec='$libname$release$shared_ext$major' 11213 shlibpath_var=LIBRARY_PATH 11214 shlibpath_overrides_runpath=no 11215 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 11216 hardcode_into_libs=yes 11217 ;; 11218 11219hpux9* | hpux10* | hpux11*) 11220 # Give a soname corresponding to the major version so that dld.sl refuses to 11221 # link against other versions. 11222 version_type=sunos 11223 need_lib_prefix=no 11224 need_version=no 11225 case $host_cpu in 11226 ia64*) 11227 shrext_cmds='.so' 11228 hardcode_into_libs=yes 11229 dynamic_linker="$host_os dld.so" 11230 shlibpath_var=LD_LIBRARY_PATH 11231 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11232 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11233 soname_spec='$libname$release$shared_ext$major' 11234 if test 32 = "$HPUX_IA64_MODE"; then 11235 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 11236 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 11237 else 11238 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 11239 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 11240 fi 11241 ;; 11242 hppa*64*) 11243 shrext_cmds='.sl' 11244 hardcode_into_libs=yes 11245 dynamic_linker="$host_os dld.sl" 11246 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 11247 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11248 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11249 soname_spec='$libname$release$shared_ext$major' 11250 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 11251 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11252 ;; 11253 *) 11254 shrext_cmds='.sl' 11255 dynamic_linker="$host_os dld.sl" 11256 shlibpath_var=SHLIB_PATH 11257 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 11258 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11259 soname_spec='$libname$release$shared_ext$major' 11260 ;; 11261 esac 11262 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 11263 postinstall_cmds='chmod 555 $lib' 11264 # or fails outright, so override atomically: 11265 install_override_mode=555 11266 ;; 11267 11268interix[3-9]*) 11269 version_type=linux # correct to gnu/linux during the next big refactor 11270 need_lib_prefix=no 11271 need_version=no 11272 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11273 soname_spec='$libname$release$shared_ext$major' 11274 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 11275 shlibpath_var=LD_LIBRARY_PATH 11276 shlibpath_overrides_runpath=no 11277 hardcode_into_libs=yes 11278 ;; 11279 11280irix5* | irix6* | nonstopux*) 11281 case $host_os in 11282 nonstopux*) version_type=nonstopux ;; 11283 *) 11284 if test yes = "$lt_cv_prog_gnu_ld"; then 11285 version_type=linux # correct to gnu/linux during the next big refactor 11286 else 11287 version_type=irix 11288 fi ;; 11289 esac 11290 need_lib_prefix=no 11291 need_version=no 11292 soname_spec='$libname$release$shared_ext$major' 11293 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 11294 case $host_os in 11295 irix5* | nonstopux*) 11296 libsuff= shlibsuff= 11297 ;; 11298 *) 11299 case $LD in # libtool.m4 will add one of these switches to LD 11300 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 11301 libsuff= shlibsuff= libmagic=32-bit;; 11302 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 11303 libsuff=32 shlibsuff=N32 libmagic=N32;; 11304 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 11305 libsuff=64 shlibsuff=64 libmagic=64-bit;; 11306 *) libsuff= shlibsuff= libmagic=never-match;; 11307 esac 11308 ;; 11309 esac 11310 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 11311 shlibpath_overrides_runpath=no 11312 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 11313 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 11314 hardcode_into_libs=yes 11315 ;; 11316 11317# No shared lib support for Linux oldld, aout, or coff. 11318linux*oldld* | linux*aout* | linux*coff*) 11319 dynamic_linker=no 11320 ;; 11321 11322linux*android*) 11323 version_type=none # Android doesn't support versioned libraries. 11324 need_lib_prefix=no 11325 need_version=no 11326 library_names_spec='$libname$release$shared_ext' 11327 soname_spec='$libname$release$shared_ext' 11328 finish_cmds= 11329 shlibpath_var=LD_LIBRARY_PATH 11330 shlibpath_overrides_runpath=yes 11331 11332 # This implies no fast_install, which is unacceptable. 11333 # Some rework will be needed to allow for fast_install 11334 # before this can be enabled. 11335 hardcode_into_libs=yes 11336 11337 dynamic_linker='Android linker' 11338 # Don't embed -rpath directories since the linker doesn't support them. 11339 hardcode_libdir_flag_spec='-L$libdir' 11340 ;; 11341 11342# This must be glibc/ELF. 11343linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 11344 version_type=linux # correct to gnu/linux during the next big refactor 11345 need_lib_prefix=no 11346 need_version=no 11347 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11348 soname_spec='$libname$release$shared_ext$major' 11349 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 11350 shlibpath_var=LD_LIBRARY_PATH 11351 shlibpath_overrides_runpath=no 11352 11353 # Some binutils ld are patched to set DT_RUNPATH 11354 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 11355 $as_echo_n "(cached) " >&6 11356else 11357 lt_cv_shlibpath_overrides_runpath=no 11358 save_LDFLAGS=$LDFLAGS 11359 save_libdir=$libdir 11360 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 11361 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 11362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11363/* end confdefs.h. */ 11364 11365int 11366main () 11367{ 11368 11369 ; 11370 return 0; 11371} 11372_ACEOF 11373if ac_fn_c_try_link "$LINENO"; then : 11374 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 11375 lt_cv_shlibpath_overrides_runpath=yes 11376fi 11377fi 11378rm -f core conftest.err conftest.$ac_objext \ 11379 conftest$ac_exeext conftest.$ac_ext 11380 LDFLAGS=$save_LDFLAGS 11381 libdir=$save_libdir 11382 11383fi 11384 11385 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 11386 11387 # This implies no fast_install, which is unacceptable. 11388 # Some rework will be needed to allow for fast_install 11389 # before this can be enabled. 11390 hardcode_into_libs=yes 11391 11392 # Ideally, we could use ldconfig to report *all* directores which are 11393 # searched for libraries, however this is still not possible. Aside from not 11394 # being certain /sbin/ldconfig is available, command 11395 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 11396 # even though it is searched at run-time. Try to do the best guess by 11397 # appending ld.so.conf contents (and includes) to the search path. 11398 if test -f /etc/ld.so.conf; then 11399 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' ' '` 11400 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 11401 fi 11402 11403 # We used to test for /lib/ld.so.1 and disable shared libraries on 11404 # powerpc, because MkLinux only supported shared libraries with the 11405 # GNU dynamic linker. Since this was broken with cross compilers, 11406 # most powerpc-linux boxes support dynamic linking these days and 11407 # people can always --disable-shared, the test was removed, and we 11408 # assume the GNU/Linux dynamic linker is in use. 11409 dynamic_linker='GNU/Linux ld.so' 11410 ;; 11411 11412netbsdelf*-gnu) 11413 version_type=linux 11414 need_lib_prefix=no 11415 need_version=no 11416 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11417 soname_spec='${libname}${release}${shared_ext}$major' 11418 shlibpath_var=LD_LIBRARY_PATH 11419 shlibpath_overrides_runpath=no 11420 hardcode_into_libs=yes 11421 dynamic_linker='NetBSD ld.elf_so' 11422 ;; 11423 11424netbsd*) 11425 version_type=sunos 11426 need_lib_prefix=no 11427 need_version=no 11428 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11429 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11430 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11431 dynamic_linker='NetBSD (a.out) ld.so' 11432 else 11433 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11434 soname_spec='$libname$release$shared_ext$major' 11435 dynamic_linker='NetBSD ld.elf_so' 11436 fi 11437 shlibpath_var=LD_LIBRARY_PATH 11438 shlibpath_overrides_runpath=yes 11439 hardcode_into_libs=yes 11440 ;; 11441 11442newsos6) 11443 version_type=linux # correct to gnu/linux during the next big refactor 11444 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11445 shlibpath_var=LD_LIBRARY_PATH 11446 shlibpath_overrides_runpath=yes 11447 ;; 11448 11449*nto* | *qnx*) 11450 version_type=qnx 11451 need_lib_prefix=no 11452 need_version=no 11453 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11454 soname_spec='$libname$release$shared_ext$major' 11455 shlibpath_var=LD_LIBRARY_PATH 11456 shlibpath_overrides_runpath=no 11457 hardcode_into_libs=yes 11458 dynamic_linker='ldqnx.so' 11459 ;; 11460 11461openbsd* | bitrig*) 11462 version_type=sunos 11463 sys_lib_dlsearch_path_spec=/usr/lib 11464 need_lib_prefix=no 11465 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 11466 need_version=no 11467 else 11468 need_version=yes 11469 fi 11470 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11471 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11472 shlibpath_var=LD_LIBRARY_PATH 11473 shlibpath_overrides_runpath=yes 11474 ;; 11475 11476os2*) 11477 libname_spec='$name' 11478 version_type=windows 11479 shrext_cmds=.dll 11480 need_version=no 11481 need_lib_prefix=no 11482 # OS/2 can only load a DLL with a base name of 8 characters or less. 11483 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 11484 v=$($ECHO $release$versuffix | tr -d .-); 11485 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 11486 $ECHO $n$v`$shared_ext' 11487 library_names_spec='${libname}_dll.$libext' 11488 dynamic_linker='OS/2 ld.exe' 11489 shlibpath_var=BEGINLIBPATH 11490 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11491 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11492 postinstall_cmds='base_file=`basename \$file`~ 11493 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 11494 dldir=$destdir/`dirname \$dlpath`~ 11495 test -d \$dldir || mkdir -p \$dldir~ 11496 $install_prog $dir/$dlname \$dldir/$dlname~ 11497 chmod a+x \$dldir/$dlname~ 11498 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11499 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11500 fi' 11501 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 11502 dlpath=$dir/\$dldll~ 11503 $RM \$dlpath' 11504 ;; 11505 11506osf3* | osf4* | osf5*) 11507 version_type=osf 11508 need_lib_prefix=no 11509 need_version=no 11510 soname_spec='$libname$release$shared_ext$major' 11511 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11512 shlibpath_var=LD_LIBRARY_PATH 11513 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11514 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11515 ;; 11516 11517rdos*) 11518 dynamic_linker=no 11519 ;; 11520 11521solaris*) 11522 version_type=linux # correct to gnu/linux during the next big refactor 11523 need_lib_prefix=no 11524 need_version=no 11525 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11526 soname_spec='$libname$release$shared_ext$major' 11527 shlibpath_var=LD_LIBRARY_PATH 11528 shlibpath_overrides_runpath=yes 11529 hardcode_into_libs=yes 11530 # ldd complains unless libraries are executable 11531 postinstall_cmds='chmod +x $lib' 11532 ;; 11533 11534sunos4*) 11535 version_type=sunos 11536 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11537 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11538 shlibpath_var=LD_LIBRARY_PATH 11539 shlibpath_overrides_runpath=yes 11540 if test yes = "$with_gnu_ld"; then 11541 need_lib_prefix=no 11542 fi 11543 need_version=yes 11544 ;; 11545 11546sysv4 | sysv4.3*) 11547 version_type=linux # correct to gnu/linux during the next big refactor 11548 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11549 soname_spec='$libname$release$shared_ext$major' 11550 shlibpath_var=LD_LIBRARY_PATH 11551 case $host_vendor in 11552 sni) 11553 shlibpath_overrides_runpath=no 11554 need_lib_prefix=no 11555 runpath_var=LD_RUN_PATH 11556 ;; 11557 siemens) 11558 need_lib_prefix=no 11559 ;; 11560 motorola) 11561 need_lib_prefix=no 11562 need_version=no 11563 shlibpath_overrides_runpath=no 11564 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11565 ;; 11566 esac 11567 ;; 11568 11569sysv4*MP*) 11570 if test -d /usr/nec; then 11571 version_type=linux # correct to gnu/linux during the next big refactor 11572 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 11573 soname_spec='$libname$shared_ext.$major' 11574 shlibpath_var=LD_LIBRARY_PATH 11575 fi 11576 ;; 11577 11578sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11579 version_type=sco 11580 need_lib_prefix=no 11581 need_version=no 11582 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 11583 soname_spec='$libname$release$shared_ext$major' 11584 shlibpath_var=LD_LIBRARY_PATH 11585 shlibpath_overrides_runpath=yes 11586 hardcode_into_libs=yes 11587 if test yes = "$with_gnu_ld"; then 11588 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11589 else 11590 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11591 case $host_os in 11592 sco3.2v5*) 11593 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11594 ;; 11595 esac 11596 fi 11597 sys_lib_dlsearch_path_spec='/usr/lib' 11598 ;; 11599 11600tpf*) 11601 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11602 version_type=linux # correct to gnu/linux during the next big refactor 11603 need_lib_prefix=no 11604 need_version=no 11605 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11606 shlibpath_var=LD_LIBRARY_PATH 11607 shlibpath_overrides_runpath=no 11608 hardcode_into_libs=yes 11609 ;; 11610 11611uts4*) 11612 version_type=linux # correct to gnu/linux during the next big refactor 11613 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11614 soname_spec='$libname$release$shared_ext$major' 11615 shlibpath_var=LD_LIBRARY_PATH 11616 ;; 11617 11618*) 11619 dynamic_linker=no 11620 ;; 11621esac 11622{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 11623$as_echo "$dynamic_linker" >&6; } 11624test no = "$dynamic_linker" && can_build_shared=no 11625 11626variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11627if test yes = "$GCC"; then 11628 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11629fi 11630 11631if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 11632 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 11633fi 11634 11635if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 11636 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 11637fi 11638 11639# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 11640configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 11641 11642# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 11643func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 11644 11645# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 11646configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 11647 11648 11649 11650 11651 11652 11653 11654 11655 11656 11657 11658 11659 11660 11661 11662 11663 11664 11665 11666 11667 11668 11669 11670 11671 11672 11673 11674 11675 11676 11677 11678 11679 11680 11681 11682 11683 11684 11685 11686 11687 11688 11689 11690 11691 11692 11693 11694 11695 11696 11697 11698 11699 11700 11701 11702 11703 11704 11705 11706 11707 11708 11709 11710 11711 11712 11713 11714 11715 11716 11717 11718 11719 11720 11721 11722 11723 11724 11725 11726 11727 11728 11729 11730 11731 11732 11733 11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 11744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11745$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11746hardcode_action= 11747if test -n "$hardcode_libdir_flag_spec" || 11748 test -n "$runpath_var" || 11749 test yes = "$hardcode_automatic"; then 11750 11751 # We can hardcode non-existent directories. 11752 if test no != "$hardcode_direct" && 11753 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11754 # have to relink, otherwise we might link with an installed library 11755 # when we should be linking with a yet-to-be-installed one 11756 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 11757 test no != "$hardcode_minus_L"; then 11758 # Linking always hardcodes the temporary library directory. 11759 hardcode_action=relink 11760 else 11761 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11762 hardcode_action=immediate 11763 fi 11764else 11765 # We cannot hardcode anything, or else we can only hardcode existing 11766 # directories. 11767 hardcode_action=unsupported 11768fi 11769{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 11770$as_echo "$hardcode_action" >&6; } 11771 11772if test relink = "$hardcode_action" || 11773 test yes = "$inherit_rpath"; then 11774 # Fast installation is not supported 11775 enable_fast_install=no 11776elif test yes = "$shlibpath_overrides_runpath" || 11777 test no = "$enable_shared"; then 11778 # Fast installation is not necessary 11779 enable_fast_install=needless 11780fi 11781 11782 11783 11784 11785 11786 11787 if test yes != "$enable_dlopen"; then 11788 enable_dlopen=unknown 11789 enable_dlopen_self=unknown 11790 enable_dlopen_self_static=unknown 11791else 11792 lt_cv_dlopen=no 11793 lt_cv_dlopen_libs= 11794 11795 case $host_os in 11796 beos*) 11797 lt_cv_dlopen=load_add_on 11798 lt_cv_dlopen_libs= 11799 lt_cv_dlopen_self=yes 11800 ;; 11801 11802 mingw* | pw32* | cegcc*) 11803 lt_cv_dlopen=LoadLibrary 11804 lt_cv_dlopen_libs= 11805 ;; 11806 11807 cygwin*) 11808 lt_cv_dlopen=dlopen 11809 lt_cv_dlopen_libs= 11810 ;; 11811 11812 darwin*) 11813 # if libdl is installed we need to link against it 11814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11815$as_echo_n "checking for dlopen in -ldl... " >&6; } 11816if ${ac_cv_lib_dl_dlopen+:} false; then : 11817 $as_echo_n "(cached) " >&6 11818else 11819 ac_check_lib_save_LIBS=$LIBS 11820LIBS="-ldl $LIBS" 11821cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11822/* end confdefs.h. */ 11823 11824/* Override any GCC internal prototype to avoid an error. 11825 Use char because int might match the return type of a GCC 11826 builtin and then its argument prototype would still apply. */ 11827#ifdef __cplusplus 11828extern "C" 11829#endif 11830char dlopen (); 11831int 11832main () 11833{ 11834return dlopen (); 11835 ; 11836 return 0; 11837} 11838_ACEOF 11839if ac_fn_c_try_link "$LINENO"; then : 11840 ac_cv_lib_dl_dlopen=yes 11841else 11842 ac_cv_lib_dl_dlopen=no 11843fi 11844rm -f core conftest.err conftest.$ac_objext \ 11845 conftest$ac_exeext conftest.$ac_ext 11846LIBS=$ac_check_lib_save_LIBS 11847fi 11848{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11849$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11850if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11851 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 11852else 11853 11854 lt_cv_dlopen=dyld 11855 lt_cv_dlopen_libs= 11856 lt_cv_dlopen_self=yes 11857 11858fi 11859 11860 ;; 11861 11862 tpf*) 11863 # Don't try to run any link tests for TPF. We know it's impossible 11864 # because TPF is a cross-compiler, and we know how we open DSOs. 11865 lt_cv_dlopen=dlopen 11866 lt_cv_dlopen_libs= 11867 lt_cv_dlopen_self=no 11868 ;; 11869 11870 *) 11871 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11872if test "x$ac_cv_func_shl_load" = xyes; then : 11873 lt_cv_dlopen=shl_load 11874else 11875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11876$as_echo_n "checking for shl_load in -ldld... " >&6; } 11877if ${ac_cv_lib_dld_shl_load+:} false; then : 11878 $as_echo_n "(cached) " >&6 11879else 11880 ac_check_lib_save_LIBS=$LIBS 11881LIBS="-ldld $LIBS" 11882cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11883/* end confdefs.h. */ 11884 11885/* Override any GCC internal prototype to avoid an error. 11886 Use char because int might match the return type of a GCC 11887 builtin and then its argument prototype would still apply. */ 11888#ifdef __cplusplus 11889extern "C" 11890#endif 11891char shl_load (); 11892int 11893main () 11894{ 11895return shl_load (); 11896 ; 11897 return 0; 11898} 11899_ACEOF 11900if ac_fn_c_try_link "$LINENO"; then : 11901 ac_cv_lib_dld_shl_load=yes 11902else 11903 ac_cv_lib_dld_shl_load=no 11904fi 11905rm -f core conftest.err conftest.$ac_objext \ 11906 conftest$ac_exeext conftest.$ac_ext 11907LIBS=$ac_check_lib_save_LIBS 11908fi 11909{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11910$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11911if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 11912 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 11913else 11914 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11915if test "x$ac_cv_func_dlopen" = xyes; then : 11916 lt_cv_dlopen=dlopen 11917else 11918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11919$as_echo_n "checking for dlopen in -ldl... " >&6; } 11920if ${ac_cv_lib_dl_dlopen+:} false; then : 11921 $as_echo_n "(cached) " >&6 11922else 11923 ac_check_lib_save_LIBS=$LIBS 11924LIBS="-ldl $LIBS" 11925cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11926/* end confdefs.h. */ 11927 11928/* Override any GCC internal prototype to avoid an error. 11929 Use char because int might match the return type of a GCC 11930 builtin and then its argument prototype would still apply. */ 11931#ifdef __cplusplus 11932extern "C" 11933#endif 11934char dlopen (); 11935int 11936main () 11937{ 11938return dlopen (); 11939 ; 11940 return 0; 11941} 11942_ACEOF 11943if ac_fn_c_try_link "$LINENO"; then : 11944 ac_cv_lib_dl_dlopen=yes 11945else 11946 ac_cv_lib_dl_dlopen=no 11947fi 11948rm -f core conftest.err conftest.$ac_objext \ 11949 conftest$ac_exeext conftest.$ac_ext 11950LIBS=$ac_check_lib_save_LIBS 11951fi 11952{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11953$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11954if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11955 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 11956else 11957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11958$as_echo_n "checking for dlopen in -lsvld... " >&6; } 11959if ${ac_cv_lib_svld_dlopen+:} false; then : 11960 $as_echo_n "(cached) " >&6 11961else 11962 ac_check_lib_save_LIBS=$LIBS 11963LIBS="-lsvld $LIBS" 11964cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11965/* end confdefs.h. */ 11966 11967/* Override any GCC internal prototype to avoid an error. 11968 Use char because int might match the return type of a GCC 11969 builtin and then its argument prototype would still apply. */ 11970#ifdef __cplusplus 11971extern "C" 11972#endif 11973char dlopen (); 11974int 11975main () 11976{ 11977return dlopen (); 11978 ; 11979 return 0; 11980} 11981_ACEOF 11982if ac_fn_c_try_link "$LINENO"; then : 11983 ac_cv_lib_svld_dlopen=yes 11984else 11985 ac_cv_lib_svld_dlopen=no 11986fi 11987rm -f core conftest.err conftest.$ac_objext \ 11988 conftest$ac_exeext conftest.$ac_ext 11989LIBS=$ac_check_lib_save_LIBS 11990fi 11991{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 11992$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11993if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 11994 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 11995else 11996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 11997$as_echo_n "checking for dld_link in -ldld... " >&6; } 11998if ${ac_cv_lib_dld_dld_link+:} false; then : 11999 $as_echo_n "(cached) " >&6 12000else 12001 ac_check_lib_save_LIBS=$LIBS 12002LIBS="-ldld $LIBS" 12003cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12004/* end confdefs.h. */ 12005 12006/* Override any GCC internal prototype to avoid an error. 12007 Use char because int might match the return type of a GCC 12008 builtin and then its argument prototype would still apply. */ 12009#ifdef __cplusplus 12010extern "C" 12011#endif 12012char dld_link (); 12013int 12014main () 12015{ 12016return dld_link (); 12017 ; 12018 return 0; 12019} 12020_ACEOF 12021if ac_fn_c_try_link "$LINENO"; then : 12022 ac_cv_lib_dld_dld_link=yes 12023else 12024 ac_cv_lib_dld_dld_link=no 12025fi 12026rm -f core conftest.err conftest.$ac_objext \ 12027 conftest$ac_exeext conftest.$ac_ext 12028LIBS=$ac_check_lib_save_LIBS 12029fi 12030{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 12031$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 12032if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 12033 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 12034fi 12035 12036 12037fi 12038 12039 12040fi 12041 12042 12043fi 12044 12045 12046fi 12047 12048 12049fi 12050 12051 ;; 12052 esac 12053 12054 if test no = "$lt_cv_dlopen"; then 12055 enable_dlopen=no 12056 else 12057 enable_dlopen=yes 12058 fi 12059 12060 case $lt_cv_dlopen in 12061 dlopen) 12062 save_CPPFLAGS=$CPPFLAGS 12063 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 12064 12065 save_LDFLAGS=$LDFLAGS 12066 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 12067 12068 save_LIBS=$LIBS 12069 LIBS="$lt_cv_dlopen_libs $LIBS" 12070 12071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 12072$as_echo_n "checking whether a program can dlopen itself... " >&6; } 12073if ${lt_cv_dlopen_self+:} false; then : 12074 $as_echo_n "(cached) " >&6 12075else 12076 if test yes = "$cross_compiling"; then : 12077 lt_cv_dlopen_self=cross 12078else 12079 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12080 lt_status=$lt_dlunknown 12081 cat > conftest.$ac_ext <<_LT_EOF 12082#line $LINENO "configure" 12083#include "confdefs.h" 12084 12085#if HAVE_DLFCN_H 12086#include <dlfcn.h> 12087#endif 12088 12089#include <stdio.h> 12090 12091#ifdef RTLD_GLOBAL 12092# define LT_DLGLOBAL RTLD_GLOBAL 12093#else 12094# ifdef DL_GLOBAL 12095# define LT_DLGLOBAL DL_GLOBAL 12096# else 12097# define LT_DLGLOBAL 0 12098# endif 12099#endif 12100 12101/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12102 find out it does not work in some platform. */ 12103#ifndef LT_DLLAZY_OR_NOW 12104# ifdef RTLD_LAZY 12105# define LT_DLLAZY_OR_NOW RTLD_LAZY 12106# else 12107# ifdef DL_LAZY 12108# define LT_DLLAZY_OR_NOW DL_LAZY 12109# else 12110# ifdef RTLD_NOW 12111# define LT_DLLAZY_OR_NOW RTLD_NOW 12112# else 12113# ifdef DL_NOW 12114# define LT_DLLAZY_OR_NOW DL_NOW 12115# else 12116# define LT_DLLAZY_OR_NOW 0 12117# endif 12118# endif 12119# endif 12120# endif 12121#endif 12122 12123/* When -fvisibility=hidden is used, assume the code has been annotated 12124 correspondingly for the symbols needed. */ 12125#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12126int fnord () __attribute__((visibility("default"))); 12127#endif 12128 12129int fnord () { return 42; } 12130int main () 12131{ 12132 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12133 int status = $lt_dlunknown; 12134 12135 if (self) 12136 { 12137 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12138 else 12139 { 12140 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12141 else puts (dlerror ()); 12142 } 12143 /* dlclose (self); */ 12144 } 12145 else 12146 puts (dlerror ()); 12147 12148 return status; 12149} 12150_LT_EOF 12151 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12152 (eval $ac_link) 2>&5 12153 ac_status=$? 12154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12155 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12156 (./conftest; exit; ) >&5 2>/dev/null 12157 lt_status=$? 12158 case x$lt_status in 12159 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 12160 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 12161 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 12162 esac 12163 else : 12164 # compilation failed 12165 lt_cv_dlopen_self=no 12166 fi 12167fi 12168rm -fr conftest* 12169 12170 12171fi 12172{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 12173$as_echo "$lt_cv_dlopen_self" >&6; } 12174 12175 if test yes = "$lt_cv_dlopen_self"; then 12176 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 12177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 12178$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 12179if ${lt_cv_dlopen_self_static+:} false; then : 12180 $as_echo_n "(cached) " >&6 12181else 12182 if test yes = "$cross_compiling"; then : 12183 lt_cv_dlopen_self_static=cross 12184else 12185 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12186 lt_status=$lt_dlunknown 12187 cat > conftest.$ac_ext <<_LT_EOF 12188#line $LINENO "configure" 12189#include "confdefs.h" 12190 12191#if HAVE_DLFCN_H 12192#include <dlfcn.h> 12193#endif 12194 12195#include <stdio.h> 12196 12197#ifdef RTLD_GLOBAL 12198# define LT_DLGLOBAL RTLD_GLOBAL 12199#else 12200# ifdef DL_GLOBAL 12201# define LT_DLGLOBAL DL_GLOBAL 12202# else 12203# define LT_DLGLOBAL 0 12204# endif 12205#endif 12206 12207/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12208 find out it does not work in some platform. */ 12209#ifndef LT_DLLAZY_OR_NOW 12210# ifdef RTLD_LAZY 12211# define LT_DLLAZY_OR_NOW RTLD_LAZY 12212# else 12213# ifdef DL_LAZY 12214# define LT_DLLAZY_OR_NOW DL_LAZY 12215# else 12216# ifdef RTLD_NOW 12217# define LT_DLLAZY_OR_NOW RTLD_NOW 12218# else 12219# ifdef DL_NOW 12220# define LT_DLLAZY_OR_NOW DL_NOW 12221# else 12222# define LT_DLLAZY_OR_NOW 0 12223# endif 12224# endif 12225# endif 12226# endif 12227#endif 12228 12229/* When -fvisibility=hidden is used, assume the code has been annotated 12230 correspondingly for the symbols needed. */ 12231#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12232int fnord () __attribute__((visibility("default"))); 12233#endif 12234 12235int fnord () { return 42; } 12236int main () 12237{ 12238 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12239 int status = $lt_dlunknown; 12240 12241 if (self) 12242 { 12243 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12244 else 12245 { 12246 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12247 else puts (dlerror ()); 12248 } 12249 /* dlclose (self); */ 12250 } 12251 else 12252 puts (dlerror ()); 12253 12254 return status; 12255} 12256_LT_EOF 12257 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12258 (eval $ac_link) 2>&5 12259 ac_status=$? 12260 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12261 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12262 (./conftest; exit; ) >&5 2>/dev/null 12263 lt_status=$? 12264 case x$lt_status in 12265 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 12266 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 12267 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 12268 esac 12269 else : 12270 # compilation failed 12271 lt_cv_dlopen_self_static=no 12272 fi 12273fi 12274rm -fr conftest* 12275 12276 12277fi 12278{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 12279$as_echo "$lt_cv_dlopen_self_static" >&6; } 12280 fi 12281 12282 CPPFLAGS=$save_CPPFLAGS 12283 LDFLAGS=$save_LDFLAGS 12284 LIBS=$save_LIBS 12285 ;; 12286 esac 12287 12288 case $lt_cv_dlopen_self in 12289 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 12290 *) enable_dlopen_self=unknown ;; 12291 esac 12292 12293 case $lt_cv_dlopen_self_static in 12294 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 12295 *) enable_dlopen_self_static=unknown ;; 12296 esac 12297fi 12298 12299 12300 12301 12302 12303 12304 12305 12306 12307 12308 12309 12310 12311 12312 12313 12314 12315striplib= 12316old_striplib= 12317{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 12318$as_echo_n "checking whether stripping libraries is possible... " >&6; } 12319if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 12320 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 12321 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 12322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12323$as_echo "yes" >&6; } 12324else 12325# FIXME - insert some real tests, host_os isn't really good enough 12326 case $host_os in 12327 darwin*) 12328 if test -n "$STRIP"; then 12329 striplib="$STRIP -x" 12330 old_striplib="$STRIP -S" 12331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12332$as_echo "yes" >&6; } 12333 else 12334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12335$as_echo "no" >&6; } 12336 fi 12337 ;; 12338 *) 12339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12340$as_echo "no" >&6; } 12341 ;; 12342 esac 12343fi 12344 12345 12346 12347 12348 12349 12350 12351 12352 12353 12354 12355 12356 # Report what library types will actually be built 12357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 12358$as_echo_n "checking if libtool supports shared libraries... " >&6; } 12359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 12360$as_echo "$can_build_shared" >&6; } 12361 12362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 12363$as_echo_n "checking whether to build shared libraries... " >&6; } 12364 test no = "$can_build_shared" && enable_shared=no 12365 12366 # On AIX, shared libraries and static libraries use the same namespace, and 12367 # are all built from PIC. 12368 case $host_os in 12369 aix3*) 12370 test yes = "$enable_shared" && enable_static=no 12371 if test -n "$RANLIB"; then 12372 archive_cmds="$archive_cmds~\$RANLIB \$lib" 12373 postinstall_cmds='$RANLIB $lib' 12374 fi 12375 ;; 12376 12377 aix[4-9]*) 12378 if test ia64 != "$host_cpu"; then 12379 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 12380 yes,aix,yes) ;; # shared object as lib.so file only 12381 yes,svr4,*) ;; # shared object as lib.so archive member only 12382 yes,*) enable_static=no ;; # shared object in lib.a archive as well 12383 esac 12384 fi 12385 ;; 12386 esac 12387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 12388$as_echo "$enable_shared" >&6; } 12389 12390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 12391$as_echo_n "checking whether to build static libraries... " >&6; } 12392 # Make sure either enable_shared or enable_static is yes. 12393 test yes = "$enable_shared" || enable_static=yes 12394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 12395$as_echo "$enable_static" >&6; } 12396 12397 12398 12399 12400fi 12401ac_ext=c 12402ac_cpp='$CPP $CPPFLAGS' 12403ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12404ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12405ac_compiler_gnu=$ac_cv_c_compiler_gnu 12406 12407CC=$lt_save_CC 12408 12409 if test -n "$CXX" && ( test no != "$CXX" && 12410 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) || 12411 (test g++ != "$CXX"))); then 12412 ac_ext=cpp 12413ac_cpp='$CXXCPP $CPPFLAGS' 12414ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12415ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12416ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 12417{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 12418$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 12419if test -z "$CXXCPP"; then 12420 if ${ac_cv_prog_CXXCPP+:} false; then : 12421 $as_echo_n "(cached) " >&6 12422else 12423 # Double quotes because CXXCPP needs to be expanded 12424 for CXXCPP in "$CXX -E" "/lib/cpp" 12425 do 12426 ac_preproc_ok=false 12427for ac_cxx_preproc_warn_flag in '' yes 12428do 12429 # Use a header file that comes with gcc, so configuring glibc 12430 # with a fresh cross-compiler works. 12431 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12432 # <limits.h> exists even on freestanding compilers. 12433 # On the NeXT, cc -E runs the code through the compiler's parser, 12434 # not just through cpp. "Syntax error" is here to catch this case. 12435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12436/* end confdefs.h. */ 12437@%:@ifdef __STDC__ 12438@%:@ include <limits.h> 12439@%:@else 12440@%:@ include <assert.h> 12441@%:@endif 12442 Syntax error 12443_ACEOF 12444if ac_fn_cxx_try_cpp "$LINENO"; then : 12445 12446else 12447 # Broken: fails on valid input. 12448continue 12449fi 12450rm -f conftest.err conftest.i conftest.$ac_ext 12451 12452 # OK, works on sane cases. Now check whether nonexistent headers 12453 # can be detected and how. 12454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12455/* end confdefs.h. */ 12456@%:@include <ac_nonexistent.h> 12457_ACEOF 12458if ac_fn_cxx_try_cpp "$LINENO"; then : 12459 # Broken: success on invalid input. 12460continue 12461else 12462 # Passes both tests. 12463ac_preproc_ok=: 12464break 12465fi 12466rm -f conftest.err conftest.i conftest.$ac_ext 12467 12468done 12469# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 12470rm -f conftest.i conftest.err conftest.$ac_ext 12471if $ac_preproc_ok; then : 12472 break 12473fi 12474 12475 done 12476 ac_cv_prog_CXXCPP=$CXXCPP 12477 12478fi 12479 CXXCPP=$ac_cv_prog_CXXCPP 12480else 12481 ac_cv_prog_CXXCPP=$CXXCPP 12482fi 12483{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 12484$as_echo "$CXXCPP" >&6; } 12485ac_preproc_ok=false 12486for ac_cxx_preproc_warn_flag in '' yes 12487do 12488 # Use a header file that comes with gcc, so configuring glibc 12489 # with a fresh cross-compiler works. 12490 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12491 # <limits.h> exists even on freestanding compilers. 12492 # On the NeXT, cc -E runs the code through the compiler's parser, 12493 # not just through cpp. "Syntax error" is here to catch this case. 12494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12495/* end confdefs.h. */ 12496@%:@ifdef __STDC__ 12497@%:@ include <limits.h> 12498@%:@else 12499@%:@ include <assert.h> 12500@%:@endif 12501 Syntax error 12502_ACEOF 12503if ac_fn_cxx_try_cpp "$LINENO"; then : 12504 12505else 12506 # Broken: fails on valid input. 12507continue 12508fi 12509rm -f conftest.err conftest.i conftest.$ac_ext 12510 12511 # OK, works on sane cases. Now check whether nonexistent headers 12512 # can be detected and how. 12513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12514/* end confdefs.h. */ 12515@%:@include <ac_nonexistent.h> 12516_ACEOF 12517if ac_fn_cxx_try_cpp "$LINENO"; then : 12518 # Broken: success on invalid input. 12519continue 12520else 12521 # Passes both tests. 12522ac_preproc_ok=: 12523break 12524fi 12525rm -f conftest.err conftest.i conftest.$ac_ext 12526 12527done 12528# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 12529rm -f conftest.i conftest.err conftest.$ac_ext 12530if $ac_preproc_ok; then : 12531 12532else 12533 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12534$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12535as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 12536See \`config.log' for more details" "$LINENO" 5; } 12537fi 12538 12539ac_ext=c 12540ac_cpp='$CPP $CPPFLAGS' 12541ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12542ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12543ac_compiler_gnu=$ac_cv_c_compiler_gnu 12544 12545else 12546 _lt_caught_CXX_error=yes 12547fi 12548 12549ac_ext=cpp 12550ac_cpp='$CXXCPP $CPPFLAGS' 12551ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12552ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12553ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 12554 12555archive_cmds_need_lc_CXX=no 12556allow_undefined_flag_CXX= 12557always_export_symbols_CXX=no 12558archive_expsym_cmds_CXX= 12559compiler_needs_object_CXX=no 12560export_dynamic_flag_spec_CXX= 12561hardcode_direct_CXX=no 12562hardcode_direct_absolute_CXX=no 12563hardcode_libdir_flag_spec_CXX= 12564hardcode_libdir_separator_CXX= 12565hardcode_minus_L_CXX=no 12566hardcode_shlibpath_var_CXX=unsupported 12567hardcode_automatic_CXX=no 12568inherit_rpath_CXX=no 12569module_cmds_CXX= 12570module_expsym_cmds_CXX= 12571link_all_deplibs_CXX=unknown 12572old_archive_cmds_CXX=$old_archive_cmds 12573reload_flag_CXX=$reload_flag 12574reload_cmds_CXX=$reload_cmds 12575no_undefined_flag_CXX= 12576whole_archive_flag_spec_CXX= 12577enable_shared_with_static_runtimes_CXX=no 12578 12579# Source file extension for C++ test sources. 12580ac_ext=cpp 12581 12582# Object file extension for compiled C++ test sources. 12583objext=o 12584objext_CXX=$objext 12585 12586# No sense in running all these tests if we already determined that 12587# the CXX compiler isn't working. Some variables (like enable_shared) 12588# are currently assumed to apply to all compilers on this platform, 12589# and will be corrupted by setting them based on a non-working compiler. 12590if test yes != "$_lt_caught_CXX_error"; then 12591 # Code to be used in simple compile tests 12592 lt_simple_compile_test_code="int some_variable = 0;" 12593 12594 # Code to be used in simple link tests 12595 lt_simple_link_test_code='int main(int, char *[]) { return(0); }' 12596 12597 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 12598 12599 12600 12601 12602 12603 12604# If no C compiler was specified, use CC. 12605LTCC=${LTCC-"$CC"} 12606 12607# If no C compiler flags were specified, use CFLAGS. 12608LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 12609 12610# Allow CC to be a program name with arguments. 12611compiler=$CC 12612 12613 12614 # save warnings/boilerplate of simple test code 12615 ac_outfile=conftest.$ac_objext 12616echo "$lt_simple_compile_test_code" >conftest.$ac_ext 12617eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 12618_lt_compiler_boilerplate=`cat conftest.err` 12619$RM conftest* 12620 12621 ac_outfile=conftest.$ac_objext 12622echo "$lt_simple_link_test_code" >conftest.$ac_ext 12623eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 12624_lt_linker_boilerplate=`cat conftest.err` 12625$RM -r conftest* 12626 12627 12628 # Allow CC to be a program name with arguments. 12629 lt_save_CC=$CC 12630 lt_save_CFLAGS=$CFLAGS 12631 lt_save_LD=$LD 12632 lt_save_GCC=$GCC 12633 GCC=$GXX 12634 lt_save_with_gnu_ld=$with_gnu_ld 12635 lt_save_path_LD=$lt_cv_path_LD 12636 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then 12637 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 12638 else 12639 $as_unset lt_cv_prog_gnu_ld 12640 fi 12641 if test -n "${lt_cv_path_LDCXX+set}"; then 12642 lt_cv_path_LD=$lt_cv_path_LDCXX 12643 else 12644 $as_unset lt_cv_path_LD 12645 fi 12646 test -z "${LDCXX+set}" || LD=$LDCXX 12647 CC=${CXX-"c++"} 12648 CFLAGS=$CXXFLAGS 12649 compiler=$CC 12650 compiler_CXX=$CC 12651 func_cc_basename $compiler 12652cc_basename=$func_cc_basename_result 12653 12654 12655 if test -n "$compiler"; then 12656 # We don't want -fno-exception when compiling C++ code, so set the 12657 # no_builtin_flag separately 12658 if test yes = "$GXX"; then 12659 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' 12660 else 12661 lt_prog_compiler_no_builtin_flag_CXX= 12662 fi 12663 12664 if test yes = "$GXX"; then 12665 # Set up default GNU C++ configuration 12666 12667 12668 12669@%:@ Check whether --with-gnu-ld was given. 12670if test "${with_gnu_ld+set}" = set; then : 12671 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 12672else 12673 with_gnu_ld=no 12674fi 12675 12676ac_prog=ld 12677if test yes = "$GCC"; then 12678 # Check if gcc -print-prog-name=ld gives a path. 12679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 12680$as_echo_n "checking for ld used by $CC... " >&6; } 12681 case $host in 12682 *-*-mingw*) 12683 # gcc leaves a trailing carriage return, which upsets mingw 12684 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 12685 *) 12686 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 12687 esac 12688 case $ac_prog in 12689 # Accept absolute paths. 12690 [\\/]* | ?:[\\/]*) 12691 re_direlt='/[^/][^/]*/\.\./' 12692 # Canonicalize the pathname of ld 12693 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 12694 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 12695 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 12696 done 12697 test -z "$LD" && LD=$ac_prog 12698 ;; 12699 "") 12700 # If it fails, then pretend we aren't using GCC. 12701 ac_prog=ld 12702 ;; 12703 *) 12704 # If it is relative, then search for the first ld in PATH. 12705 with_gnu_ld=unknown 12706 ;; 12707 esac 12708elif test yes = "$with_gnu_ld"; then 12709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 12710$as_echo_n "checking for GNU ld... " >&6; } 12711else 12712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 12713$as_echo_n "checking for non-GNU ld... " >&6; } 12714fi 12715if ${lt_cv_path_LD+:} false; then : 12716 $as_echo_n "(cached) " >&6 12717else 12718 if test -z "$LD"; then 12719 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 12720 for ac_dir in $PATH; do 12721 IFS=$lt_save_ifs 12722 test -z "$ac_dir" && ac_dir=. 12723 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 12724 lt_cv_path_LD=$ac_dir/$ac_prog 12725 # Check to see if the program is GNU ld. I'd rather use --version, 12726 # but apparently some variants of GNU ld only accept -v. 12727 # Break only if it was the GNU/non-GNU ld that we prefer. 12728 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 12729 *GNU* | *'with BFD'*) 12730 test no != "$with_gnu_ld" && break 12731 ;; 12732 *) 12733 test yes != "$with_gnu_ld" && break 12734 ;; 12735 esac 12736 fi 12737 done 12738 IFS=$lt_save_ifs 12739else 12740 lt_cv_path_LD=$LD # Let the user override the test with a path. 12741fi 12742fi 12743 12744LD=$lt_cv_path_LD 12745if test -n "$LD"; then 12746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 12747$as_echo "$LD" >&6; } 12748else 12749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12750$as_echo "no" >&6; } 12751fi 12752test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 12753{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 12754$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 12755if ${lt_cv_prog_gnu_ld+:} false; then : 12756 $as_echo_n "(cached) " >&6 12757else 12758 # I'd rather use --version here, but apparently some GNU lds only accept -v. 12759case `$LD -v 2>&1 </dev/null` in 12760*GNU* | *'with BFD'*) 12761 lt_cv_prog_gnu_ld=yes 12762 ;; 12763*) 12764 lt_cv_prog_gnu_ld=no 12765 ;; 12766esac 12767fi 12768{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 12769$as_echo "$lt_cv_prog_gnu_ld" >&6; } 12770with_gnu_ld=$lt_cv_prog_gnu_ld 12771 12772 12773 12774 12775 12776 12777 12778 # Check if GNU C++ uses GNU ld as the underlying linker, since the 12779 # archiving commands below assume that GNU ld is being used. 12780 if test yes = "$with_gnu_ld"; then 12781 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 12782 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 12783 12784 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 12785 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 12786 12787 # If archive_cmds runs LD, not CC, wlarc should be empty 12788 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to 12789 # investigate it a little bit more. (MM) 12790 wlarc='$wl' 12791 12792 # ancient GNU ld didn't support --whole-archive et. al. 12793 if eval "`$CC -print-prog-name=ld` --help 2>&1" | 12794 $GREP 'no-whole-archive' > /dev/null; then 12795 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 12796 else 12797 whole_archive_flag_spec_CXX= 12798 fi 12799 else 12800 with_gnu_ld=no 12801 wlarc= 12802 12803 # A generic and very simple default shared library creation 12804 # command for GNU C++ for the case where it uses the native 12805 # linker, instead of GNU ld. If possible, this setting should 12806 # overridden to take advantage of the native linker features on 12807 # the platform it is being used on. 12808 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 12809 fi 12810 12811 # Commands to make compiler produce verbose output that lists 12812 # what "hidden" libraries, object files and flags are used when 12813 # linking a shared library. 12814 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"' 12815 12816 else 12817 GXX=no 12818 with_gnu_ld=no 12819 wlarc= 12820 fi 12821 12822 # PORTME: fill in a description of your system's C++ link characteristics 12823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 12824$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 12825 ld_shlibs_CXX=yes 12826 case $host_os in 12827 aix3*) 12828 # FIXME: insert proper C++ library support 12829 ld_shlibs_CXX=no 12830 ;; 12831 aix[4-9]*) 12832 if test ia64 = "$host_cpu"; then 12833 # On IA64, the linker does run time linking by default, so we don't 12834 # have to do anything special. 12835 aix_use_runtimelinking=no 12836 exp_sym_flag='-Bexport' 12837 no_entry_flag= 12838 else 12839 aix_use_runtimelinking=no 12840 12841 # Test if we are trying to use run time linking or normal 12842 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 12843 # have runtime linking enabled, and use it for executables. 12844 # For shared libraries, we enable/disable runtime linking 12845 # depending on the kind of the shared library created - 12846 # when "with_aix_soname,aix_use_runtimelinking" is: 12847 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 12848 # "aix,yes" lib.so shared, rtl:yes, for executables 12849 # lib.a static archive 12850 # "both,no" lib.so.V(shr.o) shared, rtl:yes 12851 # lib.a(lib.so.V) shared, rtl:no, for executables 12852 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 12853 # lib.a(lib.so.V) shared, rtl:no 12854 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 12855 # lib.a static archive 12856 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 12857 for ld_flag in $LDFLAGS; do 12858 case $ld_flag in 12859 *-brtl*) 12860 aix_use_runtimelinking=yes 12861 break 12862 ;; 12863 esac 12864 done 12865 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 12866 # With aix-soname=svr4, we create the lib.so.V shared archives only, 12867 # so we don't have lib.a shared libs to link our executables. 12868 # We have to force runtime linking in this case. 12869 aix_use_runtimelinking=yes 12870 LDFLAGS="$LDFLAGS -Wl,-brtl" 12871 fi 12872 ;; 12873 esac 12874 12875 exp_sym_flag='-bexport' 12876 no_entry_flag='-bnoentry' 12877 fi 12878 12879 # When large executables or shared objects are built, AIX ld can 12880 # have problems creating the table of contents. If linking a library 12881 # or program results in "error TOC overflow" add -mminimal-toc to 12882 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 12883 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 12884 12885 archive_cmds_CXX='' 12886 hardcode_direct_CXX=yes 12887 hardcode_direct_absolute_CXX=yes 12888 hardcode_libdir_separator_CXX=':' 12889 link_all_deplibs_CXX=yes 12890 file_list_spec_CXX='$wl-f,' 12891 case $with_aix_soname,$aix_use_runtimelinking in 12892 aix,*) ;; # no import file 12893 svr4,* | *,yes) # use import file 12894 # The Import File defines what to hardcode. 12895 hardcode_direct_CXX=no 12896 hardcode_direct_absolute_CXX=no 12897 ;; 12898 esac 12899 12900 if test yes = "$GXX"; then 12901 case $host_os in aix4.[012]|aix4.[012].*) 12902 # We only want to do this on AIX 4.2 and lower, the check 12903 # below for broken collect2 doesn't work under 4.3+ 12904 collect2name=`$CC -print-prog-name=collect2` 12905 if test -f "$collect2name" && 12906 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 12907 then 12908 # We have reworked collect2 12909 : 12910 else 12911 # We have old collect2 12912 hardcode_direct_CXX=unsupported 12913 # It fails to find uninstalled libraries when the uninstalled 12914 # path is not listed in the libpath. Setting hardcode_minus_L 12915 # to unsupported forces relinking 12916 hardcode_minus_L_CXX=yes 12917 hardcode_libdir_flag_spec_CXX='-L$libdir' 12918 hardcode_libdir_separator_CXX= 12919 fi 12920 esac 12921 shared_flag='-shared' 12922 if test yes = "$aix_use_runtimelinking"; then 12923 shared_flag=$shared_flag' $wl-G' 12924 fi 12925 # Need to ensure runtime linking is disabled for the traditional 12926 # shared library, or the linker may eventually find shared libraries 12927 # /with/ Import File - we do not want to mix them. 12928 shared_flag_aix='-shared' 12929 shared_flag_svr4='-shared $wl-G' 12930 else 12931 # not using gcc 12932 if test ia64 = "$host_cpu"; then 12933 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 12934 # chokes on -Wl,-G. The following line is correct: 12935 shared_flag='-G' 12936 else 12937 if test yes = "$aix_use_runtimelinking"; then 12938 shared_flag='$wl-G' 12939 else 12940 shared_flag='$wl-bM:SRE' 12941 fi 12942 shared_flag_aix='$wl-bM:SRE' 12943 shared_flag_svr4='$wl-G' 12944 fi 12945 fi 12946 12947 export_dynamic_flag_spec_CXX='$wl-bexpall' 12948 # It seems that -bexpall does not export symbols beginning with 12949 # underscore (_), so it is better to generate a list of symbols to 12950 # export. 12951 always_export_symbols_CXX=yes 12952 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 12953 # Warning - without using the other runtime loading flags (-brtl), 12954 # -berok will link without error, but may produce a broken library. 12955 # The "-G" linker flag allows undefined symbols. 12956 no_undefined_flag_CXX='-bernotok' 12957 # Determine the default libpath from the value encoded in an empty 12958 # executable. 12959 if test set = "${lt_cv_aix_libpath+set}"; then 12960 aix_libpath=$lt_cv_aix_libpath 12961else 12962 if ${lt_cv_aix_libpath__CXX+:} false; then : 12963 $as_echo_n "(cached) " >&6 12964else 12965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12966/* end confdefs.h. */ 12967 12968int 12969main () 12970{ 12971 12972 ; 12973 return 0; 12974} 12975_ACEOF 12976if ac_fn_cxx_try_link "$LINENO"; then : 12977 12978 lt_aix_libpath_sed=' 12979 /Import File Strings/,/^$/ { 12980 /^0/ { 12981 s/^0 *\([^ ]*\) *$/\1/ 12982 p 12983 } 12984 }' 12985 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 12986 # Check for a 64-bit object if we didn't find anything. 12987 if test -z "$lt_cv_aix_libpath__CXX"; then 12988 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 12989 fi 12990fi 12991rm -f core conftest.err conftest.$ac_objext \ 12992 conftest$ac_exeext conftest.$ac_ext 12993 if test -z "$lt_cv_aix_libpath__CXX"; then 12994 lt_cv_aix_libpath__CXX=/usr/lib:/lib 12995 fi 12996 12997fi 12998 12999 aix_libpath=$lt_cv_aix_libpath__CXX 13000fi 13001 13002 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" 13003 13004 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag 13005 else 13006 if test ia64 = "$host_cpu"; then 13007 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib' 13008 allow_undefined_flag_CXX="-z nodefs" 13009 archive_expsym_cmds_CXX="\$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" 13010 else 13011 # Determine the default libpath from the value encoded in an 13012 # empty executable. 13013 if test set = "${lt_cv_aix_libpath+set}"; then 13014 aix_libpath=$lt_cv_aix_libpath 13015else 13016 if ${lt_cv_aix_libpath__CXX+:} false; then : 13017 $as_echo_n "(cached) " >&6 13018else 13019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13020/* end confdefs.h. */ 13021 13022int 13023main () 13024{ 13025 13026 ; 13027 return 0; 13028} 13029_ACEOF 13030if ac_fn_cxx_try_link "$LINENO"; then : 13031 13032 lt_aix_libpath_sed=' 13033 /Import File Strings/,/^$/ { 13034 /^0/ { 13035 s/^0 *\([^ ]*\) *$/\1/ 13036 p 13037 } 13038 }' 13039 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 13040 # Check for a 64-bit object if we didn't find anything. 13041 if test -z "$lt_cv_aix_libpath__CXX"; then 13042 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 13043 fi 13044fi 13045rm -f core conftest.err conftest.$ac_objext \ 13046 conftest$ac_exeext conftest.$ac_ext 13047 if test -z "$lt_cv_aix_libpath__CXX"; then 13048 lt_cv_aix_libpath__CXX=/usr/lib:/lib 13049 fi 13050 13051fi 13052 13053 aix_libpath=$lt_cv_aix_libpath__CXX 13054fi 13055 13056 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" 13057 # Warning - without using the other run time loading flags, 13058 # -berok will link without error, but may produce a broken library. 13059 no_undefined_flag_CXX=' $wl-bernotok' 13060 allow_undefined_flag_CXX=' $wl-berok' 13061 if test yes = "$with_gnu_ld"; then 13062 # We only use this code for GNU lds that support --whole-archive. 13063 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' 13064 else 13065 # Exported symbols can be pulled into shared objects from archives 13066 whole_archive_flag_spec_CXX='$convenience' 13067 fi 13068 archive_cmds_need_lc_CXX=yes 13069 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 13070 # -brtl affects multiple linker settings, -berok does not and is overridden later 13071 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 13072 if test svr4 != "$with_aix_soname"; then 13073 # This is similar to how AIX traditionally builds its shared 13074 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS. 13075 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' 13076 fi 13077 if test aix != "$with_aix_soname"; then 13078 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' 13079 else 13080 # used by -dlpreopen to get the symbols 13081 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 13082 fi 13083 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d' 13084 fi 13085 fi 13086 ;; 13087 13088 beos*) 13089 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 13090 allow_undefined_flag_CXX=unsupported 13091 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 13092 # support --undefined. This deserves some investigation. FIXME 13093 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 13094 else 13095 ld_shlibs_CXX=no 13096 fi 13097 ;; 13098 13099 chorus*) 13100 case $cc_basename in 13101 *) 13102 # FIXME: insert proper C++ library support 13103 ld_shlibs_CXX=no 13104 ;; 13105 esac 13106 ;; 13107 13108 cygwin* | mingw* | pw32* | cegcc*) 13109 case $GXX,$cc_basename in 13110 ,cl* | no,cl*) 13111 # Native MSVC 13112 # hardcode_libdir_flag_spec is actually meaningless, as there is 13113 # no search path for DLLs. 13114 hardcode_libdir_flag_spec_CXX=' ' 13115 allow_undefined_flag_CXX=unsupported 13116 always_export_symbols_CXX=yes 13117 file_list_spec_CXX='@' 13118 # Tell ltmain to make .lib files, not .a files. 13119 libext=lib 13120 # Tell ltmain to make .dll files, not .so files. 13121 shrext_cmds=.dll 13122 # FIXME: Setting linknames here is a bad hack. 13123 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 13124 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 13125 cp "$export_symbols" "$output_objdir/$soname.def"; 13126 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 13127 else 13128 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 13129 fi~ 13130 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 13131 linknames=' 13132 # The linker will not automatically build a static lib if we build a DLL. 13133 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true' 13134 enable_shared_with_static_runtimes_CXX=yes 13135 # Don't use ranlib 13136 old_postinstall_cmds_CXX='chmod 644 $oldlib' 13137 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~ 13138 lt_tool_outputfile="@TOOL_OUTPUT@"~ 13139 case $lt_outputfile in 13140 *.exe|*.EXE) ;; 13141 *) 13142 lt_outputfile=$lt_outputfile.exe 13143 lt_tool_outputfile=$lt_tool_outputfile.exe 13144 ;; 13145 esac~ 13146 func_to_tool_file "$lt_outputfile"~ 13147 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 13148 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 13149 $RM "$lt_outputfile.manifest"; 13150 fi' 13151 ;; 13152 *) 13153 # g++ 13154 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, 13155 # as there is no search path for DLLs. 13156 hardcode_libdir_flag_spec_CXX='-L$libdir' 13157 export_dynamic_flag_spec_CXX='$wl--export-all-symbols' 13158 allow_undefined_flag_CXX=unsupported 13159 always_export_symbols_CXX=no 13160 enable_shared_with_static_runtimes_CXX=yes 13161 13162 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 13163 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 13164 # If the export-symbols file already is a .def file, use it as 13165 # is; otherwise, prepend EXPORTS... 13166 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 13167 cp $export_symbols $output_objdir/$soname.def; 13168 else 13169 echo EXPORTS > $output_objdir/$soname.def; 13170 cat $export_symbols >> $output_objdir/$soname.def; 13171 fi~ 13172 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 13173 else 13174 ld_shlibs_CXX=no 13175 fi 13176 ;; 13177 esac 13178 ;; 13179 darwin* | rhapsody*) 13180 13181 13182 archive_cmds_need_lc_CXX=no 13183 hardcode_direct_CXX=no 13184 hardcode_automatic_CXX=yes 13185 hardcode_shlibpath_var_CXX=unsupported 13186 if test yes = "$lt_cv_ld_force_load"; then 13187 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' 13188 13189 else 13190 whole_archive_flag_spec_CXX='' 13191 fi 13192 link_all_deplibs_CXX=yes 13193 allow_undefined_flag_CXX=$_lt_dar_allow_undefined 13194 case $cc_basename in 13195 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 13196 *) _lt_dar_can_shared=$GCC ;; 13197 esac 13198 if test yes = "$_lt_dar_can_shared"; then 13199 output_verbose_link_cmd=func_echo_all 13200 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 13201 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 13202 archive_expsym_cmds_CXX="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" 13203 module_expsym_cmds_CXX="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" 13204 if test yes != "$lt_cv_apple_cc_single_mod"; then 13205 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil" 13206 archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil" 13207 fi 13208 13209 else 13210 ld_shlibs_CXX=no 13211 fi 13212 13213 ;; 13214 13215 os2*) 13216 hardcode_libdir_flag_spec_CXX='-L$libdir' 13217 hardcode_minus_L_CXX=yes 13218 allow_undefined_flag_CXX=unsupported 13219 shrext_cmds=.dll 13220 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 13221 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 13222 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 13223 $ECHO EXPORTS >> $output_objdir/$libname.def~ 13224 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 13225 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 13226 emximp -o $lib $output_objdir/$libname.def' 13227 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 13228 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 13229 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 13230 $ECHO EXPORTS >> $output_objdir/$libname.def~ 13231 prefix_cmds="$SED"~ 13232 if test EXPORTS = "`$SED 1q $export_symbols`"; then 13233 prefix_cmds="$prefix_cmds -e 1d"; 13234 fi~ 13235 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 13236 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 13237 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 13238 emximp -o $lib $output_objdir/$libname.def' 13239 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 13240 enable_shared_with_static_runtimes_CXX=yes 13241 ;; 13242 13243 dgux*) 13244 case $cc_basename in 13245 ec++*) 13246 # FIXME: insert proper C++ library support 13247 ld_shlibs_CXX=no 13248 ;; 13249 ghcx*) 13250 # Green Hills C++ Compiler 13251 # FIXME: insert proper C++ library support 13252 ld_shlibs_CXX=no 13253 ;; 13254 *) 13255 # FIXME: insert proper C++ library support 13256 ld_shlibs_CXX=no 13257 ;; 13258 esac 13259 ;; 13260 13261 freebsd2.*) 13262 # C++ shared libraries reported to be fairly broken before 13263 # switch to ELF 13264 ld_shlibs_CXX=no 13265 ;; 13266 13267 freebsd-elf*) 13268 archive_cmds_need_lc_CXX=no 13269 ;; 13270 13271 freebsd* | dragonfly*) 13272 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 13273 # conventions 13274 ld_shlibs_CXX=yes 13275 ;; 13276 13277 haiku*) 13278 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 13279 link_all_deplibs_CXX=yes 13280 ;; 13281 13282 hpux9*) 13283 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' 13284 hardcode_libdir_separator_CXX=: 13285 export_dynamic_flag_spec_CXX='$wl-E' 13286 hardcode_direct_CXX=yes 13287 hardcode_minus_L_CXX=yes # Not in the search PATH, 13288 # but as the default 13289 # location of the library. 13290 13291 case $cc_basename in 13292 CC*) 13293 # FIXME: insert proper C++ library support 13294 ld_shlibs_CXX=no 13295 ;; 13296 aCC*) 13297 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 13298 # Commands to make compiler produce verbose output that lists 13299 # what "hidden" libraries, object files and flags are used when 13300 # linking a shared library. 13301 # 13302 # There doesn't appear to be a way to prevent this compiler from 13303 # explicitly linking system object files so we need to strip them 13304 # from the output so that they don't get included in the library 13305 # dependencies. 13306 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP " \-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 13307 ;; 13308 *) 13309 if test yes = "$GXX"; then 13310 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 13311 else 13312 # FIXME: insert proper C++ library support 13313 ld_shlibs_CXX=no 13314 fi 13315 ;; 13316 esac 13317 ;; 13318 13319 hpux10*|hpux11*) 13320 if test no = "$with_gnu_ld"; then 13321 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' 13322 hardcode_libdir_separator_CXX=: 13323 13324 case $host_cpu in 13325 hppa*64*|ia64*) 13326 ;; 13327 *) 13328 export_dynamic_flag_spec_CXX='$wl-E' 13329 ;; 13330 esac 13331 fi 13332 case $host_cpu in 13333 hppa*64*|ia64*) 13334 hardcode_direct_CXX=no 13335 hardcode_shlibpath_var_CXX=no 13336 ;; 13337 *) 13338 hardcode_direct_CXX=yes 13339 hardcode_direct_absolute_CXX=yes 13340 hardcode_minus_L_CXX=yes # Not in the search PATH, 13341 # but as the default 13342 # location of the library. 13343 ;; 13344 esac 13345 13346 case $cc_basename in 13347 CC*) 13348 # FIXME: insert proper C++ library support 13349 ld_shlibs_CXX=no 13350 ;; 13351 aCC*) 13352 case $host_cpu in 13353 hppa*64*) 13354 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13355 ;; 13356 ia64*) 13357 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13358 ;; 13359 *) 13360 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13361 ;; 13362 esac 13363 # Commands to make compiler produce verbose output that lists 13364 # what "hidden" libraries, object files and flags are used when 13365 # linking a shared library. 13366 # 13367 # There doesn't appear to be a way to prevent this compiler from 13368 # explicitly linking system object files so we need to strip them 13369 # from the output so that they don't get included in the library 13370 # dependencies. 13371 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP " \-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 13372 ;; 13373 *) 13374 if test yes = "$GXX"; then 13375 if test no = "$with_gnu_ld"; then 13376 case $host_cpu in 13377 hppa*64*) 13378 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13379 ;; 13380 ia64*) 13381 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13382 ;; 13383 *) 13384 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13385 ;; 13386 esac 13387 fi 13388 else 13389 # FIXME: insert proper C++ library support 13390 ld_shlibs_CXX=no 13391 fi 13392 ;; 13393 esac 13394 ;; 13395 13396 interix[3-9]*) 13397 hardcode_direct_CXX=no 13398 hardcode_shlibpath_var_CXX=no 13399 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 13400 export_dynamic_flag_spec_CXX='$wl-E' 13401 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 13402 # Instead, shared libraries are loaded at an image base (0x10000000 by 13403 # default) and relocated if they conflict, which is a slow very memory 13404 # consuming and fragmenting process. To avoid this, we pick a random, 13405 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 13406 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 13407 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 13408 archive_expsym_cmds_CXX='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' 13409 ;; 13410 irix5* | irix6*) 13411 case $cc_basename in 13412 CC*) 13413 # SGI C++ 13414 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' 13415 13416 # Archives containing C++ object files must be created using 13417 # "CC -ar", where "CC" is the IRIX C++ compiler. This is 13418 # necessary to make sure instantiated templates are included 13419 # in the archive. 13420 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' 13421 ;; 13422 *) 13423 if test yes = "$GXX"; then 13424 if test no = "$with_gnu_ld"; then 13425 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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' 13426 else 13427 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib' 13428 fi 13429 fi 13430 link_all_deplibs_CXX=yes 13431 ;; 13432 esac 13433 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 13434 hardcode_libdir_separator_CXX=: 13435 inherit_rpath_CXX=yes 13436 ;; 13437 13438 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 13439 case $cc_basename in 13440 KCC*) 13441 # Kuck and Associates, Inc. (KAI) C++ Compiler 13442 13443 # KCC will only create a shared library if the output file 13444 # ends with ".so" (or ".sl" for HP-UX), so rename the library 13445 # to its proper name (with version) after linking. 13446 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 13447 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib' 13448 # Commands to make compiler produce verbose output that lists 13449 # what "hidden" libraries, object files and flags are used when 13450 # linking a shared library. 13451 # 13452 # There doesn't appear to be a way to prevent this compiler from 13453 # explicitly linking system object files so we need to strip them 13454 # from the output so that they don't get included in the library 13455 # dependencies. 13456 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 13457 13458 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 13459 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 13460 13461 # Archives containing C++ object files must be created using 13462 # "CC -Bstatic", where "CC" is the KAI C++ compiler. 13463 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' 13464 ;; 13465 icpc* | ecpc* ) 13466 # Intel C++ 13467 with_gnu_ld=yes 13468 # version 8.0 and above of icpc choke on multiply defined symbols 13469 # if we add $predep_objects and $postdep_objects, however 7.1 and 13470 # earlier do not add the objects themselves. 13471 case `$CC -V 2>&1` in 13472 *"Version 7."*) 13473 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 13474 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 13475 ;; 13476 *) # Version 8.0 or newer 13477 tmp_idyn= 13478 case $host_cpu in 13479 ia64*) tmp_idyn=' -i_dynamic';; 13480 esac 13481 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 13482 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 13483 ;; 13484 esac 13485 archive_cmds_need_lc_CXX=no 13486 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 13487 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 13488 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' 13489 ;; 13490 pgCC* | pgcpp*) 13491 # Portland Group C++ compiler 13492 case `$CC -V` in 13493 *pgCC\ [1-5].* | *pgcpp\ [1-5].*) 13494 prelink_cmds_CXX='tpldir=Template.dir~ 13495 rm -rf $tpldir~ 13496 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ 13497 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' 13498 old_archive_cmds_CXX='tpldir=Template.dir~ 13499 rm -rf $tpldir~ 13500 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ 13501 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ 13502 $RANLIB $oldlib' 13503 archive_cmds_CXX='tpldir=Template.dir~ 13504 rm -rf $tpldir~ 13505 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 13506 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 13507 archive_expsym_cmds_CXX='tpldir=Template.dir~ 13508 rm -rf $tpldir~ 13509 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 13510 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 13511 ;; 13512 *) # Version 6 and above use weak symbols 13513 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 13514 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 13515 ;; 13516 esac 13517 13518 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir' 13519 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 13520 whole_archive_flag_spec_CXX='$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' 13521 ;; 13522 cxx*) 13523 # Compaq C++ 13524 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 13525 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols' 13526 13527 runpath_var=LD_RUN_PATH 13528 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 13529 hardcode_libdir_separator_CXX=: 13530 13531 # Commands to make compiler produce verbose output that lists 13532 # what "hidden" libraries, object files and flags are used when 13533 # linking a shared library. 13534 # 13535 # There doesn't appear to be a way to prevent this compiler from 13536 # explicitly linking system object files so we need to strip them 13537 # from the output so that they don't get included in the library 13538 # dependencies. 13539 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed' 13540 ;; 13541 xl* | mpixl* | bgxl*) 13542 # IBM XL 8.0 on PPC, with GNU ld 13543 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 13544 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 13545 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 13546 if test yes = "$supports_anon_versioning"; then 13547 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ 13548 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 13549 echo "local: *; };" >> $output_objdir/$libname.ver~ 13550 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 13551 fi 13552 ;; 13553 *) 13554 case `$CC -V 2>&1 | sed 5q` in 13555 *Sun\ C*) 13556 # Sun C++ 5.9 13557 no_undefined_flag_CXX=' -zdefs' 13558 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13559 archive_expsym_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols' 13560 hardcode_libdir_flag_spec_CXX='-R$libdir' 13561 whole_archive_flag_spec_CXX='$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' 13562 compiler_needs_object_CXX=yes 13563 13564 # Not sure whether something based on 13565 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 13566 # would be better. 13567 output_verbose_link_cmd='func_echo_all' 13568 13569 # Archives containing C++ object files must be created using 13570 # "CC -xar", where "CC" is the Sun C++ compiler. This is 13571 # necessary to make sure instantiated templates are included 13572 # in the archive. 13573 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 13574 ;; 13575 esac 13576 ;; 13577 esac 13578 ;; 13579 13580 lynxos*) 13581 # FIXME: insert proper C++ library support 13582 ld_shlibs_CXX=no 13583 ;; 13584 13585 m88k*) 13586 # FIXME: insert proper C++ library support 13587 ld_shlibs_CXX=no 13588 ;; 13589 13590 mvs*) 13591 case $cc_basename in 13592 cxx*) 13593 # FIXME: insert proper C++ library support 13594 ld_shlibs_CXX=no 13595 ;; 13596 *) 13597 # FIXME: insert proper C++ library support 13598 ld_shlibs_CXX=no 13599 ;; 13600 esac 13601 ;; 13602 13603 netbsd*) 13604 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 13605 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 13606 wlarc= 13607 hardcode_libdir_flag_spec_CXX='-R$libdir' 13608 hardcode_direct_CXX=yes 13609 hardcode_shlibpath_var_CXX=no 13610 fi 13611 # Workaround some broken pre-1.5 toolchains 13612 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 13613 ;; 13614 13615 *nto* | *qnx*) 13616 ld_shlibs_CXX=yes 13617 ;; 13618 13619 openbsd* | bitrig*) 13620 if test -f /usr/libexec/ld.so; then 13621 hardcode_direct_CXX=yes 13622 hardcode_shlibpath_var_CXX=no 13623 hardcode_direct_absolute_CXX=yes 13624 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 13625 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 13626 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then 13627 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib' 13628 export_dynamic_flag_spec_CXX='$wl-E' 13629 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 13630 fi 13631 output_verbose_link_cmd=func_echo_all 13632 else 13633 ld_shlibs_CXX=no 13634 fi 13635 ;; 13636 13637 osf3* | osf4* | osf5*) 13638 case $cc_basename in 13639 KCC*) 13640 # Kuck and Associates, Inc. (KAI) C++ Compiler 13641 13642 # KCC will only create a shared library if the output file 13643 # ends with ".so" (or ".sl" for HP-UX), so rename the library 13644 # to its proper name (with version) after linking. 13645 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 13646 13647 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 13648 hardcode_libdir_separator_CXX=: 13649 13650 # Archives containing C++ object files must be created using 13651 # the KAI C++ compiler. 13652 case $host in 13653 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; 13654 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; 13655 esac 13656 ;; 13657 RCC*) 13658 # Rational C++ 2.4.1 13659 # FIXME: insert proper C++ library support 13660 ld_shlibs_CXX=no 13661 ;; 13662 cxx*) 13663 case $host in 13664 osf3*) 13665 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' 13666 archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' 13667 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 13668 ;; 13669 *) 13670 allow_undefined_flag_CXX=' -expect_unresolved \*' 13671 archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' 13672 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 13673 echo "-hidden">> $lib.exp~ 13674 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~ 13675 $RM $lib.exp' 13676 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 13677 ;; 13678 esac 13679 13680 hardcode_libdir_separator_CXX=: 13681 13682 # Commands to make compiler produce verbose output that lists 13683 # what "hidden" libraries, object files and flags are used when 13684 # linking a shared library. 13685 # 13686 # There doesn't appear to be a way to prevent this compiler from 13687 # explicitly linking system object files so we need to strip them 13688 # from the output so that they don't get included in the library 13689 # dependencies. 13690 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 13691 ;; 13692 *) 13693 if test yes,no = "$GXX,$with_gnu_ld"; then 13694 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' 13695 case $host in 13696 osf3*) 13697 archive_cmds_CXX='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $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' 13698 ;; 13699 *) 13700 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $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' 13701 ;; 13702 esac 13703 13704 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 13705 hardcode_libdir_separator_CXX=: 13706 13707 # Commands to make compiler produce verbose output that lists 13708 # what "hidden" libraries, object files and flags are used when 13709 # linking a shared library. 13710 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"' 13711 13712 else 13713 # FIXME: insert proper C++ library support 13714 ld_shlibs_CXX=no 13715 fi 13716 ;; 13717 esac 13718 ;; 13719 13720 psos*) 13721 # FIXME: insert proper C++ library support 13722 ld_shlibs_CXX=no 13723 ;; 13724 13725 sunos4*) 13726 case $cc_basename in 13727 CC*) 13728 # Sun C++ 4.x 13729 # FIXME: insert proper C++ library support 13730 ld_shlibs_CXX=no 13731 ;; 13732 lcc*) 13733 # Lucid 13734 # FIXME: insert proper C++ library support 13735 ld_shlibs_CXX=no 13736 ;; 13737 *) 13738 # FIXME: insert proper C++ library support 13739 ld_shlibs_CXX=no 13740 ;; 13741 esac 13742 ;; 13743 13744 solaris*) 13745 case $cc_basename in 13746 CC* | sunCC*) 13747 # Sun C++ 4.2, 5.x and Centerline C++ 13748 archive_cmds_need_lc_CXX=yes 13749 no_undefined_flag_CXX=' -zdefs' 13750 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13751 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 13752 $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 13753 13754 hardcode_libdir_flag_spec_CXX='-R$libdir' 13755 hardcode_shlibpath_var_CXX=no 13756 case $host_os in 13757 solaris2.[0-5] | solaris2.[0-5].*) ;; 13758 *) 13759 # The compiler driver will combine and reorder linker options, 13760 # but understands '-z linker_flag'. 13761 # Supported since Solaris 2.6 (maybe 2.5.1?) 13762 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' 13763 ;; 13764 esac 13765 link_all_deplibs_CXX=yes 13766 13767 output_verbose_link_cmd='func_echo_all' 13768 13769 # Archives containing C++ object files must be created using 13770 # "CC -xar", where "CC" is the Sun C++ compiler. This is 13771 # necessary to make sure instantiated templates are included 13772 # in the archive. 13773 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 13774 ;; 13775 gcx*) 13776 # Green Hills C++ Compiler 13777 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 13778 13779 # The C++ compiler must be used to create the archive. 13780 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' 13781 ;; 13782 *) 13783 # GNU C++ compiler with Solaris linker 13784 if test yes,no = "$GXX,$with_gnu_ld"; then 13785 no_undefined_flag_CXX=' $wl-z ${wl}defs' 13786 if $CC --version | $GREP -v '^2\.7' > /dev/null; then 13787 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 13788 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 13789 $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 13790 13791 # Commands to make compiler produce verbose output that lists 13792 # what "hidden" libraries, object files and flags are used when 13793 # linking a shared library. 13794 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"' 13795 else 13796 # g++ 2.7 appears to require '-G' NOT '-shared' on this 13797 # platform. 13798 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 13799 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 13800 $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 13801 13802 # Commands to make compiler produce verbose output that lists 13803 # what "hidden" libraries, object files and flags are used when 13804 # linking a shared library. 13805 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"' 13806 fi 13807 13808 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir' 13809 case $host_os in 13810 solaris2.[0-5] | solaris2.[0-5].*) ;; 13811 *) 13812 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 13813 ;; 13814 esac 13815 fi 13816 ;; 13817 esac 13818 ;; 13819 13820 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 13821 no_undefined_flag_CXX='$wl-z,text' 13822 archive_cmds_need_lc_CXX=no 13823 hardcode_shlibpath_var_CXX=no 13824 runpath_var='LD_RUN_PATH' 13825 13826 case $cc_basename in 13827 CC*) 13828 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13829 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13830 ;; 13831 *) 13832 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13833 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13834 ;; 13835 esac 13836 ;; 13837 13838 sysv5* | sco3.2v5* | sco5v6*) 13839 # Note: We CANNOT use -z defs as we might desire, because we do not 13840 # link with -lc, and that would cause any symbols used from libc to 13841 # always be unresolved, which means just about no library would 13842 # ever link correctly. If we're not using GNU ld we use -z text 13843 # though, which does catch some bad symbols but isn't as heavy-handed 13844 # as -z defs. 13845 no_undefined_flag_CXX='$wl-z,text' 13846 allow_undefined_flag_CXX='$wl-z,nodefs' 13847 archive_cmds_need_lc_CXX=no 13848 hardcode_shlibpath_var_CXX=no 13849 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir' 13850 hardcode_libdir_separator_CXX=':' 13851 link_all_deplibs_CXX=yes 13852 export_dynamic_flag_spec_CXX='$wl-Bexport' 13853 runpath_var='LD_RUN_PATH' 13854 13855 case $cc_basename in 13856 CC*) 13857 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13858 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13859 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~ 13860 '"$old_archive_cmds_CXX" 13861 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~ 13862 '"$reload_cmds_CXX" 13863 ;; 13864 *) 13865 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13866 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13867 ;; 13868 esac 13869 ;; 13870 13871 tandem*) 13872 case $cc_basename in 13873 NCC*) 13874 # NonStop-UX NCC 3.20 13875 # FIXME: insert proper C++ library support 13876 ld_shlibs_CXX=no 13877 ;; 13878 *) 13879 # FIXME: insert proper C++ library support 13880 ld_shlibs_CXX=no 13881 ;; 13882 esac 13883 ;; 13884 13885 vxworks*) 13886 # FIXME: insert proper C++ library support 13887 ld_shlibs_CXX=no 13888 ;; 13889 13890 *) 13891 # FIXME: insert proper C++ library support 13892 ld_shlibs_CXX=no 13893 ;; 13894 esac 13895 13896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 13897$as_echo "$ld_shlibs_CXX" >&6; } 13898 test no = "$ld_shlibs_CXX" && can_build_shared=no 13899 13900 GCC_CXX=$GXX 13901 LD_CXX=$LD 13902 13903 ## CAVEAT EMPTOR: 13904 ## There is no encapsulation within the following macros, do not change 13905 ## the running order or otherwise move them around unless you know exactly 13906 ## what you are doing... 13907 # Dependencies to place before and after the object being linked: 13908predep_objects_CXX= 13909postdep_objects_CXX= 13910predeps_CXX= 13911postdeps_CXX= 13912compiler_lib_search_path_CXX= 13913 13914cat > conftest.$ac_ext <<_LT_EOF 13915class Foo 13916{ 13917public: 13918 Foo (void) { a = 0; } 13919private: 13920 int a; 13921}; 13922_LT_EOF 13923 13924 13925_lt_libdeps_save_CFLAGS=$CFLAGS 13926case "$CC $CFLAGS " in #( 13927*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; 13928*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; 13929*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; 13930esac 13931 13932if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 13933 (eval $ac_compile) 2>&5 13934 ac_status=$? 13935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13936 test $ac_status = 0; }; then 13937 # Parse the compiler output and extract the necessary 13938 # objects, libraries and library flags. 13939 13940 # Sentinel used to keep track of whether or not we are before 13941 # the conftest object file. 13942 pre_test_object_deps_done=no 13943 13944 for p in `eval "$output_verbose_link_cmd"`; do 13945 case $prev$p in 13946 13947 -L* | -R* | -l*) 13948 # Some compilers place space between "-{L,R}" and the path. 13949 # Remove the space. 13950 if test x-L = "$p" || 13951 test x-R = "$p"; then 13952 prev=$p 13953 continue 13954 fi 13955 13956 # Expand the sysroot to ease extracting the directories later. 13957 if test -z "$prev"; then 13958 case $p in 13959 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; 13960 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; 13961 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; 13962 esac 13963 fi 13964 case $p in 13965 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; 13966 esac 13967 if test no = "$pre_test_object_deps_done"; then 13968 case $prev in 13969 -L | -R) 13970 # Internal compiler library paths should come after those 13971 # provided the user. The postdeps already come after the 13972 # user supplied libs so there is no need to process them. 13973 if test -z "$compiler_lib_search_path_CXX"; then 13974 compiler_lib_search_path_CXX=$prev$p 13975 else 13976 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p" 13977 fi 13978 ;; 13979 # The "-l" case would never come before the object being 13980 # linked, so don't bother handling this case. 13981 esac 13982 else 13983 if test -z "$postdeps_CXX"; then 13984 postdeps_CXX=$prev$p 13985 else 13986 postdeps_CXX="${postdeps_CXX} $prev$p" 13987 fi 13988 fi 13989 prev= 13990 ;; 13991 13992 *.lto.$objext) ;; # Ignore GCC LTO objects 13993 *.$objext) 13994 # This assumes that the test object file only shows up 13995 # once in the compiler output. 13996 if test "$p" = "conftest.$objext"; then 13997 pre_test_object_deps_done=yes 13998 continue 13999 fi 14000 14001 if test no = "$pre_test_object_deps_done"; then 14002 if test -z "$predep_objects_CXX"; then 14003 predep_objects_CXX=$p 14004 else 14005 predep_objects_CXX="$predep_objects_CXX $p" 14006 fi 14007 else 14008 if test -z "$postdep_objects_CXX"; then 14009 postdep_objects_CXX=$p 14010 else 14011 postdep_objects_CXX="$postdep_objects_CXX $p" 14012 fi 14013 fi 14014 ;; 14015 14016 *) ;; # Ignore the rest. 14017 14018 esac 14019 done 14020 14021 # Clean up. 14022 rm -f a.out a.exe 14023else 14024 echo "libtool.m4: error: problem compiling CXX test program" 14025fi 14026 14027$RM -f confest.$objext 14028CFLAGS=$_lt_libdeps_save_CFLAGS 14029 14030# PORTME: override above test on systems where it is broken 14031case $host_os in 14032interix[3-9]*) 14033 # Interix 3.5 installs completely hosed .la files for C++, so rather than 14034 # hack all around it, let's just trust "g++" to DTRT. 14035 predep_objects_CXX= 14036 postdep_objects_CXX= 14037 postdeps_CXX= 14038 ;; 14039esac 14040 14041 14042case " $postdeps_CXX " in 14043*" -lc "*) archive_cmds_need_lc_CXX=no ;; 14044esac 14045 compiler_lib_search_dirs_CXX= 14046if test -n "${compiler_lib_search_path_CXX}"; then 14047 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'` 14048fi 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 14070 14071 14072 14073 14074 14075 14076 14077 14078 14079 14080 lt_prog_compiler_wl_CXX= 14081lt_prog_compiler_pic_CXX= 14082lt_prog_compiler_static_CXX= 14083 14084 14085 # C++ specific cases for pic, static, wl, etc. 14086 if test yes = "$GXX"; then 14087 lt_prog_compiler_wl_CXX='-Wl,' 14088 lt_prog_compiler_static_CXX='-static' 14089 14090 case $host_os in 14091 aix*) 14092 # All AIX code is PIC. 14093 if test ia64 = "$host_cpu"; then 14094 # AIX 5 now supports IA64 processor 14095 lt_prog_compiler_static_CXX='-Bstatic' 14096 fi 14097 lt_prog_compiler_pic_CXX='-fPIC' 14098 ;; 14099 14100 amigaos*) 14101 case $host_cpu in 14102 powerpc) 14103 # see comment about AmigaOS4 .so support 14104 lt_prog_compiler_pic_CXX='-fPIC' 14105 ;; 14106 m68k) 14107 # FIXME: we need at least 68020 code to build shared libraries, but 14108 # adding the '-m68020' flag to GCC prevents building anything better, 14109 # like '-m68040'. 14110 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' 14111 ;; 14112 esac 14113 ;; 14114 14115 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 14116 # PIC is the default for these OSes. 14117 ;; 14118 mingw* | cygwin* | os2* | pw32* | cegcc*) 14119 # This hack is so that the source file can tell whether it is being 14120 # built for inclusion in a dll (and should export symbols for example). 14121 # Although the cygwin gcc ignores -fPIC, still need this for old-style 14122 # (--disable-auto-import) libraries 14123 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 14124 case $host_os in 14125 os2*) 14126 lt_prog_compiler_static_CXX='$wl-static' 14127 ;; 14128 esac 14129 ;; 14130 darwin* | rhapsody*) 14131 # PIC is the default on this platform 14132 # Common symbols not allowed in MH_DYLIB files 14133 lt_prog_compiler_pic_CXX='-fno-common' 14134 ;; 14135 *djgpp*) 14136 # DJGPP does not support shared libraries at all 14137 lt_prog_compiler_pic_CXX= 14138 ;; 14139 haiku*) 14140 # PIC is the default for Haiku. 14141 # The "-static" flag exists, but is broken. 14142 lt_prog_compiler_static_CXX= 14143 ;; 14144 interix[3-9]*) 14145 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 14146 # Instead, we relocate shared libraries at runtime. 14147 ;; 14148 sysv4*MP*) 14149 if test -d /usr/nec; then 14150 lt_prog_compiler_pic_CXX=-Kconform_pic 14151 fi 14152 ;; 14153 hpux*) 14154 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 14155 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 14156 # sets the default TLS model and affects inlining. 14157 case $host_cpu in 14158 hppa*64*) 14159 ;; 14160 *) 14161 lt_prog_compiler_pic_CXX='-fPIC' 14162 ;; 14163 esac 14164 ;; 14165 *qnx* | *nto*) 14166 # QNX uses GNU C++, but need to define -shared option too, otherwise 14167 # it will coredump. 14168 lt_prog_compiler_pic_CXX='-fPIC -shared' 14169 ;; 14170 *) 14171 lt_prog_compiler_pic_CXX='-fPIC' 14172 ;; 14173 esac 14174 else 14175 case $host_os in 14176 aix[4-9]*) 14177 # All AIX code is PIC. 14178 if test ia64 = "$host_cpu"; then 14179 # AIX 5 now supports IA64 processor 14180 lt_prog_compiler_static_CXX='-Bstatic' 14181 else 14182 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' 14183 fi 14184 ;; 14185 chorus*) 14186 case $cc_basename in 14187 cxch68*) 14188 # Green Hills C++ Compiler 14189 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" 14190 ;; 14191 esac 14192 ;; 14193 mingw* | cygwin* | os2* | pw32* | cegcc*) 14194 # This hack is so that the source file can tell whether it is being 14195 # built for inclusion in a dll (and should export symbols for example). 14196 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 14197 ;; 14198 dgux*) 14199 case $cc_basename in 14200 ec++*) 14201 lt_prog_compiler_pic_CXX='-KPIC' 14202 ;; 14203 ghcx*) 14204 # Green Hills C++ Compiler 14205 lt_prog_compiler_pic_CXX='-pic' 14206 ;; 14207 *) 14208 ;; 14209 esac 14210 ;; 14211 freebsd* | dragonfly*) 14212 # FreeBSD uses GNU C++ 14213 ;; 14214 hpux9* | hpux10* | hpux11*) 14215 case $cc_basename in 14216 CC*) 14217 lt_prog_compiler_wl_CXX='-Wl,' 14218 lt_prog_compiler_static_CXX='$wl-a ${wl}archive' 14219 if test ia64 != "$host_cpu"; then 14220 lt_prog_compiler_pic_CXX='+Z' 14221 fi 14222 ;; 14223 aCC*) 14224 lt_prog_compiler_wl_CXX='-Wl,' 14225 lt_prog_compiler_static_CXX='$wl-a ${wl}archive' 14226 case $host_cpu in 14227 hppa*64*|ia64*) 14228 # +Z the default 14229 ;; 14230 *) 14231 lt_prog_compiler_pic_CXX='+Z' 14232 ;; 14233 esac 14234 ;; 14235 *) 14236 ;; 14237 esac 14238 ;; 14239 interix*) 14240 # This is c89, which is MS Visual C++ (no shared libs) 14241 # Anyone wants to do a port? 14242 ;; 14243 irix5* | irix6* | nonstopux*) 14244 case $cc_basename in 14245 CC*) 14246 lt_prog_compiler_wl_CXX='-Wl,' 14247 lt_prog_compiler_static_CXX='-non_shared' 14248 # CC pic flag -KPIC is the default. 14249 ;; 14250 *) 14251 ;; 14252 esac 14253 ;; 14254 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 14255 case $cc_basename in 14256 KCC*) 14257 # KAI C++ Compiler 14258 lt_prog_compiler_wl_CXX='--backend -Wl,' 14259 lt_prog_compiler_pic_CXX='-fPIC' 14260 ;; 14261 ecpc* ) 14262 # old Intel C++ for x86_64, which still supported -KPIC. 14263 lt_prog_compiler_wl_CXX='-Wl,' 14264 lt_prog_compiler_pic_CXX='-KPIC' 14265 lt_prog_compiler_static_CXX='-static' 14266 ;; 14267 icpc* ) 14268 # Intel C++, used to be incompatible with GCC. 14269 # ICC 10 doesn't accept -KPIC any more. 14270 lt_prog_compiler_wl_CXX='-Wl,' 14271 lt_prog_compiler_pic_CXX='-fPIC' 14272 lt_prog_compiler_static_CXX='-static' 14273 ;; 14274 pgCC* | pgcpp*) 14275 # Portland Group C++ compiler 14276 lt_prog_compiler_wl_CXX='-Wl,' 14277 lt_prog_compiler_pic_CXX='-fpic' 14278 lt_prog_compiler_static_CXX='-Bstatic' 14279 ;; 14280 cxx*) 14281 # Compaq C++ 14282 # Make sure the PIC flag is empty. It appears that all Alpha 14283 # Linux and Compaq Tru64 Unix objects are PIC. 14284 lt_prog_compiler_pic_CXX= 14285 lt_prog_compiler_static_CXX='-non_shared' 14286 ;; 14287 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) 14288 # IBM XL 8.0, 9.0 on PPC and BlueGene 14289 lt_prog_compiler_wl_CXX='-Wl,' 14290 lt_prog_compiler_pic_CXX='-qpic' 14291 lt_prog_compiler_static_CXX='-qstaticlink' 14292 ;; 14293 *) 14294 case `$CC -V 2>&1 | sed 5q` in 14295 *Sun\ C*) 14296 # Sun C++ 5.9 14297 lt_prog_compiler_pic_CXX='-KPIC' 14298 lt_prog_compiler_static_CXX='-Bstatic' 14299 lt_prog_compiler_wl_CXX='-Qoption ld ' 14300 ;; 14301 esac 14302 ;; 14303 esac 14304 ;; 14305 lynxos*) 14306 ;; 14307 m88k*) 14308 ;; 14309 mvs*) 14310 case $cc_basename in 14311 cxx*) 14312 lt_prog_compiler_pic_CXX='-W c,exportall' 14313 ;; 14314 *) 14315 ;; 14316 esac 14317 ;; 14318 netbsd* | netbsdelf*-gnu) 14319 ;; 14320 *qnx* | *nto*) 14321 # QNX uses GNU C++, but need to define -shared option too, otherwise 14322 # it will coredump. 14323 lt_prog_compiler_pic_CXX='-fPIC -shared' 14324 ;; 14325 osf3* | osf4* | osf5*) 14326 case $cc_basename in 14327 KCC*) 14328 lt_prog_compiler_wl_CXX='--backend -Wl,' 14329 ;; 14330 RCC*) 14331 # Rational C++ 2.4.1 14332 lt_prog_compiler_pic_CXX='-pic' 14333 ;; 14334 cxx*) 14335 # Digital/Compaq C++ 14336 lt_prog_compiler_wl_CXX='-Wl,' 14337 # Make sure the PIC flag is empty. It appears that all Alpha 14338 # Linux and Compaq Tru64 Unix objects are PIC. 14339 lt_prog_compiler_pic_CXX= 14340 lt_prog_compiler_static_CXX='-non_shared' 14341 ;; 14342 *) 14343 ;; 14344 esac 14345 ;; 14346 psos*) 14347 ;; 14348 solaris*) 14349 case $cc_basename in 14350 CC* | sunCC*) 14351 # Sun C++ 4.2, 5.x and Centerline C++ 14352 lt_prog_compiler_pic_CXX='-KPIC' 14353 lt_prog_compiler_static_CXX='-Bstatic' 14354 lt_prog_compiler_wl_CXX='-Qoption ld ' 14355 ;; 14356 gcx*) 14357 # Green Hills C++ Compiler 14358 lt_prog_compiler_pic_CXX='-PIC' 14359 ;; 14360 *) 14361 ;; 14362 esac 14363 ;; 14364 sunos4*) 14365 case $cc_basename in 14366 CC*) 14367 # Sun C++ 4.x 14368 lt_prog_compiler_pic_CXX='-pic' 14369 lt_prog_compiler_static_CXX='-Bstatic' 14370 ;; 14371 lcc*) 14372 # Lucid 14373 lt_prog_compiler_pic_CXX='-pic' 14374 ;; 14375 *) 14376 ;; 14377 esac 14378 ;; 14379 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 14380 case $cc_basename in 14381 CC*) 14382 lt_prog_compiler_wl_CXX='-Wl,' 14383 lt_prog_compiler_pic_CXX='-KPIC' 14384 lt_prog_compiler_static_CXX='-Bstatic' 14385 ;; 14386 esac 14387 ;; 14388 tandem*) 14389 case $cc_basename in 14390 NCC*) 14391 # NonStop-UX NCC 3.20 14392 lt_prog_compiler_pic_CXX='-KPIC' 14393 ;; 14394 *) 14395 ;; 14396 esac 14397 ;; 14398 vxworks*) 14399 ;; 14400 *) 14401 lt_prog_compiler_can_build_shared_CXX=no 14402 ;; 14403 esac 14404 fi 14405 14406case $host_os in 14407 # For platforms that do not support PIC, -DPIC is meaningless: 14408 *djgpp*) 14409 lt_prog_compiler_pic_CXX= 14410 ;; 14411 *) 14412 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX@&t@ -DPIC" 14413 ;; 14414esac 14415 14416{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 14417$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 14418if ${lt_cv_prog_compiler_pic_CXX+:} false; then : 14419 $as_echo_n "(cached) " >&6 14420else 14421 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX 14422fi 14423{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 14424$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; } 14425lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX 14426 14427# 14428# Check to make sure the PIC flag actually works. 14429# 14430if test -n "$lt_prog_compiler_pic_CXX"; then 14431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 14432$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } 14433if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then : 14434 $as_echo_n "(cached) " >&6 14435else 14436 lt_cv_prog_compiler_pic_works_CXX=no 14437 ac_outfile=conftest.$ac_objext 14438 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 14439 lt_compiler_flag="$lt_prog_compiler_pic_CXX@&t@ -DPIC" ## exclude from sc_useless_quotes_in_assignment 14440 # Insert the option either (1) after the last *FLAGS variable, or 14441 # (2) before a word containing "conftest.", or (3) at the end. 14442 # Note that $ac_compile itself does not contain backslashes and begins 14443 # with a dollar sign (not a hyphen), so the echo should work correctly. 14444 # The option is referenced via a variable to avoid confusing sed. 14445 lt_compile=`echo "$ac_compile" | $SED \ 14446 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 14447 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14448 -e 's:$: $lt_compiler_flag:'` 14449 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 14450 (eval "$lt_compile" 2>conftest.err) 14451 ac_status=$? 14452 cat conftest.err >&5 14453 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14454 if (exit $ac_status) && test -s "$ac_outfile"; then 14455 # The compiler can only warn and ignore the option if not recognized 14456 # So say no if there are warnings other than the usual output. 14457 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 14458 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 14459 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 14460 lt_cv_prog_compiler_pic_works_CXX=yes 14461 fi 14462 fi 14463 $RM conftest* 14464 14465fi 14466{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 14467$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } 14468 14469if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then 14470 case $lt_prog_compiler_pic_CXX in 14471 "" | " "*) ;; 14472 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; 14473 esac 14474else 14475 lt_prog_compiler_pic_CXX= 14476 lt_prog_compiler_can_build_shared_CXX=no 14477fi 14478 14479fi 14480 14481 14482 14483 14484 14485# 14486# Check to make sure the static flag actually works. 14487# 14488wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" 14489{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 14490$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 14491if ${lt_cv_prog_compiler_static_works_CXX+:} false; then : 14492 $as_echo_n "(cached) " >&6 14493else 14494 lt_cv_prog_compiler_static_works_CXX=no 14495 save_LDFLAGS=$LDFLAGS 14496 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 14497 echo "$lt_simple_link_test_code" > conftest.$ac_ext 14498 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 14499 # The linker can only warn and ignore the option if not recognized 14500 # So say no if there are warnings 14501 if test -s conftest.err; then 14502 # Append any errors to the config.log. 14503 cat conftest.err 1>&5 14504 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 14505 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 14506 if diff conftest.exp conftest.er2 >/dev/null; then 14507 lt_cv_prog_compiler_static_works_CXX=yes 14508 fi 14509 else 14510 lt_cv_prog_compiler_static_works_CXX=yes 14511 fi 14512 fi 14513 $RM -r conftest* 14514 LDFLAGS=$save_LDFLAGS 14515 14516fi 14517{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 14518$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } 14519 14520if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then 14521 : 14522else 14523 lt_prog_compiler_static_CXX= 14524fi 14525 14526 14527 14528 14529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 14530$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 14531if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 14532 $as_echo_n "(cached) " >&6 14533else 14534 lt_cv_prog_compiler_c_o_CXX=no 14535 $RM -r conftest 2>/dev/null 14536 mkdir conftest 14537 cd conftest 14538 mkdir out 14539 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 14540 14541 lt_compiler_flag="-o out/conftest2.$ac_objext" 14542 # Insert the option either (1) after the last *FLAGS variable, or 14543 # (2) before a word containing "conftest.", or (3) at the end. 14544 # Note that $ac_compile itself does not contain backslashes and begins 14545 # with a dollar sign (not a hyphen), so the echo should work correctly. 14546 lt_compile=`echo "$ac_compile" | $SED \ 14547 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 14548 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14549 -e 's:$: $lt_compiler_flag:'` 14550 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 14551 (eval "$lt_compile" 2>out/conftest.err) 14552 ac_status=$? 14553 cat out/conftest.err >&5 14554 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14555 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14556 then 14557 # The compiler can only warn and ignore the option if not recognized 14558 # So say no if there are warnings 14559 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 14560 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 14561 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 14562 lt_cv_prog_compiler_c_o_CXX=yes 14563 fi 14564 fi 14565 chmod u+w . 2>&5 14566 $RM conftest* 14567 # SGI C++ compiler will create directory out/ii_files/ for 14568 # template instantiation 14569 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 14570 $RM out/* && rmdir out 14571 cd .. 14572 $RM -r conftest 14573 $RM conftest* 14574 14575fi 14576{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 14577$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 14578 14579 14580 14581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 14582$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 14583if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 14584 $as_echo_n "(cached) " >&6 14585else 14586 lt_cv_prog_compiler_c_o_CXX=no 14587 $RM -r conftest 2>/dev/null 14588 mkdir conftest 14589 cd conftest 14590 mkdir out 14591 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 14592 14593 lt_compiler_flag="-o out/conftest2.$ac_objext" 14594 # Insert the option either (1) after the last *FLAGS variable, or 14595 # (2) before a word containing "conftest.", or (3) at the end. 14596 # Note that $ac_compile itself does not contain backslashes and begins 14597 # with a dollar sign (not a hyphen), so the echo should work correctly. 14598 lt_compile=`echo "$ac_compile" | $SED \ 14599 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 14600 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14601 -e 's:$: $lt_compiler_flag:'` 14602 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 14603 (eval "$lt_compile" 2>out/conftest.err) 14604 ac_status=$? 14605 cat out/conftest.err >&5 14606 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14607 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14608 then 14609 # The compiler can only warn and ignore the option if not recognized 14610 # So say no if there are warnings 14611 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 14612 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 14613 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 14614 lt_cv_prog_compiler_c_o_CXX=yes 14615 fi 14616 fi 14617 chmod u+w . 2>&5 14618 $RM conftest* 14619 # SGI C++ compiler will create directory out/ii_files/ for 14620 # template instantiation 14621 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 14622 $RM out/* && rmdir out 14623 cd .. 14624 $RM -r conftest 14625 $RM conftest* 14626 14627fi 14628{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 14629$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 14630 14631 14632 14633 14634hard_links=nottested 14635if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then 14636 # do not overwrite the value of need_locks provided by the user 14637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 14638$as_echo_n "checking if we can lock with hard links... " >&6; } 14639 hard_links=yes 14640 $RM conftest* 14641 ln conftest.a conftest.b 2>/dev/null && hard_links=no 14642 touch conftest.a 14643 ln conftest.a conftest.b 2>&5 || hard_links=no 14644 ln conftest.a conftest.b 2>/dev/null && hard_links=no 14645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 14646$as_echo "$hard_links" >&6; } 14647 if test no = "$hard_links"; then 14648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 14649$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 14650 need_locks=warn 14651 fi 14652else 14653 need_locks=no 14654fi 14655 14656 14657 14658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 14659$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 14660 14661 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 14662 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 14663 case $host_os in 14664 aix[4-9]*) 14665 # If we're using GNU nm, then we don't want the "-C" option. 14666 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 14667 # Without the "-l" option, or with the "-B" option, AIX nm treats 14668 # weak defined symbols like other global defined symbols, whereas 14669 # GNU nm marks them as "W". 14670 # While the 'weak' keyword is ignored in the Export File, we need 14671 # it in the Import File for the 'aix-soname' feature, so we have 14672 # to replace the "-B" option with "-P" for AIX nm. 14673 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 14674 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' 14675 else 14676 export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' 14677 fi 14678 ;; 14679 pw32*) 14680 export_symbols_cmds_CXX=$ltdll_cmds 14681 ;; 14682 cygwin* | mingw* | cegcc*) 14683 case $cc_basename in 14684 cl*) 14685 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 14686 ;; 14687 *) 14688 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' 14689 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 14690 ;; 14691 esac 14692 ;; 14693 linux* | k*bsd*-gnu | gnu*) 14694 link_all_deplibs_CXX=no 14695 ;; 14696 *) 14697 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 14698 ;; 14699 esac 14700 14701{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 14702$as_echo "$ld_shlibs_CXX" >&6; } 14703test no = "$ld_shlibs_CXX" && can_build_shared=no 14704 14705with_gnu_ld_CXX=$with_gnu_ld 14706 14707 14708 14709 14710 14711 14712# 14713# Do we need to explicitly link libc? 14714# 14715case "x$archive_cmds_need_lc_CXX" in 14716x|xyes) 14717 # Assume -lc should be added 14718 archive_cmds_need_lc_CXX=yes 14719 14720 if test yes,yes = "$GCC,$enable_shared"; then 14721 case $archive_cmds_CXX in 14722 *'~'*) 14723 # FIXME: we may have to deal with multi-command sequences. 14724 ;; 14725 '$CC '*) 14726 # Test whether the compiler implicitly links with -lc since on some 14727 # systems, -lgcc has to come before -lc. If gcc already passes -lc 14728 # to ld, don't add -lc before -lgcc. 14729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 14730$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 14731if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then : 14732 $as_echo_n "(cached) " >&6 14733else 14734 $RM conftest* 14735 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 14736 14737 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 14738 (eval $ac_compile) 2>&5 14739 ac_status=$? 14740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14741 test $ac_status = 0; } 2>conftest.err; then 14742 soname=conftest 14743 lib=conftest 14744 libobjs=conftest.$ac_objext 14745 deplibs= 14746 wl=$lt_prog_compiler_wl_CXX 14747 pic_flag=$lt_prog_compiler_pic_CXX 14748 compiler_flags=-v 14749 linker_flags=-v 14750 verstring= 14751 output_objdir=. 14752 libname=conftest 14753 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX 14754 allow_undefined_flag_CXX= 14755 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 14756 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 14757 ac_status=$? 14758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14759 test $ac_status = 0; } 14760 then 14761 lt_cv_archive_cmds_need_lc_CXX=no 14762 else 14763 lt_cv_archive_cmds_need_lc_CXX=yes 14764 fi 14765 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag 14766 else 14767 cat conftest.err 1>&5 14768 fi 14769 $RM conftest* 14770 14771fi 14772{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 14773$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; } 14774 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX 14775 ;; 14776 esac 14777 fi 14778 ;; 14779esac 14780 14781 14782 14783 14784 14785 14786 14787 14788 14789 14790 14791 14792 14793 14794 14795 14796 14797 14798 14799 14800 14801 14802 14803 14804 14805 14806 14807 14808 14809 14810 14811 14812 14813 14814 14815 14816 14817 14818 14819 14820 14821 14822 14823 14824 14825 14826 14827 14828 14829 14830 14831 14832 14833 14834 14835 14836 14837 14838 14839 14840 14841 14842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 14843$as_echo_n "checking dynamic linker characteristics... " >&6; } 14844 14845library_names_spec= 14846libname_spec='lib$name' 14847soname_spec= 14848shrext_cmds=.so 14849postinstall_cmds= 14850postuninstall_cmds= 14851finish_cmds= 14852finish_eval= 14853shlibpath_var= 14854shlibpath_overrides_runpath=unknown 14855version_type=none 14856dynamic_linker="$host_os ld.so" 14857sys_lib_dlsearch_path_spec="/lib /usr/lib" 14858need_lib_prefix=unknown 14859hardcode_into_libs=no 14860 14861# when you set need_version to no, make sure it does not cause -set_version 14862# flags to be left without arguments 14863need_version=unknown 14864 14865 14866 14867case $host_os in 14868aix3*) 14869 version_type=linux # correct to gnu/linux during the next big refactor 14870 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 14871 shlibpath_var=LIBPATH 14872 14873 # AIX 3 has no versioning support, so we append a major version to the name. 14874 soname_spec='$libname$release$shared_ext$major' 14875 ;; 14876 14877aix[4-9]*) 14878 version_type=linux # correct to gnu/linux during the next big refactor 14879 need_lib_prefix=no 14880 need_version=no 14881 hardcode_into_libs=yes 14882 if test ia64 = "$host_cpu"; then 14883 # AIX 5 supports IA64 14884 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 14885 shlibpath_var=LD_LIBRARY_PATH 14886 else 14887 # With GCC up to 2.95.x, collect2 would create an import file 14888 # for dependence libraries. The import file would start with 14889 # the line '#! .'. This would cause the generated library to 14890 # depend on '.', always an invalid library. This was fixed in 14891 # development snapshots of GCC prior to 3.0. 14892 case $host_os in 14893 aix4 | aix4.[01] | aix4.[01].*) 14894 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 14895 echo ' yes ' 14896 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 14897 : 14898 else 14899 can_build_shared=no 14900 fi 14901 ;; 14902 esac 14903 # Using Import Files as archive members, it is possible to support 14904 # filename-based versioning of shared library archives on AIX. While 14905 # this would work for both with and without runtime linking, it will 14906 # prevent static linking of such archives. So we do filename-based 14907 # shared library versioning with .so extension only, which is used 14908 # when both runtime linking and shared linking is enabled. 14909 # Unfortunately, runtime linking may impact performance, so we do 14910 # not want this to be the default eventually. Also, we use the 14911 # versioned .so libs for executables only if there is the -brtl 14912 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 14913 # To allow for filename-based versioning support, we need to create 14914 # libNAME.so.V as an archive file, containing: 14915 # *) an Import File, referring to the versioned filename of the 14916 # archive as well as the shared archive member, telling the 14917 # bitwidth (32 or 64) of that shared object, and providing the 14918 # list of exported symbols of that shared object, eventually 14919 # decorated with the 'weak' keyword 14920 # *) the shared object with the F_LOADONLY flag set, to really avoid 14921 # it being seen by the linker. 14922 # At run time we better use the real file rather than another symlink, 14923 # but for link time we create the symlink libNAME.so -> libNAME.so.V 14924 14925 case $with_aix_soname,$aix_use_runtimelinking in 14926 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 14927 # soname into executable. Probably we can add versioning support to 14928 # collect2, so additional links can be useful in future. 14929 aix,yes) # traditional libtool 14930 dynamic_linker='AIX unversionable lib.so' 14931 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 14932 # instead of lib<name>.a to let people know that these are not 14933 # typical AIX shared libraries. 14934 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 14935 ;; 14936 aix,no) # traditional AIX only 14937 dynamic_linker='AIX lib.a(lib.so.V)' 14938 # We preserve .a as extension for shared libraries through AIX4.2 14939 # and later when we are not doing run time linking. 14940 library_names_spec='$libname$release.a $libname.a' 14941 soname_spec='$libname$release$shared_ext$major' 14942 ;; 14943 svr4,*) # full svr4 only 14944 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 14945 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 14946 # We do not specify a path in Import Files, so LIBPATH fires. 14947 shlibpath_overrides_runpath=yes 14948 ;; 14949 *,yes) # both, prefer svr4 14950 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 14951 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 14952 # unpreferred sharedlib libNAME.a needs extra handling 14953 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' 14954 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' 14955 # We do not specify a path in Import Files, so LIBPATH fires. 14956 shlibpath_overrides_runpath=yes 14957 ;; 14958 *,no) # both, prefer aix 14959 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 14960 library_names_spec='$libname$release.a $libname.a' 14961 soname_spec='$libname$release$shared_ext$major' 14962 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 14963 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' 14964 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' 14965 ;; 14966 esac 14967 shlibpath_var=LIBPATH 14968 fi 14969 ;; 14970 14971amigaos*) 14972 case $host_cpu in 14973 powerpc) 14974 # Since July 2007 AmigaOS4 officially supports .so libraries. 14975 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 14976 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 14977 ;; 14978 m68k) 14979 library_names_spec='$libname.ixlibrary $libname.a' 14980 # Create ${libname}_ixlibrary.a entries in /sys/libs. 14981 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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' 14982 ;; 14983 esac 14984 ;; 14985 14986beos*) 14987 library_names_spec='$libname$shared_ext' 14988 dynamic_linker="$host_os ld.so" 14989 shlibpath_var=LIBRARY_PATH 14990 ;; 14991 14992bsdi[45]*) 14993 version_type=linux # correct to gnu/linux during the next big refactor 14994 need_version=no 14995 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 14996 soname_spec='$libname$release$shared_ext$major' 14997 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 14998 shlibpath_var=LD_LIBRARY_PATH 14999 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 15000 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 15001 # the default ld.so.conf also contains /usr/contrib/lib and 15002 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 15003 # libtool to hard-code these into programs 15004 ;; 15005 15006cygwin* | mingw* | pw32* | cegcc*) 15007 version_type=windows 15008 shrext_cmds=.dll 15009 need_version=no 15010 need_lib_prefix=no 15011 15012 case $GCC,$cc_basename in 15013 yes,*) 15014 # gcc 15015 library_names_spec='$libname.dll.a' 15016 # DLL is installed to $(libdir)/../bin by postinstall_cmds 15017 postinstall_cmds='base_file=`basename \$file`~ 15018 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 15019 dldir=$destdir/`dirname \$dlpath`~ 15020 test -d \$dldir || mkdir -p \$dldir~ 15021 $install_prog $dir/$dlname \$dldir/$dlname~ 15022 chmod a+x \$dldir/$dlname~ 15023 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 15024 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 15025 fi' 15026 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 15027 dlpath=$dir/\$dldll~ 15028 $RM \$dlpath' 15029 shlibpath_overrides_runpath=yes 15030 15031 case $host_os in 15032 cygwin*) 15033 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 15034 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 15035 15036 ;; 15037 mingw* | cegcc*) 15038 # MinGW DLLs use traditional 'lib' prefix 15039 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 15040 ;; 15041 pw32*) 15042 # pw32 DLLs use 'pw' prefix rather than 'lib' 15043 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 15044 ;; 15045 esac 15046 dynamic_linker='Win32 ld.exe' 15047 ;; 15048 15049 *,cl*) 15050 # Native MSVC 15051 libname_spec='$name' 15052 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 15053 library_names_spec='$libname.dll.lib' 15054 15055 case $build_os in 15056 mingw*) 15057 sys_lib_search_path_spec= 15058 lt_save_ifs=$IFS 15059 IFS=';' 15060 for lt_path in $LIB 15061 do 15062 IFS=$lt_save_ifs 15063 # Let DOS variable expansion print the short 8.3 style file name. 15064 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 15065 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 15066 done 15067 IFS=$lt_save_ifs 15068 # Convert to MSYS style. 15069 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 15070 ;; 15071 cygwin*) 15072 # Convert to unix form, then to dos form, then back to unix form 15073 # but this time dos style (no spaces!) so that the unix form looks 15074 # like /cygdrive/c/PROGRA~1:/cygdr... 15075 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 15076 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 15077 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 15078 ;; 15079 *) 15080 sys_lib_search_path_spec=$LIB 15081 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 15082 # It is most probably a Windows format PATH. 15083 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 15084 else 15085 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 15086 fi 15087 # FIXME: find the short name or the path components, as spaces are 15088 # common. (e.g. "Program Files" -> "PROGRA~1") 15089 ;; 15090 esac 15091 15092 # DLL is installed to $(libdir)/../bin by postinstall_cmds 15093 postinstall_cmds='base_file=`basename \$file`~ 15094 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 15095 dldir=$destdir/`dirname \$dlpath`~ 15096 test -d \$dldir || mkdir -p \$dldir~ 15097 $install_prog $dir/$dlname \$dldir/$dlname' 15098 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 15099 dlpath=$dir/\$dldll~ 15100 $RM \$dlpath' 15101 shlibpath_overrides_runpath=yes 15102 dynamic_linker='Win32 link.exe' 15103 ;; 15104 15105 *) 15106 # Assume MSVC wrapper 15107 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 15108 dynamic_linker='Win32 ld.exe' 15109 ;; 15110 esac 15111 # FIXME: first we should search . and the directory the executable is in 15112 shlibpath_var=PATH 15113 ;; 15114 15115darwin* | rhapsody*) 15116 dynamic_linker="$host_os dyld" 15117 version_type=darwin 15118 need_lib_prefix=no 15119 need_version=no 15120 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 15121 soname_spec='$libname$release$major$shared_ext' 15122 shlibpath_overrides_runpath=yes 15123 shlibpath_var=DYLD_LIBRARY_PATH 15124 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 15125 15126 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 15127 ;; 15128 15129dgux*) 15130 version_type=linux # correct to gnu/linux during the next big refactor 15131 need_lib_prefix=no 15132 need_version=no 15133 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15134 soname_spec='$libname$release$shared_ext$major' 15135 shlibpath_var=LD_LIBRARY_PATH 15136 ;; 15137 15138freebsd* | dragonfly*) 15139 # DragonFly does not have aout. When/if they implement a new 15140 # versioning mechanism, adjust this. 15141 if test -x /usr/bin/objformat; then 15142 objformat=`/usr/bin/objformat` 15143 else 15144 case $host_os in 15145 freebsd[23].*) objformat=aout ;; 15146 *) objformat=elf ;; 15147 esac 15148 fi 15149 version_type=freebsd-$objformat 15150 case $version_type in 15151 freebsd-elf*) 15152 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15153 soname_spec='$libname$release$shared_ext$major' 15154 need_version=no 15155 need_lib_prefix=no 15156 ;; 15157 freebsd-*) 15158 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 15159 need_version=yes 15160 ;; 15161 esac 15162 shlibpath_var=LD_LIBRARY_PATH 15163 case $host_os in 15164 freebsd2.*) 15165 shlibpath_overrides_runpath=yes 15166 ;; 15167 freebsd3.[01]* | freebsdelf3.[01]*) 15168 shlibpath_overrides_runpath=yes 15169 hardcode_into_libs=yes 15170 ;; 15171 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 15172 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 15173 shlibpath_overrides_runpath=no 15174 hardcode_into_libs=yes 15175 ;; 15176 *) # from 4.6 on, and DragonFly 15177 shlibpath_overrides_runpath=yes 15178 hardcode_into_libs=yes 15179 ;; 15180 esac 15181 ;; 15182 15183haiku*) 15184 version_type=linux # correct to gnu/linux during the next big refactor 15185 need_lib_prefix=no 15186 need_version=no 15187 dynamic_linker="$host_os runtime_loader" 15188 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15189 soname_spec='$libname$release$shared_ext$major' 15190 shlibpath_var=LIBRARY_PATH 15191 shlibpath_overrides_runpath=no 15192 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 15193 hardcode_into_libs=yes 15194 ;; 15195 15196hpux9* | hpux10* | hpux11*) 15197 # Give a soname corresponding to the major version so that dld.sl refuses to 15198 # link against other versions. 15199 version_type=sunos 15200 need_lib_prefix=no 15201 need_version=no 15202 case $host_cpu in 15203 ia64*) 15204 shrext_cmds='.so' 15205 hardcode_into_libs=yes 15206 dynamic_linker="$host_os dld.so" 15207 shlibpath_var=LD_LIBRARY_PATH 15208 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 15209 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15210 soname_spec='$libname$release$shared_ext$major' 15211 if test 32 = "$HPUX_IA64_MODE"; then 15212 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 15213 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 15214 else 15215 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 15216 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 15217 fi 15218 ;; 15219 hppa*64*) 15220 shrext_cmds='.sl' 15221 hardcode_into_libs=yes 15222 dynamic_linker="$host_os dld.sl" 15223 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 15224 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 15225 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15226 soname_spec='$libname$release$shared_ext$major' 15227 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 15228 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 15229 ;; 15230 *) 15231 shrext_cmds='.sl' 15232 dynamic_linker="$host_os dld.sl" 15233 shlibpath_var=SHLIB_PATH 15234 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 15235 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15236 soname_spec='$libname$release$shared_ext$major' 15237 ;; 15238 esac 15239 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 15240 postinstall_cmds='chmod 555 $lib' 15241 # or fails outright, so override atomically: 15242 install_override_mode=555 15243 ;; 15244 15245interix[3-9]*) 15246 version_type=linux # correct to gnu/linux during the next big refactor 15247 need_lib_prefix=no 15248 need_version=no 15249 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15250 soname_spec='$libname$release$shared_ext$major' 15251 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 15252 shlibpath_var=LD_LIBRARY_PATH 15253 shlibpath_overrides_runpath=no 15254 hardcode_into_libs=yes 15255 ;; 15256 15257irix5* | irix6* | nonstopux*) 15258 case $host_os in 15259 nonstopux*) version_type=nonstopux ;; 15260 *) 15261 if test yes = "$lt_cv_prog_gnu_ld"; then 15262 version_type=linux # correct to gnu/linux during the next big refactor 15263 else 15264 version_type=irix 15265 fi ;; 15266 esac 15267 need_lib_prefix=no 15268 need_version=no 15269 soname_spec='$libname$release$shared_ext$major' 15270 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 15271 case $host_os in 15272 irix5* | nonstopux*) 15273 libsuff= shlibsuff= 15274 ;; 15275 *) 15276 case $LD in # libtool.m4 will add one of these switches to LD 15277 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 15278 libsuff= shlibsuff= libmagic=32-bit;; 15279 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 15280 libsuff=32 shlibsuff=N32 libmagic=N32;; 15281 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 15282 libsuff=64 shlibsuff=64 libmagic=64-bit;; 15283 *) libsuff= shlibsuff= libmagic=never-match;; 15284 esac 15285 ;; 15286 esac 15287 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 15288 shlibpath_overrides_runpath=no 15289 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 15290 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 15291 hardcode_into_libs=yes 15292 ;; 15293 15294# No shared lib support for Linux oldld, aout, or coff. 15295linux*oldld* | linux*aout* | linux*coff*) 15296 dynamic_linker=no 15297 ;; 15298 15299linux*android*) 15300 version_type=none # Android doesn't support versioned libraries. 15301 need_lib_prefix=no 15302 need_version=no 15303 library_names_spec='$libname$release$shared_ext' 15304 soname_spec='$libname$release$shared_ext' 15305 finish_cmds= 15306 shlibpath_var=LD_LIBRARY_PATH 15307 shlibpath_overrides_runpath=yes 15308 15309 # This implies no fast_install, which is unacceptable. 15310 # Some rework will be needed to allow for fast_install 15311 # before this can be enabled. 15312 hardcode_into_libs=yes 15313 15314 dynamic_linker='Android linker' 15315 # Don't embed -rpath directories since the linker doesn't support them. 15316 hardcode_libdir_flag_spec_CXX='-L$libdir' 15317 ;; 15318 15319# This must be glibc/ELF. 15320linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 15321 version_type=linux # correct to gnu/linux during the next big refactor 15322 need_lib_prefix=no 15323 need_version=no 15324 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15325 soname_spec='$libname$release$shared_ext$major' 15326 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 15327 shlibpath_var=LD_LIBRARY_PATH 15328 shlibpath_overrides_runpath=no 15329 15330 # Some binutils ld are patched to set DT_RUNPATH 15331 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 15332 $as_echo_n "(cached) " >&6 15333else 15334 lt_cv_shlibpath_overrides_runpath=no 15335 save_LDFLAGS=$LDFLAGS 15336 save_libdir=$libdir 15337 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ 15338 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" 15339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15340/* end confdefs.h. */ 15341 15342int 15343main () 15344{ 15345 15346 ; 15347 return 0; 15348} 15349_ACEOF 15350if ac_fn_cxx_try_link "$LINENO"; then : 15351 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 15352 lt_cv_shlibpath_overrides_runpath=yes 15353fi 15354fi 15355rm -f core conftest.err conftest.$ac_objext \ 15356 conftest$ac_exeext conftest.$ac_ext 15357 LDFLAGS=$save_LDFLAGS 15358 libdir=$save_libdir 15359 15360fi 15361 15362 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 15363 15364 # This implies no fast_install, which is unacceptable. 15365 # Some rework will be needed to allow for fast_install 15366 # before this can be enabled. 15367 hardcode_into_libs=yes 15368 15369 # Ideally, we could use ldconfig to report *all* directores which are 15370 # searched for libraries, however this is still not possible. Aside from not 15371 # being certain /sbin/ldconfig is available, command 15372 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 15373 # even though it is searched at run-time. Try to do the best guess by 15374 # appending ld.so.conf contents (and includes) to the search path. 15375 if test -f /etc/ld.so.conf; then 15376 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' ' '` 15377 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 15378 fi 15379 15380 # We used to test for /lib/ld.so.1 and disable shared libraries on 15381 # powerpc, because MkLinux only supported shared libraries with the 15382 # GNU dynamic linker. Since this was broken with cross compilers, 15383 # most powerpc-linux boxes support dynamic linking these days and 15384 # people can always --disable-shared, the test was removed, and we 15385 # assume the GNU/Linux dynamic linker is in use. 15386 dynamic_linker='GNU/Linux ld.so' 15387 ;; 15388 15389netbsdelf*-gnu) 15390 version_type=linux 15391 need_lib_prefix=no 15392 need_version=no 15393 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 15394 soname_spec='${libname}${release}${shared_ext}$major' 15395 shlibpath_var=LD_LIBRARY_PATH 15396 shlibpath_overrides_runpath=no 15397 hardcode_into_libs=yes 15398 dynamic_linker='NetBSD ld.elf_so' 15399 ;; 15400 15401netbsd*) 15402 version_type=sunos 15403 need_lib_prefix=no 15404 need_version=no 15405 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 15406 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 15407 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 15408 dynamic_linker='NetBSD (a.out) ld.so' 15409 else 15410 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15411 soname_spec='$libname$release$shared_ext$major' 15412 dynamic_linker='NetBSD ld.elf_so' 15413 fi 15414 shlibpath_var=LD_LIBRARY_PATH 15415 shlibpath_overrides_runpath=yes 15416 hardcode_into_libs=yes 15417 ;; 15418 15419newsos6) 15420 version_type=linux # correct to gnu/linux during the next big refactor 15421 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15422 shlibpath_var=LD_LIBRARY_PATH 15423 shlibpath_overrides_runpath=yes 15424 ;; 15425 15426*nto* | *qnx*) 15427 version_type=qnx 15428 need_lib_prefix=no 15429 need_version=no 15430 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15431 soname_spec='$libname$release$shared_ext$major' 15432 shlibpath_var=LD_LIBRARY_PATH 15433 shlibpath_overrides_runpath=no 15434 hardcode_into_libs=yes 15435 dynamic_linker='ldqnx.so' 15436 ;; 15437 15438openbsd* | bitrig*) 15439 version_type=sunos 15440 sys_lib_dlsearch_path_spec=/usr/lib 15441 need_lib_prefix=no 15442 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 15443 need_version=no 15444 else 15445 need_version=yes 15446 fi 15447 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 15448 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 15449 shlibpath_var=LD_LIBRARY_PATH 15450 shlibpath_overrides_runpath=yes 15451 ;; 15452 15453os2*) 15454 libname_spec='$name' 15455 version_type=windows 15456 shrext_cmds=.dll 15457 need_version=no 15458 need_lib_prefix=no 15459 # OS/2 can only load a DLL with a base name of 8 characters or less. 15460 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 15461 v=$($ECHO $release$versuffix | tr -d .-); 15462 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 15463 $ECHO $n$v`$shared_ext' 15464 library_names_spec='${libname}_dll.$libext' 15465 dynamic_linker='OS/2 ld.exe' 15466 shlibpath_var=BEGINLIBPATH 15467 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 15468 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 15469 postinstall_cmds='base_file=`basename \$file`~ 15470 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 15471 dldir=$destdir/`dirname \$dlpath`~ 15472 test -d \$dldir || mkdir -p \$dldir~ 15473 $install_prog $dir/$dlname \$dldir/$dlname~ 15474 chmod a+x \$dldir/$dlname~ 15475 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 15476 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 15477 fi' 15478 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 15479 dlpath=$dir/\$dldll~ 15480 $RM \$dlpath' 15481 ;; 15482 15483osf3* | osf4* | osf5*) 15484 version_type=osf 15485 need_lib_prefix=no 15486 need_version=no 15487 soname_spec='$libname$release$shared_ext$major' 15488 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15489 shlibpath_var=LD_LIBRARY_PATH 15490 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 15491 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 15492 ;; 15493 15494rdos*) 15495 dynamic_linker=no 15496 ;; 15497 15498solaris*) 15499 version_type=linux # correct to gnu/linux during the next big refactor 15500 need_lib_prefix=no 15501 need_version=no 15502 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15503 soname_spec='$libname$release$shared_ext$major' 15504 shlibpath_var=LD_LIBRARY_PATH 15505 shlibpath_overrides_runpath=yes 15506 hardcode_into_libs=yes 15507 # ldd complains unless libraries are executable 15508 postinstall_cmds='chmod +x $lib' 15509 ;; 15510 15511sunos4*) 15512 version_type=sunos 15513 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 15514 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 15515 shlibpath_var=LD_LIBRARY_PATH 15516 shlibpath_overrides_runpath=yes 15517 if test yes = "$with_gnu_ld"; then 15518 need_lib_prefix=no 15519 fi 15520 need_version=yes 15521 ;; 15522 15523sysv4 | sysv4.3*) 15524 version_type=linux # correct to gnu/linux during the next big refactor 15525 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15526 soname_spec='$libname$release$shared_ext$major' 15527 shlibpath_var=LD_LIBRARY_PATH 15528 case $host_vendor in 15529 sni) 15530 shlibpath_overrides_runpath=no 15531 need_lib_prefix=no 15532 runpath_var=LD_RUN_PATH 15533 ;; 15534 siemens) 15535 need_lib_prefix=no 15536 ;; 15537 motorola) 15538 need_lib_prefix=no 15539 need_version=no 15540 shlibpath_overrides_runpath=no 15541 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 15542 ;; 15543 esac 15544 ;; 15545 15546sysv4*MP*) 15547 if test -d /usr/nec; then 15548 version_type=linux # correct to gnu/linux during the next big refactor 15549 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 15550 soname_spec='$libname$shared_ext.$major' 15551 shlibpath_var=LD_LIBRARY_PATH 15552 fi 15553 ;; 15554 15555sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 15556 version_type=sco 15557 need_lib_prefix=no 15558 need_version=no 15559 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 15560 soname_spec='$libname$release$shared_ext$major' 15561 shlibpath_var=LD_LIBRARY_PATH 15562 shlibpath_overrides_runpath=yes 15563 hardcode_into_libs=yes 15564 if test yes = "$with_gnu_ld"; then 15565 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 15566 else 15567 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 15568 case $host_os in 15569 sco3.2v5*) 15570 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 15571 ;; 15572 esac 15573 fi 15574 sys_lib_dlsearch_path_spec='/usr/lib' 15575 ;; 15576 15577tpf*) 15578 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 15579 version_type=linux # correct to gnu/linux during the next big refactor 15580 need_lib_prefix=no 15581 need_version=no 15582 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15583 shlibpath_var=LD_LIBRARY_PATH 15584 shlibpath_overrides_runpath=no 15585 hardcode_into_libs=yes 15586 ;; 15587 15588uts4*) 15589 version_type=linux # correct to gnu/linux during the next big refactor 15590 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15591 soname_spec='$libname$release$shared_ext$major' 15592 shlibpath_var=LD_LIBRARY_PATH 15593 ;; 15594 15595*) 15596 dynamic_linker=no 15597 ;; 15598esac 15599{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 15600$as_echo "$dynamic_linker" >&6; } 15601test no = "$dynamic_linker" && can_build_shared=no 15602 15603variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 15604if test yes = "$GCC"; then 15605 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 15606fi 15607 15608if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 15609 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 15610fi 15611 15612if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 15613 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 15614fi 15615 15616# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 15617configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 15618 15619# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 15620func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 15621 15622# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 15623configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 15624 15625 15626 15627 15628 15629 15630 15631 15632 15633 15634 15635 15636 15637 15638 15639 15640 15641 15642 15643 15644 15645 15646 15647 15648 15649 15650 15651 15652 15653 15654 15655 15656 15657 15658 15659 15660 15661 15662 15663 15664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 15665$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 15666hardcode_action_CXX= 15667if test -n "$hardcode_libdir_flag_spec_CXX" || 15668 test -n "$runpath_var_CXX" || 15669 test yes = "$hardcode_automatic_CXX"; then 15670 15671 # We can hardcode non-existent directories. 15672 if test no != "$hardcode_direct_CXX" && 15673 # If the only mechanism to avoid hardcoding is shlibpath_var, we 15674 # have to relink, otherwise we might link with an installed library 15675 # when we should be linking with a yet-to-be-installed one 15676 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" && 15677 test no != "$hardcode_minus_L_CXX"; then 15678 # Linking always hardcodes the temporary library directory. 15679 hardcode_action_CXX=relink 15680 else 15681 # We can link without hardcoding, and we can hardcode nonexisting dirs. 15682 hardcode_action_CXX=immediate 15683 fi 15684else 15685 # We cannot hardcode anything, or else we can only hardcode existing 15686 # directories. 15687 hardcode_action_CXX=unsupported 15688fi 15689{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 15690$as_echo "$hardcode_action_CXX" >&6; } 15691 15692if test relink = "$hardcode_action_CXX" || 15693 test yes = "$inherit_rpath_CXX"; then 15694 # Fast installation is not supported 15695 enable_fast_install=no 15696elif test yes = "$shlibpath_overrides_runpath" || 15697 test no = "$enable_shared"; then 15698 # Fast installation is not necessary 15699 enable_fast_install=needless 15700fi 15701 15702 15703 15704 15705 15706 15707 15708 fi # test -n "$compiler" 15709 15710 CC=$lt_save_CC 15711 CFLAGS=$lt_save_CFLAGS 15712 LDCXX=$LD 15713 LD=$lt_save_LD 15714 GCC=$lt_save_GCC 15715 with_gnu_ld=$lt_save_with_gnu_ld 15716 lt_cv_path_LDCXX=$lt_cv_path_LD 15717 lt_cv_path_LD=$lt_save_path_LD 15718 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld 15719 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld 15720fi # test yes != "$_lt_caught_CXX_error" 15721 15722ac_ext=c 15723ac_cpp='$CPP $CPPFLAGS' 15724ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 15725ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 15726ac_compiler_gnu=$ac_cv_c_compiler_gnu 15727 15728 15729 15730 15731 15732 15733 15734 15735 15736 15737 15738 15739 15740 15741 15742 ac_config_commands="$ac_config_commands libtool" 15743 15744 15745 15746 15747# Only expand once: 15748 15749 15750 15751 15752 15753@%:@ Check whether --enable-debug was given. 15754if test "${enable_debug+set}" = set; then : 15755 enableval=$enable_debug; 15756else 15757 enable_debug=no 15758fi 15759 15760@%:@ Check whether --enable-gprof was given. 15761if test "${enable_gprof+set}" = set; then : 15762 enableval=$enable_gprof; 15763else 15764 enable_gprof=no 15765fi 15766 15767@%:@ Check whether --enable-universal_binary was given. 15768if test "${enable_universal_binary+set}" = set; then : 15769 enableval=$enable_universal_binary; 15770else 15771 enable_universal_binary=no 15772fi 15773 15774@%:@ Check whether --enable-arch-ppc was given. 15775if test "${enable_arch_ppc+set}" = set; then : 15776 enableval=$enable_arch_ppc; 15777else 15778 enable_arch_ppc=no 15779fi 15780 15781@%:@ Check whether --enable-arch-ppc64 was given. 15782if test "${enable_arch_ppc64+set}" = set; then : 15783 enableval=$enable_arch_ppc64; 15784else 15785 enable_arch_ppc64=no 15786fi 15787 15788@%:@ Check whether --enable-arch-i386 was given. 15789if test "${enable_arch_i386+set}" = set; then : 15790 enableval=$enable_arch_i386; 15791else 15792 enable_arch_i386=no 15793fi 15794 15795@%:@ Check whether --enable-arch-x86_64 was given. 15796if test "${enable_arch_x86_64+set}" = set; then : 15797 enableval=$enable_arch_x86_64; 15798else 15799 enable_arch_x86_64=no 15800fi 15801 15802@%:@ Check whether --enable-arch-arm64 was given. 15803if test "${enable_arch_arm64+set}" = set; then : 15804 enableval=$enable_arch_arm64; 15805else 15806 enable_arch_arm64=no 15807fi 15808 15809@%:@ Check whether --enable-staticlibs was given. 15810if test "${enable_staticlibs+set}" = set; then : 15811 enableval=$enable_staticlibs; 15812else 15813 enable_staticlibs=no 15814fi 15815 15816@%:@ Check whether --enable-stream_missing was given. 15817if test "${enable_stream_missing+set}" = set; then : 15818 enableval=$enable_stream_missing; 15819else 15820 enable_stream_missing=no 15821fi 15822 15823 15824 15825@%:@ Check whether --with-macosx-sdk was given. 15826if test "${with_macosx_sdk+set}" = set; then : 15827 withval=$with_macosx_sdk; 15828else 15829 with_macosx_sdk=no 15830fi 15831 15832 15833@%:@ Check whether --with-macosx-version-min was given. 15834if test "${with_macosx_version_min+set}" = set; then : 15835 withval=$with_macosx_version_min; 15836else 15837 with_macosx_version_min=no 15838fi 15839 15840 15841@%:@ Check whether --with-dll was given. 15842if test "${with_dll+set}" = set; then : 15843 withval=$with_dll; 15844else 15845 with_dll=no 15846fi 15847 15848 15849@%:@ Check whether --with-libmediainfo-name was given. 15850if test "${with_libmediainfo_name+set}" = set; then : 15851 withval=$with_libmediainfo_name; 15852else 15853 with_libmediainfo_name=mediainfo 15854fi 15855 15856 15857 15858 15859if test -e ../../../../ZenLib/Project/GNU/Library/libzen-config; then 15860 enable_unicode="$(../../../../ZenLib/Project/GNU/Library/libzen-config Unicode)" 15861elif test "$(libzen-config Exists)" = "yes" ; then 15862 enable_unicode="$(libzen-config Unicode)" 15863else 15864 if ${PKG_CONFIG:-pkg-config} --exists libzen; then 15865 enable_unicode="$(${PKG_CONFIG:-pkg-config} --variable=Unicode libzen)" 15866 else 15867 as_fn_error $? "libzen configuration is not found" "$LINENO" 5 15868 fi 15869fi 15870 15871 15872 15873 15874 15875 15876if test "$enable_unicode" = "yes"; then 15877 $as_echo "@%:@define UNICODE 1" >>confdefs.h 15878 15879 MediaInfo_CXXFLAGS="$MediaInfo_CXXFLAGS -DUNICODE" 15880 MediaInfo_Unicode="yes" 15881else 15882 MediaInfo_Unicode="no" 15883fi 15884 15885if test "$with_dll" = "yes"; then 15886 $as_echo "@%:@define MEDIAINFO_DLL_RUNTIME 1" >>confdefs.h 15887 15888 LIBS="$LIBS -ldl" 15889fi 15890 15891ac_ext=cpp 15892ac_cpp='$CXXCPP $CPPFLAGS' 15893ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 15894ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 15895ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 15896 15897if test "$enable_unicode" = "yes"; then 15898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15899/* end confdefs.h. */ 15900 15901 #include <sstream> 15902 int main () {std::wstringstream message; message<<1.0; return 0;} 15903_ACEOF 15904if ac_fn_cxx_try_compile "$LINENO"; then : 15905 15906else 15907 enable_stream_missing="yes" 15908fi 15909rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15910else 15911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15912/* end confdefs.h. */ 15913 15914 #include <sstream> 15915 int main () {std::stringstream message; message<<1.0; return 0;} 15916_ACEOF 15917if ac_fn_cxx_try_compile "$LINENO"; then : 15918 15919else 15920 enable_stream_missing="yes" 15921fi 15922rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15923fi 15924 15925if test "$enable_stream_missing" = "yes"; then 15926 CXXFLAGS="$CXXFLAGS -DSTREAM_MISSING" 15927fi 15928 15929if test "$GXX" = yes ; then 15930 if test "$enable_debug" = "yes"; then 15931 CFLAGS="$CFLAGS -O0 -g -Wall -Wundef" 15932 CXXFLAGS="$CXXFLAGS -O0 -g -Wall -W -Wundef -Wcast-qual -Wno-ctor-dtor-privacy" 15933 else 15934 CFLAGS="$CFLAGS -O2" 15935 CXXFLAGS="$CXXFLAGS -O2" 15936 fi 15937 if test "$enable_gprof" = "yes"; then 15938 CFLAGS="$CFLAGS -pg -g" 15939 CXXFLAGS="$CXXFLAGS -pg -g" 15940 fi 15941fi 15942 15943 15944MediaInfoLib_LibName="$with_libmediainfo_name" 15945 15946if test "$with_dll" != "yes"; then 15947 if test -e ../../../../MediaInfoLib/Project/GNU/Library/lib$with_libmediainfo_name.la; then 15948 CXXFLAGS="$CXXFLAGS $(../../../../MediaInfoLib/Project/GNU/Library/libmediainfo-config CXXFLAGS)" 15949 if test "$enable_staticlibs" = "yes"; then 15950 with_mediainfolib="builtin (static)" 15951 LIBS="$LIBS $(../../../../MediaInfoLib/Project/GNU/Library/libmediainfo-config LIBS_Static)" 15952 else 15953 with_mediainfolib="builtin" 15954 LIBS="$LIBS $(../../../../MediaInfoLib/Project/GNU/Library/libmediainfo-config LIBS)" 15955 fi 15956 elif test "$(libmediainfo-config Exists)" = "yes" ; then 15957 CXXFLAGS="$CXXFLAGS $(libmediainfo-config CXXFLAGS)" 15958 if test "$enable_staticlibs" = "yes"; then 15959 with_mediainfolib="system (static)" 15960 LIBS="$LIBS $(libmediainfo-config LIBS_Static)" 15961 else 15962 with_mediainfolib="system" 15963 LIBS="$LIBS $(libmediainfo-config LIBS)" 15964 fi 15965 else 15966 if ${PKG_CONFIG:-pkg-config} --exists libmediainfo; then 15967 CXXFLAGS="$CXXFLAGS $(${PKG_CONFIG:-pkg-config} --cflags libmediainfo)" 15968 if test "$enable_staticlibs" = "yes"; then 15969 with_mediainfolib="system (static)" 15970 LIBS="$LIBS $(${PKG_CONFIG:-pkg-config} --variable=Libs_Static libmediainfo)" 15971 LIBS="$LIBS $(${PKG_CONFIG:-pkg-config} --static --libs libmediainfo)" 15972 else 15973 with_mediainfolib="system" 15974 LIBS="$LIBS $(${PKG_CONFIG:-pkg-config} --libs libmediainfo)" 15975 fi 15976 else 15977 as_fn_error $? "libmediainfo configuration is not found" "$LINENO" 5 15978 fi 15979 fi 15980else 15981 with_mediainfolib="load at runtime" 15982fi 15983 15984if test -e ../../../../ZenLib/Project/GNU/Library/libzen.la; then 15985 CXXFLAGS="$CXXFLAGS $(../../../../ZenLib/Project/GNU/Library/libzen-config CXXFLAGS)" 15986 MediaInfoLib_CXXFLAGS="$MediaInfoLib_CXXFLAGS $(../../../../ZenLib/Project/GNU/Library/libzen-config CXXFLAGS)" 15987 if test "$enable_staticlibs" = "yes"; then 15988 with_zenlib="builtin (static)" 15989 LIBS="$LIBS $(../../../../ZenLib/Project/GNU/Library/libzen-config LIBS_Static)" 15990 else 15991 with_zenlib="builtin" 15992 LIBS="$LIBS $(../../../../ZenLib/Project/GNU/Library/libzen-config LIBS)" 15993 fi 15994elif test "$(libzen-config Exists)" = "yes" ; then 15995 CXXFLAGS="$CXXFLAGS $(libzen-config CXXFLAGS)" 15996 MediaInfoLib_CXXFLAGS="$MediaInfoLib_CXXFLAGS $(libzen-config CXXFLAGS)" 15997 if test "$enable_staticlibs" = "yes"; then 15998 with_zenlib="system (static)" 15999 LIBS="$LIBS $(libzen-config LIBS_Static)" 16000 else 16001 with_zenlib="system" 16002 LIBS="$LIBS $(libzen-config LIBS)" 16003 fi 16004else 16005 if ${PKG_CONFIG:-pkg-config} --exists libzen; then 16006 CXXFLAGS="$CXXFLAGS $(${PKG_CONFIG:-pkg-config} --cflags libzen)" 16007 MediaInfoLib_CXXFLAGS="$MediaInfoLib_CXXFLAGS $(${PKG_CONFIG:-pkg-config} --cflags libzen)" 16008 if test "$enable_staticlibs" = "yes"; then 16009 with_zenlib="system (static)" 16010 LIBS="$LIBS $(${PKG_CONFIG:-pkg-config} --variable=Libs_Static libzen)" 16011 LIBS="$LIBS $(${PKG_CONFIG:-pkg-config} --static --libs libzen)" 16012 else 16013 with_zenlib="system" 16014 LIBS="$LIBS $(${PKG_CONFIG:-pkg-config} --libs libzen)" 16015 fi 16016 else 16017 as_fn_error $? "libzen configuration is not found" "$LINENO" 5 16018 fi 16019fi 16020 16021 16022case "${build}" in 16023 powerpc-montavista* ) 16024 CFLAGS="$CFLAGS -D__MONTAVISTA__" 16025 CXXFLAGS="$CXXFLAGS -D__MONTAVISTA__" 16026 ;; 16027esac 16028 16029case "$host_os" in 16030 darwin* ) 16031 LDFLAGS="$LDFLAGS -framework CoreFoundation" 16032 ;; 16033esac 16034 16035if test "$enable_universal_binary" = "yes"; then 16036 enable_arch_ppc=yes 16037 enable_arch_i386=yes 16038fi 16039if test "$enable_arch_ppc" = "yes"; then 16040 CXXFLAGS="$CXXFLAGS -arch ppc" 16041 CFLAGS="$CFLAGS -arch ppc" 16042 LDFLAGS="$LDFLAGS -arch ppc" 16043fi 16044if test "$enable_arch_ppc64" = "yes"; then 16045 CXXFLAGS="$CXXFLAGS -arch ppc64" 16046 CFLAGS="$CFLAGS -arch ppc64" 16047 LDFLAGS="$LDFLAGS -arch ppc64" 16048fi 16049if test "$enable_arch_i386" = "yes"; then 16050 CXXFLAGS="$CXXFLAGS -arch i386" 16051 CFLAGS="$CFLAGS -arch i386" 16052 LDFLAGS="$LDFLAGS -arch i386" 16053fi 16054if test "$enable_arch_x86_64" = "yes"; then 16055 CXXFLAGS="$CXXFLAGS -arch x86_64" 16056 CFLAGS="$CFLAGS -arch x86_64" 16057 LDFLAGS="$LDFLAGS -arch x86_64" 16058fi 16059if test "$enable_arch_arm64" = "yes"; then 16060 CXXFLAGS="$CXXFLAGS -arch arm64" 16061 CFLAGS="$CFLAGS -arch arm64" 16062 LDFLAGS="$LDFLAGS -arch arm64" 16063fi 16064if test "x$with_macosx_sdk" != xno ; then 16065 CXXFLAGS="-isysroot $with_macosx_sdk $CXXFLAGS" 16066 CFLAGS="-isysroot $with_macosx_sdk $CFLAGS" 16067 LDFLAGS="-isysroot $with_macosx_sdk $LDFLAGS" 16068fi 16069if test "x$with_macosx_version_min" != xno ; then 16070 CXXFLAGS="-mmacosx-version-min=$with_macosx_version_min $CXXFLAGS" 16071 CFLAGS="-mmacosx-version-min=$with_macosx_version_min $CFLAGS" 16072 LDFLAGS="-mmacosx-version-min=$with_macosx_version_min $LDFLAGS" 16073fi 16074 16075 16076ac_config_files="$ac_config_files Makefile" 16077 16078cat >confcache <<\_ACEOF 16079# This file is a shell script that caches the results of configure 16080# tests run on this system so they can be shared between configure 16081# scripts and configure runs, see configure's option --config-cache. 16082# It is not useful on other systems. If it contains results you don't 16083# want to keep, you may remove or edit it. 16084# 16085# config.status only pays attention to the cache file if you give it 16086# the --recheck option to rerun configure. 16087# 16088# `ac_cv_env_foo' variables (set or unset) will be overridden when 16089# loading this file, other *unset* `ac_cv_foo' will be assigned the 16090# following values. 16091 16092_ACEOF 16093 16094# The following way of writing the cache mishandles newlines in values, 16095# but we know of no workaround that is simple, portable, and efficient. 16096# So, we kill variables containing newlines. 16097# Ultrix sh set writes to stderr and can't be redirected directly, 16098# and sets the high bit in the cache file unless we assign to the vars. 16099( 16100 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 16101 eval ac_val=\$$ac_var 16102 case $ac_val in #( 16103 *${as_nl}*) 16104 case $ac_var in #( 16105 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 16106$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 16107 esac 16108 case $ac_var in #( 16109 _ | IFS | as_nl) ;; #( 16110 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 16111 *) { eval $ac_var=; unset $ac_var;} ;; 16112 esac ;; 16113 esac 16114 done 16115 16116 (set) 2>&1 | 16117 case $as_nl`(ac_space=' '; set) 2>&1` in #( 16118 *${as_nl}ac_space=\ *) 16119 # `set' does not quote correctly, so add quotes: double-quote 16120 # substitution turns \\\\ into \\, and sed turns \\ into \. 16121 sed -n \ 16122 "s/'/'\\\\''/g; 16123 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 16124 ;; #( 16125 *) 16126 # `set' quotes correctly as required by POSIX, so do not add quotes. 16127 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 16128 ;; 16129 esac | 16130 sort 16131) | 16132 sed ' 16133 /^ac_cv_env_/b end 16134 t clear 16135 :clear 16136 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 16137 t end 16138 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 16139 :end' >>confcache 16140if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 16141 if test -w "$cache_file"; then 16142 if test "x$cache_file" != "x/dev/null"; then 16143 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 16144$as_echo "$as_me: updating cache $cache_file" >&6;} 16145 if test ! -f "$cache_file" || test -h "$cache_file"; then 16146 cat confcache >"$cache_file" 16147 else 16148 case $cache_file in #( 16149 */* | ?:*) 16150 mv -f confcache "$cache_file"$$ && 16151 mv -f "$cache_file"$$ "$cache_file" ;; #( 16152 *) 16153 mv -f confcache "$cache_file" ;; 16154 esac 16155 fi 16156 fi 16157 else 16158 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 16159$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 16160 fi 16161fi 16162rm -f confcache 16163 16164test "x$prefix" = xNONE && prefix=$ac_default_prefix 16165# Let make expand exec_prefix. 16166test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 16167 16168# Transform confdefs.h into DEFS. 16169# Protect against shell expansion while executing Makefile rules. 16170# Protect against Makefile macro expansion. 16171# 16172# If the first sed substitution is executed (which looks for macros that 16173# take arguments), then branch to the quote section. Otherwise, 16174# look for a macro that doesn't take arguments. 16175ac_script=' 16176:mline 16177/\\$/{ 16178 N 16179 s,\\\n,, 16180 b mline 16181} 16182t clear 16183:clear 16184s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 16185t quote 16186s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 16187t quote 16188b any 16189:quote 16190s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 16191s/\[/\\&/g 16192s/\]/\\&/g 16193s/\$/$$/g 16194H 16195:any 16196${ 16197 g 16198 s/^\n// 16199 s/\n/ /g 16200 p 16201} 16202' 16203DEFS=`sed -n "$ac_script" confdefs.h` 16204 16205 16206ac_libobjs= 16207ac_ltlibobjs= 16208U= 16209for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue 16210 # 1. Remove the extension, and $U if already installed. 16211 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 16212 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 16213 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 16214 # will be set to the directory where LIBOBJS objects are built. 16215 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 16216 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 16217done 16218LIB@&t@OBJS=$ac_libobjs 16219 16220LTLIBOBJS=$ac_ltlibobjs 16221 16222 16223{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 16224$as_echo_n "checking that generated files are newer than configure... " >&6; } 16225 if test -n "$am_sleep_pid"; then 16226 # Hide warnings about reused PIDs. 16227 wait $am_sleep_pid 2>/dev/null 16228 fi 16229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 16230$as_echo "done" >&6; } 16231 if test -n "$EXEEXT"; then 16232 am__EXEEXT_TRUE= 16233 am__EXEEXT_FALSE='#' 16234else 16235 am__EXEEXT_TRUE='#' 16236 am__EXEEXT_FALSE= 16237fi 16238 16239if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 16240 as_fn_error $? "conditional \"AMDEP\" was never defined. 16241Usually this means the macro was only invoked conditionally." "$LINENO" 5 16242fi 16243if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 16244 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 16245Usually this means the macro was only invoked conditionally." "$LINENO" 5 16246fi 16247if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 16248 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. 16249Usually this means the macro was only invoked conditionally." "$LINENO" 5 16250fi 16251 16252: "${CONFIG_STATUS=./config.status}" 16253ac_write_fail=0 16254ac_clean_files_save=$ac_clean_files 16255ac_clean_files="$ac_clean_files $CONFIG_STATUS" 16256{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 16257$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 16258as_write_fail=0 16259cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 16260#! $SHELL 16261# Generated by $as_me. 16262# Run this file to recreate the current configuration. 16263# Compiler output produced by configure, useful for debugging 16264# configure, is in config.log if it exists. 16265 16266debug=false 16267ac_cs_recheck=false 16268ac_cs_silent=false 16269 16270SHELL=\${CONFIG_SHELL-$SHELL} 16271export SHELL 16272_ASEOF 16273cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 16274## -------------------- ## 16275## M4sh Initialization. ## 16276## -------------------- ## 16277 16278# Be more Bourne compatible 16279DUALCASE=1; export DUALCASE # for MKS sh 16280if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 16281 emulate sh 16282 NULLCMD=: 16283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 16284 # is contrary to our usage. Disable this feature. 16285 alias -g '${1+"$@"}'='"$@"' 16286 setopt NO_GLOB_SUBST 16287else 16288 case `(set -o) 2>/dev/null` in @%:@( 16289 *posix*) : 16290 set -o posix ;; @%:@( 16291 *) : 16292 ;; 16293esac 16294fi 16295 16296 16297as_nl=' 16298' 16299export as_nl 16300# Printing a long string crashes Solaris 7 /usr/bin/printf. 16301as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 16302as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 16303as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 16304# Prefer a ksh shell builtin over an external printf program on Solaris, 16305# but without wasting forks for bash or zsh. 16306if test -z "$BASH_VERSION$ZSH_VERSION" \ 16307 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 16308 as_echo='print -r --' 16309 as_echo_n='print -rn --' 16310elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 16311 as_echo='printf %s\n' 16312 as_echo_n='printf %s' 16313else 16314 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 16315 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 16316 as_echo_n='/usr/ucb/echo -n' 16317 else 16318 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 16319 as_echo_n_body='eval 16320 arg=$1; 16321 case $arg in @%:@( 16322 *"$as_nl"*) 16323 expr "X$arg" : "X\\(.*\\)$as_nl"; 16324 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 16325 esac; 16326 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 16327 ' 16328 export as_echo_n_body 16329 as_echo_n='sh -c $as_echo_n_body as_echo' 16330 fi 16331 export as_echo_body 16332 as_echo='sh -c $as_echo_body as_echo' 16333fi 16334 16335# The user is always right. 16336if test "${PATH_SEPARATOR+set}" != set; then 16337 PATH_SEPARATOR=: 16338 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 16339 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 16340 PATH_SEPARATOR=';' 16341 } 16342fi 16343 16344 16345# IFS 16346# We need space, tab and new line, in precisely that order. Quoting is 16347# there to prevent editors from complaining about space-tab. 16348# (If _AS_PATH_WALK were called with IFS unset, it would disable word 16349# splitting by setting IFS to empty value.) 16350IFS=" "" $as_nl" 16351 16352# Find who we are. Look in the path if we contain no directory separator. 16353as_myself= 16354case $0 in @%:@(( 16355 *[\\/]* ) as_myself=$0 ;; 16356 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16357for as_dir in $PATH 16358do 16359 IFS=$as_save_IFS 16360 test -z "$as_dir" && as_dir=. 16361 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 16362 done 16363IFS=$as_save_IFS 16364 16365 ;; 16366esac 16367# We did not find ourselves, most probably we were run as `sh COMMAND' 16368# in which case we are not to be found in the path. 16369if test "x$as_myself" = x; then 16370 as_myself=$0 16371fi 16372if test ! -f "$as_myself"; then 16373 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 16374 exit 1 16375fi 16376 16377# Unset variables that we do not need and which cause bugs (e.g. in 16378# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 16379# suppresses any "Segmentation fault" message there. '((' could 16380# trigger a bug in pdksh 5.2.14. 16381for as_var in BASH_ENV ENV MAIL MAILPATH 16382do eval test x\${$as_var+set} = xset \ 16383 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 16384done 16385PS1='$ ' 16386PS2='> ' 16387PS4='+ ' 16388 16389# NLS nuisances. 16390LC_ALL=C 16391export LC_ALL 16392LANGUAGE=C 16393export LANGUAGE 16394 16395# CDPATH. 16396(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 16397 16398 16399@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] 16400@%:@ ---------------------------------------- 16401@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are 16402@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the 16403@%:@ script with STATUS, using 1 if that was 0. 16404as_fn_error () 16405{ 16406 as_status=$1; test $as_status -eq 0 && as_status=1 16407 if test "$4"; then 16408 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 16409 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 16410 fi 16411 $as_echo "$as_me: error: $2" >&2 16412 as_fn_exit $as_status 16413} @%:@ as_fn_error 16414 16415 16416@%:@ as_fn_set_status STATUS 16417@%:@ ----------------------- 16418@%:@ Set @S|@? to STATUS, without forking. 16419as_fn_set_status () 16420{ 16421 return $1 16422} @%:@ as_fn_set_status 16423 16424@%:@ as_fn_exit STATUS 16425@%:@ ----------------- 16426@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 16427as_fn_exit () 16428{ 16429 set +e 16430 as_fn_set_status $1 16431 exit $1 16432} @%:@ as_fn_exit 16433 16434@%:@ as_fn_unset VAR 16435@%:@ --------------- 16436@%:@ Portably unset VAR. 16437as_fn_unset () 16438{ 16439 { eval $1=; unset $1;} 16440} 16441as_unset=as_fn_unset 16442@%:@ as_fn_append VAR VALUE 16443@%:@ ---------------------- 16444@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take 16445@%:@ advantage of any shell optimizations that allow amortized linear growth over 16446@%:@ repeated appends, instead of the typical quadratic growth present in naive 16447@%:@ implementations. 16448if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 16449 eval 'as_fn_append () 16450 { 16451 eval $1+=\$2 16452 }' 16453else 16454 as_fn_append () 16455 { 16456 eval $1=\$$1\$2 16457 } 16458fi # as_fn_append 16459 16460@%:@ as_fn_arith ARG... 16461@%:@ ------------------ 16462@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the 16463@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments 16464@%:@ must be portable across @S|@(()) and expr. 16465if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 16466 eval 'as_fn_arith () 16467 { 16468 as_val=$(( $* )) 16469 }' 16470else 16471 as_fn_arith () 16472 { 16473 as_val=`expr "$@" || test $? -eq 1` 16474 } 16475fi # as_fn_arith 16476 16477 16478if expr a : '\(a\)' >/dev/null 2>&1 && 16479 test "X`expr 00001 : '.*\(...\)'`" = X001; then 16480 as_expr=expr 16481else 16482 as_expr=false 16483fi 16484 16485if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 16486 as_basename=basename 16487else 16488 as_basename=false 16489fi 16490 16491if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 16492 as_dirname=dirname 16493else 16494 as_dirname=false 16495fi 16496 16497as_me=`$as_basename -- "$0" || 16498$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 16499 X"$0" : 'X\(//\)$' \| \ 16500 X"$0" : 'X\(/\)' \| . 2>/dev/null || 16501$as_echo X/"$0" | 16502 sed '/^.*\/\([^/][^/]*\)\/*$/{ 16503 s//\1/ 16504 q 16505 } 16506 /^X\/\(\/\/\)$/{ 16507 s//\1/ 16508 q 16509 } 16510 /^X\/\(\/\).*/{ 16511 s//\1/ 16512 q 16513 } 16514 s/.*/./; q'` 16515 16516# Avoid depending upon Character Ranges. 16517as_cr_letters='abcdefghijklmnopqrstuvwxyz' 16518as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 16519as_cr_Letters=$as_cr_letters$as_cr_LETTERS 16520as_cr_digits='0123456789' 16521as_cr_alnum=$as_cr_Letters$as_cr_digits 16522 16523ECHO_C= ECHO_N= ECHO_T= 16524case `echo -n x` in @%:@((((( 16525-n*) 16526 case `echo 'xy\c'` in 16527 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 16528 xy) ECHO_C='\c';; 16529 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 16530 ECHO_T=' ';; 16531 esac;; 16532*) 16533 ECHO_N='-n';; 16534esac 16535 16536rm -f conf$$ conf$$.exe conf$$.file 16537if test -d conf$$.dir; then 16538 rm -f conf$$.dir/conf$$.file 16539else 16540 rm -f conf$$.dir 16541 mkdir conf$$.dir 2>/dev/null 16542fi 16543if (echo >conf$$.file) 2>/dev/null; then 16544 if ln -s conf$$.file conf$$ 2>/dev/null; then 16545 as_ln_s='ln -s' 16546 # ... but there are two gotchas: 16547 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 16548 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 16549 # In both cases, we have to default to `cp -pR'. 16550 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 16551 as_ln_s='cp -pR' 16552 elif ln conf$$.file conf$$ 2>/dev/null; then 16553 as_ln_s=ln 16554 else 16555 as_ln_s='cp -pR' 16556 fi 16557else 16558 as_ln_s='cp -pR' 16559fi 16560rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 16561rmdir conf$$.dir 2>/dev/null 16562 16563 16564@%:@ as_fn_mkdir_p 16565@%:@ ------------- 16566@%:@ Create "@S|@as_dir" as a directory, including parents if necessary. 16567as_fn_mkdir_p () 16568{ 16569 16570 case $as_dir in #( 16571 -*) as_dir=./$as_dir;; 16572 esac 16573 test -d "$as_dir" || eval $as_mkdir_p || { 16574 as_dirs= 16575 while :; do 16576 case $as_dir in #( 16577 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 16578 *) as_qdir=$as_dir;; 16579 esac 16580 as_dirs="'$as_qdir' $as_dirs" 16581 as_dir=`$as_dirname -- "$as_dir" || 16582$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16583 X"$as_dir" : 'X\(//\)[^/]' \| \ 16584 X"$as_dir" : 'X\(//\)$' \| \ 16585 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 16586$as_echo X"$as_dir" | 16587 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16588 s//\1/ 16589 q 16590 } 16591 /^X\(\/\/\)[^/].*/{ 16592 s//\1/ 16593 q 16594 } 16595 /^X\(\/\/\)$/{ 16596 s//\1/ 16597 q 16598 } 16599 /^X\(\/\).*/{ 16600 s//\1/ 16601 q 16602 } 16603 s/.*/./; q'` 16604 test -d "$as_dir" && break 16605 done 16606 test -z "$as_dirs" || eval "mkdir $as_dirs" 16607 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 16608 16609 16610} @%:@ as_fn_mkdir_p 16611if mkdir -p . 2>/dev/null; then 16612 as_mkdir_p='mkdir -p "$as_dir"' 16613else 16614 test -d ./-p && rmdir ./-p 16615 as_mkdir_p=false 16616fi 16617 16618 16619@%:@ as_fn_executable_p FILE 16620@%:@ ----------------------- 16621@%:@ Test if FILE is an executable regular file. 16622as_fn_executable_p () 16623{ 16624 test -f "$1" && test -x "$1" 16625} @%:@ as_fn_executable_p 16626as_test_x='test -x' 16627as_executable_p=as_fn_executable_p 16628 16629# Sed expression to map a string onto a valid CPP name. 16630as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 16631 16632# Sed expression to map a string onto a valid variable name. 16633as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 16634 16635 16636exec 6>&1 16637## ----------------------------------- ## 16638## Main body of $CONFIG_STATUS script. ## 16639## ----------------------------------- ## 16640_ASEOF 16641test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 16642 16643cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16644# Save the log message, to keep $0 and so on meaningful, and to 16645# report actual input values of CONFIG_FILES etc. instead of their 16646# values after options handling. 16647ac_log=" 16648This file was extended by mediainfo $as_me 21.09, which was 16649generated by GNU Autoconf 2.69. Invocation command line was 16650 16651 CONFIG_FILES = $CONFIG_FILES 16652 CONFIG_HEADERS = $CONFIG_HEADERS 16653 CONFIG_LINKS = $CONFIG_LINKS 16654 CONFIG_COMMANDS = $CONFIG_COMMANDS 16655 $ $0 $@ 16656 16657on `(hostname || uname -n) 2>/dev/null | sed 1q` 16658" 16659 16660_ACEOF 16661 16662case $ac_config_files in *" 16663"*) set x $ac_config_files; shift; ac_config_files=$*;; 16664esac 16665 16666 16667 16668cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16669# Files that config.status was made for. 16670config_files="$ac_config_files" 16671config_commands="$ac_config_commands" 16672 16673_ACEOF 16674 16675cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16676ac_cs_usage="\ 16677\`$as_me' instantiates files and other configuration actions 16678from templates according to the current configuration. Unless the files 16679and actions are specified as TAGs, all are instantiated by default. 16680 16681Usage: $0 [OPTION]... [TAG]... 16682 16683 -h, --help print this help, then exit 16684 -V, --version print version number and configuration settings, then exit 16685 --config print configuration, then exit 16686 -q, --quiet, --silent 16687 do not print progress messages 16688 -d, --debug don't remove temporary files 16689 --recheck update $as_me by reconfiguring in the same conditions 16690 --file=FILE[:TEMPLATE] 16691 instantiate the configuration file FILE 16692 16693Configuration files: 16694$config_files 16695 16696Configuration commands: 16697$config_commands 16698 16699Report bugs to the package provider." 16700 16701_ACEOF 16702cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16703ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 16704ac_cs_version="\\ 16705mediainfo config.status 21.09 16706configured by $0, generated by GNU Autoconf 2.69, 16707 with options \\"\$ac_cs_config\\" 16708 16709Copyright (C) 2012 Free Software Foundation, Inc. 16710This config.status script is free software; the Free Software Foundation 16711gives unlimited permission to copy, distribute and modify it." 16712 16713ac_pwd='$ac_pwd' 16714srcdir='$srcdir' 16715INSTALL='$INSTALL' 16716MKDIR_P='$MKDIR_P' 16717AWK='$AWK' 16718test -n "\$AWK" || AWK=awk 16719_ACEOF 16720 16721cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16722# The default lists apply if the user does not specify any file. 16723ac_need_defaults=: 16724while test $# != 0 16725do 16726 case $1 in 16727 --*=?*) 16728 ac_option=`expr "X$1" : 'X\([^=]*\)='` 16729 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 16730 ac_shift=: 16731 ;; 16732 --*=) 16733 ac_option=`expr "X$1" : 'X\([^=]*\)='` 16734 ac_optarg= 16735 ac_shift=: 16736 ;; 16737 *) 16738 ac_option=$1 16739 ac_optarg=$2 16740 ac_shift=shift 16741 ;; 16742 esac 16743 16744 case $ac_option in 16745 # Handling of the options. 16746 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 16747 ac_cs_recheck=: ;; 16748 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 16749 $as_echo "$ac_cs_version"; exit ;; 16750 --config | --confi | --conf | --con | --co | --c ) 16751 $as_echo "$ac_cs_config"; exit ;; 16752 --debug | --debu | --deb | --de | --d | -d ) 16753 debug=: ;; 16754 --file | --fil | --fi | --f ) 16755 $ac_shift 16756 case $ac_optarg in 16757 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 16758 '') as_fn_error $? "missing file argument" ;; 16759 esac 16760 as_fn_append CONFIG_FILES " '$ac_optarg'" 16761 ac_need_defaults=false;; 16762 --he | --h | --help | --hel | -h ) 16763 $as_echo "$ac_cs_usage"; exit ;; 16764 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 16765 | -silent | --silent | --silen | --sile | --sil | --si | --s) 16766 ac_cs_silent=: ;; 16767 16768 # This is an error. 16769 -*) as_fn_error $? "unrecognized option: \`$1' 16770Try \`$0 --help' for more information." ;; 16771 16772 *) as_fn_append ac_config_targets " $1" 16773 ac_need_defaults=false ;; 16774 16775 esac 16776 shift 16777done 16778 16779ac_configure_extra_args= 16780 16781if $ac_cs_silent; then 16782 exec 6>/dev/null 16783 ac_configure_extra_args="$ac_configure_extra_args --silent" 16784fi 16785 16786_ACEOF 16787cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16788if \$ac_cs_recheck; then 16789 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 16790 shift 16791 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 16792 CONFIG_SHELL='$SHELL' 16793 export CONFIG_SHELL 16794 exec "\$@" 16795fi 16796 16797_ACEOF 16798cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16799exec 5>>config.log 16800{ 16801 echo 16802 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX 16803@%:@@%:@ Running $as_me. @%:@@%:@ 16804_ASBOX 16805 $as_echo "$ac_log" 16806} >&5 16807 16808_ACEOF 16809cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16810# 16811# INIT-COMMANDS 16812# 16813AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" 16814 16815 16816# The HP-UX ksh and POSIX shell print the target directory to stdout 16817# if CDPATH is set. 16818(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 16819 16820sed_quote_subst='$sed_quote_subst' 16821double_quote_subst='$double_quote_subst' 16822delay_variable_subst='$delay_variable_subst' 16823macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 16824macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 16825enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 16826enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 16827pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 16828enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 16829shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 16830SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 16831ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 16832PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 16833host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 16834host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 16835host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 16836build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 16837build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 16838build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 16839SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 16840Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 16841GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 16842EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 16843FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 16844LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 16845NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 16846LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 16847max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 16848ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 16849exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 16850lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 16851lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 16852lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 16853lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 16854lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 16855reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 16856reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 16857OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 16858deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 16859file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 16860file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 16861want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 16862DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 16863sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 16864AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 16865AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 16866archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 16867STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 16868RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 16869old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 16870old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 16871old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 16872lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 16873CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 16874CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 16875compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 16876GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 16877lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 16878lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 16879lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 16880lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 16881lt_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"`' 16882lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 16883nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 16884lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 16885lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 16886objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 16887MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 16888lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 16889lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 16890lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 16891lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 16892lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 16893need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 16894MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 16895DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 16896NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 16897LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 16898OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 16899OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 16900libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 16901shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 16902extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 16903archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 16904enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 16905export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 16906whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 16907compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 16908old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 16909old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 16910archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 16911archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 16912module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 16913module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 16914with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 16915allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 16916no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 16917hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 16918hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 16919hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 16920hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 16921hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 16922hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 16923hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 16924inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 16925link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 16926always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 16927export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 16928exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 16929include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 16930prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 16931postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 16932file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 16933variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 16934need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 16935need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 16936version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 16937runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 16938shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 16939shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 16940libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 16941library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 16942soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 16943install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 16944postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 16945postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 16946finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 16947finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 16948hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 16949sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 16950configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 16951configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 16952hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 16953enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 16954enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 16955enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 16956old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 16957striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 16958compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' 16959predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' 16960postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' 16961predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' 16962postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' 16963compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' 16964LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' 16965reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' 16966reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' 16967old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 16968compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' 16969GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' 16970lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' 16971lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' 16972lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' 16973lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' 16974lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' 16975archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' 16976enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' 16977export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 16978whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 16979compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' 16980old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' 16981old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' 16982archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 16983archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 16984module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' 16985module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 16986with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' 16987allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 16988no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 16989hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 16990hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' 16991hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' 16992hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' 16993hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' 16994hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' 16995hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' 16996inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' 16997link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' 16998always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' 16999export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' 17000exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 17001include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 17002prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 17003postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 17004file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' 17005hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' 17006compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' 17007predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' 17008postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' 17009predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' 17010postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' 17011compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' 17012 17013LTCC='$LTCC' 17014LTCFLAGS='$LTCFLAGS' 17015compiler='$compiler_DEFAULT' 17016 17017# A function that is used when there is no print builtin or printf. 17018func_fallback_echo () 17019{ 17020 eval 'cat <<_LTECHO_EOF 17021\$1 17022_LTECHO_EOF' 17023} 17024 17025# Quote evaled strings. 17026for var in SHELL \ 17027ECHO \ 17028PATH_SEPARATOR \ 17029SED \ 17030GREP \ 17031EGREP \ 17032FGREP \ 17033LD \ 17034NM \ 17035LN_S \ 17036lt_SP2NL \ 17037lt_NL2SP \ 17038reload_flag \ 17039OBJDUMP \ 17040deplibs_check_method \ 17041file_magic_cmd \ 17042file_magic_glob \ 17043want_nocaseglob \ 17044DLLTOOL \ 17045sharedlib_from_linklib_cmd \ 17046AR \ 17047AR_FLAGS \ 17048archiver_list_spec \ 17049STRIP \ 17050RANLIB \ 17051CC \ 17052CFLAGS \ 17053compiler \ 17054lt_cv_sys_global_symbol_pipe \ 17055lt_cv_sys_global_symbol_to_cdecl \ 17056lt_cv_sys_global_symbol_to_import \ 17057lt_cv_sys_global_symbol_to_c_name_address \ 17058lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 17059lt_cv_nm_interface \ 17060nm_file_list_spec \ 17061lt_cv_truncate_bin \ 17062lt_prog_compiler_no_builtin_flag \ 17063lt_prog_compiler_pic \ 17064lt_prog_compiler_wl \ 17065lt_prog_compiler_static \ 17066lt_cv_prog_compiler_c_o \ 17067need_locks \ 17068MANIFEST_TOOL \ 17069DSYMUTIL \ 17070NMEDIT \ 17071LIPO \ 17072OTOOL \ 17073OTOOL64 \ 17074shrext_cmds \ 17075export_dynamic_flag_spec \ 17076whole_archive_flag_spec \ 17077compiler_needs_object \ 17078with_gnu_ld \ 17079allow_undefined_flag \ 17080no_undefined_flag \ 17081hardcode_libdir_flag_spec \ 17082hardcode_libdir_separator \ 17083exclude_expsyms \ 17084include_expsyms \ 17085file_list_spec \ 17086variables_saved_for_relink \ 17087libname_spec \ 17088library_names_spec \ 17089soname_spec \ 17090install_override_mode \ 17091finish_eval \ 17092old_striplib \ 17093striplib \ 17094compiler_lib_search_dirs \ 17095predep_objects \ 17096postdep_objects \ 17097predeps \ 17098postdeps \ 17099compiler_lib_search_path \ 17100LD_CXX \ 17101reload_flag_CXX \ 17102compiler_CXX \ 17103lt_prog_compiler_no_builtin_flag_CXX \ 17104lt_prog_compiler_pic_CXX \ 17105lt_prog_compiler_wl_CXX \ 17106lt_prog_compiler_static_CXX \ 17107lt_cv_prog_compiler_c_o_CXX \ 17108export_dynamic_flag_spec_CXX \ 17109whole_archive_flag_spec_CXX \ 17110compiler_needs_object_CXX \ 17111with_gnu_ld_CXX \ 17112allow_undefined_flag_CXX \ 17113no_undefined_flag_CXX \ 17114hardcode_libdir_flag_spec_CXX \ 17115hardcode_libdir_separator_CXX \ 17116exclude_expsyms_CXX \ 17117include_expsyms_CXX \ 17118file_list_spec_CXX \ 17119compiler_lib_search_dirs_CXX \ 17120predep_objects_CXX \ 17121postdep_objects_CXX \ 17122predeps_CXX \ 17123postdeps_CXX \ 17124compiler_lib_search_path_CXX; do 17125 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 17126 *[\\\\\\\`\\"\\\$]*) 17127 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 17128 ;; 17129 *) 17130 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 17131 ;; 17132 esac 17133done 17134 17135# Double-quote double-evaled strings. 17136for var in reload_cmds \ 17137old_postinstall_cmds \ 17138old_postuninstall_cmds \ 17139old_archive_cmds \ 17140extract_expsyms_cmds \ 17141old_archive_from_new_cmds \ 17142old_archive_from_expsyms_cmds \ 17143archive_cmds \ 17144archive_expsym_cmds \ 17145module_cmds \ 17146module_expsym_cmds \ 17147export_symbols_cmds \ 17148prelink_cmds \ 17149postlink_cmds \ 17150postinstall_cmds \ 17151postuninstall_cmds \ 17152finish_cmds \ 17153sys_lib_search_path_spec \ 17154configure_time_dlsearch_path \ 17155configure_time_lt_sys_library_path \ 17156reload_cmds_CXX \ 17157old_archive_cmds_CXX \ 17158old_archive_from_new_cmds_CXX \ 17159old_archive_from_expsyms_cmds_CXX \ 17160archive_cmds_CXX \ 17161archive_expsym_cmds_CXX \ 17162module_cmds_CXX \ 17163module_expsym_cmds_CXX \ 17164export_symbols_cmds_CXX \ 17165prelink_cmds_CXX \ 17166postlink_cmds_CXX; do 17167 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 17168 *[\\\\\\\`\\"\\\$]*) 17169 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 17170 ;; 17171 *) 17172 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 17173 ;; 17174 esac 17175done 17176 17177ac_aux_dir='$ac_aux_dir' 17178 17179# See if we are running on zsh, and set the options that allow our 17180# commands through without removal of \ escapes INIT. 17181if test -n "\${ZSH_VERSION+set}"; then 17182 setopt NO_GLOB_SUBST 17183fi 17184 17185 17186 PACKAGE='$PACKAGE' 17187 VERSION='$VERSION' 17188 RM='$RM' 17189 ofile='$ofile' 17190 17191 17192 17193 17194 17195 17196_ACEOF 17197 17198cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17199 17200# Handling of arguments. 17201for ac_config_target in $ac_config_targets 17202do 17203 case $ac_config_target in 17204 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 17205 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 17206 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 17207 17208 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 17209 esac 17210done 17211 17212 17213# If the user did not use the arguments to specify the items to instantiate, 17214# then the envvar interface is used. Set only those that are not. 17215# We use the long form for the default assignment because of an extremely 17216# bizarre bug on SunOS 4.1.3. 17217if $ac_need_defaults; then 17218 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 17219 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 17220fi 17221 17222# Have a temporary directory for convenience. Make it in the build tree 17223# simply because there is no reason against having it here, and in addition, 17224# creating and moving files from /tmp can sometimes cause problems. 17225# Hook for its removal unless debugging. 17226# Note that there is a small window in which the directory will not be cleaned: 17227# after its creation but before its name has been assigned to `$tmp'. 17228$debug || 17229{ 17230 tmp= ac_tmp= 17231 trap 'exit_status=$? 17232 : "${ac_tmp:=$tmp}" 17233 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 17234' 0 17235 trap 'as_fn_exit 1' 1 2 13 15 17236} 17237# Create a (secure) tmp directory for tmp files. 17238 17239{ 17240 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 17241 test -d "$tmp" 17242} || 17243{ 17244 tmp=./conf$$-$RANDOM 17245 (umask 077 && mkdir "$tmp") 17246} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 17247ac_tmp=$tmp 17248 17249# Set up the scripts for CONFIG_FILES section. 17250# No need to generate them if there are no CONFIG_FILES. 17251# This happens for instance with `./config.status config.h'. 17252if test -n "$CONFIG_FILES"; then 17253 17254 17255ac_cr=`echo X | tr X '\015'` 17256# On cygwin, bash can eat \r inside `` if the user requested igncr. 17257# But we know of no other shell where ac_cr would be empty at this 17258# point, so we can use a bashism as a fallback. 17259if test "x$ac_cr" = x; then 17260 eval ac_cr=\$\'\\r\' 17261fi 17262ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 17263if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 17264 ac_cs_awk_cr='\\r' 17265else 17266 ac_cs_awk_cr=$ac_cr 17267fi 17268 17269echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 17270_ACEOF 17271 17272 17273{ 17274 echo "cat >conf$$subs.awk <<_ACEOF" && 17275 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 17276 echo "_ACEOF" 17277} >conf$$subs.sh || 17278 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17279ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 17280ac_delim='%!_!# ' 17281for ac_last_try in false false false false false :; do 17282 . ./conf$$subs.sh || 17283 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17284 17285 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 17286 if test $ac_delim_n = $ac_delim_num; then 17287 break 17288 elif $ac_last_try; then 17289 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17290 else 17291 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 17292 fi 17293done 17294rm -f conf$$subs.sh 17295 17296cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17297cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 17298_ACEOF 17299sed -n ' 17300h 17301s/^/S["/; s/!.*/"]=/ 17302p 17303g 17304s/^[^!]*!// 17305:repl 17306t repl 17307s/'"$ac_delim"'$// 17308t delim 17309:nl 17310h 17311s/\(.\{148\}\)..*/\1/ 17312t more1 17313s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 17314p 17315n 17316b repl 17317:more1 17318s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 17319p 17320g 17321s/.\{148\}// 17322t nl 17323:delim 17324h 17325s/\(.\{148\}\)..*/\1/ 17326t more2 17327s/["\\]/\\&/g; s/^/"/; s/$/"/ 17328p 17329b 17330:more2 17331s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 17332p 17333g 17334s/.\{148\}// 17335t delim 17336' <conf$$subs.awk | sed ' 17337/^[^""]/{ 17338 N 17339 s/\n// 17340} 17341' >>$CONFIG_STATUS || ac_write_fail=1 17342rm -f conf$$subs.awk 17343cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17344_ACAWK 17345cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 17346 for (key in S) S_is_set[key] = 1 17347 FS = "" 17348 17349} 17350{ 17351 line = $ 0 17352 nfields = split(line, field, "@") 17353 substed = 0 17354 len = length(field[1]) 17355 for (i = 2; i < nfields; i++) { 17356 key = field[i] 17357 keylen = length(key) 17358 if (S_is_set[key]) { 17359 value = S[key] 17360 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 17361 len += length(value) + length(field[++i]) 17362 substed = 1 17363 } else 17364 len += 1 + keylen 17365 } 17366 17367 print line 17368} 17369 17370_ACAWK 17371_ACEOF 17372cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17373if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 17374 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 17375else 17376 cat 17377fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 17378 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 17379_ACEOF 17380 17381# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 17382# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 17383# trailing colons and then remove the whole line if VPATH becomes empty 17384# (actually we leave an empty line to preserve line numbers). 17385if test "x$srcdir" = x.; then 17386 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 17387h 17388s/// 17389s/^/:/ 17390s/[ ]*$/:/ 17391s/:\$(srcdir):/:/g 17392s/:\${srcdir}:/:/g 17393s/:@srcdir@:/:/g 17394s/^:*// 17395s/:*$// 17396x 17397s/\(=[ ]*\).*/\1/ 17398G 17399s/\n// 17400s/^[^=]*=[ ]*$// 17401}' 17402fi 17403 17404cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17405fi # test -n "$CONFIG_FILES" 17406 17407 17408eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" 17409shift 17410for ac_tag 17411do 17412 case $ac_tag in 17413 :[FHLC]) ac_mode=$ac_tag; continue;; 17414 esac 17415 case $ac_mode$ac_tag in 17416 :[FHL]*:*);; 17417 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 17418 :[FH]-) ac_tag=-:-;; 17419 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 17420 esac 17421 ac_save_IFS=$IFS 17422 IFS=: 17423 set x $ac_tag 17424 IFS=$ac_save_IFS 17425 shift 17426 ac_file=$1 17427 shift 17428 17429 case $ac_mode in 17430 :L) ac_source=$1;; 17431 :[FH]) 17432 ac_file_inputs= 17433 for ac_f 17434 do 17435 case $ac_f in 17436 -) ac_f="$ac_tmp/stdin";; 17437 *) # Look for the file first in the build tree, then in the source tree 17438 # (if the path is not absolute). The absolute path cannot be DOS-style, 17439 # because $ac_f cannot contain `:'. 17440 test -f "$ac_f" || 17441 case $ac_f in 17442 [\\/$]*) false;; 17443 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 17444 esac || 17445 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 17446 esac 17447 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 17448 as_fn_append ac_file_inputs " '$ac_f'" 17449 done 17450 17451 # Let's still pretend it is `configure' which instantiates (i.e., don't 17452 # use $as_me), people would be surprised to read: 17453 # /* config.h. Generated by config.status. */ 17454 configure_input='Generated from '` 17455 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 17456 `' by configure.' 17457 if test x"$ac_file" != x-; then 17458 configure_input="$ac_file. $configure_input" 17459 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 17460$as_echo "$as_me: creating $ac_file" >&6;} 17461 fi 17462 # Neutralize special characters interpreted by sed in replacement strings. 17463 case $configure_input in #( 17464 *\&* | *\|* | *\\* ) 17465 ac_sed_conf_input=`$as_echo "$configure_input" | 17466 sed 's/[\\\\&|]/\\\\&/g'`;; #( 17467 *) ac_sed_conf_input=$configure_input;; 17468 esac 17469 17470 case $ac_tag in 17471 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 17472 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 17473 esac 17474 ;; 17475 esac 17476 17477 ac_dir=`$as_dirname -- "$ac_file" || 17478$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17479 X"$ac_file" : 'X\(//\)[^/]' \| \ 17480 X"$ac_file" : 'X\(//\)$' \| \ 17481 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 17482$as_echo X"$ac_file" | 17483 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17484 s//\1/ 17485 q 17486 } 17487 /^X\(\/\/\)[^/].*/{ 17488 s//\1/ 17489 q 17490 } 17491 /^X\(\/\/\)$/{ 17492 s//\1/ 17493 q 17494 } 17495 /^X\(\/\).*/{ 17496 s//\1/ 17497 q 17498 } 17499 s/.*/./; q'` 17500 as_dir="$ac_dir"; as_fn_mkdir_p 17501 ac_builddir=. 17502 17503case "$ac_dir" in 17504.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 17505*) 17506 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 17507 # A ".." for each directory in $ac_dir_suffix. 17508 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 17509 case $ac_top_builddir_sub in 17510 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 17511 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 17512 esac ;; 17513esac 17514ac_abs_top_builddir=$ac_pwd 17515ac_abs_builddir=$ac_pwd$ac_dir_suffix 17516# for backward compatibility: 17517ac_top_builddir=$ac_top_build_prefix 17518 17519case $srcdir in 17520 .) # We are building in place. 17521 ac_srcdir=. 17522 ac_top_srcdir=$ac_top_builddir_sub 17523 ac_abs_top_srcdir=$ac_pwd ;; 17524 [\\/]* | ?:[\\/]* ) # Absolute name. 17525 ac_srcdir=$srcdir$ac_dir_suffix; 17526 ac_top_srcdir=$srcdir 17527 ac_abs_top_srcdir=$srcdir ;; 17528 *) # Relative name. 17529 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 17530 ac_top_srcdir=$ac_top_build_prefix$srcdir 17531 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 17532esac 17533ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 17534 17535 17536 case $ac_mode in 17537 :F) 17538 # 17539 # CONFIG_FILE 17540 # 17541 17542 case $INSTALL in 17543 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 17544 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 17545 esac 17546 ac_MKDIR_P=$MKDIR_P 17547 case $MKDIR_P in 17548 [\\/$]* | ?:[\\/]* ) ;; 17549 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 17550 esac 17551_ACEOF 17552 17553cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17554# If the template does not know about datarootdir, expand it. 17555# FIXME: This hack should be removed a few years after 2.60. 17556ac_datarootdir_hack=; ac_datarootdir_seen= 17557ac_sed_dataroot=' 17558/datarootdir/ { 17559 p 17560 q 17561} 17562/@datadir@/p 17563/@docdir@/p 17564/@infodir@/p 17565/@localedir@/p 17566/@mandir@/p' 17567case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 17568*datarootdir*) ac_datarootdir_seen=yes;; 17569*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 17570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 17571$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 17572_ACEOF 17573cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17574 ac_datarootdir_hack=' 17575 s&@datadir@&$datadir&g 17576 s&@docdir@&$docdir&g 17577 s&@infodir@&$infodir&g 17578 s&@localedir@&$localedir&g 17579 s&@mandir@&$mandir&g 17580 s&\\\${datarootdir}&$datarootdir&g' ;; 17581esac 17582_ACEOF 17583 17584# Neutralize VPATH when `$srcdir' = `.'. 17585# Shell code in configure.ac might set extrasub. 17586# FIXME: do we really want to maintain this feature? 17587cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17588ac_sed_extra="$ac_vpsub 17589$extrasub 17590_ACEOF 17591cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17592:t 17593/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 17594s|@configure_input@|$ac_sed_conf_input|;t t 17595s&@top_builddir@&$ac_top_builddir_sub&;t t 17596s&@top_build_prefix@&$ac_top_build_prefix&;t t 17597s&@srcdir@&$ac_srcdir&;t t 17598s&@abs_srcdir@&$ac_abs_srcdir&;t t 17599s&@top_srcdir@&$ac_top_srcdir&;t t 17600s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 17601s&@builddir@&$ac_builddir&;t t 17602s&@abs_builddir@&$ac_abs_builddir&;t t 17603s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 17604s&@INSTALL@&$ac_INSTALL&;t t 17605s&@MKDIR_P@&$ac_MKDIR_P&;t t 17606$ac_datarootdir_hack 17607" 17608eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 17609 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17610 17611test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 17612 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 17613 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 17614 "$ac_tmp/out"`; test -z "$ac_out"; } && 17615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 17616which seems to be undefined. Please make sure it is defined" >&5 17617$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 17618which seems to be undefined. Please make sure it is defined" >&2;} 17619 17620 rm -f "$ac_tmp/stdin" 17621 case $ac_file in 17622 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 17623 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 17624 esac \ 17625 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 17626 ;; 17627 17628 17629 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 17630$as_echo "$as_me: executing $ac_file commands" >&6;} 17631 ;; 17632 esac 17633 17634 17635 case $ac_file$ac_mode in 17636 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 17637 # Older Autoconf quotes --file arguments for eval, but not when files 17638 # are listed without --file. Let's play safe and only enable the eval 17639 # if we detect the quoting. 17640 # TODO: see whether this extra hack can be removed once we start 17641 # requiring Autoconf 2.70 or later. 17642 case $CONFIG_FILES in @%:@( 17643 *\'*) : 17644 eval set x "$CONFIG_FILES" ;; @%:@( 17645 *) : 17646 set x $CONFIG_FILES ;; @%:@( 17647 *) : 17648 ;; 17649esac 17650 shift 17651 # Used to flag and report bootstrapping failures. 17652 am_rc=0 17653 for am_mf 17654 do 17655 # Strip MF so we end up with the name of the file. 17656 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` 17657 # Check whether this is an Automake generated Makefile which includes 17658 # dependency-tracking related rules and includes. 17659 # Grep'ing the whole file directly is not great: AIX grep has a line 17660 # limit of 2048, but all sed's we know have understand at least 4000. 17661 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ 17662 || continue 17663 am_dirpart=`$as_dirname -- "$am_mf" || 17664$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17665 X"$am_mf" : 'X\(//\)[^/]' \| \ 17666 X"$am_mf" : 'X\(//\)$' \| \ 17667 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 17668$as_echo X"$am_mf" | 17669 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17670 s//\1/ 17671 q 17672 } 17673 /^X\(\/\/\)[^/].*/{ 17674 s//\1/ 17675 q 17676 } 17677 /^X\(\/\/\)$/{ 17678 s//\1/ 17679 q 17680 } 17681 /^X\(\/\).*/{ 17682 s//\1/ 17683 q 17684 } 17685 s/.*/./; q'` 17686 am_filepart=`$as_basename -- "$am_mf" || 17687$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ 17688 X"$am_mf" : 'X\(//\)$' \| \ 17689 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 17690$as_echo X/"$am_mf" | 17691 sed '/^.*\/\([^/][^/]*\)\/*$/{ 17692 s//\1/ 17693 q 17694 } 17695 /^X\/\(\/\/\)$/{ 17696 s//\1/ 17697 q 17698 } 17699 /^X\/\(\/\).*/{ 17700 s//\1/ 17701 q 17702 } 17703 s/.*/./; q'` 17704 { echo "$as_me:$LINENO: cd "$am_dirpart" \ 17705 && sed -e '/# am--include-marker/d' "$am_filepart" \ 17706 | $MAKE -f - am--depfiles" >&5 17707 (cd "$am_dirpart" \ 17708 && sed -e '/# am--include-marker/d' "$am_filepart" \ 17709 | $MAKE -f - am--depfiles) >&5 2>&5 17710 ac_status=$? 17711 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17712 (exit $ac_status); } || am_rc=$? 17713 done 17714 if test $am_rc -ne 0; then 17715 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 17716$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17717as_fn_error $? "Something went wrong bootstrapping makefile fragments 17718 for automatic dependency tracking. Try re-running configure with the 17719 '--disable-dependency-tracking' option to at least be able to build 17720 the package (albeit without support for automatic dependency tracking). 17721See \`config.log' for more details" "$LINENO" 5; } 17722 fi 17723 { am_dirpart=; unset am_dirpart;} 17724 { am_filepart=; unset am_filepart;} 17725 { am_mf=; unset am_mf;} 17726 { am_rc=; unset am_rc;} 17727 rm -f conftest-deps.mk 17728} 17729 ;; 17730 "libtool":C) 17731 17732 # See if we are running on zsh, and set the options that allow our 17733 # commands through without removal of \ escapes. 17734 if test -n "${ZSH_VERSION+set}"; then 17735 setopt NO_GLOB_SUBST 17736 fi 17737 17738 cfgfile=${ofile}T 17739 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 17740 $RM "$cfgfile" 17741 17742 cat <<_LT_EOF >> "$cfgfile" 17743#! $SHELL 17744# Generated automatically by $as_me ($PACKAGE) $VERSION 17745# NOTE: Changes made to this file will be lost: look at ltmain.sh. 17746 17747# Provide generalized library-building support services. 17748# Written by Gordon Matzigkeit, 1996 17749 17750# Copyright (C) 2014 Free Software Foundation, Inc. 17751# This is free software; see the source for copying conditions. There is NO 17752# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 17753 17754# GNU Libtool is free software; you can redistribute it and/or modify 17755# it under the terms of the GNU General Public License as published by 17756# the Free Software Foundation; either version 2 of of the License, or 17757# (at your option) any later version. 17758# 17759# As a special exception to the GNU General Public License, if you 17760# distribute this file as part of a program or library that is built 17761# using GNU Libtool, you may include this file under the same 17762# distribution terms that you use for the rest of that program. 17763# 17764# GNU Libtool is distributed in the hope that it will be useful, but 17765# WITHOUT ANY WARRANTY; without even the implied warranty of 17766# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17767# GNU General Public License for more details. 17768# 17769# You should have received a copy of the GNU General Public License 17770# along with this program. If not, see <http://www.gnu.org/licenses/>. 17771 17772 17773# The names of the tagged configurations supported by this script. 17774available_tags='CXX ' 17775 17776# Configured defaults for sys_lib_dlsearch_path munging. 17777: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 17778 17779# ### BEGIN LIBTOOL CONFIG 17780 17781# Which release of libtool.m4 was used? 17782macro_version=$macro_version 17783macro_revision=$macro_revision 17784 17785# Whether or not to build shared libraries. 17786build_libtool_libs=$enable_shared 17787 17788# Whether or not to build static libraries. 17789build_old_libs=$enable_static 17790 17791# What type of objects to build. 17792pic_mode=$pic_mode 17793 17794# Whether or not to optimize for fast installation. 17795fast_install=$enable_fast_install 17796 17797# Shared archive member basename,for filename based shared library versioning on AIX. 17798shared_archive_member_spec=$shared_archive_member_spec 17799 17800# Shell to use when invoking shell scripts. 17801SHELL=$lt_SHELL 17802 17803# An echo program that protects backslashes. 17804ECHO=$lt_ECHO 17805 17806# The PATH separator for the build system. 17807PATH_SEPARATOR=$lt_PATH_SEPARATOR 17808 17809# The host system. 17810host_alias=$host_alias 17811host=$host 17812host_os=$host_os 17813 17814# The build system. 17815build_alias=$build_alias 17816build=$build 17817build_os=$build_os 17818 17819# A sed program that does not truncate output. 17820SED=$lt_SED 17821 17822# Sed that helps us avoid accidentally triggering echo(1) options like -n. 17823Xsed="\$SED -e 1s/^X//" 17824 17825# A grep program that handles long lines. 17826GREP=$lt_GREP 17827 17828# An ERE matcher. 17829EGREP=$lt_EGREP 17830 17831# A literal string matcher. 17832FGREP=$lt_FGREP 17833 17834# A BSD- or MS-compatible name lister. 17835NM=$lt_NM 17836 17837# Whether we need soft or hard links. 17838LN_S=$lt_LN_S 17839 17840# What is the maximum length of a command? 17841max_cmd_len=$max_cmd_len 17842 17843# Object file suffix (normally "o"). 17844objext=$ac_objext 17845 17846# Executable file suffix (normally ""). 17847exeext=$exeext 17848 17849# whether the shell understands "unset". 17850lt_unset=$lt_unset 17851 17852# turn spaces into newlines. 17853SP2NL=$lt_lt_SP2NL 17854 17855# turn newlines into spaces. 17856NL2SP=$lt_lt_NL2SP 17857 17858# convert \$build file names to \$host format. 17859to_host_file_cmd=$lt_cv_to_host_file_cmd 17860 17861# convert \$build files to toolchain format. 17862to_tool_file_cmd=$lt_cv_to_tool_file_cmd 17863 17864# An object symbol dumper. 17865OBJDUMP=$lt_OBJDUMP 17866 17867# Method to check whether dependent libraries are shared objects. 17868deplibs_check_method=$lt_deplibs_check_method 17869 17870# Command to use when deplibs_check_method = "file_magic". 17871file_magic_cmd=$lt_file_magic_cmd 17872 17873# How to find potential files when deplibs_check_method = "file_magic". 17874file_magic_glob=$lt_file_magic_glob 17875 17876# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 17877want_nocaseglob=$lt_want_nocaseglob 17878 17879# DLL creation program. 17880DLLTOOL=$lt_DLLTOOL 17881 17882# Command to associate shared and link libraries. 17883sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 17884 17885# The archiver. 17886AR=$lt_AR 17887 17888# Flags to create an archive. 17889AR_FLAGS=$lt_AR_FLAGS 17890 17891# How to feed a file listing to the archiver. 17892archiver_list_spec=$lt_archiver_list_spec 17893 17894# A symbol stripping program. 17895STRIP=$lt_STRIP 17896 17897# Commands used to install an old-style archive. 17898RANLIB=$lt_RANLIB 17899old_postinstall_cmds=$lt_old_postinstall_cmds 17900old_postuninstall_cmds=$lt_old_postuninstall_cmds 17901 17902# Whether to use a lock for old archive extraction. 17903lock_old_archive_extraction=$lock_old_archive_extraction 17904 17905# A C compiler. 17906LTCC=$lt_CC 17907 17908# LTCC compiler flags. 17909LTCFLAGS=$lt_CFLAGS 17910 17911# Take the output of nm and produce a listing of raw symbols and C names. 17912global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 17913 17914# Transform the output of nm in a proper C declaration. 17915global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 17916 17917# Transform the output of nm into a list of symbols to manually relocate. 17918global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 17919 17920# Transform the output of nm in a C name address pair. 17921global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 17922 17923# Transform the output of nm in a C name address pair when lib prefix is needed. 17924global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 17925 17926# The name lister interface. 17927nm_interface=$lt_lt_cv_nm_interface 17928 17929# Specify filename containing input files for \$NM. 17930nm_file_list_spec=$lt_nm_file_list_spec 17931 17932# The root where to search for dependent libraries,and where our libraries should be installed. 17933lt_sysroot=$lt_sysroot 17934 17935# Command to truncate a binary pipe. 17936lt_truncate_bin=$lt_lt_cv_truncate_bin 17937 17938# The name of the directory that contains temporary libtool files. 17939objdir=$objdir 17940 17941# Used to examine libraries when file_magic_cmd begins with "file". 17942MAGIC_CMD=$MAGIC_CMD 17943 17944# Must we lock files when doing compilation? 17945need_locks=$lt_need_locks 17946 17947# Manifest tool. 17948MANIFEST_TOOL=$lt_MANIFEST_TOOL 17949 17950# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 17951DSYMUTIL=$lt_DSYMUTIL 17952 17953# Tool to change global to local symbols on Mac OS X. 17954NMEDIT=$lt_NMEDIT 17955 17956# Tool to manipulate fat objects and archives on Mac OS X. 17957LIPO=$lt_LIPO 17958 17959# ldd/readelf like tool for Mach-O binaries on Mac OS X. 17960OTOOL=$lt_OTOOL 17961 17962# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 17963OTOOL64=$lt_OTOOL64 17964 17965# Old archive suffix (normally "a"). 17966libext=$libext 17967 17968# Shared library suffix (normally ".so"). 17969shrext_cmds=$lt_shrext_cmds 17970 17971# The commands to extract the exported symbol list from a shared archive. 17972extract_expsyms_cmds=$lt_extract_expsyms_cmds 17973 17974# Variables whose values should be saved in libtool wrapper scripts and 17975# restored at link time. 17976variables_saved_for_relink=$lt_variables_saved_for_relink 17977 17978# Do we need the "lib" prefix for modules? 17979need_lib_prefix=$need_lib_prefix 17980 17981# Do we need a version for libraries? 17982need_version=$need_version 17983 17984# Library versioning type. 17985version_type=$version_type 17986 17987# Shared library runtime path variable. 17988runpath_var=$runpath_var 17989 17990# Shared library path variable. 17991shlibpath_var=$shlibpath_var 17992 17993# Is shlibpath searched before the hard-coded library search path? 17994shlibpath_overrides_runpath=$shlibpath_overrides_runpath 17995 17996# Format of library name prefix. 17997libname_spec=$lt_libname_spec 17998 17999# List of archive names. First name is the real one, the rest are links. 18000# The last name is the one that the linker finds with -lNAME 18001library_names_spec=$lt_library_names_spec 18002 18003# The coded name of the library, if different from the real name. 18004soname_spec=$lt_soname_spec 18005 18006# Permission mode override for installation of shared libraries. 18007install_override_mode=$lt_install_override_mode 18008 18009# Command to use after installation of a shared archive. 18010postinstall_cmds=$lt_postinstall_cmds 18011 18012# Command to use after uninstallation of a shared archive. 18013postuninstall_cmds=$lt_postuninstall_cmds 18014 18015# Commands used to finish a libtool library installation in a directory. 18016finish_cmds=$lt_finish_cmds 18017 18018# As "finish_cmds", except a single script fragment to be evaled but 18019# not shown. 18020finish_eval=$lt_finish_eval 18021 18022# Whether we should hardcode library paths into libraries. 18023hardcode_into_libs=$hardcode_into_libs 18024 18025# Compile-time system search path for libraries. 18026sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 18027 18028# Detected run-time system search path for libraries. 18029sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 18030 18031# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 18032configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 18033 18034# Whether dlopen is supported. 18035dlopen_support=$enable_dlopen 18036 18037# Whether dlopen of programs is supported. 18038dlopen_self=$enable_dlopen_self 18039 18040# Whether dlopen of statically linked programs is supported. 18041dlopen_self_static=$enable_dlopen_self_static 18042 18043# Commands to strip libraries. 18044old_striplib=$lt_old_striplib 18045striplib=$lt_striplib 18046 18047 18048# The linker used to build libraries. 18049LD=$lt_LD 18050 18051# How to create reloadable object files. 18052reload_flag=$lt_reload_flag 18053reload_cmds=$lt_reload_cmds 18054 18055# Commands used to build an old-style archive. 18056old_archive_cmds=$lt_old_archive_cmds 18057 18058# A language specific compiler. 18059CC=$lt_compiler 18060 18061# Is the compiler the GNU compiler? 18062with_gcc=$GCC 18063 18064# Compiler flag to turn off builtin functions. 18065no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 18066 18067# Additional compiler flags for building library objects. 18068pic_flag=$lt_lt_prog_compiler_pic 18069 18070# How to pass a linker flag through the compiler. 18071wl=$lt_lt_prog_compiler_wl 18072 18073# Compiler flag to prevent dynamic linking. 18074link_static_flag=$lt_lt_prog_compiler_static 18075 18076# Does compiler simultaneously support -c and -o options? 18077compiler_c_o=$lt_lt_cv_prog_compiler_c_o 18078 18079# Whether or not to add -lc for building shared libraries. 18080build_libtool_need_lc=$archive_cmds_need_lc 18081 18082# Whether or not to disallow shared libs when runtime libs are static. 18083allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 18084 18085# Compiler flag to allow reflexive dlopens. 18086export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 18087 18088# Compiler flag to generate shared objects directly from archives. 18089whole_archive_flag_spec=$lt_whole_archive_flag_spec 18090 18091# Whether the compiler copes with passing no objects directly. 18092compiler_needs_object=$lt_compiler_needs_object 18093 18094# Create an old-style archive from a shared archive. 18095old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 18096 18097# Create a temporary old-style archive to link instead of a shared archive. 18098old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 18099 18100# Commands used to build a shared archive. 18101archive_cmds=$lt_archive_cmds 18102archive_expsym_cmds=$lt_archive_expsym_cmds 18103 18104# Commands used to build a loadable module if different from building 18105# a shared archive. 18106module_cmds=$lt_module_cmds 18107module_expsym_cmds=$lt_module_expsym_cmds 18108 18109# Whether we are building with GNU ld or not. 18110with_gnu_ld=$lt_with_gnu_ld 18111 18112# Flag that allows shared libraries with undefined symbols to be built. 18113allow_undefined_flag=$lt_allow_undefined_flag 18114 18115# Flag that enforces no undefined symbols. 18116no_undefined_flag=$lt_no_undefined_flag 18117 18118# Flag to hardcode \$libdir into a binary during linking. 18119# This must work even if \$libdir does not exist 18120hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 18121 18122# Whether we need a single "-rpath" flag with a separated argument. 18123hardcode_libdir_separator=$lt_hardcode_libdir_separator 18124 18125# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 18126# DIR into the resulting binary. 18127hardcode_direct=$hardcode_direct 18128 18129# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 18130# DIR into the resulting binary and the resulting library dependency is 18131# "absolute",i.e impossible to change by setting \$shlibpath_var if the 18132# library is relocated. 18133hardcode_direct_absolute=$hardcode_direct_absolute 18134 18135# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 18136# into the resulting binary. 18137hardcode_minus_L=$hardcode_minus_L 18138 18139# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 18140# into the resulting binary. 18141hardcode_shlibpath_var=$hardcode_shlibpath_var 18142 18143# Set to "yes" if building a shared library automatically hardcodes DIR 18144# into the library and all subsequent libraries and executables linked 18145# against it. 18146hardcode_automatic=$hardcode_automatic 18147 18148# Set to yes if linker adds runtime paths of dependent libraries 18149# to runtime path list. 18150inherit_rpath=$inherit_rpath 18151 18152# Whether libtool must link a program against all its dependency libraries. 18153link_all_deplibs=$link_all_deplibs 18154 18155# Set to "yes" if exported symbols are required. 18156always_export_symbols=$always_export_symbols 18157 18158# The commands to list exported symbols. 18159export_symbols_cmds=$lt_export_symbols_cmds 18160 18161# Symbols that should not be listed in the preloaded symbols. 18162exclude_expsyms=$lt_exclude_expsyms 18163 18164# Symbols that must always be exported. 18165include_expsyms=$lt_include_expsyms 18166 18167# Commands necessary for linking programs (against libraries) with templates. 18168prelink_cmds=$lt_prelink_cmds 18169 18170# Commands necessary for finishing linking programs. 18171postlink_cmds=$lt_postlink_cmds 18172 18173# Specify filename containing input files. 18174file_list_spec=$lt_file_list_spec 18175 18176# How to hardcode a shared library path into an executable. 18177hardcode_action=$hardcode_action 18178 18179# The directories searched by this compiler when creating a shared library. 18180compiler_lib_search_dirs=$lt_compiler_lib_search_dirs 18181 18182# Dependencies to place before and after the objects being linked to 18183# create a shared library. 18184predep_objects=$lt_predep_objects 18185postdep_objects=$lt_postdep_objects 18186predeps=$lt_predeps 18187postdeps=$lt_postdeps 18188 18189# The library search path used internally by the compiler when linking 18190# a shared library. 18191compiler_lib_search_path=$lt_compiler_lib_search_path 18192 18193# ### END LIBTOOL CONFIG 18194 18195_LT_EOF 18196 18197 cat <<'_LT_EOF' >> "$cfgfile" 18198 18199# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 18200 18201# func_munge_path_list VARIABLE PATH 18202# ----------------------------------- 18203# VARIABLE is name of variable containing _space_ separated list of 18204# directories to be munged by the contents of PATH, which is string 18205# having a format: 18206# "DIR[:DIR]:" 18207# string "DIR[ DIR]" will be prepended to VARIABLE 18208# ":DIR[:DIR]" 18209# string "DIR[ DIR]" will be appended to VARIABLE 18210# "DIRP[:DIRP]::[DIRA:]DIRA" 18211# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 18212# "DIRA[ DIRA]" will be appended to VARIABLE 18213# "DIR[:DIR]" 18214# VARIABLE will be replaced by "DIR[ DIR]" 18215func_munge_path_list () 18216{ 18217 case x@S|@2 in 18218 x) 18219 ;; 18220 *:) 18221 eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\" 18222 ;; 18223 x:*) 18224 eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\" 18225 ;; 18226 *::*) 18227 eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 18228 eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\" 18229 ;; 18230 *) 18231 eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\" 18232 ;; 18233 esac 18234} 18235 18236 18237# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 18238func_cc_basename () 18239{ 18240 for cc_temp in @S|@*""; do 18241 case $cc_temp in 18242 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 18243 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 18244 \-*) ;; 18245 *) break;; 18246 esac 18247 done 18248 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 18249} 18250 18251 18252# ### END FUNCTIONS SHARED WITH CONFIGURE 18253 18254_LT_EOF 18255 18256 case $host_os in 18257 aix3*) 18258 cat <<\_LT_EOF >> "$cfgfile" 18259# AIX sometimes has problems with the GCC collect2 program. For some 18260# reason, if we set the COLLECT_NAMES environment variable, the problems 18261# vanish in a puff of smoke. 18262if test set != "${COLLECT_NAMES+set}"; then 18263 COLLECT_NAMES= 18264 export COLLECT_NAMES 18265fi 18266_LT_EOF 18267 ;; 18268 esac 18269 18270 18271ltmain=$ac_aux_dir/ltmain.sh 18272 18273 18274 # We use sed instead of cat because bash on DJGPP gets confused if 18275 # if finds mixed CR/LF and LF-only lines. Since sed operates in 18276 # text mode, it properly converts lines to CR/LF. This bash problem 18277 # is reportedly fixed, but why not run on old versions too? 18278 sed '$q' "$ltmain" >> "$cfgfile" \ 18279 || (rm -f "$cfgfile"; exit 1) 18280 18281 mv -f "$cfgfile" "$ofile" || 18282 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 18283 chmod +x "$ofile" 18284 18285 18286 cat <<_LT_EOF >> "$ofile" 18287 18288# ### BEGIN LIBTOOL TAG CONFIG: CXX 18289 18290# The linker used to build libraries. 18291LD=$lt_LD_CXX 18292 18293# How to create reloadable object files. 18294reload_flag=$lt_reload_flag_CXX 18295reload_cmds=$lt_reload_cmds_CXX 18296 18297# Commands used to build an old-style archive. 18298old_archive_cmds=$lt_old_archive_cmds_CXX 18299 18300# A language specific compiler. 18301CC=$lt_compiler_CXX 18302 18303# Is the compiler the GNU compiler? 18304with_gcc=$GCC_CXX 18305 18306# Compiler flag to turn off builtin functions. 18307no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 18308 18309# Additional compiler flags for building library objects. 18310pic_flag=$lt_lt_prog_compiler_pic_CXX 18311 18312# How to pass a linker flag through the compiler. 18313wl=$lt_lt_prog_compiler_wl_CXX 18314 18315# Compiler flag to prevent dynamic linking. 18316link_static_flag=$lt_lt_prog_compiler_static_CXX 18317 18318# Does compiler simultaneously support -c and -o options? 18319compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX 18320 18321# Whether or not to add -lc for building shared libraries. 18322build_libtool_need_lc=$archive_cmds_need_lc_CXX 18323 18324# Whether or not to disallow shared libs when runtime libs are static. 18325allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX 18326 18327# Compiler flag to allow reflexive dlopens. 18328export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX 18329 18330# Compiler flag to generate shared objects directly from archives. 18331whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX 18332 18333# Whether the compiler copes with passing no objects directly. 18334compiler_needs_object=$lt_compiler_needs_object_CXX 18335 18336# Create an old-style archive from a shared archive. 18337old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX 18338 18339# Create a temporary old-style archive to link instead of a shared archive. 18340old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX 18341 18342# Commands used to build a shared archive. 18343archive_cmds=$lt_archive_cmds_CXX 18344archive_expsym_cmds=$lt_archive_expsym_cmds_CXX 18345 18346# Commands used to build a loadable module if different from building 18347# a shared archive. 18348module_cmds=$lt_module_cmds_CXX 18349module_expsym_cmds=$lt_module_expsym_cmds_CXX 18350 18351# Whether we are building with GNU ld or not. 18352with_gnu_ld=$lt_with_gnu_ld_CXX 18353 18354# Flag that allows shared libraries with undefined symbols to be built. 18355allow_undefined_flag=$lt_allow_undefined_flag_CXX 18356 18357# Flag that enforces no undefined symbols. 18358no_undefined_flag=$lt_no_undefined_flag_CXX 18359 18360# Flag to hardcode \$libdir into a binary during linking. 18361# This must work even if \$libdir does not exist 18362hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX 18363 18364# Whether we need a single "-rpath" flag with a separated argument. 18365hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX 18366 18367# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 18368# DIR into the resulting binary. 18369hardcode_direct=$hardcode_direct_CXX 18370 18371# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 18372# DIR into the resulting binary and the resulting library dependency is 18373# "absolute",i.e impossible to change by setting \$shlibpath_var if the 18374# library is relocated. 18375hardcode_direct_absolute=$hardcode_direct_absolute_CXX 18376 18377# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 18378# into the resulting binary. 18379hardcode_minus_L=$hardcode_minus_L_CXX 18380 18381# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 18382# into the resulting binary. 18383hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX 18384 18385# Set to "yes" if building a shared library automatically hardcodes DIR 18386# into the library and all subsequent libraries and executables linked 18387# against it. 18388hardcode_automatic=$hardcode_automatic_CXX 18389 18390# Set to yes if linker adds runtime paths of dependent libraries 18391# to runtime path list. 18392inherit_rpath=$inherit_rpath_CXX 18393 18394# Whether libtool must link a program against all its dependency libraries. 18395link_all_deplibs=$link_all_deplibs_CXX 18396 18397# Set to "yes" if exported symbols are required. 18398always_export_symbols=$always_export_symbols_CXX 18399 18400# The commands to list exported symbols. 18401export_symbols_cmds=$lt_export_symbols_cmds_CXX 18402 18403# Symbols that should not be listed in the preloaded symbols. 18404exclude_expsyms=$lt_exclude_expsyms_CXX 18405 18406# Symbols that must always be exported. 18407include_expsyms=$lt_include_expsyms_CXX 18408 18409# Commands necessary for linking programs (against libraries) with templates. 18410prelink_cmds=$lt_prelink_cmds_CXX 18411 18412# Commands necessary for finishing linking programs. 18413postlink_cmds=$lt_postlink_cmds_CXX 18414 18415# Specify filename containing input files. 18416file_list_spec=$lt_file_list_spec_CXX 18417 18418# How to hardcode a shared library path into an executable. 18419hardcode_action=$hardcode_action_CXX 18420 18421# The directories searched by this compiler when creating a shared library. 18422compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX 18423 18424# Dependencies to place before and after the objects being linked to 18425# create a shared library. 18426predep_objects=$lt_predep_objects_CXX 18427postdep_objects=$lt_postdep_objects_CXX 18428predeps=$lt_predeps_CXX 18429postdeps=$lt_postdeps_CXX 18430 18431# The library search path used internally by the compiler when linking 18432# a shared library. 18433compiler_lib_search_path=$lt_compiler_lib_search_path_CXX 18434 18435# ### END LIBTOOL TAG CONFIG: CXX 18436_LT_EOF 18437 18438 ;; 18439 18440 esac 18441done # for ac_tag 18442 18443 18444as_fn_exit 0 18445_ACEOF 18446ac_clean_files=$ac_clean_files_save 18447 18448test $ac_write_fail = 0 || 18449 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 18450 18451 18452# configure is writing to config.log, and then calls config.status. 18453# config.status does its own redirection, appending to config.log. 18454# Unfortunately, on DOS this fails, as config.log is still kept open 18455# by configure, so config.status won't be able to write to it; its 18456# output is simply discarded. So we exec the FD to /dev/null, 18457# effectively closing config.log, so it can be properly (re)opened and 18458# appended to by config.status. When coming back to configure, we 18459# need to make the FD available again. 18460if test "$no_create" != yes; then 18461 ac_cs_success=: 18462 ac_config_status_args= 18463 test "$silent" = yes && 18464 ac_config_status_args="$ac_config_status_args --quiet" 18465 exec 5>/dev/null 18466 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 18467 exec 5>>config.log 18468 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 18469 # would make configure fail if this is the last instruction. 18470 $ac_cs_success || as_fn_exit 1 18471fi 18472if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 18473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 18474$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 18475fi 18476 18477 18478 18479echo "" 18480echo "Configured MediaInfo for '$target'" 18481echo "" 18482echo " Unicode? $enable_unicode" 18483echo " stream missing support? $enable_stream_missing" 18484echo "" 18485echo " Using libzen? $with_zenlib" 18486echo " Using libmediainfo? $with_mediainfolib" 18487echo "" 18488echo " CXXFLAGS: $CXXFLAGS" 18489echo " LIBS: $LIBS"