1@%:@! /bin/sh 2@%:@ Guess values for system-dependent variables and create Makefiles. 3@%:@ Generated by GNU Autoconf 2.69 for libzen 0.4.39. 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='libzen' 589PACKAGE_TARNAME='libzen' 590PACKAGE_VERSION='0.4.39' 591PACKAGE_STRING='libzen 0.4.39' 592PACKAGE_BUGREPORT='' 593PACKAGE_URL='' 594 595ac_unique_file="../../../Source/ZenLib/Ztring.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 636ZenLib_LargeFiles 637ZenLib_wstring_missing 638ZenLib_Unicode 639ZenLib_LIBS_Static 640ZenLib_LIBS 641ZenLib_CXXFLAGS 642CXXCPP 643LT_SYS_LIBRARY_PATH 644OTOOL64 645OTOOL 646LIPO 647NMEDIT 648DSYMUTIL 649MANIFEST_TOOL 650RANLIB 651ac_ct_AR 652AR 653LN_S 654NM 655ac_ct_DUMPBIN 656DUMPBIN 657LD 658FGREP 659EGREP 660GREP 661SED 662LIBTOOL 663OBJDUMP 664DLLTOOL 665AS 666host_os 667host_vendor 668host_cpu 669host 670CPP 671am__fastdepCXX_FALSE 672am__fastdepCXX_TRUE 673CXXDEPMODE 674ac_ct_CXX 675CXXFLAGS 676CXX 677am__fastdepCC_FALSE 678am__fastdepCC_TRUE 679CCDEPMODE 680am__nodep 681AMDEPBACKSLASH 682AMDEP_FALSE 683AMDEP_TRUE 684am__include 685DEPDIR 686OBJEXT 687EXEEXT 688ac_ct_CC 689CPPFLAGS 690LDFLAGS 691CFLAGS 692CC 693AM_BACKSLASH 694AM_DEFAULT_VERBOSITY 695AM_DEFAULT_V 696AM_V 697am__untar 698am__tar 699AMTAR 700am__leading_dot 701SET_MAKE 702AWK 703mkdir_p 704MKDIR_P 705INSTALL_STRIP_PROGRAM 706STRIP 707install_sh 708MAKEINFO 709AUTOHEADER 710AUTOMAKE 711AUTOCONF 712ACLOCAL 713VERSION 714PACKAGE 715CYGPATH_W 716am__isrc 717INSTALL_DATA 718INSTALL_SCRIPT 719INSTALL_PROGRAM 720build_os 721build_vendor 722build_cpu 723build 724target_alias 725host_alias 726build_alias 727LIBS 728ECHO_T 729ECHO_N 730ECHO_C 731DEFS 732mandir 733localedir 734libdir 735psdir 736pdfdir 737dvidir 738htmldir 739infodir 740docdir 741oldincludedir 742includedir 743runstatedir 744localstatedir 745sharedstatedir 746sysconfdir 747datadir 748datarootdir 749libexecdir 750sbindir 751bindir 752program_transform_name 753prefix 754exec_prefix 755PACKAGE_URL 756PACKAGE_BUGREPORT 757PACKAGE_STRING 758PACKAGE_VERSION 759PACKAGE_TARNAME 760PACKAGE_NAME 761PATH_SEPARATOR 762SHELL 763am__quote' 764ac_subst_files='' 765ac_user_opts=' 766enable_option_checking 767enable_silent_rules 768enable_dependency_tracking 769enable_static 770enable_shared 771with_pic 772enable_fast_install 773with_aix_soname 774with_gnu_ld 775with_sysroot 776enable_libtool_lock 777enable_debug 778enable_gprof 779enable_universal_binary 780enable_arch_ppc 781enable_arch_ppc64 782enable_arch_i386 783enable_arch_x86_64 784enable_arch_armv7 785enable_arch_armv7s 786enable_arch_arm64 787enable_unicode 788enable_wstring_missing 789enable_stream_missing 790enable_large_files 791with_macosx_sdk 792with_macosx_version_min 793with_iphoneos_sdk 794with_iphoneos_version_min 795' 796 ac_precious_vars='build_alias 797host_alias 798target_alias 799CC 800CFLAGS 801LDFLAGS 802LIBS 803CPPFLAGS 804CXX 805CXXFLAGS 806CCC 807CPP 808LT_SYS_LIBRARY_PATH 809CXXCPP' 810 811 812# Initialize some variables set by options. 813ac_init_help= 814ac_init_version=false 815ac_unrecognized_opts= 816ac_unrecognized_sep= 817# The variables have the same names as the options, with 818# dashes changed to underlines. 819cache_file=/dev/null 820exec_prefix=NONE 821no_create= 822no_recursion= 823prefix=NONE 824program_prefix=NONE 825program_suffix=NONE 826program_transform_name=s,x,x, 827silent= 828site= 829srcdir= 830verbose= 831x_includes=NONE 832x_libraries=NONE 833 834# Installation directory options. 835# These are left unexpanded so users can "make install exec_prefix=/foo" 836# and all the variables that are supposed to be based on exec_prefix 837# by default will actually change. 838# Use braces instead of parens because sh, perl, etc. also accept them. 839# (The list follows the same order as the GNU Coding Standards.) 840bindir='${exec_prefix}/bin' 841sbindir='${exec_prefix}/sbin' 842libexecdir='${exec_prefix}/libexec' 843datarootdir='${prefix}/share' 844datadir='${datarootdir}' 845sysconfdir='${prefix}/etc' 846sharedstatedir='${prefix}/com' 847localstatedir='${prefix}/var' 848runstatedir='${localstatedir}/run' 849includedir='${prefix}/include' 850oldincludedir='/usr/include' 851docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 852infodir='${datarootdir}/info' 853htmldir='${docdir}' 854dvidir='${docdir}' 855pdfdir='${docdir}' 856psdir='${docdir}' 857libdir='${exec_prefix}/lib' 858localedir='${datarootdir}/locale' 859mandir='${datarootdir}/man' 860 861ac_prev= 862ac_dashdash= 863for ac_option 864do 865 # If the previous option needs an argument, assign it. 866 if test -n "$ac_prev"; then 867 eval $ac_prev=\$ac_option 868 ac_prev= 869 continue 870 fi 871 872 case $ac_option in 873 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 874 *=) ac_optarg= ;; 875 *) ac_optarg=yes ;; 876 esac 877 878 # Accept the important Cygnus configure options, so we can diagnose typos. 879 880 case $ac_dashdash$ac_option in 881 --) 882 ac_dashdash=yes ;; 883 884 -bindir | --bindir | --bindi | --bind | --bin | --bi) 885 ac_prev=bindir ;; 886 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 887 bindir=$ac_optarg ;; 888 889 -build | --build | --buil | --bui | --bu) 890 ac_prev=build_alias ;; 891 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 892 build_alias=$ac_optarg ;; 893 894 -cache-file | --cache-file | --cache-fil | --cache-fi \ 895 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 896 ac_prev=cache_file ;; 897 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 898 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 899 cache_file=$ac_optarg ;; 900 901 --config-cache | -C) 902 cache_file=config.cache ;; 903 904 -datadir | --datadir | --datadi | --datad) 905 ac_prev=datadir ;; 906 -datadir=* | --datadir=* | --datadi=* | --datad=*) 907 datadir=$ac_optarg ;; 908 909 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 910 | --dataroo | --dataro | --datar) 911 ac_prev=datarootdir ;; 912 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 913 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 914 datarootdir=$ac_optarg ;; 915 916 -disable-* | --disable-*) 917 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 918 # Reject names that are not valid shell variable names. 919 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 920 as_fn_error $? "invalid feature name: $ac_useropt" 921 ac_useropt_orig=$ac_useropt 922 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 923 case $ac_user_opts in 924 *" 925"enable_$ac_useropt" 926"*) ;; 927 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 928 ac_unrecognized_sep=', ';; 929 esac 930 eval enable_$ac_useropt=no ;; 931 932 -docdir | --docdir | --docdi | --doc | --do) 933 ac_prev=docdir ;; 934 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 935 docdir=$ac_optarg ;; 936 937 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 938 ac_prev=dvidir ;; 939 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 940 dvidir=$ac_optarg ;; 941 942 -enable-* | --enable-*) 943 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 944 # Reject names that are not valid shell variable names. 945 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 946 as_fn_error $? "invalid feature name: $ac_useropt" 947 ac_useropt_orig=$ac_useropt 948 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 949 case $ac_user_opts in 950 *" 951"enable_$ac_useropt" 952"*) ;; 953 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 954 ac_unrecognized_sep=', ';; 955 esac 956 eval enable_$ac_useropt=\$ac_optarg ;; 957 958 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 959 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 960 | --exec | --exe | --ex) 961 ac_prev=exec_prefix ;; 962 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 963 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 964 | --exec=* | --exe=* | --ex=*) 965 exec_prefix=$ac_optarg ;; 966 967 -gas | --gas | --ga | --g) 968 # Obsolete; use --with-gas. 969 with_gas=yes ;; 970 971 -help | --help | --hel | --he | -h) 972 ac_init_help=long ;; 973 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 974 ac_init_help=recursive ;; 975 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 976 ac_init_help=short ;; 977 978 -host | --host | --hos | --ho) 979 ac_prev=host_alias ;; 980 -host=* | --host=* | --hos=* | --ho=*) 981 host_alias=$ac_optarg ;; 982 983 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 984 ac_prev=htmldir ;; 985 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 986 | --ht=*) 987 htmldir=$ac_optarg ;; 988 989 -includedir | --includedir | --includedi | --included | --include \ 990 | --includ | --inclu | --incl | --inc) 991 ac_prev=includedir ;; 992 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 993 | --includ=* | --inclu=* | --incl=* | --inc=*) 994 includedir=$ac_optarg ;; 995 996 -infodir | --infodir | --infodi | --infod | --info | --inf) 997 ac_prev=infodir ;; 998 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 999 infodir=$ac_optarg ;; 1000 1001 -libdir | --libdir | --libdi | --libd) 1002 ac_prev=libdir ;; 1003 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1004 libdir=$ac_optarg ;; 1005 1006 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1007 | --libexe | --libex | --libe) 1008 ac_prev=libexecdir ;; 1009 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1010 | --libexe=* | --libex=* | --libe=*) 1011 libexecdir=$ac_optarg ;; 1012 1013 -localedir | --localedir | --localedi | --localed | --locale) 1014 ac_prev=localedir ;; 1015 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1016 localedir=$ac_optarg ;; 1017 1018 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1019 | --localstate | --localstat | --localsta | --localst | --locals) 1020 ac_prev=localstatedir ;; 1021 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1022 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1023 localstatedir=$ac_optarg ;; 1024 1025 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1026 ac_prev=mandir ;; 1027 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1028 mandir=$ac_optarg ;; 1029 1030 -nfp | --nfp | --nf) 1031 # Obsolete; use --without-fp. 1032 with_fp=no ;; 1033 1034 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1035 | --no-cr | --no-c | -n) 1036 no_create=yes ;; 1037 1038 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1039 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1040 no_recursion=yes ;; 1041 1042 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1043 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1044 | --oldin | --oldi | --old | --ol | --o) 1045 ac_prev=oldincludedir ;; 1046 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1047 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1048 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1049 oldincludedir=$ac_optarg ;; 1050 1051 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1052 ac_prev=prefix ;; 1053 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1054 prefix=$ac_optarg ;; 1055 1056 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1057 | --program-pre | --program-pr | --program-p) 1058 ac_prev=program_prefix ;; 1059 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1060 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1061 program_prefix=$ac_optarg ;; 1062 1063 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1064 | --program-suf | --program-su | --program-s) 1065 ac_prev=program_suffix ;; 1066 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1067 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1068 program_suffix=$ac_optarg ;; 1069 1070 -program-transform-name | --program-transform-name \ 1071 | --program-transform-nam | --program-transform-na \ 1072 | --program-transform-n | --program-transform- \ 1073 | --program-transform | --program-transfor \ 1074 | --program-transfo | --program-transf \ 1075 | --program-trans | --program-tran \ 1076 | --progr-tra | --program-tr | --program-t) 1077 ac_prev=program_transform_name ;; 1078 -program-transform-name=* | --program-transform-name=* \ 1079 | --program-transform-nam=* | --program-transform-na=* \ 1080 | --program-transform-n=* | --program-transform-=* \ 1081 | --program-transform=* | --program-transfor=* \ 1082 | --program-transfo=* | --program-transf=* \ 1083 | --program-trans=* | --program-tran=* \ 1084 | --progr-tra=* | --program-tr=* | --program-t=*) 1085 program_transform_name=$ac_optarg ;; 1086 1087 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1088 ac_prev=pdfdir ;; 1089 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1090 pdfdir=$ac_optarg ;; 1091 1092 -psdir | --psdir | --psdi | --psd | --ps) 1093 ac_prev=psdir ;; 1094 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1095 psdir=$ac_optarg ;; 1096 1097 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1098 | -silent | --silent | --silen | --sile | --sil) 1099 silent=yes ;; 1100 1101 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1102 | --runstate | --runstat | --runsta | --runst | --runs \ 1103 | --run | --ru | --r) 1104 ac_prev=runstatedir ;; 1105 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1106 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1107 | --run=* | --ru=* | --r=*) 1108 runstatedir=$ac_optarg ;; 1109 1110 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1111 ac_prev=sbindir ;; 1112 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1113 | --sbi=* | --sb=*) 1114 sbindir=$ac_optarg ;; 1115 1116 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1117 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1118 | --sharedst | --shareds | --shared | --share | --shar \ 1119 | --sha | --sh) 1120 ac_prev=sharedstatedir ;; 1121 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1122 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1123 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1124 | --sha=* | --sh=*) 1125 sharedstatedir=$ac_optarg ;; 1126 1127 -site | --site | --sit) 1128 ac_prev=site ;; 1129 -site=* | --site=* | --sit=*) 1130 site=$ac_optarg ;; 1131 1132 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1133 ac_prev=srcdir ;; 1134 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1135 srcdir=$ac_optarg ;; 1136 1137 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1138 | --syscon | --sysco | --sysc | --sys | --sy) 1139 ac_prev=sysconfdir ;; 1140 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1141 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1142 sysconfdir=$ac_optarg ;; 1143 1144 -target | --target | --targe | --targ | --tar | --ta | --t) 1145 ac_prev=target_alias ;; 1146 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1147 target_alias=$ac_optarg ;; 1148 1149 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1150 verbose=yes ;; 1151 1152 -version | --version | --versio | --versi | --vers | -V) 1153 ac_init_version=: ;; 1154 1155 -with-* | --with-*) 1156 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1157 # Reject names that are not valid shell variable names. 1158 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1159 as_fn_error $? "invalid package name: $ac_useropt" 1160 ac_useropt_orig=$ac_useropt 1161 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1162 case $ac_user_opts in 1163 *" 1164"with_$ac_useropt" 1165"*) ;; 1166 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1167 ac_unrecognized_sep=', ';; 1168 esac 1169 eval with_$ac_useropt=\$ac_optarg ;; 1170 1171 -without-* | --without-*) 1172 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1173 # Reject names that are not valid shell variable names. 1174 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1175 as_fn_error $? "invalid package name: $ac_useropt" 1176 ac_useropt_orig=$ac_useropt 1177 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1178 case $ac_user_opts in 1179 *" 1180"with_$ac_useropt" 1181"*) ;; 1182 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1183 ac_unrecognized_sep=', ';; 1184 esac 1185 eval with_$ac_useropt=no ;; 1186 1187 --x) 1188 # Obsolete; use --with-x. 1189 with_x=yes ;; 1190 1191 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1192 | --x-incl | --x-inc | --x-in | --x-i) 1193 ac_prev=x_includes ;; 1194 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1195 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1196 x_includes=$ac_optarg ;; 1197 1198 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1199 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1200 ac_prev=x_libraries ;; 1201 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1202 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1203 x_libraries=$ac_optarg ;; 1204 1205 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1206Try \`$0 --help' for more information" 1207 ;; 1208 1209 *=*) 1210 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1211 # Reject names that are not valid shell variable names. 1212 case $ac_envvar in #( 1213 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1214 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1215 esac 1216 eval $ac_envvar=\$ac_optarg 1217 export $ac_envvar ;; 1218 1219 *) 1220 # FIXME: should be removed in autoconf 3.0. 1221 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1222 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1223 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1224 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1225 ;; 1226 1227 esac 1228done 1229 1230if test -n "$ac_prev"; then 1231 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1232 as_fn_error $? "missing argument to $ac_option" 1233fi 1234 1235if test -n "$ac_unrecognized_opts"; then 1236 case $enable_option_checking in 1237 no) ;; 1238 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1239 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1240 esac 1241fi 1242 1243# Check all directory arguments for consistency. 1244for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1245 datadir sysconfdir sharedstatedir localstatedir includedir \ 1246 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1247 libdir localedir mandir runstatedir 1248do 1249 eval ac_val=\$$ac_var 1250 # Remove trailing slashes. 1251 case $ac_val in 1252 */ ) 1253 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1254 eval $ac_var=\$ac_val;; 1255 esac 1256 # Be sure to have absolute directory names. 1257 case $ac_val in 1258 [\\/$]* | ?:[\\/]* ) continue;; 1259 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1260 esac 1261 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1262done 1263 1264# There might be people who depend on the old broken behavior: `$host' 1265# used to hold the argument of --host etc. 1266# FIXME: To remove some day. 1267build=$build_alias 1268host=$host_alias 1269target=$target_alias 1270 1271# FIXME: To remove some day. 1272if test "x$host_alias" != x; then 1273 if test "x$build_alias" = x; then 1274 cross_compiling=maybe 1275 elif test "x$build_alias" != "x$host_alias"; then 1276 cross_compiling=yes 1277 fi 1278fi 1279 1280ac_tool_prefix= 1281test -n "$host_alias" && ac_tool_prefix=$host_alias- 1282 1283test "$silent" = yes && exec 6>/dev/null 1284 1285 1286ac_pwd=`pwd` && test -n "$ac_pwd" && 1287ac_ls_di=`ls -di .` && 1288ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1289 as_fn_error $? "working directory cannot be determined" 1290test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1291 as_fn_error $? "pwd does not report name of working directory" 1292 1293 1294# Find the source files, if location was not specified. 1295if test -z "$srcdir"; then 1296 ac_srcdir_defaulted=yes 1297 # Try the directory containing this script, then the parent directory. 1298 ac_confdir=`$as_dirname -- "$as_myself" || 1299$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1300 X"$as_myself" : 'X\(//\)[^/]' \| \ 1301 X"$as_myself" : 'X\(//\)$' \| \ 1302 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1303$as_echo X"$as_myself" | 1304 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1305 s//\1/ 1306 q 1307 } 1308 /^X\(\/\/\)[^/].*/{ 1309 s//\1/ 1310 q 1311 } 1312 /^X\(\/\/\)$/{ 1313 s//\1/ 1314 q 1315 } 1316 /^X\(\/\).*/{ 1317 s//\1/ 1318 q 1319 } 1320 s/.*/./; q'` 1321 srcdir=$ac_confdir 1322 if test ! -r "$srcdir/$ac_unique_file"; then 1323 srcdir=.. 1324 fi 1325else 1326 ac_srcdir_defaulted=no 1327fi 1328if test ! -r "$srcdir/$ac_unique_file"; then 1329 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1330 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1331fi 1332ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1333ac_abs_confdir=`( 1334 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1335 pwd)` 1336# When building in place, set srcdir=. 1337if test "$ac_abs_confdir" = "$ac_pwd"; then 1338 srcdir=. 1339fi 1340# Remove unnecessary trailing slashes from srcdir. 1341# Double slashes in file names in object file debugging info 1342# mess up M-x gdb in Emacs. 1343case $srcdir in 1344*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1345esac 1346for ac_var in $ac_precious_vars; do 1347 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1348 eval ac_env_${ac_var}_value=\$${ac_var} 1349 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1350 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1351done 1352 1353# 1354# Report the --help message. 1355# 1356if test "$ac_init_help" = "long"; then 1357 # Omit some internal or obsolete options to make the list less imposing. 1358 # This message is too long to be a string in the A/UX 3.1 sh. 1359 cat <<_ACEOF 1360\`configure' configures libzen 0.4.39 to adapt to many kinds of systems. 1361 1362Usage: $0 [OPTION]... [VAR=VALUE]... 1363 1364To assign environment variables (e.g., CC, CFLAGS...), specify them as 1365VAR=VALUE. See below for descriptions of some of the useful variables. 1366 1367Defaults for the options are specified in brackets. 1368 1369Configuration: 1370 -h, --help display this help and exit 1371 --help=short display options specific to this package 1372 --help=recursive display the short help of all the included packages 1373 -V, --version display version information and exit 1374 -q, --quiet, --silent do not print \`checking ...' messages 1375 --cache-file=FILE cache test results in FILE [disabled] 1376 -C, --config-cache alias for \`--cache-file=config.cache' 1377 -n, --no-create do not create output files 1378 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1379 1380Installation directories: 1381 --prefix=PREFIX install architecture-independent files in PREFIX 1382 @<:@@S|@ac_default_prefix@:>@ 1383 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1384 @<:@PREFIX@:>@ 1385 1386By default, \`make install' will install all the files in 1387\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1388an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1389for instance \`--prefix=\$HOME'. 1390 1391For better control, use the options below. 1392 1393Fine tuning of the installation directories: 1394 --bindir=DIR user executables [EPREFIX/bin] 1395 --sbindir=DIR system admin executables [EPREFIX/sbin] 1396 --libexecdir=DIR program executables [EPREFIX/libexec] 1397 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1398 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1399 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1400 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1401 --libdir=DIR object code libraries [EPREFIX/lib] 1402 --includedir=DIR C header files [PREFIX/include] 1403 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1404 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1405 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1406 --infodir=DIR info documentation [DATAROOTDIR/info] 1407 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1408 --mandir=DIR man documentation [DATAROOTDIR/man] 1409 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/libzen@:>@ 1410 --htmldir=DIR html documentation [DOCDIR] 1411 --dvidir=DIR dvi documentation [DOCDIR] 1412 --pdfdir=DIR pdf documentation [DOCDIR] 1413 --psdir=DIR ps documentation [DOCDIR] 1414_ACEOF 1415 1416 cat <<\_ACEOF 1417 1418Program names: 1419 --program-prefix=PREFIX prepend PREFIX to installed program names 1420 --program-suffix=SUFFIX append SUFFIX to installed program names 1421 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1422 1423System types: 1424 --build=BUILD configure for building on BUILD [guessed] 1425 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1426_ACEOF 1427fi 1428 1429if test -n "$ac_init_help"; then 1430 case $ac_init_help in 1431 short | recursive ) echo "Configuration of libzen 0.4.39:";; 1432 esac 1433 cat <<\_ACEOF 1434 1435Optional Features: 1436 --disable-option-checking ignore unrecognized --enable/--with options 1437 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1438 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1439 --enable-silent-rules less verbose build output (undo: "make V=1") 1440 --disable-silent-rules verbose build output (undo: "make V=0") 1441 --enable-dependency-tracking 1442 do not reject slow dependency extractors 1443 --disable-dependency-tracking 1444 speeds up one-time build 1445 --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=no@:>@ 1446 --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@ 1447 --enable-fast-install@<:@=PKGS@:>@ 1448 optimize for fast installation @<:@default=yes@:>@ 1449 --disable-libtool-lock avoid locking (might break parallel builds) 1450 --enable-debug Enable full debug 1451 --enable-gprof Enable gprof log 1452 --enable-universal_binary 1453 Create Mac PPC/i386 Universal binary 1454 (--enable-arch-ppc, Create Mac PPC architecture) 1455 1456 (--enable-arch-ppc64, Create Mac PPC64 architecture) 1457 1458 (--enable-arch-i386, Create Mac/iPhone i386 architecture) 1459 1460 (--enable-arch-x86_64, Create Mac/iPhone x86_64 architecture) 1461 1462 (--enable-arch-armv7, Create iPhone ARMv7 architecture) 1463 1464 (--enable-arch-armv7s, Create iPhone ARMv7s architecture) 1465 1466 (--enable-arch-arm64, Create Mac/iPhone ARM64 architecture) 1467 1468 (--disable-unicode, Disable unicode) 1469 1470 (--enable-wstring_missing, Disable wstring support (old compilers)) 1471 1472 (--enable-stream_missing, Disable stream support (old compilers)) 1473 1474 (--disable-large_files, Disable large files support) 1475 1476 1477Optional Packages: 1478 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1479 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1480 --with-pic@<:@=PKGS@:>@ try to use only PIC/non-PIC objects @<:@default=use 1481 both@:>@ 1482 --with-aix-soname=aix|svr4|both 1483 shared library versioning (aka "SONAME") variant to 1484 provide on AIX, @<:@default=aix@:>@. 1485 --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@ 1486 --with-sysroot@<:@=DIR@:>@ Search for dependent libraries within DIR (or the 1487 compiler's sysroot if not specified). 1488 (--with-macosx-sdk, Force the Mac SDK) 1489 1490 (--with-macosx-version-min, Force the Mac Version) 1491 1492 (--with-iphoneos-sdk, Force the iPhone SDK) 1493 1494 (--with-iphoneos-version-min, Force the iPhone Version) 1495 1496 1497Some influential environment variables: 1498 CC C compiler command 1499 CFLAGS C compiler flags 1500 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1501 nonstandard directory <lib dir> 1502 LIBS libraries to pass to the linker, e.g. -l<library> 1503 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1504 you have headers in a nonstandard directory <include dir> 1505 CXX C++ compiler command 1506 CXXFLAGS C++ compiler flags 1507 CPP C preprocessor 1508 LT_SYS_LIBRARY_PATH 1509 User-defined run-time library search path. 1510 CXXCPP C++ preprocessor 1511 1512Use these variables to override the choices made by `configure' or to help 1513it to find libraries and programs with nonstandard names/locations. 1514 1515Report bugs to the package provider. 1516_ACEOF 1517ac_status=$? 1518fi 1519 1520if test "$ac_init_help" = "recursive"; then 1521 # If there are subdirs, report their specific --help. 1522 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1523 test -d "$ac_dir" || 1524 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1525 continue 1526 ac_builddir=. 1527 1528case "$ac_dir" in 1529.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1530*) 1531 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1532 # A ".." for each directory in $ac_dir_suffix. 1533 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1534 case $ac_top_builddir_sub in 1535 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1536 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1537 esac ;; 1538esac 1539ac_abs_top_builddir=$ac_pwd 1540ac_abs_builddir=$ac_pwd$ac_dir_suffix 1541# for backward compatibility: 1542ac_top_builddir=$ac_top_build_prefix 1543 1544case $srcdir in 1545 .) # We are building in place. 1546 ac_srcdir=. 1547 ac_top_srcdir=$ac_top_builddir_sub 1548 ac_abs_top_srcdir=$ac_pwd ;; 1549 [\\/]* | ?:[\\/]* ) # Absolute name. 1550 ac_srcdir=$srcdir$ac_dir_suffix; 1551 ac_top_srcdir=$srcdir 1552 ac_abs_top_srcdir=$srcdir ;; 1553 *) # Relative name. 1554 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1555 ac_top_srcdir=$ac_top_build_prefix$srcdir 1556 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1557esac 1558ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1559 1560 cd "$ac_dir" || { ac_status=$?; continue; } 1561 # Check for guested configure. 1562 if test -f "$ac_srcdir/configure.gnu"; then 1563 echo && 1564 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1565 elif test -f "$ac_srcdir/configure"; then 1566 echo && 1567 $SHELL "$ac_srcdir/configure" --help=recursive 1568 else 1569 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1570 fi || ac_status=$? 1571 cd "$ac_pwd" || { ac_status=$?; break; } 1572 done 1573fi 1574 1575test -n "$ac_init_help" && exit $ac_status 1576if $ac_init_version; then 1577 cat <<\_ACEOF 1578libzen configure 0.4.39 1579generated by GNU Autoconf 2.69 1580 1581Copyright (C) 2012 Free Software Foundation, Inc. 1582This configure script is free software; the Free Software Foundation 1583gives unlimited permission to copy, distribute and modify it. 1584_ACEOF 1585 exit 1586fi 1587 1588## ------------------------ ## 1589## Autoconf initialization. ## 1590## ------------------------ ## 1591 1592@%:@ ac_fn_c_try_compile LINENO 1593@%:@ -------------------------- 1594@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded. 1595ac_fn_c_try_compile () 1596{ 1597 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1598 rm -f conftest.$ac_objext 1599 if { { ac_try="$ac_compile" 1600case "(($ac_try" in 1601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1602 *) ac_try_echo=$ac_try;; 1603esac 1604eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1605$as_echo "$ac_try_echo"; } >&5 1606 (eval "$ac_compile") 2>conftest.err 1607 ac_status=$? 1608 if test -s conftest.err; then 1609 grep -v '^ *+' conftest.err >conftest.er1 1610 cat conftest.er1 >&5 1611 mv -f conftest.er1 conftest.err 1612 fi 1613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1614 test $ac_status = 0; } && { 1615 test -z "$ac_c_werror_flag" || 1616 test ! -s conftest.err 1617 } && test -s conftest.$ac_objext; then : 1618 ac_retval=0 1619else 1620 $as_echo "$as_me: failed program was:" >&5 1621sed 's/^/| /' conftest.$ac_ext >&5 1622 1623 ac_retval=1 1624fi 1625 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1626 as_fn_set_status $ac_retval 1627 1628} @%:@ ac_fn_c_try_compile 1629 1630@%:@ ac_fn_cxx_try_compile LINENO 1631@%:@ ---------------------------- 1632@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded. 1633ac_fn_cxx_try_compile () 1634{ 1635 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1636 rm -f conftest.$ac_objext 1637 if { { ac_try="$ac_compile" 1638case "(($ac_try" in 1639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1640 *) ac_try_echo=$ac_try;; 1641esac 1642eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1643$as_echo "$ac_try_echo"; } >&5 1644 (eval "$ac_compile") 2>conftest.err 1645 ac_status=$? 1646 if test -s conftest.err; then 1647 grep -v '^ *+' conftest.err >conftest.er1 1648 cat conftest.er1 >&5 1649 mv -f conftest.er1 conftest.err 1650 fi 1651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1652 test $ac_status = 0; } && { 1653 test -z "$ac_cxx_werror_flag" || 1654 test ! -s conftest.err 1655 } && test -s conftest.$ac_objext; then : 1656 ac_retval=0 1657else 1658 $as_echo "$as_me: failed program was:" >&5 1659sed 's/^/| /' conftest.$ac_ext >&5 1660 1661 ac_retval=1 1662fi 1663 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1664 as_fn_set_status $ac_retval 1665 1666} @%:@ ac_fn_cxx_try_compile 1667 1668@%:@ ac_fn_c_try_cpp LINENO 1669@%:@ ---------------------- 1670@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded. 1671ac_fn_c_try_cpp () 1672{ 1673 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1674 if { { ac_try="$ac_cpp conftest.$ac_ext" 1675case "(($ac_try" in 1676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1677 *) ac_try_echo=$ac_try;; 1678esac 1679eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1680$as_echo "$ac_try_echo"; } >&5 1681 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1682 ac_status=$? 1683 if test -s conftest.err; then 1684 grep -v '^ *+' conftest.err >conftest.er1 1685 cat conftest.er1 >&5 1686 mv -f conftest.er1 conftest.err 1687 fi 1688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1689 test $ac_status = 0; } > conftest.i && { 1690 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1691 test ! -s conftest.err 1692 }; then : 1693 ac_retval=0 1694else 1695 $as_echo "$as_me: failed program was:" >&5 1696sed 's/^/| /' conftest.$ac_ext >&5 1697 1698 ac_retval=1 1699fi 1700 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1701 as_fn_set_status $ac_retval 1702 1703} @%:@ ac_fn_c_try_cpp 1704 1705@%:@ ac_fn_c_try_link LINENO 1706@%:@ ----------------------- 1707@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. 1708ac_fn_c_try_link () 1709{ 1710 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1711 rm -f conftest.$ac_objext conftest$ac_exeext 1712 if { { ac_try="$ac_link" 1713case "(($ac_try" in 1714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1715 *) ac_try_echo=$ac_try;; 1716esac 1717eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1718$as_echo "$ac_try_echo"; } >&5 1719 (eval "$ac_link") 2>conftest.err 1720 ac_status=$? 1721 if test -s conftest.err; then 1722 grep -v '^ *+' conftest.err >conftest.er1 1723 cat conftest.er1 >&5 1724 mv -f conftest.er1 conftest.err 1725 fi 1726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1727 test $ac_status = 0; } && { 1728 test -z "$ac_c_werror_flag" || 1729 test ! -s conftest.err 1730 } && test -s conftest$ac_exeext && { 1731 test "$cross_compiling" = yes || 1732 test -x conftest$ac_exeext 1733 }; then : 1734 ac_retval=0 1735else 1736 $as_echo "$as_me: failed program was:" >&5 1737sed 's/^/| /' conftest.$ac_ext >&5 1738 1739 ac_retval=1 1740fi 1741 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1742 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1743 # interfere with the next link command; also delete a directory that is 1744 # left behind by Apple's compiler. We do this before executing the actions. 1745 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1746 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1747 as_fn_set_status $ac_retval 1748 1749} @%:@ ac_fn_c_try_link 1750 1751@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1752@%:@ ------------------------------------------------------- 1753@%:@ Tests whether HEADER exists and can be compiled using the include files in 1754@%:@ INCLUDES, setting the cache variable VAR accordingly. 1755ac_fn_c_check_header_compile () 1756{ 1757 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1759$as_echo_n "checking for $2... " >&6; } 1760if eval \${$3+:} false; then : 1761 $as_echo_n "(cached) " >&6 1762else 1763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1764/* end confdefs.h. */ 1765$4 1766@%:@include <$2> 1767_ACEOF 1768if ac_fn_c_try_compile "$LINENO"; then : 1769 eval "$3=yes" 1770else 1771 eval "$3=no" 1772fi 1773rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1774fi 1775eval ac_res=\$$3 1776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1777$as_echo "$ac_res" >&6; } 1778 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1779 1780} @%:@ ac_fn_c_check_header_compile 1781 1782@%:@ ac_fn_c_try_run LINENO 1783@%:@ ---------------------- 1784@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes 1785@%:@ that executables *can* be run. 1786ac_fn_c_try_run () 1787{ 1788 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1789 if { { ac_try="$ac_link" 1790case "(($ac_try" in 1791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1792 *) ac_try_echo=$ac_try;; 1793esac 1794eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1795$as_echo "$ac_try_echo"; } >&5 1796 (eval "$ac_link") 2>&5 1797 ac_status=$? 1798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1799 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1800 { { case "(($ac_try" in 1801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1802 *) ac_try_echo=$ac_try;; 1803esac 1804eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1805$as_echo "$ac_try_echo"; } >&5 1806 (eval "$ac_try") 2>&5 1807 ac_status=$? 1808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1809 test $ac_status = 0; }; }; then : 1810 ac_retval=0 1811else 1812 $as_echo "$as_me: program exited with status $ac_status" >&5 1813 $as_echo "$as_me: failed program was:" >&5 1814sed 's/^/| /' conftest.$ac_ext >&5 1815 1816 ac_retval=$ac_status 1817fi 1818 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1819 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1820 as_fn_set_status $ac_retval 1821 1822} @%:@ ac_fn_c_try_run 1823 1824@%:@ ac_fn_c_check_func LINENO FUNC VAR 1825@%:@ ---------------------------------- 1826@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly 1827ac_fn_c_check_func () 1828{ 1829 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1831$as_echo_n "checking for $2... " >&6; } 1832if eval \${$3+:} false; then : 1833 $as_echo_n "(cached) " >&6 1834else 1835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1836/* end confdefs.h. */ 1837/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1838 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1839#define $2 innocuous_$2 1840 1841/* System header to define __stub macros and hopefully few prototypes, 1842 which can conflict with char $2 (); below. 1843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1844 <limits.h> exists even on freestanding compilers. */ 1845 1846#ifdef __STDC__ 1847# include <limits.h> 1848#else 1849# include <assert.h> 1850#endif 1851 1852#undef $2 1853 1854/* Override any GCC internal prototype to avoid an error. 1855 Use char because int might match the return type of a GCC 1856 builtin and then its argument prototype would still apply. */ 1857#ifdef __cplusplus 1858extern "C" 1859#endif 1860char $2 (); 1861/* The GNU C library defines this for functions which it implements 1862 to always fail with ENOSYS. Some functions are actually named 1863 something starting with __ and the normal name is an alias. */ 1864#if defined __stub_$2 || defined __stub___$2 1865choke me 1866#endif 1867 1868int 1869main () 1870{ 1871return $2 (); 1872 ; 1873 return 0; 1874} 1875_ACEOF 1876if ac_fn_c_try_link "$LINENO"; then : 1877 eval "$3=yes" 1878else 1879 eval "$3=no" 1880fi 1881rm -f core conftest.err conftest.$ac_objext \ 1882 conftest$ac_exeext conftest.$ac_ext 1883fi 1884eval ac_res=\$$3 1885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1886$as_echo "$ac_res" >&6; } 1887 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1888 1889} @%:@ ac_fn_c_check_func 1890 1891@%:@ ac_fn_cxx_try_cpp LINENO 1892@%:@ ------------------------ 1893@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded. 1894ac_fn_cxx_try_cpp () 1895{ 1896 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1897 if { { ac_try="$ac_cpp conftest.$ac_ext" 1898case "(($ac_try" in 1899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1900 *) ac_try_echo=$ac_try;; 1901esac 1902eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1903$as_echo "$ac_try_echo"; } >&5 1904 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1905 ac_status=$? 1906 if test -s conftest.err; then 1907 grep -v '^ *+' conftest.err >conftest.er1 1908 cat conftest.er1 >&5 1909 mv -f conftest.er1 conftest.err 1910 fi 1911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1912 test $ac_status = 0; } > conftest.i && { 1913 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 1914 test ! -s conftest.err 1915 }; then : 1916 ac_retval=0 1917else 1918 $as_echo "$as_me: failed program was:" >&5 1919sed 's/^/| /' conftest.$ac_ext >&5 1920 1921 ac_retval=1 1922fi 1923 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1924 as_fn_set_status $ac_retval 1925 1926} @%:@ ac_fn_cxx_try_cpp 1927 1928@%:@ ac_fn_cxx_try_link LINENO 1929@%:@ ------------------------- 1930@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. 1931ac_fn_cxx_try_link () 1932{ 1933 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1934 rm -f conftest.$ac_objext conftest$ac_exeext 1935 if { { ac_try="$ac_link" 1936case "(($ac_try" in 1937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1938 *) ac_try_echo=$ac_try;; 1939esac 1940eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1941$as_echo "$ac_try_echo"; } >&5 1942 (eval "$ac_link") 2>conftest.err 1943 ac_status=$? 1944 if test -s conftest.err; then 1945 grep -v '^ *+' conftest.err >conftest.er1 1946 cat conftest.er1 >&5 1947 mv -f conftest.er1 conftest.err 1948 fi 1949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1950 test $ac_status = 0; } && { 1951 test -z "$ac_cxx_werror_flag" || 1952 test ! -s conftest.err 1953 } && test -s conftest$ac_exeext && { 1954 test "$cross_compiling" = yes || 1955 test -x conftest$ac_exeext 1956 }; then : 1957 ac_retval=0 1958else 1959 $as_echo "$as_me: failed program was:" >&5 1960sed 's/^/| /' conftest.$ac_ext >&5 1961 1962 ac_retval=1 1963fi 1964 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1965 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1966 # interfere with the next link command; also delete a directory that is 1967 # left behind by Apple's compiler. We do this before executing the actions. 1968 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1969 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1970 as_fn_set_status $ac_retval 1971 1972} @%:@ ac_fn_cxx_try_link 1973 1974@%:@ ac_fn_cxx_check_func LINENO FUNC VAR 1975@%:@ ------------------------------------ 1976@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly 1977ac_fn_cxx_check_func () 1978{ 1979 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1981$as_echo_n "checking for $2... " >&6; } 1982if eval \${$3+:} false; then : 1983 $as_echo_n "(cached) " >&6 1984else 1985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1986/* end confdefs.h. */ 1987/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1988 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1989#define $2 innocuous_$2 1990 1991/* System header to define __stub macros and hopefully few prototypes, 1992 which can conflict with char $2 (); below. 1993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1994 <limits.h> exists even on freestanding compilers. */ 1995 1996#ifdef __STDC__ 1997# include <limits.h> 1998#else 1999# include <assert.h> 2000#endif 2001 2002#undef $2 2003 2004/* Override any GCC internal prototype to avoid an error. 2005 Use char because int might match the return type of a GCC 2006 builtin and then its argument prototype would still apply. */ 2007#ifdef __cplusplus 2008extern "C" 2009#endif 2010char $2 (); 2011/* The GNU C library defines this for functions which it implements 2012 to always fail with ENOSYS. Some functions are actually named 2013 something starting with __ and the normal name is an alias. */ 2014#if defined __stub_$2 || defined __stub___$2 2015choke me 2016#endif 2017 2018int 2019main () 2020{ 2021return $2 (); 2022 ; 2023 return 0; 2024} 2025_ACEOF 2026if ac_fn_cxx_try_link "$LINENO"; then : 2027 eval "$3=yes" 2028else 2029 eval "$3=no" 2030fi 2031rm -f core conftest.err conftest.$ac_objext \ 2032 conftest$ac_exeext conftest.$ac_ext 2033fi 2034eval ac_res=\$$3 2035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2036$as_echo "$ac_res" >&6; } 2037 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2038 2039} @%:@ ac_fn_cxx_check_func 2040cat >config.log <<_ACEOF 2041This file contains any messages produced by compilers while 2042running configure, to aid debugging if configure makes a mistake. 2043 2044It was created by libzen $as_me 0.4.39, which was 2045generated by GNU Autoconf 2.69. Invocation command line was 2046 2047 $ $0 $@ 2048 2049_ACEOF 2050exec 5>>config.log 2051{ 2052cat <<_ASUNAME 2053## --------- ## 2054## Platform. ## 2055## --------- ## 2056 2057hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2058uname -m = `(uname -m) 2>/dev/null || echo unknown` 2059uname -r = `(uname -r) 2>/dev/null || echo unknown` 2060uname -s = `(uname -s) 2>/dev/null || echo unknown` 2061uname -v = `(uname -v) 2>/dev/null || echo unknown` 2062 2063/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2064/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2065 2066/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2067/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2068/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2069/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2070/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2071/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2072/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2073 2074_ASUNAME 2075 2076as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2077for as_dir in $PATH 2078do 2079 IFS=$as_save_IFS 2080 test -z "$as_dir" && as_dir=. 2081 $as_echo "PATH: $as_dir" 2082 done 2083IFS=$as_save_IFS 2084 2085} >&5 2086 2087cat >&5 <<_ACEOF 2088 2089 2090## ----------- ## 2091## Core tests. ## 2092## ----------- ## 2093 2094_ACEOF 2095 2096 2097# Keep a trace of the command line. 2098# Strip out --no-create and --no-recursion so they do not pile up. 2099# Strip out --silent because we don't want to record it for future runs. 2100# Also quote any args containing shell meta-characters. 2101# Make two passes to allow for proper duplicate-argument suppression. 2102ac_configure_args= 2103ac_configure_args0= 2104ac_configure_args1= 2105ac_must_keep_next=false 2106for ac_pass in 1 2 2107do 2108 for ac_arg 2109 do 2110 case $ac_arg in 2111 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2112 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2113 | -silent | --silent | --silen | --sile | --sil) 2114 continue ;; 2115 *\'*) 2116 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2117 esac 2118 case $ac_pass in 2119 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2120 2) 2121 as_fn_append ac_configure_args1 " '$ac_arg'" 2122 if test $ac_must_keep_next = true; then 2123 ac_must_keep_next=false # Got value, back to normal. 2124 else 2125 case $ac_arg in 2126 *=* | --config-cache | -C | -disable-* | --disable-* \ 2127 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2128 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2129 | -with-* | --with-* | -without-* | --without-* | --x) 2130 case "$ac_configure_args0 " in 2131 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2132 esac 2133 ;; 2134 -* ) ac_must_keep_next=true ;; 2135 esac 2136 fi 2137 as_fn_append ac_configure_args " '$ac_arg'" 2138 ;; 2139 esac 2140 done 2141done 2142{ ac_configure_args0=; unset ac_configure_args0;} 2143{ ac_configure_args1=; unset ac_configure_args1;} 2144 2145# When interrupted or exit'd, cleanup temporary files, and complete 2146# config.log. We remove comments because anyway the quotes in there 2147# would cause problems or look ugly. 2148# WARNING: Use '\'' to represent an apostrophe within the trap. 2149# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2150trap 'exit_status=$? 2151 # Save into config.log some information that might help in debugging. 2152 { 2153 echo 2154 2155 $as_echo "## ---------------- ## 2156## Cache variables. ## 2157## ---------------- ##" 2158 echo 2159 # The following way of writing the cache mishandles newlines in values, 2160( 2161 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2162 eval ac_val=\$$ac_var 2163 case $ac_val in #( 2164 *${as_nl}*) 2165 case $ac_var in #( 2166 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2167$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2168 esac 2169 case $ac_var in #( 2170 _ | IFS | as_nl) ;; #( 2171 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2172 *) { eval $ac_var=; unset $ac_var;} ;; 2173 esac ;; 2174 esac 2175 done 2176 (set) 2>&1 | 2177 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2178 *${as_nl}ac_space=\ *) 2179 sed -n \ 2180 "s/'\''/'\''\\\\'\'''\''/g; 2181 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2182 ;; #( 2183 *) 2184 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2185 ;; 2186 esac | 2187 sort 2188) 2189 echo 2190 2191 $as_echo "## ----------------- ## 2192## Output variables. ## 2193## ----------------- ##" 2194 echo 2195 for ac_var in $ac_subst_vars 2196 do 2197 eval ac_val=\$$ac_var 2198 case $ac_val in 2199 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2200 esac 2201 $as_echo "$ac_var='\''$ac_val'\''" 2202 done | sort 2203 echo 2204 2205 if test -n "$ac_subst_files"; then 2206 $as_echo "## ------------------- ## 2207## File substitutions. ## 2208## ------------------- ##" 2209 echo 2210 for ac_var in $ac_subst_files 2211 do 2212 eval ac_val=\$$ac_var 2213 case $ac_val in 2214 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2215 esac 2216 $as_echo "$ac_var='\''$ac_val'\''" 2217 done | sort 2218 echo 2219 fi 2220 2221 if test -s confdefs.h; then 2222 $as_echo "## ----------- ## 2223## confdefs.h. ## 2224## ----------- ##" 2225 echo 2226 cat confdefs.h 2227 echo 2228 fi 2229 test "$ac_signal" != 0 && 2230 $as_echo "$as_me: caught signal $ac_signal" 2231 $as_echo "$as_me: exit $exit_status" 2232 } >&5 2233 rm -f core *.core core.conftest.* && 2234 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2235 exit $exit_status 2236' 0 2237for ac_signal in 1 2 13 15; do 2238 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2239done 2240ac_signal=0 2241 2242# confdefs.h avoids OS command line length limits that DEFS can exceed. 2243rm -f -r conftest* confdefs.h 2244 2245$as_echo "/* confdefs.h */" > confdefs.h 2246 2247# Predefined preprocessor variables. 2248 2249cat >>confdefs.h <<_ACEOF 2250@%:@define PACKAGE_NAME "$PACKAGE_NAME" 2251_ACEOF 2252 2253cat >>confdefs.h <<_ACEOF 2254@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2255_ACEOF 2256 2257cat >>confdefs.h <<_ACEOF 2258@%:@define PACKAGE_VERSION "$PACKAGE_VERSION" 2259_ACEOF 2260 2261cat >>confdefs.h <<_ACEOF 2262@%:@define PACKAGE_STRING "$PACKAGE_STRING" 2263_ACEOF 2264 2265cat >>confdefs.h <<_ACEOF 2266@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2267_ACEOF 2268 2269cat >>confdefs.h <<_ACEOF 2270@%:@define PACKAGE_URL "$PACKAGE_URL" 2271_ACEOF 2272 2273 2274# Let the site file select an alternate cache file if it wants to. 2275# Prefer an explicitly selected file to automatically selected ones. 2276ac_site_file1=NONE 2277ac_site_file2=NONE 2278if test -n "$CONFIG_SITE"; then 2279 # We do not want a PATH search for config.site. 2280 case $CONFIG_SITE in @%:@(( 2281 -*) ac_site_file1=./$CONFIG_SITE;; 2282 */*) ac_site_file1=$CONFIG_SITE;; 2283 *) ac_site_file1=./$CONFIG_SITE;; 2284 esac 2285elif test "x$prefix" != xNONE; then 2286 ac_site_file1=$prefix/share/config.site 2287 ac_site_file2=$prefix/etc/config.site 2288else 2289 ac_site_file1=$ac_default_prefix/share/config.site 2290 ac_site_file2=$ac_default_prefix/etc/config.site 2291fi 2292for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2293do 2294 test "x$ac_site_file" = xNONE && continue 2295 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2296 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2297$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2298 sed 's/^/| /' "$ac_site_file" >&5 2299 . "$ac_site_file" \ 2300 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2301$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2302as_fn_error $? "failed to load site script $ac_site_file 2303See \`config.log' for more details" "$LINENO" 5; } 2304 fi 2305done 2306 2307if test -r "$cache_file"; then 2308 # Some versions of bash will fail to source /dev/null (special files 2309 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2310 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2311 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2312$as_echo "$as_me: loading cache $cache_file" >&6;} 2313 case $cache_file in 2314 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2315 *) . "./$cache_file";; 2316 esac 2317 fi 2318else 2319 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2320$as_echo "$as_me: creating cache $cache_file" >&6;} 2321 >$cache_file 2322fi 2323 2324# Check that the precious variables saved in the cache have kept the same 2325# value. 2326ac_cache_corrupted=false 2327for ac_var in $ac_precious_vars; do 2328 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2329 eval ac_new_set=\$ac_env_${ac_var}_set 2330 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2331 eval ac_new_val=\$ac_env_${ac_var}_value 2332 case $ac_old_set,$ac_new_set in 2333 set,) 2334 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2335$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2336 ac_cache_corrupted=: ;; 2337 ,set) 2338 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2339$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2340 ac_cache_corrupted=: ;; 2341 ,);; 2342 *) 2343 if test "x$ac_old_val" != "x$ac_new_val"; then 2344 # differences in whitespace do not lead to failure. 2345 ac_old_val_w=`echo x $ac_old_val` 2346 ac_new_val_w=`echo x $ac_new_val` 2347 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2348 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2349$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2350 ac_cache_corrupted=: 2351 else 2352 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2353$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2354 eval $ac_var=\$ac_old_val 2355 fi 2356 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2357$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2358 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2359$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2360 fi;; 2361 esac 2362 # Pass precious variables to config.status. 2363 if test "$ac_new_set" = set; then 2364 case $ac_new_val in 2365 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2366 *) ac_arg=$ac_var=$ac_new_val ;; 2367 esac 2368 case " $ac_configure_args " in 2369 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2370 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2371 esac 2372 fi 2373done 2374if $ac_cache_corrupted; then 2375 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2376$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2377 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2378$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2379 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2380fi 2381## -------------------- ## 2382## Main body of script. ## 2383## -------------------- ## 2384 2385ac_ext=c 2386ac_cpp='$CPP $CPPFLAGS' 2387ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2388ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2389ac_compiler_gnu=$ac_cv_c_compiler_gnu 2390 2391 2392 2393 2394 2395ac_aux_dir= 2396for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2397 if test -f "$ac_dir/install-sh"; then 2398 ac_aux_dir=$ac_dir 2399 ac_install_sh="$ac_aux_dir/install-sh -c" 2400 break 2401 elif test -f "$ac_dir/install.sh"; then 2402 ac_aux_dir=$ac_dir 2403 ac_install_sh="$ac_aux_dir/install.sh -c" 2404 break 2405 elif test -f "$ac_dir/shtool"; then 2406 ac_aux_dir=$ac_dir 2407 ac_install_sh="$ac_aux_dir/shtool install -c" 2408 break 2409 fi 2410done 2411if test -z "$ac_aux_dir"; then 2412 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2413fi 2414 2415# These three variables are undocumented and unsupported, 2416# and are intended to be withdrawn in a future Autoconf release. 2417# They can cause serious problems if a builder's source tree is in a directory 2418# whose full name contains unusual characters. 2419ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2420ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2421ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2422 2423 2424# Make sure we can run config.sub. 2425$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2426 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2427 2428{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2429$as_echo_n "checking build system type... " >&6; } 2430if ${ac_cv_build+:} false; then : 2431 $as_echo_n "(cached) " >&6 2432else 2433 ac_build_alias=$build_alias 2434test "x$ac_build_alias" = x && 2435 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2436test "x$ac_build_alias" = x && 2437 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2438ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2439 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2440 2441fi 2442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2443$as_echo "$ac_cv_build" >&6; } 2444case $ac_cv_build in 2445*-*-*) ;; 2446*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2447esac 2448build=$ac_cv_build 2449ac_save_IFS=$IFS; IFS='-' 2450set x $ac_cv_build 2451shift 2452build_cpu=$1 2453build_vendor=$2 2454shift; shift 2455# Remember, the first character of IFS is used to create $*, 2456# except with old shells: 2457build_os=$* 2458IFS=$ac_save_IFS 2459case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2460 2461 2462am__api_version='1.16' 2463 2464# Find a good install program. We prefer a C program (faster), 2465# so one script is as good as another. But avoid the broken or 2466# incompatible versions: 2467# SysV /etc/install, /usr/sbin/install 2468# SunOS /usr/etc/install 2469# IRIX /sbin/install 2470# AIX /bin/install 2471# AmigaOS /C/install, which installs bootblocks on floppy discs 2472# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2473# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2474# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2475# OS/2's system install, which has a completely different semantic 2476# ./install, which can be erroneously created by make from ./install.sh. 2477# Reject install programs that cannot install multiple files. 2478{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2479$as_echo_n "checking for a BSD-compatible install... " >&6; } 2480if test -z "$INSTALL"; then 2481if ${ac_cv_path_install+:} false; then : 2482 $as_echo_n "(cached) " >&6 2483else 2484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2485for as_dir in $PATH 2486do 2487 IFS=$as_save_IFS 2488 test -z "$as_dir" && as_dir=. 2489 # Account for people who put trailing slashes in PATH elements. 2490case $as_dir/ in @%:@(( 2491 ./ | .// | /[cC]/* | \ 2492 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2493 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2494 /usr/ucb/* ) ;; 2495 *) 2496 # OSF1 and SCO ODT 3.0 have their own names for install. 2497 # Don't use installbsd from OSF since it installs stuff as root 2498 # by default. 2499 for ac_prog in ginstall scoinst install; do 2500 for ac_exec_ext in '' $ac_executable_extensions; do 2501 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2502 if test $ac_prog = install && 2503 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2504 # AIX install. It has an incompatible calling convention. 2505 : 2506 elif test $ac_prog = install && 2507 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2508 # program-specific install script used by HP pwplus--don't use. 2509 : 2510 else 2511 rm -rf conftest.one conftest.two conftest.dir 2512 echo one > conftest.one 2513 echo two > conftest.two 2514 mkdir conftest.dir 2515 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2516 test -s conftest.one && test -s conftest.two && 2517 test -s conftest.dir/conftest.one && 2518 test -s conftest.dir/conftest.two 2519 then 2520 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2521 break 3 2522 fi 2523 fi 2524 fi 2525 done 2526 done 2527 ;; 2528esac 2529 2530 done 2531IFS=$as_save_IFS 2532 2533rm -rf conftest.one conftest.two conftest.dir 2534 2535fi 2536 if test "${ac_cv_path_install+set}" = set; then 2537 INSTALL=$ac_cv_path_install 2538 else 2539 # As a last resort, use the slow shell script. Don't cache a 2540 # value for INSTALL within a source directory, because that will 2541 # break other packages using the cache if that directory is 2542 # removed, or if the value is a relative name. 2543 INSTALL=$ac_install_sh 2544 fi 2545fi 2546{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2547$as_echo "$INSTALL" >&6; } 2548 2549# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2550# It thinks the first close brace ends the variable substitution. 2551test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2552 2553test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2554 2555test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2556 2557{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2558$as_echo_n "checking whether build environment is sane... " >&6; } 2559# Reject unsafe characters in $srcdir or the absolute working directory 2560# name. Accept space and tab only in the latter. 2561am_lf=' 2562' 2563case `pwd` in 2564 *[\\\"\#\$\&\'\`$am_lf]*) 2565 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2566esac 2567case $srcdir in 2568 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2569 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2570esac 2571 2572# Do 'set' in a subshell so we don't clobber the current shell's 2573# arguments. Must try -L first in case configure is actually a 2574# symlink; some systems play weird games with the mod time of symlinks 2575# (eg FreeBSD returns the mod time of the symlink's containing 2576# directory). 2577if ( 2578 am_has_slept=no 2579 for am_try in 1 2; do 2580 echo "timestamp, slept: $am_has_slept" > conftest.file 2581 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2582 if test "$*" = "X"; then 2583 # -L didn't work. 2584 set X `ls -t "$srcdir/configure" conftest.file` 2585 fi 2586 if test "$*" != "X $srcdir/configure conftest.file" \ 2587 && test "$*" != "X conftest.file $srcdir/configure"; then 2588 2589 # If neither matched, then we have a broken ls. This can happen 2590 # if, for instance, CONFIG_SHELL is bash and it inherits a 2591 # broken ls alias from the environment. This has actually 2592 # happened. Such a system could not be considered "sane". 2593 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2594 alias in your environment" "$LINENO" 5 2595 fi 2596 if test "$2" = conftest.file || test $am_try -eq 2; then 2597 break 2598 fi 2599 # Just in case. 2600 sleep 1 2601 am_has_slept=yes 2602 done 2603 test "$2" = conftest.file 2604 ) 2605then 2606 # Ok. 2607 : 2608else 2609 as_fn_error $? "newly created file is older than distributed files! 2610Check your system clock" "$LINENO" 5 2611fi 2612{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2613$as_echo "yes" >&6; } 2614# If we didn't sleep, we still need to ensure time stamps of config.status and 2615# generated files are strictly newer. 2616am_sleep_pid= 2617if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2618 ( sleep 1 ) & 2619 am_sleep_pid=$! 2620fi 2621 2622rm -f conftest.file 2623 2624test "$program_prefix" != NONE && 2625 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2626# Use a double $ so make ignores it. 2627test "$program_suffix" != NONE && 2628 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2629# Double any \ or $. 2630# By default was `s,x,x', remove it if useless. 2631ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2632program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2633 2634# Expand $ac_aux_dir to an absolute path. 2635am_aux_dir=`cd "$ac_aux_dir" && pwd` 2636 2637if test x"${MISSING+set}" != xset; then 2638 case $am_aux_dir in 2639 *\ * | *\ *) 2640 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2641 *) 2642 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2643 esac 2644fi 2645# Use eval to expand $SHELL 2646if eval "$MISSING --is-lightweight"; then 2647 am_missing_run="$MISSING " 2648else 2649 am_missing_run= 2650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2651$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2652fi 2653 2654if test x"${install_sh+set}" != xset; then 2655 case $am_aux_dir in 2656 *\ * | *\ *) 2657 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2658 *) 2659 install_sh="\${SHELL} $am_aux_dir/install-sh" 2660 esac 2661fi 2662 2663# Installed binaries are usually stripped using 'strip' when the user 2664# run "make install-strip". However 'strip' might not be the right 2665# tool to use in cross-compilation environments, therefore Automake 2666# will honor the 'STRIP' environment variable to overrule this program. 2667if test "$cross_compiling" != no; then 2668 if test -n "$ac_tool_prefix"; then 2669 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2670set dummy ${ac_tool_prefix}strip; ac_word=$2 2671{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2672$as_echo_n "checking for $ac_word... " >&6; } 2673if ${ac_cv_prog_STRIP+:} false; then : 2674 $as_echo_n "(cached) " >&6 2675else 2676 if test -n "$STRIP"; then 2677 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2678else 2679as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2680for as_dir in $PATH 2681do 2682 IFS=$as_save_IFS 2683 test -z "$as_dir" && as_dir=. 2684 for ac_exec_ext in '' $ac_executable_extensions; do 2685 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2686 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2688 break 2 2689 fi 2690done 2691 done 2692IFS=$as_save_IFS 2693 2694fi 2695fi 2696STRIP=$ac_cv_prog_STRIP 2697if test -n "$STRIP"; then 2698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2699$as_echo "$STRIP" >&6; } 2700else 2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2702$as_echo "no" >&6; } 2703fi 2704 2705 2706fi 2707if test -z "$ac_cv_prog_STRIP"; then 2708 ac_ct_STRIP=$STRIP 2709 # Extract the first word of "strip", so it can be a program name with args. 2710set dummy strip; ac_word=$2 2711{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2712$as_echo_n "checking for $ac_word... " >&6; } 2713if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2714 $as_echo_n "(cached) " >&6 2715else 2716 if test -n "$ac_ct_STRIP"; then 2717 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2718else 2719as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2720for as_dir in $PATH 2721do 2722 IFS=$as_save_IFS 2723 test -z "$as_dir" && as_dir=. 2724 for ac_exec_ext in '' $ac_executable_extensions; do 2725 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2726 ac_cv_prog_ac_ct_STRIP="strip" 2727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2728 break 2 2729 fi 2730done 2731 done 2732IFS=$as_save_IFS 2733 2734fi 2735fi 2736ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2737if test -n "$ac_ct_STRIP"; then 2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2739$as_echo "$ac_ct_STRIP" >&6; } 2740else 2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2742$as_echo "no" >&6; } 2743fi 2744 2745 if test "x$ac_ct_STRIP" = x; then 2746 STRIP=":" 2747 else 2748 case $cross_compiling:$ac_tool_warned in 2749yes:) 2750{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2751$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2752ac_tool_warned=yes ;; 2753esac 2754 STRIP=$ac_ct_STRIP 2755 fi 2756else 2757 STRIP="$ac_cv_prog_STRIP" 2758fi 2759 2760fi 2761INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2762 2763{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2764$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2765if test -z "$MKDIR_P"; then 2766 if ${ac_cv_path_mkdir+:} false; then : 2767 $as_echo_n "(cached) " >&6 2768else 2769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2770for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2771do 2772 IFS=$as_save_IFS 2773 test -z "$as_dir" && as_dir=. 2774 for ac_prog in mkdir gmkdir; do 2775 for ac_exec_ext in '' $ac_executable_extensions; do 2776 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2777 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2778 'mkdir (GNU coreutils) '* | \ 2779 'mkdir (coreutils) '* | \ 2780 'mkdir (fileutils) '4.1*) 2781 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2782 break 3;; 2783 esac 2784 done 2785 done 2786 done 2787IFS=$as_save_IFS 2788 2789fi 2790 2791 test -d ./--version && rmdir ./--version 2792 if test "${ac_cv_path_mkdir+set}" = set; then 2793 MKDIR_P="$ac_cv_path_mkdir -p" 2794 else 2795 # As a last resort, use the slow shell script. Don't cache a 2796 # value for MKDIR_P within a source directory, because that will 2797 # break other packages using the cache if that directory is 2798 # removed, or if the value is a relative name. 2799 MKDIR_P="$ac_install_sh -d" 2800 fi 2801fi 2802{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2803$as_echo "$MKDIR_P" >&6; } 2804 2805for ac_prog in gawk mawk nawk awk 2806do 2807 # Extract the first word of "$ac_prog", so it can be a program name with args. 2808set dummy $ac_prog; ac_word=$2 2809{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2810$as_echo_n "checking for $ac_word... " >&6; } 2811if ${ac_cv_prog_AWK+:} false; then : 2812 $as_echo_n "(cached) " >&6 2813else 2814 if test -n "$AWK"; then 2815 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2816else 2817as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2818for as_dir in $PATH 2819do 2820 IFS=$as_save_IFS 2821 test -z "$as_dir" && as_dir=. 2822 for ac_exec_ext in '' $ac_executable_extensions; do 2823 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2824 ac_cv_prog_AWK="$ac_prog" 2825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2826 break 2 2827 fi 2828done 2829 done 2830IFS=$as_save_IFS 2831 2832fi 2833fi 2834AWK=$ac_cv_prog_AWK 2835if test -n "$AWK"; then 2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2837$as_echo "$AWK" >&6; } 2838else 2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2840$as_echo "no" >&6; } 2841fi 2842 2843 2844 test -n "$AWK" && break 2845done 2846 2847{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2848$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2849set x ${MAKE-make} 2850ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2851if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2852 $as_echo_n "(cached) " >&6 2853else 2854 cat >conftest.make <<\_ACEOF 2855SHELL = /bin/sh 2856all: 2857 @echo '@@@%%%=$(MAKE)=@@@%%%' 2858_ACEOF 2859# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2860case `${MAKE-make} -f conftest.make 2>/dev/null` in 2861 *@@@%%%=?*=@@@%%%*) 2862 eval ac_cv_prog_make_${ac_make}_set=yes;; 2863 *) 2864 eval ac_cv_prog_make_${ac_make}_set=no;; 2865esac 2866rm -f conftest.make 2867fi 2868if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2870$as_echo "yes" >&6; } 2871 SET_MAKE= 2872else 2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2874$as_echo "no" >&6; } 2875 SET_MAKE="MAKE=${MAKE-make}" 2876fi 2877 2878rm -rf .tst 2>/dev/null 2879mkdir .tst 2>/dev/null 2880if test -d .tst; then 2881 am__leading_dot=. 2882else 2883 am__leading_dot=_ 2884fi 2885rmdir .tst 2>/dev/null 2886 2887@%:@ Check whether --enable-silent-rules was given. 2888if test "${enable_silent_rules+set}" = set; then : 2889 enableval=$enable_silent_rules; 2890fi 2891 2892case $enable_silent_rules in @%:@ ((( 2893 yes) AM_DEFAULT_VERBOSITY=0;; 2894 no) AM_DEFAULT_VERBOSITY=1;; 2895 *) AM_DEFAULT_VERBOSITY=1;; 2896esac 2897am_make=${MAKE-make} 2898{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2899$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2900if ${am_cv_make_support_nested_variables+:} false; then : 2901 $as_echo_n "(cached) " >&6 2902else 2903 if $as_echo 'TRUE=$(BAR$(V)) 2904BAR0=false 2905BAR1=true 2906V=1 2907am__doit: 2908 @$(TRUE) 2909.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2910 am_cv_make_support_nested_variables=yes 2911else 2912 am_cv_make_support_nested_variables=no 2913fi 2914fi 2915{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2916$as_echo "$am_cv_make_support_nested_variables" >&6; } 2917if test $am_cv_make_support_nested_variables = yes; then 2918 AM_V='$(V)' 2919 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2920else 2921 AM_V=$AM_DEFAULT_VERBOSITY 2922 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2923fi 2924AM_BACKSLASH='\' 2925 2926if test "`cd $srcdir && pwd`" != "`pwd`"; then 2927 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2928 # is not polluted with repeated "-I." 2929 am__isrc=' -I$(srcdir)' 2930 # test to see if srcdir already configured 2931 if test -f $srcdir/config.status; then 2932 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2933 fi 2934fi 2935 2936# test whether we have cygpath 2937if test -z "$CYGPATH_W"; then 2938 if (cygpath --version) >/dev/null 2>/dev/null; then 2939 CYGPATH_W='cygpath -w' 2940 else 2941 CYGPATH_W=echo 2942 fi 2943fi 2944 2945 2946# Define the identity of the package. 2947 PACKAGE='libzen' 2948 VERSION='0.4.39' 2949 2950 2951cat >>confdefs.h <<_ACEOF 2952@%:@define PACKAGE "$PACKAGE" 2953_ACEOF 2954 2955 2956cat >>confdefs.h <<_ACEOF 2957@%:@define VERSION "$VERSION" 2958_ACEOF 2959 2960# Some tools Automake needs. 2961 2962ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2963 2964 2965AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2966 2967 2968AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2969 2970 2971AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2972 2973 2974MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2975 2976# For better backward compatibility. To be removed once Automake 1.9.x 2977# dies out for good. For more background, see: 2978# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2979# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2980mkdir_p='$(MKDIR_P)' 2981 2982# We need awk for the "check" target (and possibly the TAP driver). The 2983# system "awk" is bad on some platforms. 2984# Always define AMTAR for backward compatibility. Yes, it's still used 2985# in the wild :-( We should find a proper way to deprecate it ... 2986AMTAR='$${TAR-tar}' 2987 2988 2989# We'll loop over all known methods to create a tar archive until one works. 2990_am_tools='gnutar pax cpio none' 2991 2992am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2993 2994 2995 2996 2997 2998 2999# POSIX will say in a future version that running "rm -f" with no argument 3000# is OK; and we want to be able to make that assumption in our Makefile 3001# recipes. So use an aggressive probe to check that the usage we want is 3002# actually supported "in the wild" to an acceptable degree. 3003# See automake bug#10828. 3004# To make any issue more visible, cause the running configure to be aborted 3005# by default if the 'rm' program in use doesn't match our expectations; the 3006# user can still override this though. 3007if rm -f && rm -fr && rm -rf; then : OK; else 3008 cat >&2 <<'END' 3009Oops! 3010 3011Your 'rm' program seems unable to run without file operands specified 3012on the command line, even when the '-f' option is present. This is contrary 3013to the behaviour of most rm programs out there, and not conforming with 3014the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3015 3016Please tell bug-automake@gnu.org about your system, including the value 3017of your $PATH and any error possibly output before this message. This 3018can help us improve future automake versions. 3019 3020END 3021 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3022 echo 'Configuration will proceed anyway, since you have set the' >&2 3023 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3024 echo >&2 3025 else 3026 cat >&2 <<'END' 3027Aborting the configuration process, to ensure you take notice of the issue. 3028 3029You can download and install GNU coreutils to get an 'rm' implementation 3030that behaves properly: <https://www.gnu.org/software/coreutils/>. 3031 3032If you want to complete the configuration process using your problematic 3033'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3034to "yes", and re-run configure. 3035 3036END 3037 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3038 fi 3039fi 3040 3041 3042ac_ext=c 3043ac_cpp='$CPP $CPPFLAGS' 3044ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3045ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3046ac_compiler_gnu=$ac_cv_c_compiler_gnu 3047if test -n "$ac_tool_prefix"; then 3048 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3049set dummy ${ac_tool_prefix}gcc; ac_word=$2 3050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3051$as_echo_n "checking for $ac_word... " >&6; } 3052if ${ac_cv_prog_CC+:} false; then : 3053 $as_echo_n "(cached) " >&6 3054else 3055 if test -n "$CC"; then 3056 ac_cv_prog_CC="$CC" # Let the user override the test. 3057else 3058as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3059for as_dir in $PATH 3060do 3061 IFS=$as_save_IFS 3062 test -z "$as_dir" && as_dir=. 3063 for ac_exec_ext in '' $ac_executable_extensions; do 3064 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3065 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3067 break 2 3068 fi 3069done 3070 done 3071IFS=$as_save_IFS 3072 3073fi 3074fi 3075CC=$ac_cv_prog_CC 3076if test -n "$CC"; then 3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3078$as_echo "$CC" >&6; } 3079else 3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3081$as_echo "no" >&6; } 3082fi 3083 3084 3085fi 3086if test -z "$ac_cv_prog_CC"; then 3087 ac_ct_CC=$CC 3088 # Extract the first word of "gcc", so it can be a program name with args. 3089set dummy gcc; ac_word=$2 3090{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3091$as_echo_n "checking for $ac_word... " >&6; } 3092if ${ac_cv_prog_ac_ct_CC+:} false; then : 3093 $as_echo_n "(cached) " >&6 3094else 3095 if test -n "$ac_ct_CC"; then 3096 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3097else 3098as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3099for as_dir in $PATH 3100do 3101 IFS=$as_save_IFS 3102 test -z "$as_dir" && as_dir=. 3103 for ac_exec_ext in '' $ac_executable_extensions; do 3104 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3105 ac_cv_prog_ac_ct_CC="gcc" 3106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3107 break 2 3108 fi 3109done 3110 done 3111IFS=$as_save_IFS 3112 3113fi 3114fi 3115ac_ct_CC=$ac_cv_prog_ac_ct_CC 3116if test -n "$ac_ct_CC"; then 3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3118$as_echo "$ac_ct_CC" >&6; } 3119else 3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3121$as_echo "no" >&6; } 3122fi 3123 3124 if test "x$ac_ct_CC" = x; then 3125 CC="" 3126 else 3127 case $cross_compiling:$ac_tool_warned in 3128yes:) 3129{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3130$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3131ac_tool_warned=yes ;; 3132esac 3133 CC=$ac_ct_CC 3134 fi 3135else 3136 CC="$ac_cv_prog_CC" 3137fi 3138 3139if test -z "$CC"; then 3140 if test -n "$ac_tool_prefix"; then 3141 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3142set dummy ${ac_tool_prefix}cc; ac_word=$2 3143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3144$as_echo_n "checking for $ac_word... " >&6; } 3145if ${ac_cv_prog_CC+:} false; then : 3146 $as_echo_n "(cached) " >&6 3147else 3148 if test -n "$CC"; then 3149 ac_cv_prog_CC="$CC" # Let the user override the test. 3150else 3151as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3152for as_dir in $PATH 3153do 3154 IFS=$as_save_IFS 3155 test -z "$as_dir" && as_dir=. 3156 for ac_exec_ext in '' $ac_executable_extensions; do 3157 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3158 ac_cv_prog_CC="${ac_tool_prefix}cc" 3159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3160 break 2 3161 fi 3162done 3163 done 3164IFS=$as_save_IFS 3165 3166fi 3167fi 3168CC=$ac_cv_prog_CC 3169if test -n "$CC"; then 3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3171$as_echo "$CC" >&6; } 3172else 3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3174$as_echo "no" >&6; } 3175fi 3176 3177 3178 fi 3179fi 3180if test -z "$CC"; then 3181 # Extract the first word of "cc", so it can be a program name with args. 3182set dummy cc; 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 3191 ac_prog_rejected=no 3192as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3193for as_dir in $PATH 3194do 3195 IFS=$as_save_IFS 3196 test -z "$as_dir" && as_dir=. 3197 for ac_exec_ext in '' $ac_executable_extensions; do 3198 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3199 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3200 ac_prog_rejected=yes 3201 continue 3202 fi 3203 ac_cv_prog_CC="cc" 3204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3205 break 2 3206 fi 3207done 3208 done 3209IFS=$as_save_IFS 3210 3211if test $ac_prog_rejected = yes; then 3212 # We found a bogon in the path, so make sure we never use it. 3213 set dummy $ac_cv_prog_CC 3214 shift 3215 if test $@%:@ != 0; then 3216 # We chose a different compiler from the bogus one. 3217 # However, it has the same basename, so the bogon will be chosen 3218 # first if we set CC to just the basename; use the full file name. 3219 shift 3220 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3221 fi 3222fi 3223fi 3224fi 3225CC=$ac_cv_prog_CC 3226if test -n "$CC"; then 3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3228$as_echo "$CC" >&6; } 3229else 3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3231$as_echo "no" >&6; } 3232fi 3233 3234 3235fi 3236if test -z "$CC"; then 3237 if test -n "$ac_tool_prefix"; then 3238 for ac_prog in cl.exe 3239 do 3240 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3241set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3242{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3243$as_echo_n "checking for $ac_word... " >&6; } 3244if ${ac_cv_prog_CC+:} false; then : 3245 $as_echo_n "(cached) " >&6 3246else 3247 if test -n "$CC"; then 3248 ac_cv_prog_CC="$CC" # Let the user override the test. 3249else 3250as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3251for as_dir in $PATH 3252do 3253 IFS=$as_save_IFS 3254 test -z "$as_dir" && as_dir=. 3255 for ac_exec_ext in '' $ac_executable_extensions; do 3256 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3257 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3259 break 2 3260 fi 3261done 3262 done 3263IFS=$as_save_IFS 3264 3265fi 3266fi 3267CC=$ac_cv_prog_CC 3268if test -n "$CC"; then 3269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3270$as_echo "$CC" >&6; } 3271else 3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3273$as_echo "no" >&6; } 3274fi 3275 3276 3277 test -n "$CC" && break 3278 done 3279fi 3280if test -z "$CC"; then 3281 ac_ct_CC=$CC 3282 for ac_prog in cl.exe 3283do 3284 # Extract the first word of "$ac_prog", so it can be a program name with args. 3285set dummy $ac_prog; ac_word=$2 3286{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3287$as_echo_n "checking for $ac_word... " >&6; } 3288if ${ac_cv_prog_ac_ct_CC+:} false; then : 3289 $as_echo_n "(cached) " >&6 3290else 3291 if test -n "$ac_ct_CC"; then 3292 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3293else 3294as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3295for as_dir in $PATH 3296do 3297 IFS=$as_save_IFS 3298 test -z "$as_dir" && as_dir=. 3299 for ac_exec_ext in '' $ac_executable_extensions; do 3300 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3301 ac_cv_prog_ac_ct_CC="$ac_prog" 3302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3303 break 2 3304 fi 3305done 3306 done 3307IFS=$as_save_IFS 3308 3309fi 3310fi 3311ac_ct_CC=$ac_cv_prog_ac_ct_CC 3312if test -n "$ac_ct_CC"; then 3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3314$as_echo "$ac_ct_CC" >&6; } 3315else 3316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3317$as_echo "no" >&6; } 3318fi 3319 3320 3321 test -n "$ac_ct_CC" && break 3322done 3323 3324 if test "x$ac_ct_CC" = x; then 3325 CC="" 3326 else 3327 case $cross_compiling:$ac_tool_warned in 3328yes:) 3329{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3330$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3331ac_tool_warned=yes ;; 3332esac 3333 CC=$ac_ct_CC 3334 fi 3335fi 3336 3337fi 3338 3339 3340test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3341$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3342as_fn_error $? "no acceptable C compiler found in \$PATH 3343See \`config.log' for more details" "$LINENO" 5; } 3344 3345# Provide some information about the compiler. 3346$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3347set X $ac_compile 3348ac_compiler=$2 3349for ac_option in --version -v -V -qversion; do 3350 { { ac_try="$ac_compiler $ac_option >&5" 3351case "(($ac_try" in 3352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3353 *) ac_try_echo=$ac_try;; 3354esac 3355eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3356$as_echo "$ac_try_echo"; } >&5 3357 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3358 ac_status=$? 3359 if test -s conftest.err; then 3360 sed '10a\ 3361... rest of stderr output deleted ... 3362 10q' conftest.err >conftest.er1 3363 cat conftest.er1 >&5 3364 fi 3365 rm -f conftest.er1 conftest.err 3366 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3367 test $ac_status = 0; } 3368done 3369 3370cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3371/* end confdefs.h. */ 3372 3373int 3374main () 3375{ 3376 3377 ; 3378 return 0; 3379} 3380_ACEOF 3381ac_clean_files_save=$ac_clean_files 3382ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3383# Try to create an executable without -o first, disregard a.out. 3384# It will help us diagnose broken compilers, and finding out an intuition 3385# of exeext. 3386{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3387$as_echo_n "checking whether the C compiler works... " >&6; } 3388ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3389 3390# The possible output files: 3391ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3392 3393ac_rmfiles= 3394for ac_file in $ac_files 3395do 3396 case $ac_file in 3397 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3398 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3399 esac 3400done 3401rm -f $ac_rmfiles 3402 3403if { { ac_try="$ac_link_default" 3404case "(($ac_try" in 3405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3406 *) ac_try_echo=$ac_try;; 3407esac 3408eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3409$as_echo "$ac_try_echo"; } >&5 3410 (eval "$ac_link_default") 2>&5 3411 ac_status=$? 3412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3413 test $ac_status = 0; }; then : 3414 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3415# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3416# in a Makefile. We should not override ac_cv_exeext if it was cached, 3417# so that the user can short-circuit this test for compilers unknown to 3418# Autoconf. 3419for ac_file in $ac_files '' 3420do 3421 test -f "$ac_file" || continue 3422 case $ac_file in 3423 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3424 ;; 3425 [ab].out ) 3426 # We found the default executable, but exeext='' is most 3427 # certainly right. 3428 break;; 3429 *.* ) 3430 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3431 then :; else 3432 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3433 fi 3434 # We set ac_cv_exeext here because the later test for it is not 3435 # safe: cross compilers may not add the suffix if given an `-o' 3436 # argument, so we may need to know it at that point already. 3437 # Even if this section looks crufty: it has the advantage of 3438 # actually working. 3439 break;; 3440 * ) 3441 break;; 3442 esac 3443done 3444test "$ac_cv_exeext" = no && ac_cv_exeext= 3445 3446else 3447 ac_file='' 3448fi 3449if test -z "$ac_file"; then : 3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3451$as_echo "no" >&6; } 3452$as_echo "$as_me: failed program was:" >&5 3453sed 's/^/| /' conftest.$ac_ext >&5 3454 3455{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3456$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3457as_fn_error 77 "C compiler cannot create executables 3458See \`config.log' for more details" "$LINENO" 5; } 3459else 3460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3461$as_echo "yes" >&6; } 3462fi 3463{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3464$as_echo_n "checking for C compiler default output file name... " >&6; } 3465{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3466$as_echo "$ac_file" >&6; } 3467ac_exeext=$ac_cv_exeext 3468 3469rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3470ac_clean_files=$ac_clean_files_save 3471{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3472$as_echo_n "checking for suffix of executables... " >&6; } 3473if { { ac_try="$ac_link" 3474case "(($ac_try" in 3475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3476 *) ac_try_echo=$ac_try;; 3477esac 3478eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3479$as_echo "$ac_try_echo"; } >&5 3480 (eval "$ac_link") 2>&5 3481 ac_status=$? 3482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3483 test $ac_status = 0; }; then : 3484 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3485# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3486# work properly (i.e., refer to `conftest.exe'), while it won't with 3487# `rm'. 3488for ac_file in conftest.exe conftest conftest.*; do 3489 test -f "$ac_file" || continue 3490 case $ac_file in 3491 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3492 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3493 break;; 3494 * ) break;; 3495 esac 3496done 3497else 3498 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3499$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3500as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3501See \`config.log' for more details" "$LINENO" 5; } 3502fi 3503rm -f conftest conftest$ac_cv_exeext 3504{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3505$as_echo "$ac_cv_exeext" >&6; } 3506 3507rm -f conftest.$ac_ext 3508EXEEXT=$ac_cv_exeext 3509ac_exeext=$EXEEXT 3510cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3511/* end confdefs.h. */ 3512@%:@include <stdio.h> 3513int 3514main () 3515{ 3516FILE *f = fopen ("conftest.out", "w"); 3517 return ferror (f) || fclose (f) != 0; 3518 3519 ; 3520 return 0; 3521} 3522_ACEOF 3523ac_clean_files="$ac_clean_files conftest.out" 3524# Check that the compiler produces executables we can run. If not, either 3525# the compiler is broken, or we cross compile. 3526{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3527$as_echo_n "checking whether we are cross compiling... " >&6; } 3528if test "$cross_compiling" != yes; then 3529 { { ac_try="$ac_link" 3530case "(($ac_try" in 3531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3532 *) ac_try_echo=$ac_try;; 3533esac 3534eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3535$as_echo "$ac_try_echo"; } >&5 3536 (eval "$ac_link") 2>&5 3537 ac_status=$? 3538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3539 test $ac_status = 0; } 3540 if { ac_try='./conftest$ac_cv_exeext' 3541 { { case "(($ac_try" in 3542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3543 *) ac_try_echo=$ac_try;; 3544esac 3545eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3546$as_echo "$ac_try_echo"; } >&5 3547 (eval "$ac_try") 2>&5 3548 ac_status=$? 3549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3550 test $ac_status = 0; }; }; then 3551 cross_compiling=no 3552 else 3553 if test "$cross_compiling" = maybe; then 3554 cross_compiling=yes 3555 else 3556 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3557$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3558as_fn_error $? "cannot run C compiled programs. 3559If you meant to cross compile, use \`--host'. 3560See \`config.log' for more details" "$LINENO" 5; } 3561 fi 3562 fi 3563fi 3564{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3565$as_echo "$cross_compiling" >&6; } 3566 3567rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3568ac_clean_files=$ac_clean_files_save 3569{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3570$as_echo_n "checking for suffix of object files... " >&6; } 3571if ${ac_cv_objext+:} false; then : 3572 $as_echo_n "(cached) " >&6 3573else 3574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3575/* end confdefs.h. */ 3576 3577int 3578main () 3579{ 3580 3581 ; 3582 return 0; 3583} 3584_ACEOF 3585rm -f conftest.o conftest.obj 3586if { { ac_try="$ac_compile" 3587case "(($ac_try" in 3588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3589 *) ac_try_echo=$ac_try;; 3590esac 3591eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3592$as_echo "$ac_try_echo"; } >&5 3593 (eval "$ac_compile") 2>&5 3594 ac_status=$? 3595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3596 test $ac_status = 0; }; then : 3597 for ac_file in conftest.o conftest.obj conftest.*; do 3598 test -f "$ac_file" || continue; 3599 case $ac_file in 3600 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3601 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3602 break;; 3603 esac 3604done 3605else 3606 $as_echo "$as_me: failed program was:" >&5 3607sed 's/^/| /' conftest.$ac_ext >&5 3608 3609{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3610$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3611as_fn_error $? "cannot compute suffix of object files: cannot compile 3612See \`config.log' for more details" "$LINENO" 5; } 3613fi 3614rm -f conftest.$ac_cv_objext conftest.$ac_ext 3615fi 3616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3617$as_echo "$ac_cv_objext" >&6; } 3618OBJEXT=$ac_cv_objext 3619ac_objext=$OBJEXT 3620{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3621$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3622if ${ac_cv_c_compiler_gnu+:} false; then : 3623 $as_echo_n "(cached) " >&6 3624else 3625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3626/* end confdefs.h. */ 3627 3628int 3629main () 3630{ 3631#ifndef __GNUC__ 3632 choke me 3633#endif 3634 3635 ; 3636 return 0; 3637} 3638_ACEOF 3639if ac_fn_c_try_compile "$LINENO"; then : 3640 ac_compiler_gnu=yes 3641else 3642 ac_compiler_gnu=no 3643fi 3644rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3645ac_cv_c_compiler_gnu=$ac_compiler_gnu 3646 3647fi 3648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3649$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3650if test $ac_compiler_gnu = yes; then 3651 GCC=yes 3652else 3653 GCC= 3654fi 3655ac_test_CFLAGS=${CFLAGS+set} 3656ac_save_CFLAGS=$CFLAGS 3657{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3658$as_echo_n "checking whether $CC accepts -g... " >&6; } 3659if ${ac_cv_prog_cc_g+:} false; then : 3660 $as_echo_n "(cached) " >&6 3661else 3662 ac_save_c_werror_flag=$ac_c_werror_flag 3663 ac_c_werror_flag=yes 3664 ac_cv_prog_cc_g=no 3665 CFLAGS="-g" 3666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3667/* end confdefs.h. */ 3668 3669int 3670main () 3671{ 3672 3673 ; 3674 return 0; 3675} 3676_ACEOF 3677if ac_fn_c_try_compile "$LINENO"; then : 3678 ac_cv_prog_cc_g=yes 3679else 3680 CFLAGS="" 3681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3682/* end confdefs.h. */ 3683 3684int 3685main () 3686{ 3687 3688 ; 3689 return 0; 3690} 3691_ACEOF 3692if ac_fn_c_try_compile "$LINENO"; then : 3693 3694else 3695 ac_c_werror_flag=$ac_save_c_werror_flag 3696 CFLAGS="-g" 3697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3698/* end confdefs.h. */ 3699 3700int 3701main () 3702{ 3703 3704 ; 3705 return 0; 3706} 3707_ACEOF 3708if ac_fn_c_try_compile "$LINENO"; then : 3709 ac_cv_prog_cc_g=yes 3710fi 3711rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3712fi 3713rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3714fi 3715rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3716 ac_c_werror_flag=$ac_save_c_werror_flag 3717fi 3718{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3719$as_echo "$ac_cv_prog_cc_g" >&6; } 3720if test "$ac_test_CFLAGS" = set; then 3721 CFLAGS=$ac_save_CFLAGS 3722elif test $ac_cv_prog_cc_g = yes; then 3723 if test "$GCC" = yes; then 3724 CFLAGS="-g -O2" 3725 else 3726 CFLAGS="-g" 3727 fi 3728else 3729 if test "$GCC" = yes; then 3730 CFLAGS="-O2" 3731 else 3732 CFLAGS= 3733 fi 3734fi 3735{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3736$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3737if ${ac_cv_prog_cc_c89+:} false; then : 3738 $as_echo_n "(cached) " >&6 3739else 3740 ac_cv_prog_cc_c89=no 3741ac_save_CC=$CC 3742cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3743/* end confdefs.h. */ 3744#include <stdarg.h> 3745#include <stdio.h> 3746struct stat; 3747/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3748struct buf { int x; }; 3749FILE * (*rcsopen) (struct buf *, struct stat *, int); 3750static char *e (p, i) 3751 char **p; 3752 int i; 3753{ 3754 return p[i]; 3755} 3756static char *f (char * (*g) (char **, int), char **p, ...) 3757{ 3758 char *s; 3759 va_list v; 3760 va_start (v,p); 3761 s = g (p, va_arg (v,int)); 3762 va_end (v); 3763 return s; 3764} 3765 3766/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3767 function prototypes and stuff, but not '\xHH' hex character constants. 3768 These don't provoke an error unfortunately, instead are silently treated 3769 as 'x'. The following induces an error, until -std is added to get 3770 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3771 array size at least. It's necessary to write '\x00'==0 to get something 3772 that's true only with -std. */ 3773int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3774 3775/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3776 inside strings and character constants. */ 3777#define FOO(x) 'x' 3778int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3779 3780int test (int i, double x); 3781struct s1 {int (*f) (int a);}; 3782struct s2 {int (*f) (double a);}; 3783int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3784int argc; 3785char **argv; 3786int 3787main () 3788{ 3789return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3790 ; 3791 return 0; 3792} 3793_ACEOF 3794for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3795 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3796do 3797 CC="$ac_save_CC $ac_arg" 3798 if ac_fn_c_try_compile "$LINENO"; then : 3799 ac_cv_prog_cc_c89=$ac_arg 3800fi 3801rm -f core conftest.err conftest.$ac_objext 3802 test "x$ac_cv_prog_cc_c89" != "xno" && break 3803done 3804rm -f conftest.$ac_ext 3805CC=$ac_save_CC 3806 3807fi 3808# AC_CACHE_VAL 3809case "x$ac_cv_prog_cc_c89" in 3810 x) 3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3812$as_echo "none needed" >&6; } ;; 3813 xno) 3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3815$as_echo "unsupported" >&6; } ;; 3816 *) 3817 CC="$CC $ac_cv_prog_cc_c89" 3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3819$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3820esac 3821if test "x$ac_cv_prog_cc_c89" != xno; then : 3822 3823fi 3824 3825ac_ext=c 3826ac_cpp='$CPP $CPPFLAGS' 3827ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3828ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3829ac_compiler_gnu=$ac_cv_c_compiler_gnu 3830 3831ac_ext=c 3832ac_cpp='$CPP $CPPFLAGS' 3833ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3834ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3835ac_compiler_gnu=$ac_cv_c_compiler_gnu 3836{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3837$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 3838if ${am_cv_prog_cc_c_o+:} false; then : 3839 $as_echo_n "(cached) " >&6 3840else 3841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3842/* end confdefs.h. */ 3843 3844int 3845main () 3846{ 3847 3848 ; 3849 return 0; 3850} 3851_ACEOF 3852 # Make sure it works both with $CC and with simple cc. 3853 # Following AC_PROG_CC_C_O, we do the test twice because some 3854 # compilers refuse to overwrite an existing .o file with -o, 3855 # though they will create one. 3856 am_cv_prog_cc_c_o=yes 3857 for am_i in 1 2; do 3858 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 3859 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 3860 ac_status=$? 3861 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3862 (exit $ac_status); } \ 3863 && test -f conftest2.$ac_objext; then 3864 : OK 3865 else 3866 am_cv_prog_cc_c_o=no 3867 break 3868 fi 3869 done 3870 rm -f core conftest* 3871 unset am_i 3872fi 3873{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3874$as_echo "$am_cv_prog_cc_c_o" >&6; } 3875if test "$am_cv_prog_cc_c_o" != yes; then 3876 # Losing compiler, so override with the script. 3877 # FIXME: It is wrong to rewrite CC. 3878 # But if we don't then we get into trouble of one sort or another. 3879 # A longer-term fix would be to have automake use am__CC in this case, 3880 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3881 CC="$am_aux_dir/compile $CC" 3882fi 3883ac_ext=c 3884ac_cpp='$CPP $CPPFLAGS' 3885ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3886ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3887ac_compiler_gnu=$ac_cv_c_compiler_gnu 3888 3889DEPDIR="${am__leading_dot}deps" 3890 3891ac_config_commands="$ac_config_commands depfiles" 3892 3893{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 3894$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } 3895cat > confinc.mk << 'END' 3896am__doit: 3897 @echo this is the am__doit target >confinc.out 3898.PHONY: am__doit 3899END 3900am__include="#" 3901am__quote= 3902# BSD make does it like this. 3903echo '.include "confinc.mk" # ignored' > confmf.BSD 3904# Other make implementations (GNU, Solaris 10, AIX) do it like this. 3905echo 'include confinc.mk # ignored' > confmf.GNU 3906_am_result=no 3907for s in GNU BSD; do 3908 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 3909 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 3910 ac_status=$? 3911 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3912 (exit $ac_status); } 3913 case $?:`cat confinc.out 2>/dev/null` in @%:@( 3914 '0:this is the am__doit target') : 3915 case $s in @%:@( 3916 BSD) : 3917 am__include='.include' am__quote='"' ;; @%:@( 3918 *) : 3919 am__include='include' am__quote='' ;; 3920esac ;; @%:@( 3921 *) : 3922 ;; 3923esac 3924 if test "$am__include" != "#"; then 3925 _am_result="yes ($s style)" 3926 break 3927 fi 3928done 3929rm -f confinc.* confmf.* 3930{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 3931$as_echo "${_am_result}" >&6; } 3932 3933@%:@ Check whether --enable-dependency-tracking was given. 3934if test "${enable_dependency_tracking+set}" = set; then : 3935 enableval=$enable_dependency_tracking; 3936fi 3937 3938if test "x$enable_dependency_tracking" != xno; then 3939 am_depcomp="$ac_aux_dir/depcomp" 3940 AMDEPBACKSLASH='\' 3941 am__nodep='_no' 3942fi 3943 if test "x$enable_dependency_tracking" != xno; then 3944 AMDEP_TRUE= 3945 AMDEP_FALSE='#' 3946else 3947 AMDEP_TRUE='#' 3948 AMDEP_FALSE= 3949fi 3950 3951 3952 3953depcc="$CC" am_compiler_list= 3954 3955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3956$as_echo_n "checking dependency style of $depcc... " >&6; } 3957if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3958 $as_echo_n "(cached) " >&6 3959else 3960 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3961 # We make a subdir and do the tests there. Otherwise we can end up 3962 # making bogus files that we don't know about and never remove. For 3963 # instance it was reported that on HP-UX the gcc test will end up 3964 # making a dummy file named 'D' -- because '-MD' means "put the output 3965 # in D". 3966 rm -rf conftest.dir 3967 mkdir conftest.dir 3968 # Copy depcomp to subdir because otherwise we won't find it if we're 3969 # using a relative directory. 3970 cp "$am_depcomp" conftest.dir 3971 cd conftest.dir 3972 # We will build objects and dependencies in a subdirectory because 3973 # it helps to detect inapplicable dependency modes. For instance 3974 # both Tru64's cc and ICC support -MD to output dependencies as a 3975 # side effect of compilation, but ICC will put the dependencies in 3976 # the current directory while Tru64 will put them in the object 3977 # directory. 3978 mkdir sub 3979 3980 am_cv_CC_dependencies_compiler_type=none 3981 if test "$am_compiler_list" = ""; then 3982 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3983 fi 3984 am__universal=false 3985 case " $depcc " in #( 3986 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3987 esac 3988 3989 for depmode in $am_compiler_list; do 3990 # Setup a source with many dependencies, because some compilers 3991 # like to wrap large dependency lists on column 80 (with \), and 3992 # we should not choose a depcomp mode which is confused by this. 3993 # 3994 # We need to recreate these files for each test, as the compiler may 3995 # overwrite some of them when testing with obscure command lines. 3996 # This happens at least with the AIX C compiler. 3997 : > sub/conftest.c 3998 for i in 1 2 3 4 5 6; do 3999 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4000 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4001 # Solaris 10 /bin/sh. 4002 echo '/* dummy */' > sub/conftst$i.h 4003 done 4004 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4005 4006 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4007 # mode. It turns out that the SunPro C++ compiler does not properly 4008 # handle '-M -o', and we need to detect this. Also, some Intel 4009 # versions had trouble with output in subdirs. 4010 am__obj=sub/conftest.${OBJEXT-o} 4011 am__minus_obj="-o $am__obj" 4012 case $depmode in 4013 gcc) 4014 # This depmode causes a compiler race in universal mode. 4015 test "$am__universal" = false || continue 4016 ;; 4017 nosideeffect) 4018 # After this tag, mechanisms are not by side-effect, so they'll 4019 # only be used when explicitly requested. 4020 if test "x$enable_dependency_tracking" = xyes; then 4021 continue 4022 else 4023 break 4024 fi 4025 ;; 4026 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4027 # This compiler won't grok '-c -o', but also, the minuso test has 4028 # not run yet. These depmodes are late enough in the game, and 4029 # so weak that their functioning should not be impacted. 4030 am__obj=conftest.${OBJEXT-o} 4031 am__minus_obj= 4032 ;; 4033 none) break ;; 4034 esac 4035 if depmode=$depmode \ 4036 source=sub/conftest.c object=$am__obj \ 4037 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4038 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4039 >/dev/null 2>conftest.err && 4040 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4041 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4042 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4043 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4044 # icc doesn't choke on unknown options, it will just issue warnings 4045 # or remarks (even with -Werror). So we grep stderr for any message 4046 # that says an option was ignored or not supported. 4047 # When given -MP, icc 7.0 and 7.1 complain thusly: 4048 # icc: Command line warning: ignoring option '-M'; no argument required 4049 # The diagnosis changed in icc 8.0: 4050 # icc: Command line remark: option '-MP' not supported 4051 if (grep 'ignoring option' conftest.err || 4052 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4053 am_cv_CC_dependencies_compiler_type=$depmode 4054 break 4055 fi 4056 fi 4057 done 4058 4059 cd .. 4060 rm -rf conftest.dir 4061else 4062 am_cv_CC_dependencies_compiler_type=none 4063fi 4064 4065fi 4066{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4067$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4068CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4069 4070 if 4071 test "x$enable_dependency_tracking" != xno \ 4072 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4073 am__fastdepCC_TRUE= 4074 am__fastdepCC_FALSE='#' 4075else 4076 am__fastdepCC_TRUE='#' 4077 am__fastdepCC_FALSE= 4078fi 4079 4080 4081ac_ext=cpp 4082ac_cpp='$CXXCPP $CPPFLAGS' 4083ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4084ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4085ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4086if test -z "$CXX"; then 4087 if test -n "$CCC"; then 4088 CXX=$CCC 4089 else 4090 if test -n "$ac_tool_prefix"; then 4091 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 4092 do 4093 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4094set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4095{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4096$as_echo_n "checking for $ac_word... " >&6; } 4097if ${ac_cv_prog_CXX+:} false; then : 4098 $as_echo_n "(cached) " >&6 4099else 4100 if test -n "$CXX"; then 4101 ac_cv_prog_CXX="$CXX" # Let the user override the test. 4102else 4103as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4104for as_dir in $PATH 4105do 4106 IFS=$as_save_IFS 4107 test -z "$as_dir" && as_dir=. 4108 for ac_exec_ext in '' $ac_executable_extensions; do 4109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4110 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 4111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4112 break 2 4113 fi 4114done 4115 done 4116IFS=$as_save_IFS 4117 4118fi 4119fi 4120CXX=$ac_cv_prog_CXX 4121if test -n "$CXX"; then 4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 4123$as_echo "$CXX" >&6; } 4124else 4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4126$as_echo "no" >&6; } 4127fi 4128 4129 4130 test -n "$CXX" && break 4131 done 4132fi 4133if test -z "$CXX"; then 4134 ac_ct_CXX=$CXX 4135 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 4136do 4137 # Extract the first word of "$ac_prog", so it can be a program name with args. 4138set dummy $ac_prog; ac_word=$2 4139{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4140$as_echo_n "checking for $ac_word... " >&6; } 4141if ${ac_cv_prog_ac_ct_CXX+:} false; then : 4142 $as_echo_n "(cached) " >&6 4143else 4144 if test -n "$ac_ct_CXX"; then 4145 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 4146else 4147as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4148for as_dir in $PATH 4149do 4150 IFS=$as_save_IFS 4151 test -z "$as_dir" && as_dir=. 4152 for ac_exec_ext in '' $ac_executable_extensions; do 4153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4154 ac_cv_prog_ac_ct_CXX="$ac_prog" 4155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4156 break 2 4157 fi 4158done 4159 done 4160IFS=$as_save_IFS 4161 4162fi 4163fi 4164ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 4165if test -n "$ac_ct_CXX"; then 4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 4167$as_echo "$ac_ct_CXX" >&6; } 4168else 4169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4170$as_echo "no" >&6; } 4171fi 4172 4173 4174 test -n "$ac_ct_CXX" && break 4175done 4176 4177 if test "x$ac_ct_CXX" = x; then 4178 CXX="g++" 4179 else 4180 case $cross_compiling:$ac_tool_warned in 4181yes:) 4182{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4183$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4184ac_tool_warned=yes ;; 4185esac 4186 CXX=$ac_ct_CXX 4187 fi 4188fi 4189 4190 fi 4191fi 4192# Provide some information about the compiler. 4193$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 4194set X $ac_compile 4195ac_compiler=$2 4196for ac_option in --version -v -V -qversion; do 4197 { { ac_try="$ac_compiler $ac_option >&5" 4198case "(($ac_try" in 4199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4200 *) ac_try_echo=$ac_try;; 4201esac 4202eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4203$as_echo "$ac_try_echo"; } >&5 4204 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4205 ac_status=$? 4206 if test -s conftest.err; then 4207 sed '10a\ 4208... rest of stderr output deleted ... 4209 10q' conftest.err >conftest.er1 4210 cat conftest.er1 >&5 4211 fi 4212 rm -f conftest.er1 conftest.err 4213 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4214 test $ac_status = 0; } 4215done 4216 4217{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 4218$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 4219if ${ac_cv_cxx_compiler_gnu+:} false; then : 4220 $as_echo_n "(cached) " >&6 4221else 4222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4223/* end confdefs.h. */ 4224 4225int 4226main () 4227{ 4228#ifndef __GNUC__ 4229 choke me 4230#endif 4231 4232 ; 4233 return 0; 4234} 4235_ACEOF 4236if ac_fn_cxx_try_compile "$LINENO"; then : 4237 ac_compiler_gnu=yes 4238else 4239 ac_compiler_gnu=no 4240fi 4241rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4242ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 4243 4244fi 4245{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 4246$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 4247if test $ac_compiler_gnu = yes; then 4248 GXX=yes 4249else 4250 GXX= 4251fi 4252ac_test_CXXFLAGS=${CXXFLAGS+set} 4253ac_save_CXXFLAGS=$CXXFLAGS 4254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 4255$as_echo_n "checking whether $CXX accepts -g... " >&6; } 4256if ${ac_cv_prog_cxx_g+:} false; then : 4257 $as_echo_n "(cached) " >&6 4258else 4259 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 4260 ac_cxx_werror_flag=yes 4261 ac_cv_prog_cxx_g=no 4262 CXXFLAGS="-g" 4263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4264/* end confdefs.h. */ 4265 4266int 4267main () 4268{ 4269 4270 ; 4271 return 0; 4272} 4273_ACEOF 4274if ac_fn_cxx_try_compile "$LINENO"; then : 4275 ac_cv_prog_cxx_g=yes 4276else 4277 CXXFLAGS="" 4278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4279/* end confdefs.h. */ 4280 4281int 4282main () 4283{ 4284 4285 ; 4286 return 0; 4287} 4288_ACEOF 4289if ac_fn_cxx_try_compile "$LINENO"; then : 4290 4291else 4292 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4293 CXXFLAGS="-g" 4294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4295/* end confdefs.h. */ 4296 4297int 4298main () 4299{ 4300 4301 ; 4302 return 0; 4303} 4304_ACEOF 4305if ac_fn_cxx_try_compile "$LINENO"; then : 4306 ac_cv_prog_cxx_g=yes 4307fi 4308rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4309fi 4310rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4311fi 4312rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4313 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4314fi 4315{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 4316$as_echo "$ac_cv_prog_cxx_g" >&6; } 4317if test "$ac_test_CXXFLAGS" = set; then 4318 CXXFLAGS=$ac_save_CXXFLAGS 4319elif test $ac_cv_prog_cxx_g = yes; then 4320 if test "$GXX" = yes; then 4321 CXXFLAGS="-g -O2" 4322 else 4323 CXXFLAGS="-g" 4324 fi 4325else 4326 if test "$GXX" = yes; then 4327 CXXFLAGS="-O2" 4328 else 4329 CXXFLAGS= 4330 fi 4331fi 4332ac_ext=c 4333ac_cpp='$CPP $CPPFLAGS' 4334ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4335ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4336ac_compiler_gnu=$ac_cv_c_compiler_gnu 4337 4338depcc="$CXX" am_compiler_list= 4339 4340{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4341$as_echo_n "checking dependency style of $depcc... " >&6; } 4342if ${am_cv_CXX_dependencies_compiler_type+:} false; then : 4343 $as_echo_n "(cached) " >&6 4344else 4345 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4346 # We make a subdir and do the tests there. Otherwise we can end up 4347 # making bogus files that we don't know about and never remove. For 4348 # instance it was reported that on HP-UX the gcc test will end up 4349 # making a dummy file named 'D' -- because '-MD' means "put the output 4350 # in D". 4351 rm -rf conftest.dir 4352 mkdir conftest.dir 4353 # Copy depcomp to subdir because otherwise we won't find it if we're 4354 # using a relative directory. 4355 cp "$am_depcomp" conftest.dir 4356 cd conftest.dir 4357 # We will build objects and dependencies in a subdirectory because 4358 # it helps to detect inapplicable dependency modes. For instance 4359 # both Tru64's cc and ICC support -MD to output dependencies as a 4360 # side effect of compilation, but ICC will put the dependencies in 4361 # the current directory while Tru64 will put them in the object 4362 # directory. 4363 mkdir sub 4364 4365 am_cv_CXX_dependencies_compiler_type=none 4366 if test "$am_compiler_list" = ""; then 4367 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4368 fi 4369 am__universal=false 4370 case " $depcc " in #( 4371 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4372 esac 4373 4374 for depmode in $am_compiler_list; do 4375 # Setup a source with many dependencies, because some compilers 4376 # like to wrap large dependency lists on column 80 (with \), and 4377 # we should not choose a depcomp mode which is confused by this. 4378 # 4379 # We need to recreate these files for each test, as the compiler may 4380 # overwrite some of them when testing with obscure command lines. 4381 # This happens at least with the AIX C compiler. 4382 : > sub/conftest.c 4383 for i in 1 2 3 4 5 6; do 4384 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4385 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4386 # Solaris 10 /bin/sh. 4387 echo '/* dummy */' > sub/conftst$i.h 4388 done 4389 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4390 4391 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4392 # mode. It turns out that the SunPro C++ compiler does not properly 4393 # handle '-M -o', and we need to detect this. Also, some Intel 4394 # versions had trouble with output in subdirs. 4395 am__obj=sub/conftest.${OBJEXT-o} 4396 am__minus_obj="-o $am__obj" 4397 case $depmode in 4398 gcc) 4399 # This depmode causes a compiler race in universal mode. 4400 test "$am__universal" = false || continue 4401 ;; 4402 nosideeffect) 4403 # After this tag, mechanisms are not by side-effect, so they'll 4404 # only be used when explicitly requested. 4405 if test "x$enable_dependency_tracking" = xyes; then 4406 continue 4407 else 4408 break 4409 fi 4410 ;; 4411 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4412 # This compiler won't grok '-c -o', but also, the minuso test has 4413 # not run yet. These depmodes are late enough in the game, and 4414 # so weak that their functioning should not be impacted. 4415 am__obj=conftest.${OBJEXT-o} 4416 am__minus_obj= 4417 ;; 4418 none) break ;; 4419 esac 4420 if depmode=$depmode \ 4421 source=sub/conftest.c object=$am__obj \ 4422 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4423 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4424 >/dev/null 2>conftest.err && 4425 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4426 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4427 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4428 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4429 # icc doesn't choke on unknown options, it will just issue warnings 4430 # or remarks (even with -Werror). So we grep stderr for any message 4431 # that says an option was ignored or not supported. 4432 # When given -MP, icc 7.0 and 7.1 complain thusly: 4433 # icc: Command line warning: ignoring option '-M'; no argument required 4434 # The diagnosis changed in icc 8.0: 4435 # icc: Command line remark: option '-MP' not supported 4436 if (grep 'ignoring option' conftest.err || 4437 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4438 am_cv_CXX_dependencies_compiler_type=$depmode 4439 break 4440 fi 4441 fi 4442 done 4443 4444 cd .. 4445 rm -rf conftest.dir 4446else 4447 am_cv_CXX_dependencies_compiler_type=none 4448fi 4449 4450fi 4451{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 4452$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 4453CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 4454 4455 if 4456 test "x$enable_dependency_tracking" != xno \ 4457 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 4458 am__fastdepCXX_TRUE= 4459 am__fastdepCXX_FALSE='#' 4460else 4461 am__fastdepCXX_TRUE='#' 4462 am__fastdepCXX_FALSE= 4463fi 4464 4465 4466ac_ext=c 4467ac_cpp='$CPP $CPPFLAGS' 4468ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4469ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4470ac_compiler_gnu=$ac_cv_c_compiler_gnu 4471{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4472$as_echo_n "checking how to run the C preprocessor... " >&6; } 4473# On Suns, sometimes $CPP names a directory. 4474if test -n "$CPP" && test -d "$CPP"; then 4475 CPP= 4476fi 4477if test -z "$CPP"; then 4478 if ${ac_cv_prog_CPP+:} false; then : 4479 $as_echo_n "(cached) " >&6 4480else 4481 # Double quotes because CPP needs to be expanded 4482 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4483 do 4484 ac_preproc_ok=false 4485for ac_c_preproc_warn_flag in '' yes 4486do 4487 # Use a header file that comes with gcc, so configuring glibc 4488 # with a fresh cross-compiler works. 4489 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4490 # <limits.h> exists even on freestanding compilers. 4491 # On the NeXT, cc -E runs the code through the compiler's parser, 4492 # not just through cpp. "Syntax error" is here to catch this case. 4493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4494/* end confdefs.h. */ 4495@%:@ifdef __STDC__ 4496@%:@ include <limits.h> 4497@%:@else 4498@%:@ include <assert.h> 4499@%:@endif 4500 Syntax error 4501_ACEOF 4502if ac_fn_c_try_cpp "$LINENO"; then : 4503 4504else 4505 # Broken: fails on valid input. 4506continue 4507fi 4508rm -f conftest.err conftest.i conftest.$ac_ext 4509 4510 # OK, works on sane cases. Now check whether nonexistent headers 4511 # can be detected and how. 4512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4513/* end confdefs.h. */ 4514@%:@include <ac_nonexistent.h> 4515_ACEOF 4516if ac_fn_c_try_cpp "$LINENO"; then : 4517 # Broken: success on invalid input. 4518continue 4519else 4520 # Passes both tests. 4521ac_preproc_ok=: 4522break 4523fi 4524rm -f conftest.err conftest.i conftest.$ac_ext 4525 4526done 4527# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4528rm -f conftest.i conftest.err conftest.$ac_ext 4529if $ac_preproc_ok; then : 4530 break 4531fi 4532 4533 done 4534 ac_cv_prog_CPP=$CPP 4535 4536fi 4537 CPP=$ac_cv_prog_CPP 4538else 4539 ac_cv_prog_CPP=$CPP 4540fi 4541{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4542$as_echo "$CPP" >&6; } 4543ac_preproc_ok=false 4544for ac_c_preproc_warn_flag in '' yes 4545do 4546 # Use a header file that comes with gcc, so configuring glibc 4547 # with a fresh cross-compiler works. 4548 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4549 # <limits.h> exists even on freestanding compilers. 4550 # On the NeXT, cc -E runs the code through the compiler's parser, 4551 # not just through cpp. "Syntax error" is here to catch this case. 4552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4553/* end confdefs.h. */ 4554@%:@ifdef __STDC__ 4555@%:@ include <limits.h> 4556@%:@else 4557@%:@ include <assert.h> 4558@%:@endif 4559 Syntax error 4560_ACEOF 4561if ac_fn_c_try_cpp "$LINENO"; then : 4562 4563else 4564 # Broken: fails on valid input. 4565continue 4566fi 4567rm -f conftest.err conftest.i conftest.$ac_ext 4568 4569 # OK, works on sane cases. Now check whether nonexistent headers 4570 # can be detected and how. 4571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4572/* end confdefs.h. */ 4573@%:@include <ac_nonexistent.h> 4574_ACEOF 4575if ac_fn_c_try_cpp "$LINENO"; then : 4576 # Broken: success on invalid input. 4577continue 4578else 4579 # Passes both tests. 4580ac_preproc_ok=: 4581break 4582fi 4583rm -f conftest.err conftest.i conftest.$ac_ext 4584 4585done 4586# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4587rm -f conftest.i conftest.err conftest.$ac_ext 4588if $ac_preproc_ok; then : 4589 4590else 4591 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4592$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4593as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4594See \`config.log' for more details" "$LINENO" 5; } 4595fi 4596 4597ac_ext=c 4598ac_cpp='$CPP $CPPFLAGS' 4599ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4600ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4601ac_compiler_gnu=$ac_cv_c_compiler_gnu 4602 4603@%:@ Check whether --enable-static was given. 4604if test "${enable_static+set}" = set; then : 4605 enableval=$enable_static; p=${PACKAGE-default} 4606 case $enableval in 4607 yes) enable_static=yes ;; 4608 no) enable_static=no ;; 4609 *) 4610 enable_static=no 4611 # Look at the argument we got. We use all the common list separators. 4612 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 4613 for pkg in $enableval; do 4614 IFS=$lt_save_ifs 4615 if test "X$pkg" = "X$p"; then 4616 enable_static=yes 4617 fi 4618 done 4619 IFS=$lt_save_ifs 4620 ;; 4621 esac 4622else 4623 enable_static=no 4624fi 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4635$as_echo_n "checking host system type... " >&6; } 4636if ${ac_cv_host+:} false; then : 4637 $as_echo_n "(cached) " >&6 4638else 4639 if test "x$host_alias" = x; then 4640 ac_cv_host=$ac_cv_build 4641else 4642 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4643 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4644fi 4645 4646fi 4647{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4648$as_echo "$ac_cv_host" >&6; } 4649case $ac_cv_host in 4650*-*-*) ;; 4651*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4652esac 4653host=$ac_cv_host 4654ac_save_IFS=$IFS; IFS='-' 4655set x $ac_cv_host 4656shift 4657host_cpu=$1 4658host_vendor=$2 4659shift; shift 4660# Remember, the first character of IFS is used to create $*, 4661# except with old shells: 4662host_os=$* 4663IFS=$ac_save_IFS 4664case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4665 4666 4667enable_win32_dll=yes 4668 4669case $host in 4670*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) 4671 if test -n "$ac_tool_prefix"; then 4672 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 4673set dummy ${ac_tool_prefix}as; ac_word=$2 4674{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4675$as_echo_n "checking for $ac_word... " >&6; } 4676if ${ac_cv_prog_AS+:} false; then : 4677 $as_echo_n "(cached) " >&6 4678else 4679 if test -n "$AS"; then 4680 ac_cv_prog_AS="$AS" # Let the user override the test. 4681else 4682as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4683for as_dir in $PATH 4684do 4685 IFS=$as_save_IFS 4686 test -z "$as_dir" && as_dir=. 4687 for ac_exec_ext in '' $ac_executable_extensions; do 4688 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4689 ac_cv_prog_AS="${ac_tool_prefix}as" 4690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4691 break 2 4692 fi 4693done 4694 done 4695IFS=$as_save_IFS 4696 4697fi 4698fi 4699AS=$ac_cv_prog_AS 4700if test -n "$AS"; then 4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 4702$as_echo "$AS" >&6; } 4703else 4704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4705$as_echo "no" >&6; } 4706fi 4707 4708 4709fi 4710if test -z "$ac_cv_prog_AS"; then 4711 ac_ct_AS=$AS 4712 # Extract the first word of "as", so it can be a program name with args. 4713set dummy as; ac_word=$2 4714{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4715$as_echo_n "checking for $ac_word... " >&6; } 4716if ${ac_cv_prog_ac_ct_AS+:} false; then : 4717 $as_echo_n "(cached) " >&6 4718else 4719 if test -n "$ac_ct_AS"; then 4720 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 4721else 4722as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4723for as_dir in $PATH 4724do 4725 IFS=$as_save_IFS 4726 test -z "$as_dir" && as_dir=. 4727 for ac_exec_ext in '' $ac_executable_extensions; do 4728 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4729 ac_cv_prog_ac_ct_AS="as" 4730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4731 break 2 4732 fi 4733done 4734 done 4735IFS=$as_save_IFS 4736 4737fi 4738fi 4739ac_ct_AS=$ac_cv_prog_ac_ct_AS 4740if test -n "$ac_ct_AS"; then 4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 4742$as_echo "$ac_ct_AS" >&6; } 4743else 4744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4745$as_echo "no" >&6; } 4746fi 4747 4748 if test "x$ac_ct_AS" = x; then 4749 AS="false" 4750 else 4751 case $cross_compiling:$ac_tool_warned in 4752yes:) 4753{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4754$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4755ac_tool_warned=yes ;; 4756esac 4757 AS=$ac_ct_AS 4758 fi 4759else 4760 AS="$ac_cv_prog_AS" 4761fi 4762 4763 if test -n "$ac_tool_prefix"; then 4764 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 4765set dummy ${ac_tool_prefix}dlltool; ac_word=$2 4766{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4767$as_echo_n "checking for $ac_word... " >&6; } 4768if ${ac_cv_prog_DLLTOOL+:} false; then : 4769 $as_echo_n "(cached) " >&6 4770else 4771 if test -n "$DLLTOOL"; then 4772 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 4773else 4774as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4775for as_dir in $PATH 4776do 4777 IFS=$as_save_IFS 4778 test -z "$as_dir" && as_dir=. 4779 for ac_exec_ext in '' $ac_executable_extensions; do 4780 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4781 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 4782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4783 break 2 4784 fi 4785done 4786 done 4787IFS=$as_save_IFS 4788 4789fi 4790fi 4791DLLTOOL=$ac_cv_prog_DLLTOOL 4792if test -n "$DLLTOOL"; then 4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 4794$as_echo "$DLLTOOL" >&6; } 4795else 4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4797$as_echo "no" >&6; } 4798fi 4799 4800 4801fi 4802if test -z "$ac_cv_prog_DLLTOOL"; then 4803 ac_ct_DLLTOOL=$DLLTOOL 4804 # Extract the first word of "dlltool", so it can be a program name with args. 4805set dummy dlltool; ac_word=$2 4806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4807$as_echo_n "checking for $ac_word... " >&6; } 4808if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 4809 $as_echo_n "(cached) " >&6 4810else 4811 if test -n "$ac_ct_DLLTOOL"; then 4812 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 4813else 4814as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4815for as_dir in $PATH 4816do 4817 IFS=$as_save_IFS 4818 test -z "$as_dir" && as_dir=. 4819 for ac_exec_ext in '' $ac_executable_extensions; do 4820 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4821 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 4822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4823 break 2 4824 fi 4825done 4826 done 4827IFS=$as_save_IFS 4828 4829fi 4830fi 4831ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 4832if test -n "$ac_ct_DLLTOOL"; then 4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 4834$as_echo "$ac_ct_DLLTOOL" >&6; } 4835else 4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4837$as_echo "no" >&6; } 4838fi 4839 4840 if test "x$ac_ct_DLLTOOL" = x; then 4841 DLLTOOL="false" 4842 else 4843 case $cross_compiling:$ac_tool_warned in 4844yes:) 4845{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4846$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4847ac_tool_warned=yes ;; 4848esac 4849 DLLTOOL=$ac_ct_DLLTOOL 4850 fi 4851else 4852 DLLTOOL="$ac_cv_prog_DLLTOOL" 4853fi 4854 4855 if test -n "$ac_tool_prefix"; then 4856 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 4857set dummy ${ac_tool_prefix}objdump; ac_word=$2 4858{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4859$as_echo_n "checking for $ac_word... " >&6; } 4860if ${ac_cv_prog_OBJDUMP+:} false; then : 4861 $as_echo_n "(cached) " >&6 4862else 4863 if test -n "$OBJDUMP"; then 4864 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 4865else 4866as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4867for as_dir in $PATH 4868do 4869 IFS=$as_save_IFS 4870 test -z "$as_dir" && as_dir=. 4871 for ac_exec_ext in '' $ac_executable_extensions; do 4872 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4873 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 4874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4875 break 2 4876 fi 4877done 4878 done 4879IFS=$as_save_IFS 4880 4881fi 4882fi 4883OBJDUMP=$ac_cv_prog_OBJDUMP 4884if test -n "$OBJDUMP"; then 4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 4886$as_echo "$OBJDUMP" >&6; } 4887else 4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4889$as_echo "no" >&6; } 4890fi 4891 4892 4893fi 4894if test -z "$ac_cv_prog_OBJDUMP"; then 4895 ac_ct_OBJDUMP=$OBJDUMP 4896 # Extract the first word of "objdump", so it can be a program name with args. 4897set dummy objdump; ac_word=$2 4898{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4899$as_echo_n "checking for $ac_word... " >&6; } 4900if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 4901 $as_echo_n "(cached) " >&6 4902else 4903 if test -n "$ac_ct_OBJDUMP"; then 4904 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 4905else 4906as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4907for as_dir in $PATH 4908do 4909 IFS=$as_save_IFS 4910 test -z "$as_dir" && as_dir=. 4911 for ac_exec_ext in '' $ac_executable_extensions; do 4912 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4913 ac_cv_prog_ac_ct_OBJDUMP="objdump" 4914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4915 break 2 4916 fi 4917done 4918 done 4919IFS=$as_save_IFS 4920 4921fi 4922fi 4923ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 4924if test -n "$ac_ct_OBJDUMP"; then 4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 4926$as_echo "$ac_ct_OBJDUMP" >&6; } 4927else 4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4929$as_echo "no" >&6; } 4930fi 4931 4932 if test "x$ac_ct_OBJDUMP" = x; then 4933 OBJDUMP="false" 4934 else 4935 case $cross_compiling:$ac_tool_warned in 4936yes:) 4937{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4938$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4939ac_tool_warned=yes ;; 4940esac 4941 OBJDUMP=$ac_ct_OBJDUMP 4942 fi 4943else 4944 OBJDUMP="$ac_cv_prog_OBJDUMP" 4945fi 4946 4947 ;; 4948esac 4949 4950test -z "$AS" && AS=as 4951 4952 4953 4954 4955 4956test -z "$DLLTOOL" && DLLTOOL=dlltool 4957 4958 4959 4960 4961 4962test -z "$OBJDUMP" && OBJDUMP=objdump 4963 4964 4965 4966 4967 4968 4969 4970case `pwd` in 4971 *\ * | *\ *) 4972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4973$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4974esac 4975 4976 4977 4978macro_version='2.4.6' 4979macro_revision='2.4.6' 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993ltmain=$ac_aux_dir/ltmain.sh 4994 4995# Backslashify metacharacters that are still active within 4996# double-quoted strings. 4997sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 4998 4999# Same as above, but do not quote variable references. 5000double_quote_subst='s/\(["`\\]\)/\\\1/g' 5001 5002# Sed substitution to delay expansion of an escaped shell variable in a 5003# double_quote_subst'ed string. 5004delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 5005 5006# Sed substitution to delay expansion of an escaped single quote. 5007delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 5008 5009# Sed substitution to avoid accidental globbing in evaled expressions 5010no_glob_subst='s/\*/\\\*/g' 5011 5012ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 5013ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 5014ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 5015 5016{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 5017$as_echo_n "checking how to print strings... " >&6; } 5018# Test print first, because it will be a builtin if present. 5019if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 5020 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 5021 ECHO='print -r --' 5022elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 5023 ECHO='printf %s\n' 5024else 5025 # Use this function as a fallback that always works. 5026 func_fallback_echo () 5027 { 5028 eval 'cat <<_LTECHO_EOF 5029$1 5030_LTECHO_EOF' 5031 } 5032 ECHO='func_fallback_echo' 5033fi 5034 5035# func_echo_all arg... 5036# Invoke $ECHO with all args, space-separated. 5037func_echo_all () 5038{ 5039 $ECHO "" 5040} 5041 5042case $ECHO in 5043 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 5044$as_echo "printf" >&6; } ;; 5045 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 5046$as_echo "print -r" >&6; } ;; 5047 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 5048$as_echo "cat" >&6; } ;; 5049esac 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 5065$as_echo_n "checking for a sed that does not truncate output... " >&6; } 5066if ${ac_cv_path_SED+:} false; then : 5067 $as_echo_n "(cached) " >&6 5068else 5069 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 5070 for ac_i in 1 2 3 4 5 6 7; do 5071 ac_script="$ac_script$as_nl$ac_script" 5072 done 5073 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 5074 { ac_script=; unset ac_script;} 5075 if test -z "$SED"; then 5076 ac_path_SED_found=false 5077 # Loop through the user's path and test for each of PROGNAME-LIST 5078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5079for as_dir in $PATH 5080do 5081 IFS=$as_save_IFS 5082 test -z "$as_dir" && as_dir=. 5083 for ac_prog in sed gsed; do 5084 for ac_exec_ext in '' $ac_executable_extensions; do 5085 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 5086 as_fn_executable_p "$ac_path_SED" || continue 5087# Check for GNU ac_path_SED and select it if it is found. 5088 # Check for GNU $ac_path_SED 5089case `"$ac_path_SED" --version 2>&1` in 5090*GNU*) 5091 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 5092*) 5093 ac_count=0 5094 $as_echo_n 0123456789 >"conftest.in" 5095 while : 5096 do 5097 cat "conftest.in" "conftest.in" >"conftest.tmp" 5098 mv "conftest.tmp" "conftest.in" 5099 cp "conftest.in" "conftest.nl" 5100 $as_echo '' >> "conftest.nl" 5101 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 5102 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5103 as_fn_arith $ac_count + 1 && ac_count=$as_val 5104 if test $ac_count -gt ${ac_path_SED_max-0}; then 5105 # Best one so far, save it but keep looking for a better one 5106 ac_cv_path_SED="$ac_path_SED" 5107 ac_path_SED_max=$ac_count 5108 fi 5109 # 10*(2^10) chars as input seems more than enough 5110 test $ac_count -gt 10 && break 5111 done 5112 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5113esac 5114 5115 $ac_path_SED_found && break 3 5116 done 5117 done 5118 done 5119IFS=$as_save_IFS 5120 if test -z "$ac_cv_path_SED"; then 5121 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 5122 fi 5123else 5124 ac_cv_path_SED=$SED 5125fi 5126 5127fi 5128{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 5129$as_echo "$ac_cv_path_SED" >&6; } 5130 SED="$ac_cv_path_SED" 5131 rm -f conftest.sed 5132 5133test -z "$SED" && SED=sed 5134Xsed="$SED -e 1s/^X//" 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 5147$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 5148if ${ac_cv_path_GREP+:} false; then : 5149 $as_echo_n "(cached) " >&6 5150else 5151 if test -z "$GREP"; then 5152 ac_path_GREP_found=false 5153 # Loop through the user's path and test for each of PROGNAME-LIST 5154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5155for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5156do 5157 IFS=$as_save_IFS 5158 test -z "$as_dir" && as_dir=. 5159 for ac_prog in grep ggrep; do 5160 for ac_exec_ext in '' $ac_executable_extensions; do 5161 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 5162 as_fn_executable_p "$ac_path_GREP" || continue 5163# Check for GNU ac_path_GREP and select it if it is found. 5164 # Check for GNU $ac_path_GREP 5165case `"$ac_path_GREP" --version 2>&1` in 5166*GNU*) 5167 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 5168*) 5169 ac_count=0 5170 $as_echo_n 0123456789 >"conftest.in" 5171 while : 5172 do 5173 cat "conftest.in" "conftest.in" >"conftest.tmp" 5174 mv "conftest.tmp" "conftest.in" 5175 cp "conftest.in" "conftest.nl" 5176 $as_echo 'GREP' >> "conftest.nl" 5177 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5178 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5179 as_fn_arith $ac_count + 1 && ac_count=$as_val 5180 if test $ac_count -gt ${ac_path_GREP_max-0}; then 5181 # Best one so far, save it but keep looking for a better one 5182 ac_cv_path_GREP="$ac_path_GREP" 5183 ac_path_GREP_max=$ac_count 5184 fi 5185 # 10*(2^10) chars as input seems more than enough 5186 test $ac_count -gt 10 && break 5187 done 5188 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5189esac 5190 5191 $ac_path_GREP_found && break 3 5192 done 5193 done 5194 done 5195IFS=$as_save_IFS 5196 if test -z "$ac_cv_path_GREP"; then 5197 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5198 fi 5199else 5200 ac_cv_path_GREP=$GREP 5201fi 5202 5203fi 5204{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 5205$as_echo "$ac_cv_path_GREP" >&6; } 5206 GREP="$ac_cv_path_GREP" 5207 5208 5209{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 5210$as_echo_n "checking for egrep... " >&6; } 5211if ${ac_cv_path_EGREP+:} false; then : 5212 $as_echo_n "(cached) " >&6 5213else 5214 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 5215 then ac_cv_path_EGREP="$GREP -E" 5216 else 5217 if test -z "$EGREP"; then 5218 ac_path_EGREP_found=false 5219 # Loop through the user's path and test for each of PROGNAME-LIST 5220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5221for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5222do 5223 IFS=$as_save_IFS 5224 test -z "$as_dir" && as_dir=. 5225 for ac_prog in egrep; do 5226 for ac_exec_ext in '' $ac_executable_extensions; do 5227 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 5228 as_fn_executable_p "$ac_path_EGREP" || continue 5229# Check for GNU ac_path_EGREP and select it if it is found. 5230 # Check for GNU $ac_path_EGREP 5231case `"$ac_path_EGREP" --version 2>&1` in 5232*GNU*) 5233 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 5234*) 5235 ac_count=0 5236 $as_echo_n 0123456789 >"conftest.in" 5237 while : 5238 do 5239 cat "conftest.in" "conftest.in" >"conftest.tmp" 5240 mv "conftest.tmp" "conftest.in" 5241 cp "conftest.in" "conftest.nl" 5242 $as_echo 'EGREP' >> "conftest.nl" 5243 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5244 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5245 as_fn_arith $ac_count + 1 && ac_count=$as_val 5246 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 5247 # Best one so far, save it but keep looking for a better one 5248 ac_cv_path_EGREP="$ac_path_EGREP" 5249 ac_path_EGREP_max=$ac_count 5250 fi 5251 # 10*(2^10) chars as input seems more than enough 5252 test $ac_count -gt 10 && break 5253 done 5254 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5255esac 5256 5257 $ac_path_EGREP_found && break 3 5258 done 5259 done 5260 done 5261IFS=$as_save_IFS 5262 if test -z "$ac_cv_path_EGREP"; then 5263 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5264 fi 5265else 5266 ac_cv_path_EGREP=$EGREP 5267fi 5268 5269 fi 5270fi 5271{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 5272$as_echo "$ac_cv_path_EGREP" >&6; } 5273 EGREP="$ac_cv_path_EGREP" 5274 5275 5276{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 5277$as_echo_n "checking for fgrep... " >&6; } 5278if ${ac_cv_path_FGREP+:} false; then : 5279 $as_echo_n "(cached) " >&6 5280else 5281 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 5282 then ac_cv_path_FGREP="$GREP -F" 5283 else 5284 if test -z "$FGREP"; then 5285 ac_path_FGREP_found=false 5286 # Loop through the user's path and test for each of PROGNAME-LIST 5287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5288for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5289do 5290 IFS=$as_save_IFS 5291 test -z "$as_dir" && as_dir=. 5292 for ac_prog in fgrep; do 5293 for ac_exec_ext in '' $ac_executable_extensions; do 5294 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 5295 as_fn_executable_p "$ac_path_FGREP" || continue 5296# Check for GNU ac_path_FGREP and select it if it is found. 5297 # Check for GNU $ac_path_FGREP 5298case `"$ac_path_FGREP" --version 2>&1` in 5299*GNU*) 5300 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 5301*) 5302 ac_count=0 5303 $as_echo_n 0123456789 >"conftest.in" 5304 while : 5305 do 5306 cat "conftest.in" "conftest.in" >"conftest.tmp" 5307 mv "conftest.tmp" "conftest.in" 5308 cp "conftest.in" "conftest.nl" 5309 $as_echo 'FGREP' >> "conftest.nl" 5310 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 5311 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5312 as_fn_arith $ac_count + 1 && ac_count=$as_val 5313 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 5314 # Best one so far, save it but keep looking for a better one 5315 ac_cv_path_FGREP="$ac_path_FGREP" 5316 ac_path_FGREP_max=$ac_count 5317 fi 5318 # 10*(2^10) chars as input seems more than enough 5319 test $ac_count -gt 10 && break 5320 done 5321 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5322esac 5323 5324 $ac_path_FGREP_found && break 3 5325 done 5326 done 5327 done 5328IFS=$as_save_IFS 5329 if test -z "$ac_cv_path_FGREP"; then 5330 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5331 fi 5332else 5333 ac_cv_path_FGREP=$FGREP 5334fi 5335 5336 fi 5337fi 5338{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 5339$as_echo "$ac_cv_path_FGREP" >&6; } 5340 FGREP="$ac_cv_path_FGREP" 5341 5342 5343test -z "$GREP" && GREP=grep 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363@%:@ Check whether --with-gnu-ld was given. 5364if test "${with_gnu_ld+set}" = set; then : 5365 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 5366else 5367 with_gnu_ld=no 5368fi 5369 5370ac_prog=ld 5371if test yes = "$GCC"; then 5372 # Check if gcc -print-prog-name=ld gives a path. 5373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 5374$as_echo_n "checking for ld used by $CC... " >&6; } 5375 case $host in 5376 *-*-mingw*) 5377 # gcc leaves a trailing carriage return, which upsets mingw 5378 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 5379 *) 5380 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 5381 esac 5382 case $ac_prog in 5383 # Accept absolute paths. 5384 [\\/]* | ?:[\\/]*) 5385 re_direlt='/[^/][^/]*/\.\./' 5386 # Canonicalize the pathname of ld 5387 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 5388 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 5389 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 5390 done 5391 test -z "$LD" && LD=$ac_prog 5392 ;; 5393 "") 5394 # If it fails, then pretend we aren't using GCC. 5395 ac_prog=ld 5396 ;; 5397 *) 5398 # If it is relative, then search for the first ld in PATH. 5399 with_gnu_ld=unknown 5400 ;; 5401 esac 5402elif test yes = "$with_gnu_ld"; then 5403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 5404$as_echo_n "checking for GNU ld... " >&6; } 5405else 5406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 5407$as_echo_n "checking for non-GNU ld... " >&6; } 5408fi 5409if ${lt_cv_path_LD+:} false; then : 5410 $as_echo_n "(cached) " >&6 5411else 5412 if test -z "$LD"; then 5413 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 5414 for ac_dir in $PATH; do 5415 IFS=$lt_save_ifs 5416 test -z "$ac_dir" && ac_dir=. 5417 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 5418 lt_cv_path_LD=$ac_dir/$ac_prog 5419 # Check to see if the program is GNU ld. I'd rather use --version, 5420 # but apparently some variants of GNU ld only accept -v. 5421 # Break only if it was the GNU/non-GNU ld that we prefer. 5422 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 5423 *GNU* | *'with BFD'*) 5424 test no != "$with_gnu_ld" && break 5425 ;; 5426 *) 5427 test yes != "$with_gnu_ld" && break 5428 ;; 5429 esac 5430 fi 5431 done 5432 IFS=$lt_save_ifs 5433else 5434 lt_cv_path_LD=$LD # Let the user override the test with a path. 5435fi 5436fi 5437 5438LD=$lt_cv_path_LD 5439if test -n "$LD"; then 5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 5441$as_echo "$LD" >&6; } 5442else 5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5444$as_echo "no" >&6; } 5445fi 5446test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 5447{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 5448$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 5449if ${lt_cv_prog_gnu_ld+:} false; then : 5450 $as_echo_n "(cached) " >&6 5451else 5452 # I'd rather use --version here, but apparently some GNU lds only accept -v. 5453case `$LD -v 2>&1 </dev/null` in 5454*GNU* | *'with BFD'*) 5455 lt_cv_prog_gnu_ld=yes 5456 ;; 5457*) 5458 lt_cv_prog_gnu_ld=no 5459 ;; 5460esac 5461fi 5462{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 5463$as_echo "$lt_cv_prog_gnu_ld" >&6; } 5464with_gnu_ld=$lt_cv_prog_gnu_ld 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 5475$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 5476if ${lt_cv_path_NM+:} false; then : 5477 $as_echo_n "(cached) " >&6 5478else 5479 if test -n "$NM"; then 5480 # Let the user override the test. 5481 lt_cv_path_NM=$NM 5482else 5483 lt_nm_to_check=${ac_tool_prefix}nm 5484 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 5485 lt_nm_to_check="$lt_nm_to_check nm" 5486 fi 5487 for lt_tmp_nm in $lt_nm_to_check; do 5488 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 5489 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 5490 IFS=$lt_save_ifs 5491 test -z "$ac_dir" && ac_dir=. 5492 tmp_nm=$ac_dir/$lt_tmp_nm 5493 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 5494 # Check to see if the nm accepts a BSD-compat flag. 5495 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 5496 # nm: unknown option "B" ignored 5497 # Tru64's nm complains that /dev/null is an invalid object file 5498 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 5499 case $build_os in 5500 mingw*) lt_bad_file=conftest.nm/nofile ;; 5501 *) lt_bad_file=/dev/null ;; 5502 esac 5503 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 5504 *$lt_bad_file* | *'Invalid file or object type'*) 5505 lt_cv_path_NM="$tmp_nm -B" 5506 break 2 5507 ;; 5508 *) 5509 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 5510 */dev/null*) 5511 lt_cv_path_NM="$tmp_nm -p" 5512 break 2 5513 ;; 5514 *) 5515 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 5516 continue # so that we can try to find one that supports BSD flags 5517 ;; 5518 esac 5519 ;; 5520 esac 5521 fi 5522 done 5523 IFS=$lt_save_ifs 5524 done 5525 : ${lt_cv_path_NM=no} 5526fi 5527fi 5528{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 5529$as_echo "$lt_cv_path_NM" >&6; } 5530if test no != "$lt_cv_path_NM"; then 5531 NM=$lt_cv_path_NM 5532else 5533 # Didn't find any BSD compatible name lister, look for dumpbin. 5534 if test -n "$DUMPBIN"; then : 5535 # Let the user override the test. 5536 else 5537 if test -n "$ac_tool_prefix"; then 5538 for ac_prog in dumpbin "link -dump" 5539 do 5540 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5541set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5542{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5543$as_echo_n "checking for $ac_word... " >&6; } 5544if ${ac_cv_prog_DUMPBIN+:} false; then : 5545 $as_echo_n "(cached) " >&6 5546else 5547 if test -n "$DUMPBIN"; then 5548 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 5549else 5550as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5551for as_dir in $PATH 5552do 5553 IFS=$as_save_IFS 5554 test -z "$as_dir" && as_dir=. 5555 for ac_exec_ext in '' $ac_executable_extensions; do 5556 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5557 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 5558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5559 break 2 5560 fi 5561done 5562 done 5563IFS=$as_save_IFS 5564 5565fi 5566fi 5567DUMPBIN=$ac_cv_prog_DUMPBIN 5568if test -n "$DUMPBIN"; then 5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 5570$as_echo "$DUMPBIN" >&6; } 5571else 5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5573$as_echo "no" >&6; } 5574fi 5575 5576 5577 test -n "$DUMPBIN" && break 5578 done 5579fi 5580if test -z "$DUMPBIN"; then 5581 ac_ct_DUMPBIN=$DUMPBIN 5582 for ac_prog in dumpbin "link -dump" 5583do 5584 # Extract the first word of "$ac_prog", so it can be a program name with args. 5585set dummy $ac_prog; ac_word=$2 5586{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5587$as_echo_n "checking for $ac_word... " >&6; } 5588if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 5589 $as_echo_n "(cached) " >&6 5590else 5591 if test -n "$ac_ct_DUMPBIN"; then 5592 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 5593else 5594as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5595for as_dir in $PATH 5596do 5597 IFS=$as_save_IFS 5598 test -z "$as_dir" && as_dir=. 5599 for ac_exec_ext in '' $ac_executable_extensions; do 5600 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5601 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 5602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5603 break 2 5604 fi 5605done 5606 done 5607IFS=$as_save_IFS 5608 5609fi 5610fi 5611ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 5612if test -n "$ac_ct_DUMPBIN"; then 5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 5614$as_echo "$ac_ct_DUMPBIN" >&6; } 5615else 5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5617$as_echo "no" >&6; } 5618fi 5619 5620 5621 test -n "$ac_ct_DUMPBIN" && break 5622done 5623 5624 if test "x$ac_ct_DUMPBIN" = x; then 5625 DUMPBIN=":" 5626 else 5627 case $cross_compiling:$ac_tool_warned in 5628yes:) 5629{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5630$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5631ac_tool_warned=yes ;; 5632esac 5633 DUMPBIN=$ac_ct_DUMPBIN 5634 fi 5635fi 5636 5637 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 5638 *COFF*) 5639 DUMPBIN="$DUMPBIN -symbols -headers" 5640 ;; 5641 *) 5642 DUMPBIN=: 5643 ;; 5644 esac 5645 fi 5646 5647 if test : != "$DUMPBIN"; then 5648 NM=$DUMPBIN 5649 fi 5650fi 5651test -z "$NM" && NM=nm 5652 5653 5654 5655 5656 5657 5658{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5659$as_echo_n "checking the name lister ($NM) interface... " >&6; } 5660if ${lt_cv_nm_interface+:} false; then : 5661 $as_echo_n "(cached) " >&6 5662else 5663 lt_cv_nm_interface="BSD nm" 5664 echo "int some_variable = 0;" > conftest.$ac_ext 5665 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 5666 (eval "$ac_compile" 2>conftest.err) 5667 cat conftest.err >&5 5668 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5669 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5670 cat conftest.err >&5 5671 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 5672 cat conftest.out >&5 5673 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5674 lt_cv_nm_interface="MS dumpbin" 5675 fi 5676 rm -f conftest* 5677fi 5678{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5679$as_echo "$lt_cv_nm_interface" >&6; } 5680 5681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5682$as_echo_n "checking whether ln -s works... " >&6; } 5683LN_S=$as_ln_s 5684if test "$LN_S" = "ln -s"; then 5685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5686$as_echo "yes" >&6; } 5687else 5688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5689$as_echo "no, using $LN_S" >&6; } 5690fi 5691 5692# find the maximum length of command line arguments 5693{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5694$as_echo_n "checking the maximum length of command line arguments... " >&6; } 5695if ${lt_cv_sys_max_cmd_len+:} false; then : 5696 $as_echo_n "(cached) " >&6 5697else 5698 i=0 5699 teststring=ABCD 5700 5701 case $build_os in 5702 msdosdjgpp*) 5703 # On DJGPP, this test can blow up pretty badly due to problems in libc 5704 # (any single argument exceeding 2000 bytes causes a buffer overrun 5705 # during glob expansion). Even if it were fixed, the result of this 5706 # check would be larger than it should be. 5707 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5708 ;; 5709 5710 gnu*) 5711 # Under GNU Hurd, this test is not required because there is 5712 # no limit to the length of command line arguments. 5713 # Libtool will interpret -1 as no limit whatsoever 5714 lt_cv_sys_max_cmd_len=-1; 5715 ;; 5716 5717 cygwin* | mingw* | cegcc*) 5718 # On Win9x/ME, this test blows up -- it succeeds, but takes 5719 # about 5 minutes as the teststring grows exponentially. 5720 # Worse, since 9x/ME are not pre-emptively multitasking, 5721 # you end up with a "frozen" computer, even though with patience 5722 # the test eventually succeeds (with a max line length of 256k). 5723 # Instead, let's just punt: use the minimum linelength reported by 5724 # all of the supported platforms: 8192 (on NT/2K/XP). 5725 lt_cv_sys_max_cmd_len=8192; 5726 ;; 5727 5728 mint*) 5729 # On MiNT this can take a long time and run out of memory. 5730 lt_cv_sys_max_cmd_len=8192; 5731 ;; 5732 5733 amigaos*) 5734 # On AmigaOS with pdksh, this test takes hours, literally. 5735 # So we just punt and use a minimum line length of 8192. 5736 lt_cv_sys_max_cmd_len=8192; 5737 ;; 5738 5739 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 5740 # This has been around since 386BSD, at least. Likely further. 5741 if test -x /sbin/sysctl; then 5742 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5743 elif test -x /usr/sbin/sysctl; then 5744 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5745 else 5746 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5747 fi 5748 # And add a safety zone 5749 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5750 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5751 ;; 5752 5753 interix*) 5754 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5755 lt_cv_sys_max_cmd_len=196608 5756 ;; 5757 5758 os2*) 5759 # The test takes a long time on OS/2. 5760 lt_cv_sys_max_cmd_len=8192 5761 ;; 5762 5763 osf*) 5764 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5765 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5766 # nice to cause kernel panics so lets avoid the loop below. 5767 # First set a reasonable default. 5768 lt_cv_sys_max_cmd_len=16384 5769 # 5770 if test -x /sbin/sysconfig; then 5771 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5772 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5773 esac 5774 fi 5775 ;; 5776 sco3.2v5*) 5777 lt_cv_sys_max_cmd_len=102400 5778 ;; 5779 sysv5* | sco5v6* | sysv4.2uw2*) 5780 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5781 if test -n "$kargmax"; then 5782 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5783 else 5784 lt_cv_sys_max_cmd_len=32768 5785 fi 5786 ;; 5787 *) 5788 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5789 if test -n "$lt_cv_sys_max_cmd_len" && \ 5790 test undefined != "$lt_cv_sys_max_cmd_len"; then 5791 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5792 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5793 else 5794 # Make teststring a little bigger before we do anything with it. 5795 # a 1K string should be a reasonable start. 5796 for i in 1 2 3 4 5 6 7 8; do 5797 teststring=$teststring$teststring 5798 done 5799 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5800 # If test is not a shell built-in, we'll probably end up computing a 5801 # maximum length that is only half of the actual maximum length, but 5802 # we can't tell. 5803 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 5804 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5805 test 17 != "$i" # 1/2 MB should be enough 5806 do 5807 i=`expr $i + 1` 5808 teststring=$teststring$teststring 5809 done 5810 # Only check the string length outside the loop. 5811 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5812 teststring= 5813 # Add a significant safety factor because C++ compilers can tack on 5814 # massive amounts of additional arguments before passing them to the 5815 # linker. It appears as though 1/2 is a usable value. 5816 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5817 fi 5818 ;; 5819 esac 5820 5821fi 5822 5823if test -n "$lt_cv_sys_max_cmd_len"; then 5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5825$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5826else 5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5828$as_echo "none" >&6; } 5829fi 5830max_cmd_len=$lt_cv_sys_max_cmd_len 5831 5832 5833 5834 5835 5836 5837: ${CP="cp -f"} 5838: ${MV="mv -f"} 5839: ${RM="rm -f"} 5840 5841if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5842 lt_unset=unset 5843else 5844 lt_unset=false 5845fi 5846 5847 5848 5849 5850 5851# test EBCDIC or ASCII 5852case `echo X|tr X '\101'` in 5853 A) # ASCII based system 5854 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5855 lt_SP2NL='tr \040 \012' 5856 lt_NL2SP='tr \015\012 \040\040' 5857 ;; 5858 *) # EBCDIC based system 5859 lt_SP2NL='tr \100 \n' 5860 lt_NL2SP='tr \r\n \100\100' 5861 ;; 5862esac 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5873$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5874if ${lt_cv_to_host_file_cmd+:} false; then : 5875 $as_echo_n "(cached) " >&6 5876else 5877 case $host in 5878 *-*-mingw* ) 5879 case $build in 5880 *-*-mingw* ) # actually msys 5881 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5882 ;; 5883 *-*-cygwin* ) 5884 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5885 ;; 5886 * ) # otherwise, assume *nix 5887 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5888 ;; 5889 esac 5890 ;; 5891 *-*-cygwin* ) 5892 case $build in 5893 *-*-mingw* ) # actually msys 5894 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5895 ;; 5896 *-*-cygwin* ) 5897 lt_cv_to_host_file_cmd=func_convert_file_noop 5898 ;; 5899 * ) # otherwise, assume *nix 5900 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5901 ;; 5902 esac 5903 ;; 5904 * ) # unhandled hosts (and "normal" native builds) 5905 lt_cv_to_host_file_cmd=func_convert_file_noop 5906 ;; 5907esac 5908 5909fi 5910 5911to_host_file_cmd=$lt_cv_to_host_file_cmd 5912{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5913$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5914 5915 5916 5917 5918 5919{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5920$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5921if ${lt_cv_to_tool_file_cmd+:} false; then : 5922 $as_echo_n "(cached) " >&6 5923else 5924 #assume ordinary cross tools, or native build. 5925lt_cv_to_tool_file_cmd=func_convert_file_noop 5926case $host in 5927 *-*-mingw* ) 5928 case $build in 5929 *-*-mingw* ) # actually msys 5930 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5931 ;; 5932 esac 5933 ;; 5934esac 5935 5936fi 5937 5938to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5939{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5940$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5941 5942 5943 5944 5945 5946{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5947$as_echo_n "checking for $LD option to reload object files... " >&6; } 5948if ${lt_cv_ld_reload_flag+:} false; then : 5949 $as_echo_n "(cached) " >&6 5950else 5951 lt_cv_ld_reload_flag='-r' 5952fi 5953{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5954$as_echo "$lt_cv_ld_reload_flag" >&6; } 5955reload_flag=$lt_cv_ld_reload_flag 5956case $reload_flag in 5957"" | " "*) ;; 5958*) reload_flag=" $reload_flag" ;; 5959esac 5960reload_cmds='$LD$reload_flag -o $output$reload_objs' 5961case $host_os in 5962 cygwin* | mingw* | pw32* | cegcc*) 5963 if test yes != "$GCC"; then 5964 reload_cmds=false 5965 fi 5966 ;; 5967 darwin*) 5968 if test yes = "$GCC"; then 5969 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 5970 else 5971 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5972 fi 5973 ;; 5974esac 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984if test -n "$ac_tool_prefix"; then 5985 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5986set dummy ${ac_tool_prefix}objdump; ac_word=$2 5987{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5988$as_echo_n "checking for $ac_word... " >&6; } 5989if ${ac_cv_prog_OBJDUMP+:} false; then : 5990 $as_echo_n "(cached) " >&6 5991else 5992 if test -n "$OBJDUMP"; then 5993 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5994else 5995as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5996for as_dir in $PATH 5997do 5998 IFS=$as_save_IFS 5999 test -z "$as_dir" && as_dir=. 6000 for ac_exec_ext in '' $ac_executable_extensions; do 6001 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6002 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 6003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6004 break 2 6005 fi 6006done 6007 done 6008IFS=$as_save_IFS 6009 6010fi 6011fi 6012OBJDUMP=$ac_cv_prog_OBJDUMP 6013if test -n "$OBJDUMP"; then 6014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 6015$as_echo "$OBJDUMP" >&6; } 6016else 6017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6018$as_echo "no" >&6; } 6019fi 6020 6021 6022fi 6023if test -z "$ac_cv_prog_OBJDUMP"; then 6024 ac_ct_OBJDUMP=$OBJDUMP 6025 # Extract the first word of "objdump", so it can be a program name with args. 6026set dummy objdump; ac_word=$2 6027{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6028$as_echo_n "checking for $ac_word... " >&6; } 6029if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 6030 $as_echo_n "(cached) " >&6 6031else 6032 if test -n "$ac_ct_OBJDUMP"; then 6033 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 6034else 6035as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6036for as_dir in $PATH 6037do 6038 IFS=$as_save_IFS 6039 test -z "$as_dir" && as_dir=. 6040 for ac_exec_ext in '' $ac_executable_extensions; do 6041 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6042 ac_cv_prog_ac_ct_OBJDUMP="objdump" 6043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6044 break 2 6045 fi 6046done 6047 done 6048IFS=$as_save_IFS 6049 6050fi 6051fi 6052ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 6053if test -n "$ac_ct_OBJDUMP"; then 6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 6055$as_echo "$ac_ct_OBJDUMP" >&6; } 6056else 6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6058$as_echo "no" >&6; } 6059fi 6060 6061 if test "x$ac_ct_OBJDUMP" = x; then 6062 OBJDUMP="false" 6063 else 6064 case $cross_compiling:$ac_tool_warned in 6065yes:) 6066{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6067$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6068ac_tool_warned=yes ;; 6069esac 6070 OBJDUMP=$ac_ct_OBJDUMP 6071 fi 6072else 6073 OBJDUMP="$ac_cv_prog_OBJDUMP" 6074fi 6075 6076test -z "$OBJDUMP" && OBJDUMP=objdump 6077 6078 6079 6080 6081 6082 6083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 6084$as_echo_n "checking how to recognize dependent libraries... " >&6; } 6085if ${lt_cv_deplibs_check_method+:} false; then : 6086 $as_echo_n "(cached) " >&6 6087else 6088 lt_cv_file_magic_cmd='$MAGIC_CMD' 6089lt_cv_file_magic_test_file= 6090lt_cv_deplibs_check_method='unknown' 6091# Need to set the preceding variable on all platforms that support 6092# interlibrary dependencies. 6093# 'none' -- dependencies not supported. 6094# 'unknown' -- same as none, but documents that we really don't know. 6095# 'pass_all' -- all dependencies passed with no checks. 6096# 'test_compile' -- check by making test program. 6097# 'file_magic [[regex]]' -- check by looking for files in library path 6098# that responds to the $file_magic_cmd with a given extended regex. 6099# If you have 'file' or equivalent on your system and you're not sure 6100# whether 'pass_all' will *always* work, you probably want this one. 6101 6102case $host_os in 6103aix[4-9]*) 6104 lt_cv_deplibs_check_method=pass_all 6105 ;; 6106 6107beos*) 6108 lt_cv_deplibs_check_method=pass_all 6109 ;; 6110 6111bsdi[45]*) 6112 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 6113 lt_cv_file_magic_cmd='/usr/bin/file -L' 6114 lt_cv_file_magic_test_file=/shlib/libc.so 6115 ;; 6116 6117cygwin*) 6118 # func_win32_libid is a shell function defined in ltmain.sh 6119 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6120 lt_cv_file_magic_cmd='func_win32_libid' 6121 ;; 6122 6123mingw* | pw32*) 6124 # Base MSYS/MinGW do not provide the 'file' command needed by 6125 # func_win32_libid shell function, so use a weaker test based on 'objdump', 6126 # unless we find 'file', for example because we are cross-compiling. 6127 if ( file / ) >/dev/null 2>&1; then 6128 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6129 lt_cv_file_magic_cmd='func_win32_libid' 6130 else 6131 # Keep this pattern in sync with the one in func_win32_libid. 6132 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 6133 lt_cv_file_magic_cmd='$OBJDUMP -f' 6134 fi 6135 ;; 6136 6137cegcc*) 6138 # use the weaker test based on 'objdump'. See mingw*. 6139 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 6140 lt_cv_file_magic_cmd='$OBJDUMP -f' 6141 ;; 6142 6143darwin* | rhapsody*) 6144 lt_cv_deplibs_check_method=pass_all 6145 ;; 6146 6147freebsd* | dragonfly*) 6148 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6149 case $host_cpu in 6150 i*86 ) 6151 # Not sure whether the presence of OpenBSD here was a mistake. 6152 # Let's accept both of them until this is cleared up. 6153 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 6154 lt_cv_file_magic_cmd=/usr/bin/file 6155 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 6156 ;; 6157 esac 6158 else 6159 lt_cv_deplibs_check_method=pass_all 6160 fi 6161 ;; 6162 6163haiku*) 6164 lt_cv_deplibs_check_method=pass_all 6165 ;; 6166 6167hpux10.20* | hpux11*) 6168 lt_cv_file_magic_cmd=/usr/bin/file 6169 case $host_cpu in 6170 ia64*) 6171 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 6172 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 6173 ;; 6174 hppa*64*) 6175 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]' 6176 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 6177 ;; 6178 *) 6179 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 6180 lt_cv_file_magic_test_file=/usr/lib/libc.sl 6181 ;; 6182 esac 6183 ;; 6184 6185interix[3-9]*) 6186 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 6187 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 6188 ;; 6189 6190irix5* | irix6* | nonstopux*) 6191 case $LD in 6192 *-32|*"-32 ") libmagic=32-bit;; 6193 *-n32|*"-n32 ") libmagic=N32;; 6194 *-64|*"-64 ") libmagic=64-bit;; 6195 *) libmagic=never-match;; 6196 esac 6197 lt_cv_deplibs_check_method=pass_all 6198 ;; 6199 6200# This must be glibc/ELF. 6201linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 6202 lt_cv_deplibs_check_method=pass_all 6203 ;; 6204 6205netbsd* | netbsdelf*-gnu) 6206 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6207 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6208 else 6209 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 6210 fi 6211 ;; 6212 6213newos6*) 6214 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 6215 lt_cv_file_magic_cmd=/usr/bin/file 6216 lt_cv_file_magic_test_file=/usr/lib/libnls.so 6217 ;; 6218 6219*nto* | *qnx*) 6220 lt_cv_deplibs_check_method=pass_all 6221 ;; 6222 6223openbsd* | bitrig*) 6224 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 6225 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 6226 else 6227 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6228 fi 6229 ;; 6230 6231osf3* | osf4* | osf5*) 6232 lt_cv_deplibs_check_method=pass_all 6233 ;; 6234 6235rdos*) 6236 lt_cv_deplibs_check_method=pass_all 6237 ;; 6238 6239solaris*) 6240 lt_cv_deplibs_check_method=pass_all 6241 ;; 6242 6243sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 6244 lt_cv_deplibs_check_method=pass_all 6245 ;; 6246 6247sysv4 | sysv4.3*) 6248 case $host_vendor in 6249 motorola) 6250 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]' 6251 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 6252 ;; 6253 ncr) 6254 lt_cv_deplibs_check_method=pass_all 6255 ;; 6256 sequent) 6257 lt_cv_file_magic_cmd='/bin/file' 6258 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 6259 ;; 6260 sni) 6261 lt_cv_file_magic_cmd='/bin/file' 6262 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 6263 lt_cv_file_magic_test_file=/lib/libc.so 6264 ;; 6265 siemens) 6266 lt_cv_deplibs_check_method=pass_all 6267 ;; 6268 pc) 6269 lt_cv_deplibs_check_method=pass_all 6270 ;; 6271 esac 6272 ;; 6273 6274tpf*) 6275 lt_cv_deplibs_check_method=pass_all 6276 ;; 6277os2*) 6278 lt_cv_deplibs_check_method=pass_all 6279 ;; 6280esac 6281 6282fi 6283{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 6284$as_echo "$lt_cv_deplibs_check_method" >&6; } 6285 6286file_magic_glob= 6287want_nocaseglob=no 6288if test "$build" = "$host"; then 6289 case $host_os in 6290 mingw* | pw32*) 6291 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 6292 want_nocaseglob=yes 6293 else 6294 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 6295 fi 6296 ;; 6297 esac 6298fi 6299 6300file_magic_cmd=$lt_cv_file_magic_cmd 6301deplibs_check_method=$lt_cv_deplibs_check_method 6302test -z "$deplibs_check_method" && deplibs_check_method=unknown 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325if test -n "$ac_tool_prefix"; then 6326 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 6327set dummy ${ac_tool_prefix}dlltool; ac_word=$2 6328{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6329$as_echo_n "checking for $ac_word... " >&6; } 6330if ${ac_cv_prog_DLLTOOL+:} false; then : 6331 $as_echo_n "(cached) " >&6 6332else 6333 if test -n "$DLLTOOL"; then 6334 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 6335else 6336as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6337for as_dir in $PATH 6338do 6339 IFS=$as_save_IFS 6340 test -z "$as_dir" && as_dir=. 6341 for ac_exec_ext in '' $ac_executable_extensions; do 6342 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6343 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 6344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6345 break 2 6346 fi 6347done 6348 done 6349IFS=$as_save_IFS 6350 6351fi 6352fi 6353DLLTOOL=$ac_cv_prog_DLLTOOL 6354if test -n "$DLLTOOL"; then 6355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 6356$as_echo "$DLLTOOL" >&6; } 6357else 6358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6359$as_echo "no" >&6; } 6360fi 6361 6362 6363fi 6364if test -z "$ac_cv_prog_DLLTOOL"; then 6365 ac_ct_DLLTOOL=$DLLTOOL 6366 # Extract the first word of "dlltool", so it can be a program name with args. 6367set dummy dlltool; ac_word=$2 6368{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6369$as_echo_n "checking for $ac_word... " >&6; } 6370if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 6371 $as_echo_n "(cached) " >&6 6372else 6373 if test -n "$ac_ct_DLLTOOL"; then 6374 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 6375else 6376as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6377for as_dir in $PATH 6378do 6379 IFS=$as_save_IFS 6380 test -z "$as_dir" && as_dir=. 6381 for ac_exec_ext in '' $ac_executable_extensions; do 6382 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6383 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 6384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6385 break 2 6386 fi 6387done 6388 done 6389IFS=$as_save_IFS 6390 6391fi 6392fi 6393ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 6394if test -n "$ac_ct_DLLTOOL"; then 6395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 6396$as_echo "$ac_ct_DLLTOOL" >&6; } 6397else 6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6399$as_echo "no" >&6; } 6400fi 6401 6402 if test "x$ac_ct_DLLTOOL" = x; then 6403 DLLTOOL="false" 6404 else 6405 case $cross_compiling:$ac_tool_warned in 6406yes:) 6407{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6408$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6409ac_tool_warned=yes ;; 6410esac 6411 DLLTOOL=$ac_ct_DLLTOOL 6412 fi 6413else 6414 DLLTOOL="$ac_cv_prog_DLLTOOL" 6415fi 6416 6417test -z "$DLLTOOL" && DLLTOOL=dlltool 6418 6419 6420 6421 6422 6423 6424 6425{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 6426$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 6427if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 6428 $as_echo_n "(cached) " >&6 6429else 6430 lt_cv_sharedlib_from_linklib_cmd='unknown' 6431 6432case $host_os in 6433cygwin* | mingw* | pw32* | cegcc*) 6434 # two different shell functions defined in ltmain.sh; 6435 # decide which one to use based on capabilities of $DLLTOOL 6436 case `$DLLTOOL --help 2>&1` in 6437 *--identify-strict*) 6438 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 6439 ;; 6440 *) 6441 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 6442 ;; 6443 esac 6444 ;; 6445*) 6446 # fallback: assume linklib IS sharedlib 6447 lt_cv_sharedlib_from_linklib_cmd=$ECHO 6448 ;; 6449esac 6450 6451fi 6452{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 6453$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 6454sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 6455test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 6456 6457 6458 6459 6460 6461 6462 6463 6464if test -n "$ac_tool_prefix"; then 6465 for ac_prog in ar 6466 do 6467 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6468set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6469{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6470$as_echo_n "checking for $ac_word... " >&6; } 6471if ${ac_cv_prog_AR+:} false; then : 6472 $as_echo_n "(cached) " >&6 6473else 6474 if test -n "$AR"; then 6475 ac_cv_prog_AR="$AR" # Let the user override the test. 6476else 6477as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6478for as_dir in $PATH 6479do 6480 IFS=$as_save_IFS 6481 test -z "$as_dir" && as_dir=. 6482 for ac_exec_ext in '' $ac_executable_extensions; do 6483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6484 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 6485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6486 break 2 6487 fi 6488done 6489 done 6490IFS=$as_save_IFS 6491 6492fi 6493fi 6494AR=$ac_cv_prog_AR 6495if test -n "$AR"; then 6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 6497$as_echo "$AR" >&6; } 6498else 6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6500$as_echo "no" >&6; } 6501fi 6502 6503 6504 test -n "$AR" && break 6505 done 6506fi 6507if test -z "$AR"; then 6508 ac_ct_AR=$AR 6509 for ac_prog in ar 6510do 6511 # Extract the first word of "$ac_prog", so it can be a program name with args. 6512set dummy $ac_prog; ac_word=$2 6513{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6514$as_echo_n "checking for $ac_word... " >&6; } 6515if ${ac_cv_prog_ac_ct_AR+:} false; then : 6516 $as_echo_n "(cached) " >&6 6517else 6518 if test -n "$ac_ct_AR"; then 6519 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 6520else 6521as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6522for as_dir in $PATH 6523do 6524 IFS=$as_save_IFS 6525 test -z "$as_dir" && as_dir=. 6526 for ac_exec_ext in '' $ac_executable_extensions; do 6527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6528 ac_cv_prog_ac_ct_AR="$ac_prog" 6529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6530 break 2 6531 fi 6532done 6533 done 6534IFS=$as_save_IFS 6535 6536fi 6537fi 6538ac_ct_AR=$ac_cv_prog_ac_ct_AR 6539if test -n "$ac_ct_AR"; then 6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 6541$as_echo "$ac_ct_AR" >&6; } 6542else 6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6544$as_echo "no" >&6; } 6545fi 6546 6547 6548 test -n "$ac_ct_AR" && break 6549done 6550 6551 if test "x$ac_ct_AR" = x; then 6552 AR="false" 6553 else 6554 case $cross_compiling:$ac_tool_warned in 6555yes:) 6556{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6557$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6558ac_tool_warned=yes ;; 6559esac 6560 AR=$ac_ct_AR 6561 fi 6562fi 6563 6564: ${AR=ar} 6565: ${AR_FLAGS=cr} 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 6578$as_echo_n "checking for archiver @FILE support... " >&6; } 6579if ${lt_cv_ar_at_file+:} false; then : 6580 $as_echo_n "(cached) " >&6 6581else 6582 lt_cv_ar_at_file=no 6583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6584/* end confdefs.h. */ 6585 6586int 6587main () 6588{ 6589 6590 ; 6591 return 0; 6592} 6593_ACEOF 6594if ac_fn_c_try_compile "$LINENO"; then : 6595 echo conftest.$ac_objext > conftest.lst 6596 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 6597 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6598 (eval $lt_ar_try) 2>&5 6599 ac_status=$? 6600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6601 test $ac_status = 0; } 6602 if test 0 -eq "$ac_status"; then 6603 # Ensure the archiver fails upon bogus file names. 6604 rm -f conftest.$ac_objext libconftest.a 6605 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6606 (eval $lt_ar_try) 2>&5 6607 ac_status=$? 6608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6609 test $ac_status = 0; } 6610 if test 0 -ne "$ac_status"; then 6611 lt_cv_ar_at_file=@ 6612 fi 6613 fi 6614 rm -f conftest.* libconftest.a 6615 6616fi 6617rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6618 6619fi 6620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 6621$as_echo "$lt_cv_ar_at_file" >&6; } 6622 6623if test no = "$lt_cv_ar_at_file"; then 6624 archiver_list_spec= 6625else 6626 archiver_list_spec=$lt_cv_ar_at_file 6627fi 6628 6629 6630 6631 6632 6633 6634 6635if test -n "$ac_tool_prefix"; then 6636 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6637set dummy ${ac_tool_prefix}strip; ac_word=$2 6638{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6639$as_echo_n "checking for $ac_word... " >&6; } 6640if ${ac_cv_prog_STRIP+:} false; then : 6641 $as_echo_n "(cached) " >&6 6642else 6643 if test -n "$STRIP"; then 6644 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6645else 6646as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6647for as_dir in $PATH 6648do 6649 IFS=$as_save_IFS 6650 test -z "$as_dir" && as_dir=. 6651 for ac_exec_ext in '' $ac_executable_extensions; do 6652 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6653 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6655 break 2 6656 fi 6657done 6658 done 6659IFS=$as_save_IFS 6660 6661fi 6662fi 6663STRIP=$ac_cv_prog_STRIP 6664if test -n "$STRIP"; then 6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 6666$as_echo "$STRIP" >&6; } 6667else 6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6669$as_echo "no" >&6; } 6670fi 6671 6672 6673fi 6674if test -z "$ac_cv_prog_STRIP"; then 6675 ac_ct_STRIP=$STRIP 6676 # Extract the first word of "strip", so it can be a program name with args. 6677set dummy strip; ac_word=$2 6678{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6679$as_echo_n "checking for $ac_word... " >&6; } 6680if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 6681 $as_echo_n "(cached) " >&6 6682else 6683 if test -n "$ac_ct_STRIP"; then 6684 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6685else 6686as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6687for as_dir in $PATH 6688do 6689 IFS=$as_save_IFS 6690 test -z "$as_dir" && as_dir=. 6691 for ac_exec_ext in '' $ac_executable_extensions; do 6692 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6693 ac_cv_prog_ac_ct_STRIP="strip" 6694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6695 break 2 6696 fi 6697done 6698 done 6699IFS=$as_save_IFS 6700 6701fi 6702fi 6703ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6704if test -n "$ac_ct_STRIP"; then 6705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 6706$as_echo "$ac_ct_STRIP" >&6; } 6707else 6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6709$as_echo "no" >&6; } 6710fi 6711 6712 if test "x$ac_ct_STRIP" = x; then 6713 STRIP=":" 6714 else 6715 case $cross_compiling:$ac_tool_warned in 6716yes:) 6717{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6718$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6719ac_tool_warned=yes ;; 6720esac 6721 STRIP=$ac_ct_STRIP 6722 fi 6723else 6724 STRIP="$ac_cv_prog_STRIP" 6725fi 6726 6727test -z "$STRIP" && STRIP=: 6728 6729 6730 6731 6732 6733 6734if test -n "$ac_tool_prefix"; then 6735 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6736set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6737{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6738$as_echo_n "checking for $ac_word... " >&6; } 6739if ${ac_cv_prog_RANLIB+:} false; then : 6740 $as_echo_n "(cached) " >&6 6741else 6742 if test -n "$RANLIB"; then 6743 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6744else 6745as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6746for as_dir in $PATH 6747do 6748 IFS=$as_save_IFS 6749 test -z "$as_dir" && as_dir=. 6750 for ac_exec_ext in '' $ac_executable_extensions; do 6751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6752 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6754 break 2 6755 fi 6756done 6757 done 6758IFS=$as_save_IFS 6759 6760fi 6761fi 6762RANLIB=$ac_cv_prog_RANLIB 6763if test -n "$RANLIB"; then 6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6765$as_echo "$RANLIB" >&6; } 6766else 6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6768$as_echo "no" >&6; } 6769fi 6770 6771 6772fi 6773if test -z "$ac_cv_prog_RANLIB"; then 6774 ac_ct_RANLIB=$RANLIB 6775 # Extract the first word of "ranlib", so it can be a program name with args. 6776set dummy ranlib; ac_word=$2 6777{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6778$as_echo_n "checking for $ac_word... " >&6; } 6779if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 6780 $as_echo_n "(cached) " >&6 6781else 6782 if test -n "$ac_ct_RANLIB"; then 6783 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6784else 6785as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6786for as_dir in $PATH 6787do 6788 IFS=$as_save_IFS 6789 test -z "$as_dir" && as_dir=. 6790 for ac_exec_ext in '' $ac_executable_extensions; do 6791 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6792 ac_cv_prog_ac_ct_RANLIB="ranlib" 6793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6794 break 2 6795 fi 6796done 6797 done 6798IFS=$as_save_IFS 6799 6800fi 6801fi 6802ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6803if test -n "$ac_ct_RANLIB"; then 6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6805$as_echo "$ac_ct_RANLIB" >&6; } 6806else 6807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6808$as_echo "no" >&6; } 6809fi 6810 6811 if test "x$ac_ct_RANLIB" = x; then 6812 RANLIB=":" 6813 else 6814 case $cross_compiling:$ac_tool_warned in 6815yes:) 6816{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6817$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6818ac_tool_warned=yes ;; 6819esac 6820 RANLIB=$ac_ct_RANLIB 6821 fi 6822else 6823 RANLIB="$ac_cv_prog_RANLIB" 6824fi 6825 6826test -z "$RANLIB" && RANLIB=: 6827 6828 6829 6830 6831 6832 6833# Determine commands to create old-style static archives. 6834old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6835old_postinstall_cmds='chmod 644 $oldlib' 6836old_postuninstall_cmds= 6837 6838if test -n "$RANLIB"; then 6839 case $host_os in 6840 bitrig* | openbsd*) 6841 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 6842 ;; 6843 *) 6844 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 6845 ;; 6846 esac 6847 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 6848fi 6849 6850case $host_os in 6851 darwin*) 6852 lock_old_archive_extraction=yes ;; 6853 *) 6854 lock_old_archive_extraction=no ;; 6855esac 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895# If no C compiler was specified, use CC. 6896LTCC=${LTCC-"$CC"} 6897 6898# If no C compiler flags were specified, use CFLAGS. 6899LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6900 6901# Allow CC to be a program name with arguments. 6902compiler=$CC 6903 6904 6905# Check for command to grab the raw symbol name followed by C symbol from nm. 6906{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6907$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6908if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6909 $as_echo_n "(cached) " >&6 6910else 6911 6912# These are sane defaults that work on at least a few old systems. 6913# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6914 6915# Character class describing NM global symbol codes. 6916symcode='[BCDEGRST]' 6917 6918# Regexp to match symbols that can be accessed directly from C. 6919sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6920 6921# Define system-specific variables. 6922case $host_os in 6923aix*) 6924 symcode='[BCDT]' 6925 ;; 6926cygwin* | mingw* | pw32* | cegcc*) 6927 symcode='[ABCDGISTW]' 6928 ;; 6929hpux*) 6930 if test ia64 = "$host_cpu"; then 6931 symcode='[ABCDEGRST]' 6932 fi 6933 ;; 6934irix* | nonstopux*) 6935 symcode='[BCDEGRST]' 6936 ;; 6937osf*) 6938 symcode='[BCDEGQRST]' 6939 ;; 6940solaris*) 6941 symcode='[BDRT]' 6942 ;; 6943sco3.2v5*) 6944 symcode='[DT]' 6945 ;; 6946sysv4.2uw2*) 6947 symcode='[DT]' 6948 ;; 6949sysv5* | sco5v6* | unixware* | OpenUNIX*) 6950 symcode='[ABDT]' 6951 ;; 6952sysv4) 6953 symcode='[DFNSTU]' 6954 ;; 6955esac 6956 6957# If we're using GNU nm, then use its standard symbol codes. 6958case `$NM -V 2>&1` in 6959*GNU* | *'with BFD'*) 6960 symcode='[ABCDGIRSTW]' ;; 6961esac 6962 6963if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6964 # Gets list of data symbols to import. 6965 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 6966 # Adjust the below global symbol transforms to fixup imported variables. 6967 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 6968 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 6969 lt_c_name_lib_hook="\ 6970 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 6971 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 6972else 6973 # Disable hooks by default. 6974 lt_cv_sys_global_symbol_to_import= 6975 lt_cdecl_hook= 6976 lt_c_name_hook= 6977 lt_c_name_lib_hook= 6978fi 6979 6980# Transform an extracted symbol line into a proper C declaration. 6981# Some systems (esp. on ia64) link data and code symbols differently, 6982# so use this general approach. 6983lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 6984$lt_cdecl_hook\ 6985" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 6986" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 6987 6988# Transform an extracted symbol line into symbol name and symbol address 6989lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 6990$lt_c_name_hook\ 6991" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6992" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 6993 6994# Transform an extracted symbol line into symbol name with lib prefix and 6995# symbol address. 6996lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 6997$lt_c_name_lib_hook\ 6998" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6999" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 7000" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 7001 7002# Handle CRLF in mingw tool chain 7003opt_cr= 7004case $build_os in 7005mingw*) 7006 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 7007 ;; 7008esac 7009 7010# Try without a prefix underscore, then with it. 7011for ac_symprfx in "" "_"; do 7012 7013 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 7014 symxfrm="\\1 $ac_symprfx\\2 \\2" 7015 7016 # Write the raw and C identifiers. 7017 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7018 # Fake it for dumpbin and say T for any non-static function, 7019 # D for any global variable and I for any imported variable. 7020 # Also find C++ and __fastcall symbols from MSVC++, 7021 # which start with @ or ?. 7022 lt_cv_sys_global_symbol_pipe="$AWK '"\ 7023" {last_section=section; section=\$ 3};"\ 7024" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 7025" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 7026" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 7027" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 7028" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 7029" \$ 0!~/External *\|/{next};"\ 7030" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 7031" {if(hide[section]) next};"\ 7032" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 7033" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 7034" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 7035" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 7036" ' prfx=^$ac_symprfx" 7037 else 7038 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 7039 fi 7040 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 7041 7042 # Check to see that the pipe works correctly. 7043 pipe_works=no 7044 7045 rm -f conftest* 7046 cat > conftest.$ac_ext <<_LT_EOF 7047#ifdef __cplusplus 7048extern "C" { 7049#endif 7050char nm_test_var; 7051void nm_test_func(void); 7052void nm_test_func(void){} 7053#ifdef __cplusplus 7054} 7055#endif 7056int main(){nm_test_var='a';nm_test_func();return(0);} 7057_LT_EOF 7058 7059 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7060 (eval $ac_compile) 2>&5 7061 ac_status=$? 7062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7063 test $ac_status = 0; }; then 7064 # Now try to grab the symbols. 7065 nlist=conftest.nm 7066 $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5 7067 if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then 7068 # Try sorting and uniquifying the output. 7069 if sort "$nlist" | uniq > "$nlist"T; then 7070 mv -f "$nlist"T "$nlist" 7071 else 7072 rm -f "$nlist"T 7073 fi 7074 7075 # Make sure that we snagged all the symbols we need. 7076 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 7077 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 7078 cat <<_LT_EOF > conftest.$ac_ext 7079/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 7080#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 7081/* DATA imports from DLLs on WIN32 can't be const, because runtime 7082 relocations are performed -- see ld's documentation on pseudo-relocs. */ 7083# define LT@&t@_DLSYM_CONST 7084#elif defined __osf__ 7085/* This system does not cope well with relocations in const data. */ 7086# define LT@&t@_DLSYM_CONST 7087#else 7088# define LT@&t@_DLSYM_CONST const 7089#endif 7090 7091#ifdef __cplusplus 7092extern "C" { 7093#endif 7094 7095_LT_EOF 7096 # Now generate the symbol file. 7097 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 7098 7099 cat <<_LT_EOF >> conftest.$ac_ext 7100 7101/* The mapping between symbol names and symbols. */ 7102LT@&t@_DLSYM_CONST struct { 7103 const char *name; 7104 void *address; 7105} 7106lt__PROGRAM__LTX_preloaded_symbols[] = 7107{ 7108 { "@PROGRAM@", (void *) 0 }, 7109_LT_EOF 7110 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 7111 cat <<\_LT_EOF >> conftest.$ac_ext 7112 {0, (void *) 0} 7113}; 7114 7115/* This works around a problem in FreeBSD linker */ 7116#ifdef FREEBSD_WORKAROUND 7117static const void *lt_preloaded_setup() { 7118 return lt__PROGRAM__LTX_preloaded_symbols; 7119} 7120#endif 7121 7122#ifdef __cplusplus 7123} 7124#endif 7125_LT_EOF 7126 # Now try linking the two files. 7127 mv conftest.$ac_objext conftstm.$ac_objext 7128 lt_globsym_save_LIBS=$LIBS 7129 lt_globsym_save_CFLAGS=$CFLAGS 7130 LIBS=conftstm.$ac_objext 7131 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 7132 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 7133 (eval $ac_link) 2>&5 7134 ac_status=$? 7135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7136 test $ac_status = 0; } && test -s conftest$ac_exeext; then 7137 pipe_works=yes 7138 fi 7139 LIBS=$lt_globsym_save_LIBS 7140 CFLAGS=$lt_globsym_save_CFLAGS 7141 else 7142 echo "cannot find nm_test_func in $nlist" >&5 7143 fi 7144 else 7145 echo "cannot find nm_test_var in $nlist" >&5 7146 fi 7147 else 7148 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 7149 fi 7150 else 7151 echo "$progname: failed program was:" >&5 7152 cat conftest.$ac_ext >&5 7153 fi 7154 rm -rf conftest* conftst* 7155 7156 # Do not use the global_symbol_pipe unless it works. 7157 if test yes = "$pipe_works"; then 7158 break 7159 else 7160 lt_cv_sys_global_symbol_pipe= 7161 fi 7162done 7163 7164fi 7165 7166if test -z "$lt_cv_sys_global_symbol_pipe"; then 7167 lt_cv_sys_global_symbol_to_cdecl= 7168fi 7169if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 7170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 7171$as_echo "failed" >&6; } 7172else 7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 7174$as_echo "ok" >&6; } 7175fi 7176 7177# Response file support. 7178if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7179 nm_file_list_spec='@' 7180elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 7181 nm_file_list_spec='@' 7182fi 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 7221$as_echo_n "checking for sysroot... " >&6; } 7222 7223@%:@ Check whether --with-sysroot was given. 7224if test "${with_sysroot+set}" = set; then : 7225 withval=$with_sysroot; 7226else 7227 with_sysroot=no 7228fi 7229 7230 7231lt_sysroot= 7232case $with_sysroot in #( 7233 yes) 7234 if test yes = "$GCC"; then 7235 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 7236 fi 7237 ;; #( 7238 /*) 7239 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 7240 ;; #( 7241 no|'') 7242 ;; #( 7243 *) 7244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 7245$as_echo "$with_sysroot" >&6; } 7246 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 7247 ;; 7248esac 7249 7250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 7251$as_echo "${lt_sysroot:-no}" >&6; } 7252 7253 7254 7255 7256 7257{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 7258$as_echo_n "checking for a working dd... " >&6; } 7259if ${ac_cv_path_lt_DD+:} false; then : 7260 $as_echo_n "(cached) " >&6 7261else 7262 printf 0123456789abcdef0123456789abcdef >conftest.i 7263cat conftest.i conftest.i >conftest2.i 7264: ${lt_DD:=$DD} 7265if test -z "$lt_DD"; then 7266 ac_path_lt_DD_found=false 7267 # Loop through the user's path and test for each of PROGNAME-LIST 7268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7269for as_dir in $PATH 7270do 7271 IFS=$as_save_IFS 7272 test -z "$as_dir" && as_dir=. 7273 for ac_prog in dd; do 7274 for ac_exec_ext in '' $ac_executable_extensions; do 7275 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 7276 as_fn_executable_p "$ac_path_lt_DD" || continue 7277if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 7278 cmp -s conftest.i conftest.out \ 7279 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 7280fi 7281 $ac_path_lt_DD_found && break 3 7282 done 7283 done 7284 done 7285IFS=$as_save_IFS 7286 if test -z "$ac_cv_path_lt_DD"; then 7287 : 7288 fi 7289else 7290 ac_cv_path_lt_DD=$lt_DD 7291fi 7292 7293rm -f conftest.i conftest2.i conftest.out 7294fi 7295{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 7296$as_echo "$ac_cv_path_lt_DD" >&6; } 7297 7298 7299{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 7300$as_echo_n "checking how to truncate binary pipes... " >&6; } 7301if ${lt_cv_truncate_bin+:} false; then : 7302 $as_echo_n "(cached) " >&6 7303else 7304 printf 0123456789abcdef0123456789abcdef >conftest.i 7305cat conftest.i conftest.i >conftest2.i 7306lt_cv_truncate_bin= 7307if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 7308 cmp -s conftest.i conftest.out \ 7309 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 7310fi 7311rm -f conftest.i conftest2.i conftest.out 7312test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 7313fi 7314{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 7315$as_echo "$lt_cv_truncate_bin" >&6; } 7316 7317 7318 7319 7320 7321 7322 7323# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 7324func_cc_basename () 7325{ 7326 for cc_temp in @S|@*""; do 7327 case $cc_temp in 7328 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7329 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7330 \-*) ;; 7331 *) break;; 7332 esac 7333 done 7334 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 7335} 7336 7337@%:@ Check whether --enable-libtool-lock was given. 7338if test "${enable_libtool_lock+set}" = set; then : 7339 enableval=$enable_libtool_lock; 7340fi 7341 7342test no = "$enable_libtool_lock" || enable_libtool_lock=yes 7343 7344# Some flags need to be propagated to the compiler or linker for good 7345# libtool support. 7346case $host in 7347ia64-*-hpux*) 7348 # Find out what ABI is being produced by ac_compile, and set mode 7349 # options accordingly. 7350 echo 'int i;' > conftest.$ac_ext 7351 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7352 (eval $ac_compile) 2>&5 7353 ac_status=$? 7354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7355 test $ac_status = 0; }; then 7356 case `/usr/bin/file conftest.$ac_objext` in 7357 *ELF-32*) 7358 HPUX_IA64_MODE=32 7359 ;; 7360 *ELF-64*) 7361 HPUX_IA64_MODE=64 7362 ;; 7363 esac 7364 fi 7365 rm -rf conftest* 7366 ;; 7367*-*-irix6*) 7368 # Find out what ABI is being produced by ac_compile, and set linker 7369 # options accordingly. 7370 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 7371 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7372 (eval $ac_compile) 2>&5 7373 ac_status=$? 7374 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7375 test $ac_status = 0; }; then 7376 if test yes = "$lt_cv_prog_gnu_ld"; then 7377 case `/usr/bin/file conftest.$ac_objext` in 7378 *32-bit*) 7379 LD="${LD-ld} -melf32bsmip" 7380 ;; 7381 *N32*) 7382 LD="${LD-ld} -melf32bmipn32" 7383 ;; 7384 *64-bit*) 7385 LD="${LD-ld} -melf64bmip" 7386 ;; 7387 esac 7388 else 7389 case `/usr/bin/file conftest.$ac_objext` in 7390 *32-bit*) 7391 LD="${LD-ld} -32" 7392 ;; 7393 *N32*) 7394 LD="${LD-ld} -n32" 7395 ;; 7396 *64-bit*) 7397 LD="${LD-ld} -64" 7398 ;; 7399 esac 7400 fi 7401 fi 7402 rm -rf conftest* 7403 ;; 7404 7405mips64*-*linux*) 7406 # Find out what ABI is being produced by ac_compile, and set linker 7407 # options accordingly. 7408 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 7409 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7410 (eval $ac_compile) 2>&5 7411 ac_status=$? 7412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7413 test $ac_status = 0; }; then 7414 emul=elf 7415 case `/usr/bin/file conftest.$ac_objext` in 7416 *32-bit*) 7417 emul="${emul}32" 7418 ;; 7419 *64-bit*) 7420 emul="${emul}64" 7421 ;; 7422 esac 7423 case `/usr/bin/file conftest.$ac_objext` in 7424 *MSB*) 7425 emul="${emul}btsmip" 7426 ;; 7427 *LSB*) 7428 emul="${emul}ltsmip" 7429 ;; 7430 esac 7431 case `/usr/bin/file conftest.$ac_objext` in 7432 *N32*) 7433 emul="${emul}n32" 7434 ;; 7435 esac 7436 LD="${LD-ld} -m $emul" 7437 fi 7438 rm -rf conftest* 7439 ;; 7440 7441x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 7442s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 7443 # Find out what ABI is being produced by ac_compile, and set linker 7444 # options accordingly. Note that the listed cases only cover the 7445 # situations where additional linker options are needed (such as when 7446 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 7447 # vice versa); the common cases where no linker options are needed do 7448 # not appear in the list. 7449 echo 'int i;' > conftest.$ac_ext 7450 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7451 (eval $ac_compile) 2>&5 7452 ac_status=$? 7453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7454 test $ac_status = 0; }; then 7455 case `/usr/bin/file conftest.o` in 7456 *32-bit*) 7457 case $host in 7458 x86_64-*kfreebsd*-gnu) 7459 LD="${LD-ld} -m elf_i386_fbsd" 7460 ;; 7461 x86_64-*linux*) 7462 case `/usr/bin/file conftest.o` in 7463 *x86-64*) 7464 LD="${LD-ld} -m elf32_x86_64" 7465 ;; 7466 *) 7467 LD="${LD-ld} -m elf_i386" 7468 ;; 7469 esac 7470 ;; 7471 powerpc64le-*linux*) 7472 LD="${LD-ld} -m elf32lppclinux" 7473 ;; 7474 powerpc64-*linux*) 7475 LD="${LD-ld} -m elf32ppclinux" 7476 ;; 7477 s390x-*linux*) 7478 LD="${LD-ld} -m elf_s390" 7479 ;; 7480 sparc64-*linux*) 7481 LD="${LD-ld} -m elf32_sparc" 7482 ;; 7483 esac 7484 ;; 7485 *64-bit*) 7486 case $host in 7487 x86_64-*kfreebsd*-gnu) 7488 LD="${LD-ld} -m elf_x86_64_fbsd" 7489 ;; 7490 x86_64-*linux*) 7491 LD="${LD-ld} -m elf_x86_64" 7492 ;; 7493 powerpcle-*linux*) 7494 LD="${LD-ld} -m elf64lppc" 7495 ;; 7496 powerpc-*linux*) 7497 LD="${LD-ld} -m elf64ppc" 7498 ;; 7499 s390*-*linux*|s390*-*tpf*) 7500 LD="${LD-ld} -m elf64_s390" 7501 ;; 7502 sparc*-*linux*) 7503 LD="${LD-ld} -m elf64_sparc" 7504 ;; 7505 esac 7506 ;; 7507 esac 7508 fi 7509 rm -rf conftest* 7510 ;; 7511 7512*-*-sco3.2v5*) 7513 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 7514 SAVE_CFLAGS=$CFLAGS 7515 CFLAGS="$CFLAGS -belf" 7516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 7517$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 7518if ${lt_cv_cc_needs_belf+:} false; then : 7519 $as_echo_n "(cached) " >&6 7520else 7521 ac_ext=c 7522ac_cpp='$CPP $CPPFLAGS' 7523ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7524ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7525ac_compiler_gnu=$ac_cv_c_compiler_gnu 7526 7527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7528/* end confdefs.h. */ 7529 7530int 7531main () 7532{ 7533 7534 ; 7535 return 0; 7536} 7537_ACEOF 7538if ac_fn_c_try_link "$LINENO"; then : 7539 lt_cv_cc_needs_belf=yes 7540else 7541 lt_cv_cc_needs_belf=no 7542fi 7543rm -f core conftest.err conftest.$ac_objext \ 7544 conftest$ac_exeext conftest.$ac_ext 7545 ac_ext=c 7546ac_cpp='$CPP $CPPFLAGS' 7547ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7548ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7549ac_compiler_gnu=$ac_cv_c_compiler_gnu 7550 7551fi 7552{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 7553$as_echo "$lt_cv_cc_needs_belf" >&6; } 7554 if test yes != "$lt_cv_cc_needs_belf"; then 7555 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 7556 CFLAGS=$SAVE_CFLAGS 7557 fi 7558 ;; 7559*-*solaris*) 7560 # Find out what ABI is being produced by ac_compile, and set linker 7561 # options accordingly. 7562 echo 'int i;' > conftest.$ac_ext 7563 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7564 (eval $ac_compile) 2>&5 7565 ac_status=$? 7566 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7567 test $ac_status = 0; }; then 7568 case `/usr/bin/file conftest.o` in 7569 *64-bit*) 7570 case $lt_cv_prog_gnu_ld in 7571 yes*) 7572 case $host in 7573 i?86-*-solaris*|x86_64-*-solaris*) 7574 LD="${LD-ld} -m elf_x86_64" 7575 ;; 7576 sparc*-*-solaris*) 7577 LD="${LD-ld} -m elf64_sparc" 7578 ;; 7579 esac 7580 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 7581 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 7582 LD=${LD-ld}_sol2 7583 fi 7584 ;; 7585 *) 7586 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 7587 LD="${LD-ld} -64" 7588 fi 7589 ;; 7590 esac 7591 ;; 7592 esac 7593 fi 7594 rm -rf conftest* 7595 ;; 7596esac 7597 7598need_locks=$enable_libtool_lock 7599 7600if test -n "$ac_tool_prefix"; then 7601 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 7602set dummy ${ac_tool_prefix}mt; ac_word=$2 7603{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7604$as_echo_n "checking for $ac_word... " >&6; } 7605if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 7606 $as_echo_n "(cached) " >&6 7607else 7608 if test -n "$MANIFEST_TOOL"; then 7609 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 7610else 7611as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7612for as_dir in $PATH 7613do 7614 IFS=$as_save_IFS 7615 test -z "$as_dir" && as_dir=. 7616 for ac_exec_ext in '' $ac_executable_extensions; do 7617 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7618 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 7619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7620 break 2 7621 fi 7622done 7623 done 7624IFS=$as_save_IFS 7625 7626fi 7627fi 7628MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 7629if test -n "$MANIFEST_TOOL"; then 7630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 7631$as_echo "$MANIFEST_TOOL" >&6; } 7632else 7633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7634$as_echo "no" >&6; } 7635fi 7636 7637 7638fi 7639if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 7640 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 7641 # Extract the first word of "mt", so it can be a program name with args. 7642set dummy mt; ac_word=$2 7643{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7644$as_echo_n "checking for $ac_word... " >&6; } 7645if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 7646 $as_echo_n "(cached) " >&6 7647else 7648 if test -n "$ac_ct_MANIFEST_TOOL"; then 7649 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 7650else 7651as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7652for as_dir in $PATH 7653do 7654 IFS=$as_save_IFS 7655 test -z "$as_dir" && as_dir=. 7656 for ac_exec_ext in '' $ac_executable_extensions; do 7657 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7658 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 7659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7660 break 2 7661 fi 7662done 7663 done 7664IFS=$as_save_IFS 7665 7666fi 7667fi 7668ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 7669if test -n "$ac_ct_MANIFEST_TOOL"; then 7670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 7671$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 7672else 7673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7674$as_echo "no" >&6; } 7675fi 7676 7677 if test "x$ac_ct_MANIFEST_TOOL" = x; then 7678 MANIFEST_TOOL=":" 7679 else 7680 case $cross_compiling:$ac_tool_warned in 7681yes:) 7682{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7683$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7684ac_tool_warned=yes ;; 7685esac 7686 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 7687 fi 7688else 7689 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 7690fi 7691 7692test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 7693{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 7694$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 7695if ${lt_cv_path_mainfest_tool+:} false; then : 7696 $as_echo_n "(cached) " >&6 7697else 7698 lt_cv_path_mainfest_tool=no 7699 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 7700 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 7701 cat conftest.err >&5 7702 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 7703 lt_cv_path_mainfest_tool=yes 7704 fi 7705 rm -f conftest* 7706fi 7707{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 7708$as_echo "$lt_cv_path_mainfest_tool" >&6; } 7709if test yes != "$lt_cv_path_mainfest_tool"; then 7710 MANIFEST_TOOL=: 7711fi 7712 7713 7714 7715 7716 7717 7718 case $host_os in 7719 rhapsody* | darwin*) 7720 if test -n "$ac_tool_prefix"; then 7721 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7722set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7723{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7724$as_echo_n "checking for $ac_word... " >&6; } 7725if ${ac_cv_prog_DSYMUTIL+:} false; then : 7726 $as_echo_n "(cached) " >&6 7727else 7728 if test -n "$DSYMUTIL"; then 7729 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7730else 7731as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7732for as_dir in $PATH 7733do 7734 IFS=$as_save_IFS 7735 test -z "$as_dir" && as_dir=. 7736 for ac_exec_ext in '' $ac_executable_extensions; do 7737 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7738 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7740 break 2 7741 fi 7742done 7743 done 7744IFS=$as_save_IFS 7745 7746fi 7747fi 7748DSYMUTIL=$ac_cv_prog_DSYMUTIL 7749if test -n "$DSYMUTIL"; then 7750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 7751$as_echo "$DSYMUTIL" >&6; } 7752else 7753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7754$as_echo "no" >&6; } 7755fi 7756 7757 7758fi 7759if test -z "$ac_cv_prog_DSYMUTIL"; then 7760 ac_ct_DSYMUTIL=$DSYMUTIL 7761 # Extract the first word of "dsymutil", so it can be a program name with args. 7762set dummy dsymutil; ac_word=$2 7763{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7764$as_echo_n "checking for $ac_word... " >&6; } 7765if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 7766 $as_echo_n "(cached) " >&6 7767else 7768 if test -n "$ac_ct_DSYMUTIL"; then 7769 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7770else 7771as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7772for as_dir in $PATH 7773do 7774 IFS=$as_save_IFS 7775 test -z "$as_dir" && as_dir=. 7776 for ac_exec_ext in '' $ac_executable_extensions; do 7777 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7778 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7780 break 2 7781 fi 7782done 7783 done 7784IFS=$as_save_IFS 7785 7786fi 7787fi 7788ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7789if test -n "$ac_ct_DSYMUTIL"; then 7790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 7791$as_echo "$ac_ct_DSYMUTIL" >&6; } 7792else 7793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7794$as_echo "no" >&6; } 7795fi 7796 7797 if test "x$ac_ct_DSYMUTIL" = x; then 7798 DSYMUTIL=":" 7799 else 7800 case $cross_compiling:$ac_tool_warned in 7801yes:) 7802{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7803$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7804ac_tool_warned=yes ;; 7805esac 7806 DSYMUTIL=$ac_ct_DSYMUTIL 7807 fi 7808else 7809 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7810fi 7811 7812 if test -n "$ac_tool_prefix"; then 7813 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7814set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7815{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7816$as_echo_n "checking for $ac_word... " >&6; } 7817if ${ac_cv_prog_NMEDIT+:} false; then : 7818 $as_echo_n "(cached) " >&6 7819else 7820 if test -n "$NMEDIT"; then 7821 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7822else 7823as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7824for as_dir in $PATH 7825do 7826 IFS=$as_save_IFS 7827 test -z "$as_dir" && as_dir=. 7828 for ac_exec_ext in '' $ac_executable_extensions; do 7829 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7830 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7832 break 2 7833 fi 7834done 7835 done 7836IFS=$as_save_IFS 7837 7838fi 7839fi 7840NMEDIT=$ac_cv_prog_NMEDIT 7841if test -n "$NMEDIT"; then 7842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 7843$as_echo "$NMEDIT" >&6; } 7844else 7845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7846$as_echo "no" >&6; } 7847fi 7848 7849 7850fi 7851if test -z "$ac_cv_prog_NMEDIT"; then 7852 ac_ct_NMEDIT=$NMEDIT 7853 # Extract the first word of "nmedit", so it can be a program name with args. 7854set dummy nmedit; ac_word=$2 7855{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7856$as_echo_n "checking for $ac_word... " >&6; } 7857if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 7858 $as_echo_n "(cached) " >&6 7859else 7860 if test -n "$ac_ct_NMEDIT"; then 7861 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7862else 7863as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7864for as_dir in $PATH 7865do 7866 IFS=$as_save_IFS 7867 test -z "$as_dir" && as_dir=. 7868 for ac_exec_ext in '' $ac_executable_extensions; do 7869 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7870 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7872 break 2 7873 fi 7874done 7875 done 7876IFS=$as_save_IFS 7877 7878fi 7879fi 7880ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7881if test -n "$ac_ct_NMEDIT"; then 7882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7883$as_echo "$ac_ct_NMEDIT" >&6; } 7884else 7885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7886$as_echo "no" >&6; } 7887fi 7888 7889 if test "x$ac_ct_NMEDIT" = x; then 7890 NMEDIT=":" 7891 else 7892 case $cross_compiling:$ac_tool_warned in 7893yes:) 7894{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7895$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7896ac_tool_warned=yes ;; 7897esac 7898 NMEDIT=$ac_ct_NMEDIT 7899 fi 7900else 7901 NMEDIT="$ac_cv_prog_NMEDIT" 7902fi 7903 7904 if test -n "$ac_tool_prefix"; then 7905 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7906set dummy ${ac_tool_prefix}lipo; ac_word=$2 7907{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7908$as_echo_n "checking for $ac_word... " >&6; } 7909if ${ac_cv_prog_LIPO+:} false; then : 7910 $as_echo_n "(cached) " >&6 7911else 7912 if test -n "$LIPO"; then 7913 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7914else 7915as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7916for as_dir in $PATH 7917do 7918 IFS=$as_save_IFS 7919 test -z "$as_dir" && as_dir=. 7920 for ac_exec_ext in '' $ac_executable_extensions; do 7921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7922 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7924 break 2 7925 fi 7926done 7927 done 7928IFS=$as_save_IFS 7929 7930fi 7931fi 7932LIPO=$ac_cv_prog_LIPO 7933if test -n "$LIPO"; then 7934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7935$as_echo "$LIPO" >&6; } 7936else 7937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7938$as_echo "no" >&6; } 7939fi 7940 7941 7942fi 7943if test -z "$ac_cv_prog_LIPO"; then 7944 ac_ct_LIPO=$LIPO 7945 # Extract the first word of "lipo", so it can be a program name with args. 7946set dummy lipo; ac_word=$2 7947{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7948$as_echo_n "checking for $ac_word... " >&6; } 7949if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 7950 $as_echo_n "(cached) " >&6 7951else 7952 if test -n "$ac_ct_LIPO"; then 7953 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7954else 7955as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7956for as_dir in $PATH 7957do 7958 IFS=$as_save_IFS 7959 test -z "$as_dir" && as_dir=. 7960 for ac_exec_ext in '' $ac_executable_extensions; do 7961 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7962 ac_cv_prog_ac_ct_LIPO="lipo" 7963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7964 break 2 7965 fi 7966done 7967 done 7968IFS=$as_save_IFS 7969 7970fi 7971fi 7972ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7973if test -n "$ac_ct_LIPO"; then 7974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7975$as_echo "$ac_ct_LIPO" >&6; } 7976else 7977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7978$as_echo "no" >&6; } 7979fi 7980 7981 if test "x$ac_ct_LIPO" = x; then 7982 LIPO=":" 7983 else 7984 case $cross_compiling:$ac_tool_warned in 7985yes:) 7986{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7987$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7988ac_tool_warned=yes ;; 7989esac 7990 LIPO=$ac_ct_LIPO 7991 fi 7992else 7993 LIPO="$ac_cv_prog_LIPO" 7994fi 7995 7996 if test -n "$ac_tool_prefix"; then 7997 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7998set dummy ${ac_tool_prefix}otool; ac_word=$2 7999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8000$as_echo_n "checking for $ac_word... " >&6; } 8001if ${ac_cv_prog_OTOOL+:} false; then : 8002 $as_echo_n "(cached) " >&6 8003else 8004 if test -n "$OTOOL"; then 8005 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 8006else 8007as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8008for as_dir in $PATH 8009do 8010 IFS=$as_save_IFS 8011 test -z "$as_dir" && as_dir=. 8012 for ac_exec_ext in '' $ac_executable_extensions; do 8013 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8014 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 8015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8016 break 2 8017 fi 8018done 8019 done 8020IFS=$as_save_IFS 8021 8022fi 8023fi 8024OTOOL=$ac_cv_prog_OTOOL 8025if test -n "$OTOOL"; then 8026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 8027$as_echo "$OTOOL" >&6; } 8028else 8029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8030$as_echo "no" >&6; } 8031fi 8032 8033 8034fi 8035if test -z "$ac_cv_prog_OTOOL"; then 8036 ac_ct_OTOOL=$OTOOL 8037 # Extract the first word of "otool", so it can be a program name with args. 8038set dummy otool; ac_word=$2 8039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8040$as_echo_n "checking for $ac_word... " >&6; } 8041if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 8042 $as_echo_n "(cached) " >&6 8043else 8044 if test -n "$ac_ct_OTOOL"; then 8045 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 8046else 8047as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8048for as_dir in $PATH 8049do 8050 IFS=$as_save_IFS 8051 test -z "$as_dir" && as_dir=. 8052 for ac_exec_ext in '' $ac_executable_extensions; do 8053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8054 ac_cv_prog_ac_ct_OTOOL="otool" 8055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8056 break 2 8057 fi 8058done 8059 done 8060IFS=$as_save_IFS 8061 8062fi 8063fi 8064ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 8065if test -n "$ac_ct_OTOOL"; then 8066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 8067$as_echo "$ac_ct_OTOOL" >&6; } 8068else 8069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8070$as_echo "no" >&6; } 8071fi 8072 8073 if test "x$ac_ct_OTOOL" = x; then 8074 OTOOL=":" 8075 else 8076 case $cross_compiling:$ac_tool_warned in 8077yes:) 8078{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8079$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8080ac_tool_warned=yes ;; 8081esac 8082 OTOOL=$ac_ct_OTOOL 8083 fi 8084else 8085 OTOOL="$ac_cv_prog_OTOOL" 8086fi 8087 8088 if test -n "$ac_tool_prefix"; then 8089 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 8090set dummy ${ac_tool_prefix}otool64; ac_word=$2 8091{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8092$as_echo_n "checking for $ac_word... " >&6; } 8093if ${ac_cv_prog_OTOOL64+:} false; then : 8094 $as_echo_n "(cached) " >&6 8095else 8096 if test -n "$OTOOL64"; then 8097 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 8098else 8099as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8100for as_dir in $PATH 8101do 8102 IFS=$as_save_IFS 8103 test -z "$as_dir" && as_dir=. 8104 for ac_exec_ext in '' $ac_executable_extensions; do 8105 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8106 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 8107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8108 break 2 8109 fi 8110done 8111 done 8112IFS=$as_save_IFS 8113 8114fi 8115fi 8116OTOOL64=$ac_cv_prog_OTOOL64 8117if test -n "$OTOOL64"; then 8118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 8119$as_echo "$OTOOL64" >&6; } 8120else 8121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8122$as_echo "no" >&6; } 8123fi 8124 8125 8126fi 8127if test -z "$ac_cv_prog_OTOOL64"; then 8128 ac_ct_OTOOL64=$OTOOL64 8129 # Extract the first word of "otool64", so it can be a program name with args. 8130set dummy otool64; ac_word=$2 8131{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8132$as_echo_n "checking for $ac_word... " >&6; } 8133if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 8134 $as_echo_n "(cached) " >&6 8135else 8136 if test -n "$ac_ct_OTOOL64"; then 8137 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 8138else 8139as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8140for as_dir in $PATH 8141do 8142 IFS=$as_save_IFS 8143 test -z "$as_dir" && as_dir=. 8144 for ac_exec_ext in '' $ac_executable_extensions; do 8145 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8146 ac_cv_prog_ac_ct_OTOOL64="otool64" 8147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8148 break 2 8149 fi 8150done 8151 done 8152IFS=$as_save_IFS 8153 8154fi 8155fi 8156ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 8157if test -n "$ac_ct_OTOOL64"; then 8158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 8159$as_echo "$ac_ct_OTOOL64" >&6; } 8160else 8161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8162$as_echo "no" >&6; } 8163fi 8164 8165 if test "x$ac_ct_OTOOL64" = x; then 8166 OTOOL64=":" 8167 else 8168 case $cross_compiling:$ac_tool_warned in 8169yes:) 8170{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8171$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8172ac_tool_warned=yes ;; 8173esac 8174 OTOOL64=$ac_ct_OTOOL64 8175 fi 8176else 8177 OTOOL64="$ac_cv_prog_OTOOL64" 8178fi 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 8207$as_echo_n "checking for -single_module linker flag... " >&6; } 8208if ${lt_cv_apple_cc_single_mod+:} false; then : 8209 $as_echo_n "(cached) " >&6 8210else 8211 lt_cv_apple_cc_single_mod=no 8212 if test -z "$LT_MULTI_MODULE"; then 8213 # By default we will add the -single_module flag. You can override 8214 # by either setting the environment variable LT_MULTI_MODULE 8215 # non-empty at configure time, or by adding -multi_module to the 8216 # link flags. 8217 rm -rf libconftest.dylib* 8218 echo "int foo(void){return 1;}" > conftest.c 8219 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8220-dynamiclib -Wl,-single_module conftest.c" >&5 8221 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8222 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 8223 _lt_result=$? 8224 # If there is a non-empty error log, and "single_module" 8225 # appears in it, assume the flag caused a linker warning 8226 if test -s conftest.err && $GREP single_module conftest.err; then 8227 cat conftest.err >&5 8228 # Otherwise, if the output was created with a 0 exit code from 8229 # the compiler, it worked. 8230 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 8231 lt_cv_apple_cc_single_mod=yes 8232 else 8233 cat conftest.err >&5 8234 fi 8235 rm -rf libconftest.dylib* 8236 rm -f conftest.* 8237 fi 8238fi 8239{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 8240$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 8241 8242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 8243$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 8244if ${lt_cv_ld_exported_symbols_list+:} false; then : 8245 $as_echo_n "(cached) " >&6 8246else 8247 lt_cv_ld_exported_symbols_list=no 8248 save_LDFLAGS=$LDFLAGS 8249 echo "_main" > conftest.sym 8250 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 8251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8252/* end confdefs.h. */ 8253 8254int 8255main () 8256{ 8257 8258 ; 8259 return 0; 8260} 8261_ACEOF 8262if ac_fn_c_try_link "$LINENO"; then : 8263 lt_cv_ld_exported_symbols_list=yes 8264else 8265 lt_cv_ld_exported_symbols_list=no 8266fi 8267rm -f core conftest.err conftest.$ac_objext \ 8268 conftest$ac_exeext conftest.$ac_ext 8269 LDFLAGS=$save_LDFLAGS 8270 8271fi 8272{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 8273$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 8274 8275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 8276$as_echo_n "checking for -force_load linker flag... " >&6; } 8277if ${lt_cv_ld_force_load+:} false; then : 8278 $as_echo_n "(cached) " >&6 8279else 8280 lt_cv_ld_force_load=no 8281 cat > conftest.c << _LT_EOF 8282int forced_loaded() { return 2;} 8283_LT_EOF 8284 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 8285 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 8286 echo "$AR cr libconftest.a conftest.o" >&5 8287 $AR cr libconftest.a conftest.o 2>&5 8288 echo "$RANLIB libconftest.a" >&5 8289 $RANLIB libconftest.a 2>&5 8290 cat > conftest.c << _LT_EOF 8291int main() { return 0;} 8292_LT_EOF 8293 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 8294 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 8295 _lt_result=$? 8296 if test -s conftest.err && $GREP force_load conftest.err; then 8297 cat conftest.err >&5 8298 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 8299 lt_cv_ld_force_load=yes 8300 else 8301 cat conftest.err >&5 8302 fi 8303 rm -f conftest.err libconftest.a conftest conftest.c 8304 rm -rf conftest.dSYM 8305 8306fi 8307{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 8308$as_echo "$lt_cv_ld_force_load" >&6; } 8309 case $host_os in 8310 rhapsody* | darwin1.[012]) 8311 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 8312 darwin1.*) 8313 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 8314 darwin*) # darwin 5.x on 8315 # if running on 10.5 or later, the deployment target defaults 8316 # to the OS version, if on x86, and 10.4, the deployment 8317 # target defaults to 10.4. Don't you love it? 8318 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 8319 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 8320 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 8321 10.[012][,.]*) 8322 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 8323 10.*) 8324 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 8325 esac 8326 ;; 8327 esac 8328 if test yes = "$lt_cv_apple_cc_single_mod"; then 8329 _lt_dar_single_mod='$single_module' 8330 fi 8331 if test yes = "$lt_cv_ld_exported_symbols_list"; then 8332 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 8333 else 8334 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 8335 fi 8336 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 8337 _lt_dsymutil='~$DSYMUTIL $lib || :' 8338 else 8339 _lt_dsymutil= 8340 fi 8341 ;; 8342 esac 8343 8344# func_munge_path_list VARIABLE PATH 8345# ----------------------------------- 8346# VARIABLE is name of variable containing _space_ separated list of 8347# directories to be munged by the contents of PATH, which is string 8348# having a format: 8349# "DIR[:DIR]:" 8350# string "DIR[ DIR]" will be prepended to VARIABLE 8351# ":DIR[:DIR]" 8352# string "DIR[ DIR]" will be appended to VARIABLE 8353# "DIRP[:DIRP]::[DIRA:]DIRA" 8354# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 8355# "DIRA[ DIRA]" will be appended to VARIABLE 8356# "DIR[:DIR]" 8357# VARIABLE will be replaced by "DIR[ DIR]" 8358func_munge_path_list () 8359{ 8360 case x@S|@2 in 8361 x) 8362 ;; 8363 *:) 8364 eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\" 8365 ;; 8366 x:*) 8367 eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\" 8368 ;; 8369 *::*) 8370 eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 8371 eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\" 8372 ;; 8373 *) 8374 eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\" 8375 ;; 8376 esac 8377} 8378 8379 8380{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 8381$as_echo_n "checking for ANSI C header files... " >&6; } 8382if ${ac_cv_header_stdc+:} false; then : 8383 $as_echo_n "(cached) " >&6 8384else 8385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8386/* end confdefs.h. */ 8387#include <stdlib.h> 8388#include <stdarg.h> 8389#include <string.h> 8390#include <float.h> 8391 8392int 8393main () 8394{ 8395 8396 ; 8397 return 0; 8398} 8399_ACEOF 8400if ac_fn_c_try_compile "$LINENO"; then : 8401 ac_cv_header_stdc=yes 8402else 8403 ac_cv_header_stdc=no 8404fi 8405rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8406 8407if test $ac_cv_header_stdc = yes; then 8408 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 8409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8410/* end confdefs.h. */ 8411#include <string.h> 8412 8413_ACEOF 8414if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8415 $EGREP "memchr" >/dev/null 2>&1; then : 8416 8417else 8418 ac_cv_header_stdc=no 8419fi 8420rm -f conftest* 8421 8422fi 8423 8424if test $ac_cv_header_stdc = yes; then 8425 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 8426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8427/* end confdefs.h. */ 8428#include <stdlib.h> 8429 8430_ACEOF 8431if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8432 $EGREP "free" >/dev/null 2>&1; then : 8433 8434else 8435 ac_cv_header_stdc=no 8436fi 8437rm -f conftest* 8438 8439fi 8440 8441if test $ac_cv_header_stdc = yes; then 8442 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 8443 if test "$cross_compiling" = yes; then : 8444 : 8445else 8446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8447/* end confdefs.h. */ 8448#include <ctype.h> 8449#include <stdlib.h> 8450#if ((' ' & 0x0FF) == 0x020) 8451# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 8452# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 8453#else 8454# define ISLOWER(c) \ 8455 (('a' <= (c) && (c) <= 'i') \ 8456 || ('j' <= (c) && (c) <= 'r') \ 8457 || ('s' <= (c) && (c) <= 'z')) 8458# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 8459#endif 8460 8461#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 8462int 8463main () 8464{ 8465 int i; 8466 for (i = 0; i < 256; i++) 8467 if (XOR (islower (i), ISLOWER (i)) 8468 || toupper (i) != TOUPPER (i)) 8469 return 2; 8470 return 0; 8471} 8472_ACEOF 8473if ac_fn_c_try_run "$LINENO"; then : 8474 8475else 8476 ac_cv_header_stdc=no 8477fi 8478rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 8479 conftest.$ac_objext conftest.beam conftest.$ac_ext 8480fi 8481 8482fi 8483fi 8484{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 8485$as_echo "$ac_cv_header_stdc" >&6; } 8486if test $ac_cv_header_stdc = yes; then 8487 8488$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h 8489 8490fi 8491 8492# On IRIX 5.3, sys/types and inttypes.h are conflicting. 8493for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 8494 inttypes.h stdint.h unistd.h 8495do : 8496 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8497ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 8498" 8499if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 8500 cat >>confdefs.h <<_ACEOF 8501@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8502_ACEOF 8503 8504fi 8505 8506done 8507 8508 8509for ac_header in dlfcn.h 8510do : 8511 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 8512" 8513if test "x$ac_cv_header_dlfcn_h" = xyes; then : 8514 cat >>confdefs.h <<_ACEOF 8515@%:@define HAVE_DLFCN_H 1 8516_ACEOF 8517 8518fi 8519 8520done 8521 8522 8523 8524 8525func_stripname_cnf () 8526{ 8527 case @S|@2 in 8528 .*) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%\\\\@S|@2\$%%"`;; 8529 *) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%@S|@2\$%%"`;; 8530 esac 8531} # func_stripname_cnf 8532 8533 8534 8535 8536 8537# Set options 8538 8539 8540 8541 enable_dlopen=no 8542 8543 8544 8545 @%:@ Check whether --enable-shared was given. 8546if test "${enable_shared+set}" = set; then : 8547 enableval=$enable_shared; p=${PACKAGE-default} 8548 case $enableval in 8549 yes) enable_shared=yes ;; 8550 no) enable_shared=no ;; 8551 *) 8552 enable_shared=no 8553 # Look at the argument we got. We use all the common list separators. 8554 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8555 for pkg in $enableval; do 8556 IFS=$lt_save_ifs 8557 if test "X$pkg" = "X$p"; then 8558 enable_shared=yes 8559 fi 8560 done 8561 IFS=$lt_save_ifs 8562 ;; 8563 esac 8564else 8565 enable_shared=yes 8566fi 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578@%:@ Check whether --with-pic was given. 8579if test "${with_pic+set}" = set; then : 8580 withval=$with_pic; lt_p=${PACKAGE-default} 8581 case $withval in 8582 yes|no) pic_mode=$withval ;; 8583 *) 8584 pic_mode=default 8585 # Look at the argument we got. We use all the common list separators. 8586 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8587 for lt_pkg in $withval; do 8588 IFS=$lt_save_ifs 8589 if test "X$lt_pkg" = "X$lt_p"; then 8590 pic_mode=yes 8591 fi 8592 done 8593 IFS=$lt_save_ifs 8594 ;; 8595 esac 8596else 8597 pic_mode=default 8598fi 8599 8600 8601 8602 8603 8604 8605 8606 8607 @%:@ Check whether --enable-fast-install was given. 8608if test "${enable_fast_install+set}" = set; then : 8609 enableval=$enable_fast_install; p=${PACKAGE-default} 8610 case $enableval in 8611 yes) enable_fast_install=yes ;; 8612 no) enable_fast_install=no ;; 8613 *) 8614 enable_fast_install=no 8615 # Look at the argument we got. We use all the common list separators. 8616 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8617 for pkg in $enableval; do 8618 IFS=$lt_save_ifs 8619 if test "X$pkg" = "X$p"; then 8620 enable_fast_install=yes 8621 fi 8622 done 8623 IFS=$lt_save_ifs 8624 ;; 8625 esac 8626else 8627 enable_fast_install=yes 8628fi 8629 8630 8631 8632 8633 8634 8635 8636 8637 shared_archive_member_spec= 8638case $host,$enable_shared in 8639power*-*-aix[5-9]*,yes) 8640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 8641$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 8642 8643@%:@ Check whether --with-aix-soname was given. 8644if test "${with_aix_soname+set}" = set; then : 8645 withval=$with_aix_soname; case $withval in 8646 aix|svr4|both) 8647 ;; 8648 *) 8649 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 8650 ;; 8651 esac 8652 lt_cv_with_aix_soname=$with_aix_soname 8653else 8654 if ${lt_cv_with_aix_soname+:} false; then : 8655 $as_echo_n "(cached) " >&6 8656else 8657 lt_cv_with_aix_soname=aix 8658fi 8659 8660 with_aix_soname=$lt_cv_with_aix_soname 8661fi 8662 8663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 8664$as_echo "$with_aix_soname" >&6; } 8665 if test aix != "$with_aix_soname"; then 8666 # For the AIX way of multilib, we name the shared archive member 8667 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 8668 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 8669 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 8670 # the AIX toolchain works better with OBJECT_MODE set (default 32). 8671 if test 64 = "${OBJECT_MODE-32}"; then 8672 shared_archive_member_spec=shr_64 8673 else 8674 shared_archive_member_spec=shr 8675 fi 8676 fi 8677 ;; 8678*) 8679 with_aix_soname=aix 8680 ;; 8681esac 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692# This can be used to rebuild libtool when needed 8693LIBTOOL_DEPS=$ltmain 8694 8695# Always use our own libtool. 8696LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727test -z "$LN_S" && LN_S="ln -s" 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742if test -n "${ZSH_VERSION+set}"; then 8743 setopt NO_GLOB_SUBST 8744fi 8745 8746{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8747$as_echo_n "checking for objdir... " >&6; } 8748if ${lt_cv_objdir+:} false; then : 8749 $as_echo_n "(cached) " >&6 8750else 8751 rm -f .libs 2>/dev/null 8752mkdir .libs 2>/dev/null 8753if test -d .libs; then 8754 lt_cv_objdir=.libs 8755else 8756 # MS-DOS does not allow filenames that begin with a dot. 8757 lt_cv_objdir=_libs 8758fi 8759rmdir .libs 2>/dev/null 8760fi 8761{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 8762$as_echo "$lt_cv_objdir" >&6; } 8763objdir=$lt_cv_objdir 8764 8765 8766 8767 8768 8769cat >>confdefs.h <<_ACEOF 8770@%:@define LT_OBJDIR "$lt_cv_objdir/" 8771_ACEOF 8772 8773 8774 8775 8776case $host_os in 8777aix3*) 8778 # AIX sometimes has problems with the GCC collect2 program. For some 8779 # reason, if we set the COLLECT_NAMES environment variable, the problems 8780 # vanish in a puff of smoke. 8781 if test set != "${COLLECT_NAMES+set}"; then 8782 COLLECT_NAMES= 8783 export COLLECT_NAMES 8784 fi 8785 ;; 8786esac 8787 8788# Global variables: 8789ofile=libtool 8790can_build_shared=yes 8791 8792# All known linkers require a '.a' archive for static linking (except MSVC, 8793# which needs '.lib'). 8794libext=a 8795 8796with_gnu_ld=$lt_cv_prog_gnu_ld 8797 8798old_CC=$CC 8799old_CFLAGS=$CFLAGS 8800 8801# Set sane defaults for various variables 8802test -z "$CC" && CC=cc 8803test -z "$LTCC" && LTCC=$CC 8804test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 8805test -z "$LD" && LD=ld 8806test -z "$ac_objext" && ac_objext=o 8807 8808func_cc_basename $compiler 8809cc_basename=$func_cc_basename_result 8810 8811 8812# Only perform the check for file, if the check method requires it 8813test -z "$MAGIC_CMD" && MAGIC_CMD=file 8814case $deplibs_check_method in 8815file_magic*) 8816 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8818$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8819if ${lt_cv_path_MAGIC_CMD+:} false; then : 8820 $as_echo_n "(cached) " >&6 8821else 8822 case $MAGIC_CMD in 8823[\\/*] | ?:[\\/]*) 8824 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8825 ;; 8826*) 8827 lt_save_MAGIC_CMD=$MAGIC_CMD 8828 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8829 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8830 for ac_dir in $ac_dummy; do 8831 IFS=$lt_save_ifs 8832 test -z "$ac_dir" && ac_dir=. 8833 if test -f "$ac_dir/${ac_tool_prefix}file"; then 8834 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 8835 if test -n "$file_magic_test_file"; then 8836 case $deplibs_check_method in 8837 "file_magic "*) 8838 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8839 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8840 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8841 $EGREP "$file_magic_regex" > /dev/null; then 8842 : 8843 else 8844 cat <<_LT_EOF 1>&2 8845 8846*** Warning: the command libtool uses to detect shared libraries, 8847*** $file_magic_cmd, produces output that libtool cannot recognize. 8848*** The result is that libtool may fail to recognize shared libraries 8849*** as such. This will affect the creation of libtool libraries that 8850*** depend on shared libraries, but programs linked with such libtool 8851*** libraries will work regardless of this problem. Nevertheless, you 8852*** may want to report the problem to your system manager and/or to 8853*** bug-libtool@gnu.org 8854 8855_LT_EOF 8856 fi ;; 8857 esac 8858 fi 8859 break 8860 fi 8861 done 8862 IFS=$lt_save_ifs 8863 MAGIC_CMD=$lt_save_MAGIC_CMD 8864 ;; 8865esac 8866fi 8867 8868MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8869if test -n "$MAGIC_CMD"; then 8870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8871$as_echo "$MAGIC_CMD" >&6; } 8872else 8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8874$as_echo "no" >&6; } 8875fi 8876 8877 8878 8879 8880 8881if test -z "$lt_cv_path_MAGIC_CMD"; then 8882 if test -n "$ac_tool_prefix"; then 8883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8884$as_echo_n "checking for file... " >&6; } 8885if ${lt_cv_path_MAGIC_CMD+:} false; then : 8886 $as_echo_n "(cached) " >&6 8887else 8888 case $MAGIC_CMD in 8889[\\/*] | ?:[\\/]*) 8890 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8891 ;; 8892*) 8893 lt_save_MAGIC_CMD=$MAGIC_CMD 8894 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8895 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8896 for ac_dir in $ac_dummy; do 8897 IFS=$lt_save_ifs 8898 test -z "$ac_dir" && ac_dir=. 8899 if test -f "$ac_dir/file"; then 8900 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 8901 if test -n "$file_magic_test_file"; then 8902 case $deplibs_check_method in 8903 "file_magic "*) 8904 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8905 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8906 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8907 $EGREP "$file_magic_regex" > /dev/null; then 8908 : 8909 else 8910 cat <<_LT_EOF 1>&2 8911 8912*** Warning: the command libtool uses to detect shared libraries, 8913*** $file_magic_cmd, produces output that libtool cannot recognize. 8914*** The result is that libtool may fail to recognize shared libraries 8915*** as such. This will affect the creation of libtool libraries that 8916*** depend on shared libraries, but programs linked with such libtool 8917*** libraries will work regardless of this problem. Nevertheless, you 8918*** may want to report the problem to your system manager and/or to 8919*** bug-libtool@gnu.org 8920 8921_LT_EOF 8922 fi ;; 8923 esac 8924 fi 8925 break 8926 fi 8927 done 8928 IFS=$lt_save_ifs 8929 MAGIC_CMD=$lt_save_MAGIC_CMD 8930 ;; 8931esac 8932fi 8933 8934MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8935if test -n "$MAGIC_CMD"; then 8936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8937$as_echo "$MAGIC_CMD" >&6; } 8938else 8939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8940$as_echo "no" >&6; } 8941fi 8942 8943 8944 else 8945 MAGIC_CMD=: 8946 fi 8947fi 8948 8949 fi 8950 ;; 8951esac 8952 8953# Use C for the default configuration in the libtool script 8954 8955lt_save_CC=$CC 8956ac_ext=c 8957ac_cpp='$CPP $CPPFLAGS' 8958ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8959ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8960ac_compiler_gnu=$ac_cv_c_compiler_gnu 8961 8962 8963# Source file extension for C test sources. 8964ac_ext=c 8965 8966# Object file extension for compiled C test sources. 8967objext=o 8968objext=$objext 8969 8970# Code to be used in simple compile tests 8971lt_simple_compile_test_code="int some_variable = 0;" 8972 8973# Code to be used in simple link tests 8974lt_simple_link_test_code='int main(){return(0);}' 8975 8976 8977 8978 8979 8980 8981 8982# If no C compiler was specified, use CC. 8983LTCC=${LTCC-"$CC"} 8984 8985# If no C compiler flags were specified, use CFLAGS. 8986LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8987 8988# Allow CC to be a program name with arguments. 8989compiler=$CC 8990 8991# Save the default compiler, since it gets overwritten when the other 8992# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8993compiler_DEFAULT=$CC 8994 8995# save warnings/boilerplate of simple test code 8996ac_outfile=conftest.$ac_objext 8997echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8998eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8999_lt_compiler_boilerplate=`cat conftest.err` 9000$RM conftest* 9001 9002ac_outfile=conftest.$ac_objext 9003echo "$lt_simple_link_test_code" >conftest.$ac_ext 9004eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9005_lt_linker_boilerplate=`cat conftest.err` 9006$RM -r conftest* 9007 9008 9009## CAVEAT EMPTOR: 9010## There is no encapsulation within the following macros, do not change 9011## the running order or otherwise move them around unless you know exactly 9012## what you are doing... 9013if test -n "$compiler"; then 9014 9015lt_prog_compiler_no_builtin_flag= 9016 9017if test yes = "$GCC"; then 9018 case $cc_basename in 9019 nvcc*) 9020 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 9021 *) 9022 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 9023 esac 9024 9025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 9026$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 9027if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 9028 $as_echo_n "(cached) " >&6 9029else 9030 lt_cv_prog_compiler_rtti_exceptions=no 9031 ac_outfile=conftest.$ac_objext 9032 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9033 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 9034 # Insert the option either (1) after the last *FLAGS variable, or 9035 # (2) before a word containing "conftest.", or (3) at the end. 9036 # Note that $ac_compile itself does not contain backslashes and begins 9037 # with a dollar sign (not a hyphen), so the echo should work correctly. 9038 # The option is referenced via a variable to avoid confusing sed. 9039 lt_compile=`echo "$ac_compile" | $SED \ 9040 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9041 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9042 -e 's:$: $lt_compiler_flag:'` 9043 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9044 (eval "$lt_compile" 2>conftest.err) 9045 ac_status=$? 9046 cat conftest.err >&5 9047 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9048 if (exit $ac_status) && test -s "$ac_outfile"; then 9049 # The compiler can only warn and ignore the option if not recognized 9050 # So say no if there are warnings other than the usual output. 9051 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9052 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9053 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9054 lt_cv_prog_compiler_rtti_exceptions=yes 9055 fi 9056 fi 9057 $RM conftest* 9058 9059fi 9060{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 9061$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 9062 9063if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 9064 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 9065else 9066 : 9067fi 9068 9069fi 9070 9071 9072 9073 9074 9075 9076 lt_prog_compiler_wl= 9077lt_prog_compiler_pic= 9078lt_prog_compiler_static= 9079 9080 9081 if test yes = "$GCC"; then 9082 lt_prog_compiler_wl='-Wl,' 9083 lt_prog_compiler_static='-static' 9084 9085 case $host_os in 9086 aix*) 9087 # All AIX code is PIC. 9088 if test ia64 = "$host_cpu"; then 9089 # AIX 5 now supports IA64 processor 9090 lt_prog_compiler_static='-Bstatic' 9091 fi 9092 lt_prog_compiler_pic='-fPIC' 9093 ;; 9094 9095 amigaos*) 9096 case $host_cpu in 9097 powerpc) 9098 # see comment about AmigaOS4 .so support 9099 lt_prog_compiler_pic='-fPIC' 9100 ;; 9101 m68k) 9102 # FIXME: we need at least 68020 code to build shared libraries, but 9103 # adding the '-m68020' flag to GCC prevents building anything better, 9104 # like '-m68040'. 9105 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 9106 ;; 9107 esac 9108 ;; 9109 9110 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 9111 # PIC is the default for these OSes. 9112 ;; 9113 9114 mingw* | cygwin* | pw32* | os2* | cegcc*) 9115 # This hack is so that the source file can tell whether it is being 9116 # built for inclusion in a dll (and should export symbols for example). 9117 # Although the cygwin gcc ignores -fPIC, still need this for old-style 9118 # (--disable-auto-import) libraries 9119 lt_prog_compiler_pic='-DDLL_EXPORT' 9120 case $host_os in 9121 os2*) 9122 lt_prog_compiler_static='$wl-static' 9123 ;; 9124 esac 9125 ;; 9126 9127 darwin* | rhapsody*) 9128 # PIC is the default on this platform 9129 # Common symbols not allowed in MH_DYLIB files 9130 lt_prog_compiler_pic='-fno-common' 9131 ;; 9132 9133 haiku*) 9134 # PIC is the default for Haiku. 9135 # The "-static" flag exists, but is broken. 9136 lt_prog_compiler_static= 9137 ;; 9138 9139 hpux*) 9140 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 9141 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 9142 # sets the default TLS model and affects inlining. 9143 case $host_cpu in 9144 hppa*64*) 9145 # +Z the default 9146 ;; 9147 *) 9148 lt_prog_compiler_pic='-fPIC' 9149 ;; 9150 esac 9151 ;; 9152 9153 interix[3-9]*) 9154 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 9155 # Instead, we relocate shared libraries at runtime. 9156 ;; 9157 9158 msdosdjgpp*) 9159 # Just because we use GCC doesn't mean we suddenly get shared libraries 9160 # on systems that don't support them. 9161 lt_prog_compiler_can_build_shared=no 9162 enable_shared=no 9163 ;; 9164 9165 *nto* | *qnx*) 9166 # QNX uses GNU C++, but need to define -shared option too, otherwise 9167 # it will coredump. 9168 lt_prog_compiler_pic='-fPIC -shared' 9169 ;; 9170 9171 sysv4*MP*) 9172 if test -d /usr/nec; then 9173 lt_prog_compiler_pic=-Kconform_pic 9174 fi 9175 ;; 9176 9177 *) 9178 lt_prog_compiler_pic='-fPIC' 9179 ;; 9180 esac 9181 9182 case $cc_basename in 9183 nvcc*) # Cuda Compiler Driver 2.2 9184 lt_prog_compiler_wl='-Xlinker ' 9185 if test -n "$lt_prog_compiler_pic"; then 9186 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 9187 fi 9188 ;; 9189 esac 9190 else 9191 # PORTME Check for flag to pass linker flags through the system compiler. 9192 case $host_os in 9193 aix*) 9194 lt_prog_compiler_wl='-Wl,' 9195 if test ia64 = "$host_cpu"; then 9196 # AIX 5 now supports IA64 processor 9197 lt_prog_compiler_static='-Bstatic' 9198 else 9199 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 9200 fi 9201 ;; 9202 9203 darwin* | rhapsody*) 9204 # PIC is the default on this platform 9205 # Common symbols not allowed in MH_DYLIB files 9206 lt_prog_compiler_pic='-fno-common' 9207 case $cc_basename in 9208 nagfor*) 9209 # NAG Fortran compiler 9210 lt_prog_compiler_wl='-Wl,-Wl,,' 9211 lt_prog_compiler_pic='-PIC' 9212 lt_prog_compiler_static='-Bstatic' 9213 ;; 9214 esac 9215 ;; 9216 9217 mingw* | cygwin* | pw32* | os2* | cegcc*) 9218 # This hack is so that the source file can tell whether it is being 9219 # built for inclusion in a dll (and should export symbols for example). 9220 lt_prog_compiler_pic='-DDLL_EXPORT' 9221 case $host_os in 9222 os2*) 9223 lt_prog_compiler_static='$wl-static' 9224 ;; 9225 esac 9226 ;; 9227 9228 hpux9* | hpux10* | hpux11*) 9229 lt_prog_compiler_wl='-Wl,' 9230 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 9231 # not for PA HP-UX. 9232 case $host_cpu in 9233 hppa*64*|ia64*) 9234 # +Z the default 9235 ;; 9236 *) 9237 lt_prog_compiler_pic='+Z' 9238 ;; 9239 esac 9240 # Is there a better lt_prog_compiler_static that works with the bundled CC? 9241 lt_prog_compiler_static='$wl-a ${wl}archive' 9242 ;; 9243 9244 irix5* | irix6* | nonstopux*) 9245 lt_prog_compiler_wl='-Wl,' 9246 # PIC (with -KPIC) is the default. 9247 lt_prog_compiler_static='-non_shared' 9248 ;; 9249 9250 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 9251 case $cc_basename in 9252 # old Intel for x86_64, which still supported -KPIC. 9253 ecc*) 9254 lt_prog_compiler_wl='-Wl,' 9255 lt_prog_compiler_pic='-KPIC' 9256 lt_prog_compiler_static='-static' 9257 ;; 9258 # flang / f18. f95 an alias for gfortran or flang on Debian 9259 flang* | f18* | f95*) 9260 lt_prog_compiler_wl='-Wl,' 9261 lt_prog_compiler_pic='-fPIC' 9262 lt_prog_compiler_static='-static' 9263 ;; 9264 # icc used to be incompatible with GCC. 9265 # ICC 10 doesn't accept -KPIC any more. 9266 icc* | ifort*) 9267 lt_prog_compiler_wl='-Wl,' 9268 lt_prog_compiler_pic='-fPIC' 9269 lt_prog_compiler_static='-static' 9270 ;; 9271 # Lahey Fortran 8.1. 9272 lf95*) 9273 lt_prog_compiler_wl='-Wl,' 9274 lt_prog_compiler_pic='--shared' 9275 lt_prog_compiler_static='--static' 9276 ;; 9277 nagfor*) 9278 # NAG Fortran compiler 9279 lt_prog_compiler_wl='-Wl,-Wl,,' 9280 lt_prog_compiler_pic='-PIC' 9281 lt_prog_compiler_static='-Bstatic' 9282 ;; 9283 tcc*) 9284 # Fabrice Bellard et al's Tiny C Compiler 9285 lt_prog_compiler_wl='-Wl,' 9286 lt_prog_compiler_pic='-fPIC' 9287 lt_prog_compiler_static='-static' 9288 ;; 9289 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 9290 # Portland Group compilers (*not* the Pentium gcc compiler, 9291 # which looks to be a dead project) 9292 lt_prog_compiler_wl='-Wl,' 9293 lt_prog_compiler_pic='-fpic' 9294 lt_prog_compiler_static='-Bstatic' 9295 ;; 9296 ccc*) 9297 lt_prog_compiler_wl='-Wl,' 9298 # All Alpha code is PIC. 9299 lt_prog_compiler_static='-non_shared' 9300 ;; 9301 xl* | bgxl* | bgf* | mpixl*) 9302 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 9303 lt_prog_compiler_wl='-Wl,' 9304 lt_prog_compiler_pic='-qpic' 9305 lt_prog_compiler_static='-qstaticlink' 9306 ;; 9307 *) 9308 case `$CC -V 2>&1 | sed 5q` in 9309 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 9310 # Sun Fortran 8.3 passes all unrecognized flags to the linker 9311 lt_prog_compiler_pic='-KPIC' 9312 lt_prog_compiler_static='-Bstatic' 9313 lt_prog_compiler_wl='' 9314 ;; 9315 *Sun\ F* | *Sun*Fortran*) 9316 lt_prog_compiler_pic='-KPIC' 9317 lt_prog_compiler_static='-Bstatic' 9318 lt_prog_compiler_wl='-Qoption ld ' 9319 ;; 9320 *Sun\ C*) 9321 # Sun C 5.9 9322 lt_prog_compiler_pic='-KPIC' 9323 lt_prog_compiler_static='-Bstatic' 9324 lt_prog_compiler_wl='-Wl,' 9325 ;; 9326 *Intel*\ [CF]*Compiler*) 9327 lt_prog_compiler_wl='-Wl,' 9328 lt_prog_compiler_pic='-fPIC' 9329 lt_prog_compiler_static='-static' 9330 ;; 9331 *Portland\ Group*) 9332 lt_prog_compiler_wl='-Wl,' 9333 lt_prog_compiler_pic='-fpic' 9334 lt_prog_compiler_static='-Bstatic' 9335 ;; 9336 esac 9337 ;; 9338 esac 9339 ;; 9340 9341 newsos6) 9342 lt_prog_compiler_pic='-KPIC' 9343 lt_prog_compiler_static='-Bstatic' 9344 ;; 9345 9346 *nto* | *qnx*) 9347 # QNX uses GNU C++, but need to define -shared option too, otherwise 9348 # it will coredump. 9349 lt_prog_compiler_pic='-fPIC -shared' 9350 ;; 9351 9352 osf3* | osf4* | osf5*) 9353 lt_prog_compiler_wl='-Wl,' 9354 # All OSF/1 code is PIC. 9355 lt_prog_compiler_static='-non_shared' 9356 ;; 9357 9358 rdos*) 9359 lt_prog_compiler_static='-non_shared' 9360 ;; 9361 9362 solaris*) 9363 lt_prog_compiler_pic='-KPIC' 9364 lt_prog_compiler_static='-Bstatic' 9365 case $cc_basename in 9366 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 9367 lt_prog_compiler_wl='-Qoption ld ';; 9368 *) 9369 lt_prog_compiler_wl='-Wl,';; 9370 esac 9371 ;; 9372 9373 sunos4*) 9374 lt_prog_compiler_wl='-Qoption ld ' 9375 lt_prog_compiler_pic='-PIC' 9376 lt_prog_compiler_static='-Bstatic' 9377 ;; 9378 9379 sysv4 | sysv4.2uw2* | sysv4.3*) 9380 lt_prog_compiler_wl='-Wl,' 9381 lt_prog_compiler_pic='-KPIC' 9382 lt_prog_compiler_static='-Bstatic' 9383 ;; 9384 9385 sysv4*MP*) 9386 if test -d /usr/nec; then 9387 lt_prog_compiler_pic='-Kconform_pic' 9388 lt_prog_compiler_static='-Bstatic' 9389 fi 9390 ;; 9391 9392 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 9393 lt_prog_compiler_wl='-Wl,' 9394 lt_prog_compiler_pic='-KPIC' 9395 lt_prog_compiler_static='-Bstatic' 9396 ;; 9397 9398 unicos*) 9399 lt_prog_compiler_wl='-Wl,' 9400 lt_prog_compiler_can_build_shared=no 9401 ;; 9402 9403 uts4*) 9404 lt_prog_compiler_pic='-pic' 9405 lt_prog_compiler_static='-Bstatic' 9406 ;; 9407 9408 *) 9409 lt_prog_compiler_can_build_shared=no 9410 ;; 9411 esac 9412 fi 9413 9414case $host_os in 9415 # For platforms that do not support PIC, -DPIC is meaningless: 9416 *djgpp*) 9417 lt_prog_compiler_pic= 9418 ;; 9419 *) 9420 lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC" 9421 ;; 9422esac 9423 9424{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 9425$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 9426if ${lt_cv_prog_compiler_pic+:} false; then : 9427 $as_echo_n "(cached) " >&6 9428else 9429 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 9430fi 9431{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 9432$as_echo "$lt_cv_prog_compiler_pic" >&6; } 9433lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 9434 9435# 9436# Check to make sure the PIC flag actually works. 9437# 9438if test -n "$lt_prog_compiler_pic"; then 9439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 9440$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 9441if ${lt_cv_prog_compiler_pic_works+:} false; then : 9442 $as_echo_n "(cached) " >&6 9443else 9444 lt_cv_prog_compiler_pic_works=no 9445 ac_outfile=conftest.$ac_objext 9446 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9447 lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC" ## exclude from sc_useless_quotes_in_assignment 9448 # Insert the option either (1) after the last *FLAGS variable, or 9449 # (2) before a word containing "conftest.", or (3) at the end. 9450 # Note that $ac_compile itself does not contain backslashes and begins 9451 # with a dollar sign (not a hyphen), so the echo should work correctly. 9452 # The option is referenced via a variable to avoid confusing sed. 9453 lt_compile=`echo "$ac_compile" | $SED \ 9454 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9455 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9456 -e 's:$: $lt_compiler_flag:'` 9457 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9458 (eval "$lt_compile" 2>conftest.err) 9459 ac_status=$? 9460 cat conftest.err >&5 9461 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9462 if (exit $ac_status) && test -s "$ac_outfile"; then 9463 # The compiler can only warn and ignore the option if not recognized 9464 # So say no if there are warnings other than the usual output. 9465 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9466 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9467 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9468 lt_cv_prog_compiler_pic_works=yes 9469 fi 9470 fi 9471 $RM conftest* 9472 9473fi 9474{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 9475$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 9476 9477if test yes = "$lt_cv_prog_compiler_pic_works"; then 9478 case $lt_prog_compiler_pic in 9479 "" | " "*) ;; 9480 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 9481 esac 9482else 9483 lt_prog_compiler_pic= 9484 lt_prog_compiler_can_build_shared=no 9485fi 9486 9487fi 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499# 9500# Check to make sure the static flag actually works. 9501# 9502wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 9503{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 9504$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 9505if ${lt_cv_prog_compiler_static_works+:} false; then : 9506 $as_echo_n "(cached) " >&6 9507else 9508 lt_cv_prog_compiler_static_works=no 9509 save_LDFLAGS=$LDFLAGS 9510 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 9511 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9512 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9513 # The linker can only warn and ignore the option if not recognized 9514 # So say no if there are warnings 9515 if test -s conftest.err; then 9516 # Append any errors to the config.log. 9517 cat conftest.err 1>&5 9518 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9519 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9520 if diff conftest.exp conftest.er2 >/dev/null; then 9521 lt_cv_prog_compiler_static_works=yes 9522 fi 9523 else 9524 lt_cv_prog_compiler_static_works=yes 9525 fi 9526 fi 9527 $RM -r conftest* 9528 LDFLAGS=$save_LDFLAGS 9529 9530fi 9531{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 9532$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 9533 9534if test yes = "$lt_cv_prog_compiler_static_works"; then 9535 : 9536else 9537 lt_prog_compiler_static= 9538fi 9539 9540 9541 9542 9543 9544 9545 9546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9547$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9548if ${lt_cv_prog_compiler_c_o+:} false; then : 9549 $as_echo_n "(cached) " >&6 9550else 9551 lt_cv_prog_compiler_c_o=no 9552 $RM -r conftest 2>/dev/null 9553 mkdir conftest 9554 cd conftest 9555 mkdir out 9556 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9557 9558 lt_compiler_flag="-o out/conftest2.$ac_objext" 9559 # Insert the option either (1) after the last *FLAGS variable, or 9560 # (2) before a word containing "conftest.", or (3) at the end. 9561 # Note that $ac_compile itself does not contain backslashes and begins 9562 # with a dollar sign (not a hyphen), so the echo should work correctly. 9563 lt_compile=`echo "$ac_compile" | $SED \ 9564 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9565 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9566 -e 's:$: $lt_compiler_flag:'` 9567 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9568 (eval "$lt_compile" 2>out/conftest.err) 9569 ac_status=$? 9570 cat out/conftest.err >&5 9571 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9572 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9573 then 9574 # The compiler can only warn and ignore the option if not recognized 9575 # So say no if there are warnings 9576 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9577 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9578 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9579 lt_cv_prog_compiler_c_o=yes 9580 fi 9581 fi 9582 chmod u+w . 2>&5 9583 $RM conftest* 9584 # SGI C++ compiler will create directory out/ii_files/ for 9585 # template instantiation 9586 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9587 $RM out/* && rmdir out 9588 cd .. 9589 $RM -r conftest 9590 $RM conftest* 9591 9592fi 9593{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9594$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9595 9596 9597 9598 9599 9600 9601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9602$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9603if ${lt_cv_prog_compiler_c_o+:} false; then : 9604 $as_echo_n "(cached) " >&6 9605else 9606 lt_cv_prog_compiler_c_o=no 9607 $RM -r conftest 2>/dev/null 9608 mkdir conftest 9609 cd conftest 9610 mkdir out 9611 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9612 9613 lt_compiler_flag="-o out/conftest2.$ac_objext" 9614 # Insert the option either (1) after the last *FLAGS variable, or 9615 # (2) before a word containing "conftest.", or (3) at the end. 9616 # Note that $ac_compile itself does not contain backslashes and begins 9617 # with a dollar sign (not a hyphen), so the echo should work correctly. 9618 lt_compile=`echo "$ac_compile" | $SED \ 9619 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9620 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9621 -e 's:$: $lt_compiler_flag:'` 9622 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9623 (eval "$lt_compile" 2>out/conftest.err) 9624 ac_status=$? 9625 cat out/conftest.err >&5 9626 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9627 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9628 then 9629 # The compiler can only warn and ignore the option if not recognized 9630 # So say no if there are warnings 9631 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9632 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9633 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9634 lt_cv_prog_compiler_c_o=yes 9635 fi 9636 fi 9637 chmod u+w . 2>&5 9638 $RM conftest* 9639 # SGI C++ compiler will create directory out/ii_files/ for 9640 # template instantiation 9641 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9642 $RM out/* && rmdir out 9643 cd .. 9644 $RM -r conftest 9645 $RM conftest* 9646 9647fi 9648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9649$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9650 9651 9652 9653 9654hard_links=nottested 9655if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 9656 # do not overwrite the value of need_locks provided by the user 9657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 9658$as_echo_n "checking if we can lock with hard links... " >&6; } 9659 hard_links=yes 9660 $RM conftest* 9661 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9662 touch conftest.a 9663 ln conftest.a conftest.b 2>&5 || hard_links=no 9664 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 9666$as_echo "$hard_links" >&6; } 9667 if test no = "$hard_links"; then 9668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 9669$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 9670 need_locks=warn 9671 fi 9672else 9673 need_locks=no 9674fi 9675 9676 9677 9678 9679 9680 9681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9682$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9683 9684 runpath_var= 9685 allow_undefined_flag= 9686 always_export_symbols=no 9687 archive_cmds= 9688 archive_expsym_cmds= 9689 compiler_needs_object=no 9690 enable_shared_with_static_runtimes=no 9691 export_dynamic_flag_spec= 9692 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9693 hardcode_automatic=no 9694 hardcode_direct=no 9695 hardcode_direct_absolute=no 9696 hardcode_libdir_flag_spec= 9697 hardcode_libdir_separator= 9698 hardcode_minus_L=no 9699 hardcode_shlibpath_var=unsupported 9700 inherit_rpath=no 9701 link_all_deplibs=unknown 9702 module_cmds= 9703 module_expsym_cmds= 9704 old_archive_from_new_cmds= 9705 old_archive_from_expsyms_cmds= 9706 thread_safe_flag_spec= 9707 whole_archive_flag_spec= 9708 # include_expsyms should be a list of space-separated symbols to be *always* 9709 # included in the symbol list 9710 include_expsyms= 9711 # exclude_expsyms can be an extended regexp of symbols to exclude 9712 # it will be wrapped by ' (' and ')$', so one must not match beginning or 9713 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 9714 # as well as any symbol that contains 'd'. 9715 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9716 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9717 # platforms (ab)use it in PIC code, but their linkers get confused if 9718 # the symbol is explicitly referenced. Since portable code cannot 9719 # rely on this symbol name, it's probably fine to never include it in 9720 # preloaded symbol tables. 9721 # Exclude shared library initialization/finalization symbols. 9722 extract_expsyms_cmds= 9723 9724 case $host_os in 9725 cygwin* | mingw* | pw32* | cegcc*) 9726 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9727 # When not using gcc, we currently assume that we are using 9728 # Microsoft Visual C++. 9729 if test yes != "$GCC"; then 9730 with_gnu_ld=no 9731 fi 9732 ;; 9733 interix*) 9734 # we just hope/assume this is gcc and not c89 (= MSVC++) 9735 with_gnu_ld=yes 9736 ;; 9737 openbsd* | bitrig*) 9738 with_gnu_ld=no 9739 ;; 9740 linux* | k*bsd*-gnu | gnu*) 9741 link_all_deplibs=no 9742 ;; 9743 esac 9744 9745 ld_shlibs=yes 9746 9747 # On some targets, GNU ld is compatible enough with the native linker 9748 # that we're better off using the native interface for both. 9749 lt_use_gnu_ld_interface=no 9750 if test yes = "$with_gnu_ld"; then 9751 case $host_os in 9752 aix*) 9753 # The AIX port of GNU ld has always aspired to compatibility 9754 # with the native linker. However, as the warning in the GNU ld 9755 # block says, versions before 2.19.5* couldn't really create working 9756 # shared libraries, regardless of the interface used. 9757 case `$LD -v 2>&1` in 9758 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 9759 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 9760 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 9761 *) 9762 lt_use_gnu_ld_interface=yes 9763 ;; 9764 esac 9765 ;; 9766 *) 9767 lt_use_gnu_ld_interface=yes 9768 ;; 9769 esac 9770 fi 9771 9772 if test yes = "$lt_use_gnu_ld_interface"; then 9773 # If archive_cmds runs LD, not CC, wlarc should be empty 9774 wlarc='$wl' 9775 9776 # Set some defaults for GNU ld with shared library support. These 9777 # are reset later if shared libraries are not supported. Putting them 9778 # here allows them to be overridden if necessary. 9779 runpath_var=LD_RUN_PATH 9780 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9781 export_dynamic_flag_spec='$wl--export-dynamic' 9782 # ancient GNU ld didn't support --whole-archive et. al. 9783 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9784 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 9785 else 9786 whole_archive_flag_spec= 9787 fi 9788 supports_anon_versioning=no 9789 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 9790 *GNU\ gold*) supports_anon_versioning=yes ;; 9791 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 9792 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 9793 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 9794 *\ 2.11.*) ;; # other 2.11 versions 9795 *) supports_anon_versioning=yes ;; 9796 esac 9797 9798 # See if GNU ld supports shared libraries. 9799 case $host_os in 9800 aix[3-9]*) 9801 # On AIX/PPC, the GNU linker is very broken 9802 if test ia64 != "$host_cpu"; then 9803 ld_shlibs=no 9804 cat <<_LT_EOF 1>&2 9805 9806*** Warning: the GNU linker, at least up to release 2.19, is reported 9807*** to be unable to reliably create shared libraries on AIX. 9808*** Therefore, libtool is disabling shared libraries support. If you 9809*** really care for shared libraries, you may want to install binutils 9810*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 9811*** You will then need to restart the configuration process. 9812 9813_LT_EOF 9814 fi 9815 ;; 9816 9817 amigaos*) 9818 case $host_cpu in 9819 powerpc) 9820 # see comment about AmigaOS4 .so support 9821 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9822 archive_expsym_cmds='' 9823 ;; 9824 m68k) 9825 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)' 9826 hardcode_libdir_flag_spec='-L$libdir' 9827 hardcode_minus_L=yes 9828 ;; 9829 esac 9830 ;; 9831 9832 beos*) 9833 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9834 allow_undefined_flag=unsupported 9835 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 9836 # support --undefined. This deserves some investigation. FIXME 9837 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9838 else 9839 ld_shlibs=no 9840 fi 9841 ;; 9842 9843 cygwin* | mingw* | pw32* | cegcc*) 9844 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9845 # as there is no search path for DLLs. 9846 hardcode_libdir_flag_spec='-L$libdir' 9847 export_dynamic_flag_spec='$wl--export-all-symbols' 9848 allow_undefined_flag=unsupported 9849 always_export_symbols=no 9850 enable_shared_with_static_runtimes=yes 9851 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' 9852 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 9853 9854 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9855 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9856 # If the export-symbols file already is a .def file, use it as 9857 # is; otherwise, prepend EXPORTS... 9858 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 9859 cp $export_symbols $output_objdir/$soname.def; 9860 else 9861 echo EXPORTS > $output_objdir/$soname.def; 9862 cat $export_symbols >> $output_objdir/$soname.def; 9863 fi~ 9864 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9865 else 9866 ld_shlibs=no 9867 fi 9868 ;; 9869 9870 haiku*) 9871 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9872 link_all_deplibs=yes 9873 ;; 9874 9875 os2*) 9876 hardcode_libdir_flag_spec='-L$libdir' 9877 hardcode_minus_L=yes 9878 allow_undefined_flag=unsupported 9879 shrext_cmds=.dll 9880 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9881 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9882 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9883 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9884 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 9885 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9886 emximp -o $lib $output_objdir/$libname.def' 9887 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9888 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9889 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9890 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9891 prefix_cmds="$SED"~ 9892 if test EXPORTS = "`$SED 1q $export_symbols`"; then 9893 prefix_cmds="$prefix_cmds -e 1d"; 9894 fi~ 9895 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 9896 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 9897 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9898 emximp -o $lib $output_objdir/$libname.def' 9899 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 9900 enable_shared_with_static_runtimes=yes 9901 ;; 9902 9903 interix[3-9]*) 9904 hardcode_direct=no 9905 hardcode_shlibpath_var=no 9906 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 9907 export_dynamic_flag_spec='$wl-E' 9908 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9909 # Instead, shared libraries are loaded at an image base (0x10000000 by 9910 # default) and relocated if they conflict, which is a slow very memory 9911 # consuming and fragmenting process. To avoid this, we pick a random, 9912 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9913 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9914 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9915 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' 9916 ;; 9917 9918 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9919 tmp_diet=no 9920 if test linux-dietlibc = "$host_os"; then 9921 case $cc_basename in 9922 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9923 esac 9924 fi 9925 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9926 && test no = "$tmp_diet" 9927 then 9928 tmp_addflag=' $pic_flag' 9929 tmp_sharedflag='-shared' 9930 case $cc_basename,$host_cpu in 9931 pgcc*) # Portland Group C compiler 9932 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' 9933 tmp_addflag=' $pic_flag' 9934 ;; 9935 pgf77* | pgf90* | pgf95* | pgfortran*) 9936 # Portland Group f77 and f90 compilers 9937 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' 9938 tmp_addflag=' $pic_flag -Mnomain' ;; 9939 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9940 tmp_addflag=' -i_dynamic' ;; 9941 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9942 tmp_addflag=' -i_dynamic -nofor_main' ;; 9943 ifc* | ifort*) # Intel Fortran compiler 9944 tmp_addflag=' -nofor_main' ;; 9945 lf95*) # Lahey Fortran 8.1 9946 whole_archive_flag_spec= 9947 tmp_sharedflag='--shared' ;; 9948 nagfor*) # NAGFOR 5.3 9949 tmp_sharedflag='-Wl,-shared' ;; 9950 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9951 tmp_sharedflag='-qmkshrobj' 9952 tmp_addflag= ;; 9953 nvcc*) # Cuda Compiler Driver 2.2 9954 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' 9955 compiler_needs_object=yes 9956 ;; 9957 esac 9958 case `$CC -V 2>&1 | sed 5q` in 9959 *Sun\ C*) # Sun C 5.9 9960 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' 9961 compiler_needs_object=yes 9962 tmp_sharedflag='-G' ;; 9963 *Sun\ F*) # Sun Fortran 8.3 9964 tmp_sharedflag='-G' ;; 9965 esac 9966 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9967 9968 if test yes = "$supports_anon_versioning"; then 9969 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9970 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9971 echo "local: *; };" >> $output_objdir/$libname.ver~ 9972 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 9973 fi 9974 9975 case $cc_basename in 9976 tcc*) 9977 export_dynamic_flag_spec='-rdynamic' 9978 ;; 9979 xlf* | bgf* | bgxlf* | mpixlf*) 9980 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9981 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9982 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9983 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 9984 if test yes = "$supports_anon_versioning"; then 9985 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9986 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9987 echo "local: *; };" >> $output_objdir/$libname.ver~ 9988 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9989 fi 9990 ;; 9991 esac 9992 else 9993 ld_shlibs=no 9994 fi 9995 ;; 9996 9997 netbsd* | netbsdelf*-gnu) 9998 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9999 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 10000 wlarc= 10001 else 10002 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10003 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10004 fi 10005 ;; 10006 10007 solaris*) 10008 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 10009 ld_shlibs=no 10010 cat <<_LT_EOF 1>&2 10011 10012*** Warning: The releases 2.8.* of the GNU linker cannot reliably 10013*** create shared libraries on Solaris systems. Therefore, libtool 10014*** is disabling shared libraries support. We urge you to upgrade GNU 10015*** binutils to release 2.9.1 or newer. Another option is to modify 10016*** your PATH or compiler configuration so that the native linker is 10017*** used, and then restart. 10018 10019_LT_EOF 10020 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10021 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10022 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10023 else 10024 ld_shlibs=no 10025 fi 10026 ;; 10027 10028 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 10029 case `$LD -v 2>&1` in 10030 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 10031 ld_shlibs=no 10032 cat <<_LT_EOF 1>&2 10033 10034*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 10035*** reliably create shared libraries on SCO systems. Therefore, libtool 10036*** is disabling shared libraries support. We urge you to upgrade GNU 10037*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 10038*** your PATH or compiler configuration so that the native linker is 10039*** used, and then restart. 10040 10041_LT_EOF 10042 ;; 10043 *) 10044 # For security reasons, it is highly recommended that you always 10045 # use absolute paths for naming shared libraries, and exclude the 10046 # DT_RUNPATH tag from executables and libraries. But doing so 10047 # requires that you compile everything twice, which is a pain. 10048 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10049 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10050 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10051 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10052 else 10053 ld_shlibs=no 10054 fi 10055 ;; 10056 esac 10057 ;; 10058 10059 sunos4*) 10060 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10061 wlarc= 10062 hardcode_direct=yes 10063 hardcode_shlibpath_var=no 10064 ;; 10065 10066 *) 10067 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10068 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10069 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10070 else 10071 ld_shlibs=no 10072 fi 10073 ;; 10074 esac 10075 10076 if test no = "$ld_shlibs"; then 10077 runpath_var= 10078 hardcode_libdir_flag_spec= 10079 export_dynamic_flag_spec= 10080 whole_archive_flag_spec= 10081 fi 10082 else 10083 # PORTME fill in a description of your system's linker (not GNU ld) 10084 case $host_os in 10085 aix3*) 10086 allow_undefined_flag=unsupported 10087 always_export_symbols=yes 10088 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' 10089 # Note: this linker hardcodes the directories in LIBPATH if there 10090 # are no directories specified by -L. 10091 hardcode_minus_L=yes 10092 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 10093 # Neither direct hardcoding nor static linking is supported with a 10094 # broken collect2. 10095 hardcode_direct=unsupported 10096 fi 10097 ;; 10098 10099 aix[4-9]*) 10100 if test ia64 = "$host_cpu"; then 10101 # On IA64, the linker does run time linking by default, so we don't 10102 # have to do anything special. 10103 aix_use_runtimelinking=no 10104 exp_sym_flag='-Bexport' 10105 no_entry_flag= 10106 else 10107 # If we're using GNU nm, then we don't want the "-C" option. 10108 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 10109 # Without the "-l" option, or with the "-B" option, AIX nm treats 10110 # weak defined symbols like other global defined symbols, whereas 10111 # GNU nm marks them as "W". 10112 # While the 'weak' keyword is ignored in the Export File, we need 10113 # it in the Import File for the 'aix-soname' feature, so we have 10114 # to replace the "-B" option with "-P" for AIX nm. 10115 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 10116 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' 10117 else 10118 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' 10119 fi 10120 aix_use_runtimelinking=no 10121 10122 # Test if we are trying to use run time linking or normal 10123 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 10124 # have runtime linking enabled, and use it for executables. 10125 # For shared libraries, we enable/disable runtime linking 10126 # depending on the kind of the shared library created - 10127 # when "with_aix_soname,aix_use_runtimelinking" is: 10128 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 10129 # "aix,yes" lib.so shared, rtl:yes, for executables 10130 # lib.a static archive 10131 # "both,no" lib.so.V(shr.o) shared, rtl:yes 10132 # lib.a(lib.so.V) shared, rtl:no, for executables 10133 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 10134 # lib.a(lib.so.V) shared, rtl:no 10135 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 10136 # lib.a static archive 10137 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 10138 for ld_flag in $LDFLAGS; do 10139 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 10140 aix_use_runtimelinking=yes 10141 break 10142 fi 10143 done 10144 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 10145 # With aix-soname=svr4, we create the lib.so.V shared archives only, 10146 # so we don't have lib.a shared libs to link our executables. 10147 # We have to force runtime linking in this case. 10148 aix_use_runtimelinking=yes 10149 LDFLAGS="$LDFLAGS -Wl,-brtl" 10150 fi 10151 ;; 10152 esac 10153 10154 exp_sym_flag='-bexport' 10155 no_entry_flag='-bnoentry' 10156 fi 10157 10158 # When large executables or shared objects are built, AIX ld can 10159 # have problems creating the table of contents. If linking a library 10160 # or program results in "error TOC overflow" add -mminimal-toc to 10161 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 10162 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 10163 10164 archive_cmds='' 10165 hardcode_direct=yes 10166 hardcode_direct_absolute=yes 10167 hardcode_libdir_separator=':' 10168 link_all_deplibs=yes 10169 file_list_spec='$wl-f,' 10170 case $with_aix_soname,$aix_use_runtimelinking in 10171 aix,*) ;; # traditional, no import file 10172 svr4,* | *,yes) # use import file 10173 # The Import File defines what to hardcode. 10174 hardcode_direct=no 10175 hardcode_direct_absolute=no 10176 ;; 10177 esac 10178 10179 if test yes = "$GCC"; then 10180 case $host_os in aix4.[012]|aix4.[012].*) 10181 # We only want to do this on AIX 4.2 and lower, the check 10182 # below for broken collect2 doesn't work under 4.3+ 10183 collect2name=`$CC -print-prog-name=collect2` 10184 if test -f "$collect2name" && 10185 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 10186 then 10187 # We have reworked collect2 10188 : 10189 else 10190 # We have old collect2 10191 hardcode_direct=unsupported 10192 # It fails to find uninstalled libraries when the uninstalled 10193 # path is not listed in the libpath. Setting hardcode_minus_L 10194 # to unsupported forces relinking 10195 hardcode_minus_L=yes 10196 hardcode_libdir_flag_spec='-L$libdir' 10197 hardcode_libdir_separator= 10198 fi 10199 ;; 10200 esac 10201 shared_flag='-shared' 10202 if test yes = "$aix_use_runtimelinking"; then 10203 shared_flag="$shared_flag "'$wl-G' 10204 fi 10205 # Need to ensure runtime linking is disabled for the traditional 10206 # shared library, or the linker may eventually find shared libraries 10207 # /with/ Import File - we do not want to mix them. 10208 shared_flag_aix='-shared' 10209 shared_flag_svr4='-shared $wl-G' 10210 else 10211 # not using gcc 10212 if test ia64 = "$host_cpu"; then 10213 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 10214 # chokes on -Wl,-G. The following line is correct: 10215 shared_flag='-G' 10216 else 10217 if test yes = "$aix_use_runtimelinking"; then 10218 shared_flag='$wl-G' 10219 else 10220 shared_flag='$wl-bM:SRE' 10221 fi 10222 shared_flag_aix='$wl-bM:SRE' 10223 shared_flag_svr4='$wl-G' 10224 fi 10225 fi 10226 10227 export_dynamic_flag_spec='$wl-bexpall' 10228 # It seems that -bexpall does not export symbols beginning with 10229 # underscore (_), so it is better to generate a list of symbols to export. 10230 always_export_symbols=yes 10231 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 10232 # Warning - without using the other runtime loading flags (-brtl), 10233 # -berok will link without error, but may produce a broken library. 10234 allow_undefined_flag='-berok' 10235 # Determine the default libpath from the value encoded in an 10236 # empty executable. 10237 if test set = "${lt_cv_aix_libpath+set}"; then 10238 aix_libpath=$lt_cv_aix_libpath 10239else 10240 if ${lt_cv_aix_libpath_+:} false; then : 10241 $as_echo_n "(cached) " >&6 10242else 10243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10244/* end confdefs.h. */ 10245 10246int 10247main () 10248{ 10249 10250 ; 10251 return 0; 10252} 10253_ACEOF 10254if ac_fn_c_try_link "$LINENO"; then : 10255 10256 lt_aix_libpath_sed=' 10257 /Import File Strings/,/^$/ { 10258 /^0/ { 10259 s/^0 *\([^ ]*\) *$/\1/ 10260 p 10261 } 10262 }' 10263 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10264 # Check for a 64-bit object if we didn't find anything. 10265 if test -z "$lt_cv_aix_libpath_"; then 10266 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10267 fi 10268fi 10269rm -f core conftest.err conftest.$ac_objext \ 10270 conftest$ac_exeext conftest.$ac_ext 10271 if test -z "$lt_cv_aix_libpath_"; then 10272 lt_cv_aix_libpath_=/usr/lib:/lib 10273 fi 10274 10275fi 10276 10277 aix_libpath=$lt_cv_aix_libpath_ 10278fi 10279 10280 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 10281 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 10282 else 10283 if test ia64 = "$host_cpu"; then 10284 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 10285 allow_undefined_flag="-z nodefs" 10286 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" 10287 else 10288 # Determine the default libpath from the value encoded in an 10289 # empty executable. 10290 if test set = "${lt_cv_aix_libpath+set}"; then 10291 aix_libpath=$lt_cv_aix_libpath 10292else 10293 if ${lt_cv_aix_libpath_+:} false; then : 10294 $as_echo_n "(cached) " >&6 10295else 10296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10297/* end confdefs.h. */ 10298 10299int 10300main () 10301{ 10302 10303 ; 10304 return 0; 10305} 10306_ACEOF 10307if ac_fn_c_try_link "$LINENO"; then : 10308 10309 lt_aix_libpath_sed=' 10310 /Import File Strings/,/^$/ { 10311 /^0/ { 10312 s/^0 *\([^ ]*\) *$/\1/ 10313 p 10314 } 10315 }' 10316 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10317 # Check for a 64-bit object if we didn't find anything. 10318 if test -z "$lt_cv_aix_libpath_"; then 10319 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10320 fi 10321fi 10322rm -f core conftest.err conftest.$ac_objext \ 10323 conftest$ac_exeext conftest.$ac_ext 10324 if test -z "$lt_cv_aix_libpath_"; then 10325 lt_cv_aix_libpath_=/usr/lib:/lib 10326 fi 10327 10328fi 10329 10330 aix_libpath=$lt_cv_aix_libpath_ 10331fi 10332 10333 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 10334 # Warning - without using the other run time loading flags, 10335 # -berok will link without error, but may produce a broken library. 10336 no_undefined_flag=' $wl-bernotok' 10337 allow_undefined_flag=' $wl-berok' 10338 if test yes = "$with_gnu_ld"; then 10339 # We only use this code for GNU lds that support --whole-archive. 10340 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 10341 else 10342 # Exported symbols can be pulled into shared objects from archives 10343 whole_archive_flag_spec='$convenience' 10344 fi 10345 archive_cmds_need_lc=yes 10346 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 10347 # -brtl affects multiple linker settings, -berok does not and is overridden later 10348 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 10349 if test svr4 != "$with_aix_soname"; then 10350 # This is similar to how AIX traditionally builds its shared libraries. 10351 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' 10352 fi 10353 if test aix != "$with_aix_soname"; then 10354 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' 10355 else 10356 # used by -dlpreopen to get the symbols 10357 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 10358 fi 10359 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 10360 fi 10361 fi 10362 ;; 10363 10364 amigaos*) 10365 case $host_cpu in 10366 powerpc) 10367 # see comment about AmigaOS4 .so support 10368 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10369 archive_expsym_cmds='' 10370 ;; 10371 m68k) 10372 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)' 10373 hardcode_libdir_flag_spec='-L$libdir' 10374 hardcode_minus_L=yes 10375 ;; 10376 esac 10377 ;; 10378 10379 bsdi[45]*) 10380 export_dynamic_flag_spec=-rdynamic 10381 ;; 10382 10383 cygwin* | mingw* | pw32* | cegcc*) 10384 # When not using gcc, we currently assume that we are using 10385 # Microsoft Visual C++. 10386 # hardcode_libdir_flag_spec is actually meaningless, as there is 10387 # no search path for DLLs. 10388 case $cc_basename in 10389 cl*) 10390 # Native MSVC 10391 hardcode_libdir_flag_spec=' ' 10392 allow_undefined_flag=unsupported 10393 always_export_symbols=yes 10394 file_list_spec='@' 10395 # Tell ltmain to make .lib files, not .a files. 10396 libext=lib 10397 # Tell ltmain to make .dll files, not .so files. 10398 shrext_cmds=.dll 10399 # FIXME: Setting linknames here is a bad hack. 10400 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 10401 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 10402 cp "$export_symbols" "$output_objdir/$soname.def"; 10403 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 10404 else 10405 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 10406 fi~ 10407 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 10408 linknames=' 10409 # The linker will not automatically build a static lib if we build a DLL. 10410 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 10411 enable_shared_with_static_runtimes=yes 10412 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 10413 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 10414 # Don't use ranlib 10415 old_postinstall_cmds='chmod 644 $oldlib' 10416 postlink_cmds='lt_outputfile="@OUTPUT@"~ 10417 lt_tool_outputfile="@TOOL_OUTPUT@"~ 10418 case $lt_outputfile in 10419 *.exe|*.EXE) ;; 10420 *) 10421 lt_outputfile=$lt_outputfile.exe 10422 lt_tool_outputfile=$lt_tool_outputfile.exe 10423 ;; 10424 esac~ 10425 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 10426 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 10427 $RM "$lt_outputfile.manifest"; 10428 fi' 10429 ;; 10430 *) 10431 # Assume MSVC wrapper 10432 hardcode_libdir_flag_spec=' ' 10433 allow_undefined_flag=unsupported 10434 # Tell ltmain to make .lib files, not .a files. 10435 libext=lib 10436 # Tell ltmain to make .dll files, not .so files. 10437 shrext_cmds=.dll 10438 # FIXME: Setting linknames here is a bad hack. 10439 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 10440 # The linker will automatically build a .lib file if we build a DLL. 10441 old_archive_from_new_cmds='true' 10442 # FIXME: Should let the user specify the lib program. 10443 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 10444 enable_shared_with_static_runtimes=yes 10445 ;; 10446 esac 10447 ;; 10448 10449 darwin* | rhapsody*) 10450 10451 10452 archive_cmds_need_lc=no 10453 hardcode_direct=no 10454 hardcode_automatic=yes 10455 hardcode_shlibpath_var=unsupported 10456 if test yes = "$lt_cv_ld_force_load"; then 10457 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\"`' 10458 10459 else 10460 whole_archive_flag_spec='' 10461 fi 10462 link_all_deplibs=yes 10463 allow_undefined_flag=$_lt_dar_allow_undefined 10464 case $cc_basename in 10465 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 10466 *) _lt_dar_can_shared=$GCC ;; 10467 esac 10468 if test yes = "$_lt_dar_can_shared"; then 10469 output_verbose_link_cmd=func_echo_all 10470 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 10471 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 10472 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" 10473 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" 10474 10475 else 10476 ld_shlibs=no 10477 fi 10478 10479 ;; 10480 10481 dgux*) 10482 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10483 hardcode_libdir_flag_spec='-L$libdir' 10484 hardcode_shlibpath_var=no 10485 ;; 10486 10487 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 10488 # support. Future versions do this automatically, but an explicit c++rt0.o 10489 # does not break anything, and helps significantly (at the cost of a little 10490 # extra space). 10491 freebsd2.2*) 10492 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 10493 hardcode_libdir_flag_spec='-R$libdir' 10494 hardcode_direct=yes 10495 hardcode_shlibpath_var=no 10496 ;; 10497 10498 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 10499 freebsd2.*) 10500 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10501 hardcode_direct=yes 10502 hardcode_minus_L=yes 10503 hardcode_shlibpath_var=no 10504 ;; 10505 10506 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 10507 freebsd* | dragonfly*) 10508 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10509 hardcode_libdir_flag_spec='-R$libdir' 10510 hardcode_direct=yes 10511 hardcode_shlibpath_var=no 10512 ;; 10513 10514 hpux9*) 10515 if test yes = "$GCC"; then 10516 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' 10517 else 10518 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' 10519 fi 10520 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10521 hardcode_libdir_separator=: 10522 hardcode_direct=yes 10523 10524 # hardcode_minus_L: Not really in the search PATH, 10525 # but as the default location of the library. 10526 hardcode_minus_L=yes 10527 export_dynamic_flag_spec='$wl-E' 10528 ;; 10529 10530 hpux10*) 10531 if test yes,no = "$GCC,$with_gnu_ld"; then 10532 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10533 else 10534 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10535 fi 10536 if test no = "$with_gnu_ld"; then 10537 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10538 hardcode_libdir_separator=: 10539 hardcode_direct=yes 10540 hardcode_direct_absolute=yes 10541 export_dynamic_flag_spec='$wl-E' 10542 # hardcode_minus_L: Not really in the search PATH, 10543 # but as the default location of the library. 10544 hardcode_minus_L=yes 10545 fi 10546 ;; 10547 10548 hpux11*) 10549 if test yes,no = "$GCC,$with_gnu_ld"; then 10550 case $host_cpu in 10551 hppa*64*) 10552 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10553 ;; 10554 ia64*) 10555 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10556 ;; 10557 *) 10558 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10559 ;; 10560 esac 10561 else 10562 case $host_cpu in 10563 hppa*64*) 10564 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10565 ;; 10566 ia64*) 10567 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10568 ;; 10569 *) 10570 10571 # Older versions of the 11.00 compiler do not understand -b yet 10572 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 10573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 10574$as_echo_n "checking if $CC understands -b... " >&6; } 10575if ${lt_cv_prog_compiler__b+:} false; then : 10576 $as_echo_n "(cached) " >&6 10577else 10578 lt_cv_prog_compiler__b=no 10579 save_LDFLAGS=$LDFLAGS 10580 LDFLAGS="$LDFLAGS -b" 10581 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10582 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10583 # The linker can only warn and ignore the option if not recognized 10584 # So say no if there are warnings 10585 if test -s conftest.err; then 10586 # Append any errors to the config.log. 10587 cat conftest.err 1>&5 10588 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10589 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10590 if diff conftest.exp conftest.er2 >/dev/null; then 10591 lt_cv_prog_compiler__b=yes 10592 fi 10593 else 10594 lt_cv_prog_compiler__b=yes 10595 fi 10596 fi 10597 $RM -r conftest* 10598 LDFLAGS=$save_LDFLAGS 10599 10600fi 10601{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 10602$as_echo "$lt_cv_prog_compiler__b" >&6; } 10603 10604if test yes = "$lt_cv_prog_compiler__b"; then 10605 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10606else 10607 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10608fi 10609 10610 ;; 10611 esac 10612 fi 10613 if test no = "$with_gnu_ld"; then 10614 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10615 hardcode_libdir_separator=: 10616 10617 case $host_cpu in 10618 hppa*64*|ia64*) 10619 hardcode_direct=no 10620 hardcode_shlibpath_var=no 10621 ;; 10622 *) 10623 hardcode_direct=yes 10624 hardcode_direct_absolute=yes 10625 export_dynamic_flag_spec='$wl-E' 10626 10627 # hardcode_minus_L: Not really in the search PATH, 10628 # but as the default location of the library. 10629 hardcode_minus_L=yes 10630 ;; 10631 esac 10632 fi 10633 ;; 10634 10635 irix5* | irix6* | nonstopux*) 10636 if test yes = "$GCC"; then 10637 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' 10638 # Try to use the -exported_symbol ld option, if it does not 10639 # work, assume that -exports_file does not work either and 10640 # implicitly export all symbols. 10641 # This should be the same for all languages, so no per-tag cache variable. 10642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 10643$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 10644if ${lt_cv_irix_exported_symbol+:} false; then : 10645 $as_echo_n "(cached) " >&6 10646else 10647 save_LDFLAGS=$LDFLAGS 10648 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 10649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10650/* end confdefs.h. */ 10651int foo (void) { return 0; } 10652_ACEOF 10653if ac_fn_c_try_link "$LINENO"; then : 10654 lt_cv_irix_exported_symbol=yes 10655else 10656 lt_cv_irix_exported_symbol=no 10657fi 10658rm -f core conftest.err conftest.$ac_objext \ 10659 conftest$ac_exeext conftest.$ac_ext 10660 LDFLAGS=$save_LDFLAGS 10661fi 10662{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 10663$as_echo "$lt_cv_irix_exported_symbol" >&6; } 10664 if test yes = "$lt_cv_irix_exported_symbol"; then 10665 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' 10666 fi 10667 link_all_deplibs=no 10668 else 10669 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' 10670 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' 10671 fi 10672 archive_cmds_need_lc='no' 10673 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10674 hardcode_libdir_separator=: 10675 inherit_rpath=yes 10676 link_all_deplibs=yes 10677 ;; 10678 10679 linux*) 10680 case $cc_basename in 10681 tcc*) 10682 # Fabrice Bellard et al's Tiny C Compiler 10683 ld_shlibs=yes 10684 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10685 ;; 10686 esac 10687 ;; 10688 10689 netbsd* | netbsdelf*-gnu) 10690 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10691 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 10692 else 10693 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 10694 fi 10695 hardcode_libdir_flag_spec='-R$libdir' 10696 hardcode_direct=yes 10697 hardcode_shlibpath_var=no 10698 ;; 10699 10700 newsos6) 10701 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10702 hardcode_direct=yes 10703 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10704 hardcode_libdir_separator=: 10705 hardcode_shlibpath_var=no 10706 ;; 10707 10708 *nto* | *qnx*) 10709 ;; 10710 10711 openbsd* | bitrig*) 10712 if test -f /usr/libexec/ld.so; then 10713 hardcode_direct=yes 10714 hardcode_shlibpath_var=no 10715 hardcode_direct_absolute=yes 10716 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 10717 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10718 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 10719 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10720 export_dynamic_flag_spec='$wl-E' 10721 else 10722 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10723 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10724 fi 10725 else 10726 ld_shlibs=no 10727 fi 10728 ;; 10729 10730 os2*) 10731 hardcode_libdir_flag_spec='-L$libdir' 10732 hardcode_minus_L=yes 10733 allow_undefined_flag=unsupported 10734 shrext_cmds=.dll 10735 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10736 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10737 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10738 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10739 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10740 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10741 emximp -o $lib $output_objdir/$libname.def' 10742 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10743 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10744 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10745 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10746 prefix_cmds="$SED"~ 10747 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10748 prefix_cmds="$prefix_cmds -e 1d"; 10749 fi~ 10750 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10751 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10752 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10753 emximp -o $lib $output_objdir/$libname.def' 10754 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10755 enable_shared_with_static_runtimes=yes 10756 ;; 10757 10758 osf3*) 10759 if test yes = "$GCC"; then 10760 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10761 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' 10762 else 10763 allow_undefined_flag=' -expect_unresolved \*' 10764 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' 10765 fi 10766 archive_cmds_need_lc='no' 10767 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10768 hardcode_libdir_separator=: 10769 ;; 10770 10771 osf4* | osf5*) # as osf3* with the addition of -msym flag 10772 if test yes = "$GCC"; then 10773 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10774 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' 10775 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10776 else 10777 allow_undefined_flag=' -expect_unresolved \*' 10778 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' 10779 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~ 10780 $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' 10781 10782 # Both c and cxx compiler support -rpath directly 10783 hardcode_libdir_flag_spec='-rpath $libdir' 10784 fi 10785 archive_cmds_need_lc='no' 10786 hardcode_libdir_separator=: 10787 ;; 10788 10789 solaris*) 10790 no_undefined_flag=' -z defs' 10791 if test yes = "$GCC"; then 10792 wlarc='$wl' 10793 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10794 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10795 $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' 10796 else 10797 case `$CC -V 2>&1` in 10798 *"Compilers 5.0"*) 10799 wlarc='' 10800 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 10801 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10802 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10803 ;; 10804 *) 10805 wlarc='$wl' 10806 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10807 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10808 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10809 ;; 10810 esac 10811 fi 10812 hardcode_libdir_flag_spec='-R$libdir' 10813 hardcode_shlibpath_var=no 10814 case $host_os in 10815 solaris2.[0-5] | solaris2.[0-5].*) ;; 10816 *) 10817 # The compiler driver will combine and reorder linker options, 10818 # but understands '-z linker_flag'. GCC discards it without '$wl', 10819 # but is careful enough not to reorder. 10820 # Supported since Solaris 2.6 (maybe 2.5.1?) 10821 if test yes = "$GCC"; then 10822 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 10823 else 10824 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10825 fi 10826 ;; 10827 esac 10828 link_all_deplibs=yes 10829 ;; 10830 10831 sunos4*) 10832 if test sequent = "$host_vendor"; then 10833 # Use $CC to link under sequent, because it throws in some extra .o 10834 # files that make .init and .fini sections work. 10835 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10836 else 10837 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10838 fi 10839 hardcode_libdir_flag_spec='-L$libdir' 10840 hardcode_direct=yes 10841 hardcode_minus_L=yes 10842 hardcode_shlibpath_var=no 10843 ;; 10844 10845 sysv4) 10846 case $host_vendor in 10847 sni) 10848 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10849 hardcode_direct=yes # is this really true??? 10850 ;; 10851 siemens) 10852 ## LD is ld it makes a PLAMLIB 10853 ## CC just makes a GrossModule. 10854 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10855 reload_cmds='$CC -r -o $output$reload_objs' 10856 hardcode_direct=no 10857 ;; 10858 motorola) 10859 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10860 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10861 ;; 10862 esac 10863 runpath_var='LD_RUN_PATH' 10864 hardcode_shlibpath_var=no 10865 ;; 10866 10867 sysv4.3*) 10868 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10869 hardcode_shlibpath_var=no 10870 export_dynamic_flag_spec='-Bexport' 10871 ;; 10872 10873 sysv4*MP*) 10874 if test -d /usr/nec; then 10875 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10876 hardcode_shlibpath_var=no 10877 runpath_var=LD_RUN_PATH 10878 hardcode_runpath_var=yes 10879 ld_shlibs=yes 10880 fi 10881 ;; 10882 10883 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10884 no_undefined_flag='$wl-z,text' 10885 archive_cmds_need_lc=no 10886 hardcode_shlibpath_var=no 10887 runpath_var='LD_RUN_PATH' 10888 10889 if test yes = "$GCC"; then 10890 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10891 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10892 else 10893 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10894 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10895 fi 10896 ;; 10897 10898 sysv5* | sco3.2v5* | sco5v6*) 10899 # Note: We CANNOT use -z defs as we might desire, because we do not 10900 # link with -lc, and that would cause any symbols used from libc to 10901 # always be unresolved, which means just about no library would 10902 # ever link correctly. If we're not using GNU ld we use -z text 10903 # though, which does catch some bad symbols but isn't as heavy-handed 10904 # as -z defs. 10905 no_undefined_flag='$wl-z,text' 10906 allow_undefined_flag='$wl-z,nodefs' 10907 archive_cmds_need_lc=no 10908 hardcode_shlibpath_var=no 10909 hardcode_libdir_flag_spec='$wl-R,$libdir' 10910 hardcode_libdir_separator=':' 10911 link_all_deplibs=yes 10912 export_dynamic_flag_spec='$wl-Bexport' 10913 runpath_var='LD_RUN_PATH' 10914 10915 if test yes = "$GCC"; then 10916 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10917 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10918 else 10919 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10920 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10921 fi 10922 ;; 10923 10924 uts4*) 10925 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10926 hardcode_libdir_flag_spec='-L$libdir' 10927 hardcode_shlibpath_var=no 10928 ;; 10929 10930 *) 10931 ld_shlibs=no 10932 ;; 10933 esac 10934 10935 if test sni = "$host_vendor"; then 10936 case $host in 10937 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10938 export_dynamic_flag_spec='$wl-Blargedynsym' 10939 ;; 10940 esac 10941 fi 10942 fi 10943 10944{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 10945$as_echo "$ld_shlibs" >&6; } 10946test no = "$ld_shlibs" && can_build_shared=no 10947 10948with_gnu_ld=$with_gnu_ld 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964# 10965# Do we need to explicitly link libc? 10966# 10967case "x$archive_cmds_need_lc" in 10968x|xyes) 10969 # Assume -lc should be added 10970 archive_cmds_need_lc=yes 10971 10972 if test yes,yes = "$GCC,$enable_shared"; then 10973 case $archive_cmds in 10974 *'~'*) 10975 # FIXME: we may have to deal with multi-command sequences. 10976 ;; 10977 '$CC '*) 10978 # Test whether the compiler implicitly links with -lc since on some 10979 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10980 # to ld, don't add -lc before -lgcc. 10981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10982$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10983if ${lt_cv_archive_cmds_need_lc+:} false; then : 10984 $as_echo_n "(cached) " >&6 10985else 10986 $RM conftest* 10987 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10988 10989 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10990 (eval $ac_compile) 2>&5 10991 ac_status=$? 10992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10993 test $ac_status = 0; } 2>conftest.err; then 10994 soname=conftest 10995 lib=conftest 10996 libobjs=conftest.$ac_objext 10997 deplibs= 10998 wl=$lt_prog_compiler_wl 10999 pic_flag=$lt_prog_compiler_pic 11000 compiler_flags=-v 11001 linker_flags=-v 11002 verstring= 11003 output_objdir=. 11004 libname=conftest 11005 lt_save_allow_undefined_flag=$allow_undefined_flag 11006 allow_undefined_flag= 11007 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 11008 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 11009 ac_status=$? 11010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11011 test $ac_status = 0; } 11012 then 11013 lt_cv_archive_cmds_need_lc=no 11014 else 11015 lt_cv_archive_cmds_need_lc=yes 11016 fi 11017 allow_undefined_flag=$lt_save_allow_undefined_flag 11018 else 11019 cat conftest.err 1>&5 11020 fi 11021 $RM conftest* 11022 11023fi 11024{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 11025$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 11026 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 11027 ;; 11028 esac 11029 fi 11030 ;; 11031esac 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 11131 11132 11133 11134 11135 11136 11137 11138 11139 11140 11141 11142 11143 11144 11145 11146 11147 11148 11149 11150 11151 11152 11153 11154 11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 11180 11181 11182 11183 11184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 11185$as_echo_n "checking dynamic linker characteristics... " >&6; } 11186 11187if test yes = "$GCC"; then 11188 case $host_os in 11189 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 11190 *) lt_awk_arg='/^libraries:/' ;; 11191 esac 11192 case $host_os in 11193 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 11194 *) lt_sed_strip_eq='s|=/|/|g' ;; 11195 esac 11196 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 11197 case $lt_search_path_spec in 11198 *\;*) 11199 # if the path contains ";" then we assume it to be the separator 11200 # otherwise default to the standard path separator (i.e. ":") - it is 11201 # assumed that no part of a normal pathname contains ";" but that should 11202 # okay in the real world where ";" in dirpaths is itself problematic. 11203 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 11204 ;; 11205 *) 11206 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 11207 ;; 11208 esac 11209 # Ok, now we have the path, separated by spaces, we can step through it 11210 # and add multilib dir if necessary... 11211 lt_tmp_lt_search_path_spec= 11212 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 11213 # ...but if some path component already ends with the multilib dir we assume 11214 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 11215 case "$lt_multi_os_dir; $lt_search_path_spec " in 11216 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 11217 lt_multi_os_dir= 11218 ;; 11219 esac 11220 for lt_sys_path in $lt_search_path_spec; do 11221 if test -d "$lt_sys_path$lt_multi_os_dir"; then 11222 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 11223 elif test -n "$lt_multi_os_dir"; then 11224 test -d "$lt_sys_path" && \ 11225 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 11226 fi 11227 done 11228 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 11229BEGIN {RS = " "; FS = "/|\n";} { 11230 lt_foo = ""; 11231 lt_count = 0; 11232 for (lt_i = NF; lt_i > 0; lt_i--) { 11233 if ($lt_i != "" && $lt_i != ".") { 11234 if ($lt_i == "..") { 11235 lt_count++; 11236 } else { 11237 if (lt_count == 0) { 11238 lt_foo = "/" $lt_i lt_foo; 11239 } else { 11240 lt_count--; 11241 } 11242 } 11243 } 11244 } 11245 if (lt_foo != "") { lt_freq[lt_foo]++; } 11246 if (lt_freq[lt_foo] == 1) { print lt_foo; } 11247}'` 11248 # AWK program above erroneously prepends '/' to C:/dos/paths 11249 # for these hosts. 11250 case $host_os in 11251 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 11252 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 11253 esac 11254 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 11255else 11256 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11257fi 11258library_names_spec= 11259libname_spec='lib$name' 11260soname_spec= 11261shrext_cmds=.so 11262postinstall_cmds= 11263postuninstall_cmds= 11264finish_cmds= 11265finish_eval= 11266shlibpath_var= 11267shlibpath_overrides_runpath=unknown 11268version_type=none 11269dynamic_linker="$host_os ld.so" 11270sys_lib_dlsearch_path_spec="/lib /usr/lib" 11271need_lib_prefix=unknown 11272hardcode_into_libs=no 11273 11274# when you set need_version to no, make sure it does not cause -set_version 11275# flags to be left without arguments 11276need_version=unknown 11277 11278 11279 11280case $host_os in 11281aix3*) 11282 version_type=linux # correct to gnu/linux during the next big refactor 11283 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 11284 shlibpath_var=LIBPATH 11285 11286 # AIX 3 has no versioning support, so we append a major version to the name. 11287 soname_spec='$libname$release$shared_ext$major' 11288 ;; 11289 11290aix[4-9]*) 11291 version_type=linux # correct to gnu/linux during the next big refactor 11292 need_lib_prefix=no 11293 need_version=no 11294 hardcode_into_libs=yes 11295 if test ia64 = "$host_cpu"; then 11296 # AIX 5 supports IA64 11297 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 11298 shlibpath_var=LD_LIBRARY_PATH 11299 else 11300 # With GCC up to 2.95.x, collect2 would create an import file 11301 # for dependence libraries. The import file would start with 11302 # the line '#! .'. This would cause the generated library to 11303 # depend on '.', always an invalid library. This was fixed in 11304 # development snapshots of GCC prior to 3.0. 11305 case $host_os in 11306 aix4 | aix4.[01] | aix4.[01].*) 11307 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 11308 echo ' yes ' 11309 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 11310 : 11311 else 11312 can_build_shared=no 11313 fi 11314 ;; 11315 esac 11316 # Using Import Files as archive members, it is possible to support 11317 # filename-based versioning of shared library archives on AIX. While 11318 # this would work for both with and without runtime linking, it will 11319 # prevent static linking of such archives. So we do filename-based 11320 # shared library versioning with .so extension only, which is used 11321 # when both runtime linking and shared linking is enabled. 11322 # Unfortunately, runtime linking may impact performance, so we do 11323 # not want this to be the default eventually. Also, we use the 11324 # versioned .so libs for executables only if there is the -brtl 11325 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 11326 # To allow for filename-based versioning support, we need to create 11327 # libNAME.so.V as an archive file, containing: 11328 # *) an Import File, referring to the versioned filename of the 11329 # archive as well as the shared archive member, telling the 11330 # bitwidth (32 or 64) of that shared object, and providing the 11331 # list of exported symbols of that shared object, eventually 11332 # decorated with the 'weak' keyword 11333 # *) the shared object with the F_LOADONLY flag set, to really avoid 11334 # it being seen by the linker. 11335 # At run time we better use the real file rather than another symlink, 11336 # but for link time we create the symlink libNAME.so -> libNAME.so.V 11337 11338 case $with_aix_soname,$aix_use_runtimelinking in 11339 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 11340 # soname into executable. Probably we can add versioning support to 11341 # collect2, so additional links can be useful in future. 11342 aix,yes) # traditional libtool 11343 dynamic_linker='AIX unversionable lib.so' 11344 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 11345 # instead of lib<name>.a to let people know that these are not 11346 # typical AIX shared libraries. 11347 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11348 ;; 11349 aix,no) # traditional AIX only 11350 dynamic_linker='AIX lib.a(lib.so.V)' 11351 # We preserve .a as extension for shared libraries through AIX4.2 11352 # and later when we are not doing run time linking. 11353 library_names_spec='$libname$release.a $libname.a' 11354 soname_spec='$libname$release$shared_ext$major' 11355 ;; 11356 svr4,*) # full svr4 only 11357 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 11358 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 11359 # We do not specify a path in Import Files, so LIBPATH fires. 11360 shlibpath_overrides_runpath=yes 11361 ;; 11362 *,yes) # both, prefer svr4 11363 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 11364 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 11365 # unpreferred sharedlib libNAME.a needs extra handling 11366 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"' 11367 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"' 11368 # We do not specify a path in Import Files, so LIBPATH fires. 11369 shlibpath_overrides_runpath=yes 11370 ;; 11371 *,no) # both, prefer aix 11372 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 11373 library_names_spec='$libname$release.a $libname.a' 11374 soname_spec='$libname$release$shared_ext$major' 11375 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 11376 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)' 11377 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"' 11378 ;; 11379 esac 11380 shlibpath_var=LIBPATH 11381 fi 11382 ;; 11383 11384amigaos*) 11385 case $host_cpu in 11386 powerpc) 11387 # Since July 2007 AmigaOS4 officially supports .so libraries. 11388 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 11389 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11390 ;; 11391 m68k) 11392 library_names_spec='$libname.ixlibrary $libname.a' 11393 # Create ${libname}_ixlibrary.a entries in /sys/libs. 11394 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' 11395 ;; 11396 esac 11397 ;; 11398 11399beos*) 11400 library_names_spec='$libname$shared_ext' 11401 dynamic_linker="$host_os ld.so" 11402 shlibpath_var=LIBRARY_PATH 11403 ;; 11404 11405bsdi[45]*) 11406 version_type=linux # correct to gnu/linux during the next big refactor 11407 need_version=no 11408 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11409 soname_spec='$libname$release$shared_ext$major' 11410 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 11411 shlibpath_var=LD_LIBRARY_PATH 11412 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 11413 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 11414 # the default ld.so.conf also contains /usr/contrib/lib and 11415 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 11416 # libtool to hard-code these into programs 11417 ;; 11418 11419cygwin* | mingw* | pw32* | cegcc*) 11420 version_type=windows 11421 shrext_cmds=.dll 11422 need_version=no 11423 need_lib_prefix=no 11424 11425 case $GCC,$cc_basename in 11426 yes,*) 11427 # gcc 11428 library_names_spec='$libname.dll.a' 11429 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11430 postinstall_cmds='base_file=`basename \$file`~ 11431 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11432 dldir=$destdir/`dirname \$dlpath`~ 11433 test -d \$dldir || mkdir -p \$dldir~ 11434 $install_prog $dir/$dlname \$dldir/$dlname~ 11435 chmod a+x \$dldir/$dlname~ 11436 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11437 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11438 fi' 11439 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11440 dlpath=$dir/\$dldll~ 11441 $RM \$dlpath' 11442 shlibpath_overrides_runpath=yes 11443 11444 case $host_os in 11445 cygwin*) 11446 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 11447 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11448 11449 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 11450 ;; 11451 mingw* | cegcc*) 11452 # MinGW DLLs use traditional 'lib' prefix 11453 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11454 ;; 11455 pw32*) 11456 # pw32 DLLs use 'pw' prefix rather than 'lib' 11457 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11458 ;; 11459 esac 11460 dynamic_linker='Win32 ld.exe' 11461 ;; 11462 11463 *,cl*) 11464 # Native MSVC 11465 libname_spec='$name' 11466 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11467 library_names_spec='$libname.dll.lib' 11468 11469 case $build_os in 11470 mingw*) 11471 sys_lib_search_path_spec= 11472 lt_save_ifs=$IFS 11473 IFS=';' 11474 for lt_path in $LIB 11475 do 11476 IFS=$lt_save_ifs 11477 # Let DOS variable expansion print the short 8.3 style file name. 11478 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 11479 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 11480 done 11481 IFS=$lt_save_ifs 11482 # Convert to MSYS style. 11483 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 11484 ;; 11485 cygwin*) 11486 # Convert to unix form, then to dos form, then back to unix form 11487 # but this time dos style (no spaces!) so that the unix form looks 11488 # like /cygdrive/c/PROGRA~1:/cygdr... 11489 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 11490 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 11491 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11492 ;; 11493 *) 11494 sys_lib_search_path_spec=$LIB 11495 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 11496 # It is most probably a Windows format PATH. 11497 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 11498 else 11499 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11500 fi 11501 # FIXME: find the short name or the path components, as spaces are 11502 # common. (e.g. "Program Files" -> "PROGRA~1") 11503 ;; 11504 esac 11505 11506 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11507 postinstall_cmds='base_file=`basename \$file`~ 11508 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11509 dldir=$destdir/`dirname \$dlpath`~ 11510 test -d \$dldir || mkdir -p \$dldir~ 11511 $install_prog $dir/$dlname \$dldir/$dlname' 11512 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11513 dlpath=$dir/\$dldll~ 11514 $RM \$dlpath' 11515 shlibpath_overrides_runpath=yes 11516 dynamic_linker='Win32 link.exe' 11517 ;; 11518 11519 *) 11520 # Assume MSVC wrapper 11521 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 11522 dynamic_linker='Win32 ld.exe' 11523 ;; 11524 esac 11525 # FIXME: first we should search . and the directory the executable is in 11526 shlibpath_var=PATH 11527 ;; 11528 11529darwin* | rhapsody*) 11530 dynamic_linker="$host_os dyld" 11531 version_type=darwin 11532 need_lib_prefix=no 11533 need_version=no 11534 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 11535 soname_spec='$libname$release$major$shared_ext' 11536 shlibpath_overrides_runpath=yes 11537 shlibpath_var=DYLD_LIBRARY_PATH 11538 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 11539 11540 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 11541 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 11542 ;; 11543 11544dgux*) 11545 version_type=linux # correct to gnu/linux during the next big refactor 11546 need_lib_prefix=no 11547 need_version=no 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 ;; 11552 11553freebsd* | dragonfly*) 11554 # DragonFly does not have aout. When/if they implement a new 11555 # versioning mechanism, adjust this. 11556 if test -x /usr/bin/objformat; then 11557 objformat=`/usr/bin/objformat` 11558 else 11559 case $host_os in 11560 freebsd[23].*) objformat=aout ;; 11561 *) objformat=elf ;; 11562 esac 11563 fi 11564 version_type=freebsd-$objformat 11565 case $version_type in 11566 freebsd-elf*) 11567 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11568 soname_spec='$libname$release$shared_ext$major' 11569 need_version=no 11570 need_lib_prefix=no 11571 ;; 11572 freebsd-*) 11573 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11574 need_version=yes 11575 ;; 11576 esac 11577 shlibpath_var=LD_LIBRARY_PATH 11578 case $host_os in 11579 freebsd2.*) 11580 shlibpath_overrides_runpath=yes 11581 ;; 11582 freebsd3.[01]* | freebsdelf3.[01]*) 11583 shlibpath_overrides_runpath=yes 11584 hardcode_into_libs=yes 11585 ;; 11586 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 11587 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 11588 shlibpath_overrides_runpath=no 11589 hardcode_into_libs=yes 11590 ;; 11591 *) # from 4.6 on, and DragonFly 11592 shlibpath_overrides_runpath=yes 11593 hardcode_into_libs=yes 11594 ;; 11595 esac 11596 ;; 11597 11598haiku*) 11599 version_type=linux # correct to gnu/linux during the next big refactor 11600 need_lib_prefix=no 11601 need_version=no 11602 dynamic_linker="$host_os runtime_loader" 11603 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11604 soname_spec='$libname$release$shared_ext$major' 11605 shlibpath_var=LIBRARY_PATH 11606 shlibpath_overrides_runpath=no 11607 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 11608 hardcode_into_libs=yes 11609 ;; 11610 11611hpux9* | hpux10* | hpux11*) 11612 # Give a soname corresponding to the major version so that dld.sl refuses to 11613 # link against other versions. 11614 version_type=sunos 11615 need_lib_prefix=no 11616 need_version=no 11617 case $host_cpu in 11618 ia64*) 11619 shrext_cmds='.so' 11620 hardcode_into_libs=yes 11621 dynamic_linker="$host_os dld.so" 11622 shlibpath_var=LD_LIBRARY_PATH 11623 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11624 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11625 soname_spec='$libname$release$shared_ext$major' 11626 if test 32 = "$HPUX_IA64_MODE"; then 11627 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 11628 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 11629 else 11630 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 11631 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 11632 fi 11633 ;; 11634 hppa*64*) 11635 shrext_cmds='.sl' 11636 hardcode_into_libs=yes 11637 dynamic_linker="$host_os dld.sl" 11638 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 11639 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11640 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11641 soname_spec='$libname$release$shared_ext$major' 11642 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 11643 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11644 ;; 11645 *) 11646 shrext_cmds='.sl' 11647 dynamic_linker="$host_os dld.sl" 11648 shlibpath_var=SHLIB_PATH 11649 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 11650 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11651 soname_spec='$libname$release$shared_ext$major' 11652 ;; 11653 esac 11654 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 11655 postinstall_cmds='chmod 555 $lib' 11656 # or fails outright, so override atomically: 11657 install_override_mode=555 11658 ;; 11659 11660interix[3-9]*) 11661 version_type=linux # correct to gnu/linux during the next big refactor 11662 need_lib_prefix=no 11663 need_version=no 11664 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11665 soname_spec='$libname$release$shared_ext$major' 11666 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 11667 shlibpath_var=LD_LIBRARY_PATH 11668 shlibpath_overrides_runpath=no 11669 hardcode_into_libs=yes 11670 ;; 11671 11672irix5* | irix6* | nonstopux*) 11673 case $host_os in 11674 nonstopux*) version_type=nonstopux ;; 11675 *) 11676 if test yes = "$lt_cv_prog_gnu_ld"; then 11677 version_type=linux # correct to gnu/linux during the next big refactor 11678 else 11679 version_type=irix 11680 fi ;; 11681 esac 11682 need_lib_prefix=no 11683 need_version=no 11684 soname_spec='$libname$release$shared_ext$major' 11685 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 11686 case $host_os in 11687 irix5* | nonstopux*) 11688 libsuff= shlibsuff= 11689 ;; 11690 *) 11691 case $LD in # libtool.m4 will add one of these switches to LD 11692 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 11693 libsuff= shlibsuff= libmagic=32-bit;; 11694 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 11695 libsuff=32 shlibsuff=N32 libmagic=N32;; 11696 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 11697 libsuff=64 shlibsuff=64 libmagic=64-bit;; 11698 *) libsuff= shlibsuff= libmagic=never-match;; 11699 esac 11700 ;; 11701 esac 11702 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 11703 shlibpath_overrides_runpath=no 11704 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 11705 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 11706 hardcode_into_libs=yes 11707 ;; 11708 11709# No shared lib support for Linux oldld, aout, or coff. 11710linux*oldld* | linux*aout* | linux*coff*) 11711 dynamic_linker=no 11712 ;; 11713 11714linux*android*) 11715 version_type=none # Android doesn't support versioned libraries. 11716 need_lib_prefix=no 11717 need_version=no 11718 library_names_spec='$libname$release$shared_ext' 11719 soname_spec='$libname$release$shared_ext' 11720 finish_cmds= 11721 shlibpath_var=LD_LIBRARY_PATH 11722 shlibpath_overrides_runpath=yes 11723 11724 # This implies no fast_install, which is unacceptable. 11725 # Some rework will be needed to allow for fast_install 11726 # before this can be enabled. 11727 hardcode_into_libs=yes 11728 11729 dynamic_linker='Android linker' 11730 # Don't embed -rpath directories since the linker doesn't support them. 11731 hardcode_libdir_flag_spec='-L$libdir' 11732 ;; 11733 11734# This must be glibc/ELF. 11735linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 11736 version_type=linux # correct to gnu/linux during the next big refactor 11737 need_lib_prefix=no 11738 need_version=no 11739 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11740 soname_spec='$libname$release$shared_ext$major' 11741 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 11742 shlibpath_var=LD_LIBRARY_PATH 11743 shlibpath_overrides_runpath=no 11744 11745 # Some binutils ld are patched to set DT_RUNPATH 11746 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 11747 $as_echo_n "(cached) " >&6 11748else 11749 lt_cv_shlibpath_overrides_runpath=no 11750 save_LDFLAGS=$LDFLAGS 11751 save_libdir=$libdir 11752 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 11753 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 11754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11755/* end confdefs.h. */ 11756 11757int 11758main () 11759{ 11760 11761 ; 11762 return 0; 11763} 11764_ACEOF 11765if ac_fn_c_try_link "$LINENO"; then : 11766 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 11767 lt_cv_shlibpath_overrides_runpath=yes 11768fi 11769fi 11770rm -f core conftest.err conftest.$ac_objext \ 11771 conftest$ac_exeext conftest.$ac_ext 11772 LDFLAGS=$save_LDFLAGS 11773 libdir=$save_libdir 11774 11775fi 11776 11777 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 11778 11779 # This implies no fast_install, which is unacceptable. 11780 # Some rework will be needed to allow for fast_install 11781 # before this can be enabled. 11782 hardcode_into_libs=yes 11783 11784 # Ideally, we could use ldconfig to report *all* directores which are 11785 # searched for libraries, however this is still not possible. Aside from not 11786 # being certain /sbin/ldconfig is available, command 11787 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 11788 # even though it is searched at run-time. Try to do the best guess by 11789 # appending ld.so.conf contents (and includes) to the search path. 11790 if test -f /etc/ld.so.conf; then 11791 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' ' '` 11792 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 11793 fi 11794 11795 # We used to test for /lib/ld.so.1 and disable shared libraries on 11796 # powerpc, because MkLinux only supported shared libraries with the 11797 # GNU dynamic linker. Since this was broken with cross compilers, 11798 # most powerpc-linux boxes support dynamic linking these days and 11799 # people can always --disable-shared, the test was removed, and we 11800 # assume the GNU/Linux dynamic linker is in use. 11801 dynamic_linker='GNU/Linux ld.so' 11802 ;; 11803 11804netbsdelf*-gnu) 11805 version_type=linux 11806 need_lib_prefix=no 11807 need_version=no 11808 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11809 soname_spec='${libname}${release}${shared_ext}$major' 11810 shlibpath_var=LD_LIBRARY_PATH 11811 shlibpath_overrides_runpath=no 11812 hardcode_into_libs=yes 11813 dynamic_linker='NetBSD ld.elf_so' 11814 ;; 11815 11816netbsd*) 11817 version_type=sunos 11818 need_lib_prefix=no 11819 need_version=no 11820 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11821 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11822 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11823 dynamic_linker='NetBSD (a.out) ld.so' 11824 else 11825 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11826 soname_spec='$libname$release$shared_ext$major' 11827 dynamic_linker='NetBSD ld.elf_so' 11828 fi 11829 shlibpath_var=LD_LIBRARY_PATH 11830 shlibpath_overrides_runpath=yes 11831 hardcode_into_libs=yes 11832 ;; 11833 11834newsos6) 11835 version_type=linux # correct to gnu/linux during the next big refactor 11836 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11837 shlibpath_var=LD_LIBRARY_PATH 11838 shlibpath_overrides_runpath=yes 11839 ;; 11840 11841*nto* | *qnx*) 11842 version_type=qnx 11843 need_lib_prefix=no 11844 need_version=no 11845 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11846 soname_spec='$libname$release$shared_ext$major' 11847 shlibpath_var=LD_LIBRARY_PATH 11848 shlibpath_overrides_runpath=no 11849 hardcode_into_libs=yes 11850 dynamic_linker='ldqnx.so' 11851 ;; 11852 11853openbsd* | bitrig*) 11854 version_type=sunos 11855 sys_lib_dlsearch_path_spec=/usr/lib 11856 need_lib_prefix=no 11857 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 11858 need_version=no 11859 else 11860 need_version=yes 11861 fi 11862 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11863 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11864 shlibpath_var=LD_LIBRARY_PATH 11865 shlibpath_overrides_runpath=yes 11866 ;; 11867 11868os2*) 11869 libname_spec='$name' 11870 version_type=windows 11871 shrext_cmds=.dll 11872 need_version=no 11873 need_lib_prefix=no 11874 # OS/2 can only load a DLL with a base name of 8 characters or less. 11875 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 11876 v=$($ECHO $release$versuffix | tr -d .-); 11877 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 11878 $ECHO $n$v`$shared_ext' 11879 library_names_spec='${libname}_dll.$libext' 11880 dynamic_linker='OS/2 ld.exe' 11881 shlibpath_var=BEGINLIBPATH 11882 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11883 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11884 postinstall_cmds='base_file=`basename \$file`~ 11885 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 11886 dldir=$destdir/`dirname \$dlpath`~ 11887 test -d \$dldir || mkdir -p \$dldir~ 11888 $install_prog $dir/$dlname \$dldir/$dlname~ 11889 chmod a+x \$dldir/$dlname~ 11890 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11891 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11892 fi' 11893 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 11894 dlpath=$dir/\$dldll~ 11895 $RM \$dlpath' 11896 ;; 11897 11898osf3* | osf4* | osf5*) 11899 version_type=osf 11900 need_lib_prefix=no 11901 need_version=no 11902 soname_spec='$libname$release$shared_ext$major' 11903 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11904 shlibpath_var=LD_LIBRARY_PATH 11905 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11906 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11907 ;; 11908 11909rdos*) 11910 dynamic_linker=no 11911 ;; 11912 11913solaris*) 11914 version_type=linux # correct to gnu/linux during the next big refactor 11915 need_lib_prefix=no 11916 need_version=no 11917 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11918 soname_spec='$libname$release$shared_ext$major' 11919 shlibpath_var=LD_LIBRARY_PATH 11920 shlibpath_overrides_runpath=yes 11921 hardcode_into_libs=yes 11922 # ldd complains unless libraries are executable 11923 postinstall_cmds='chmod +x $lib' 11924 ;; 11925 11926sunos4*) 11927 version_type=sunos 11928 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11929 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11930 shlibpath_var=LD_LIBRARY_PATH 11931 shlibpath_overrides_runpath=yes 11932 if test yes = "$with_gnu_ld"; then 11933 need_lib_prefix=no 11934 fi 11935 need_version=yes 11936 ;; 11937 11938sysv4 | sysv4.3*) 11939 version_type=linux # correct to gnu/linux during the next big refactor 11940 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11941 soname_spec='$libname$release$shared_ext$major' 11942 shlibpath_var=LD_LIBRARY_PATH 11943 case $host_vendor in 11944 sni) 11945 shlibpath_overrides_runpath=no 11946 need_lib_prefix=no 11947 runpath_var=LD_RUN_PATH 11948 ;; 11949 siemens) 11950 need_lib_prefix=no 11951 ;; 11952 motorola) 11953 need_lib_prefix=no 11954 need_version=no 11955 shlibpath_overrides_runpath=no 11956 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11957 ;; 11958 esac 11959 ;; 11960 11961sysv4*MP*) 11962 if test -d /usr/nec; then 11963 version_type=linux # correct to gnu/linux during the next big refactor 11964 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 11965 soname_spec='$libname$shared_ext.$major' 11966 shlibpath_var=LD_LIBRARY_PATH 11967 fi 11968 ;; 11969 11970sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11971 version_type=sco 11972 need_lib_prefix=no 11973 need_version=no 11974 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 11975 soname_spec='$libname$release$shared_ext$major' 11976 shlibpath_var=LD_LIBRARY_PATH 11977 shlibpath_overrides_runpath=yes 11978 hardcode_into_libs=yes 11979 if test yes = "$with_gnu_ld"; then 11980 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11981 else 11982 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11983 case $host_os in 11984 sco3.2v5*) 11985 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11986 ;; 11987 esac 11988 fi 11989 sys_lib_dlsearch_path_spec='/usr/lib' 11990 ;; 11991 11992tpf*) 11993 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11994 version_type=linux # correct to gnu/linux during the next big refactor 11995 need_lib_prefix=no 11996 need_version=no 11997 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11998 shlibpath_var=LD_LIBRARY_PATH 11999 shlibpath_overrides_runpath=no 12000 hardcode_into_libs=yes 12001 ;; 12002 12003uts4*) 12004 version_type=linux # correct to gnu/linux during the next big refactor 12005 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12006 soname_spec='$libname$release$shared_ext$major' 12007 shlibpath_var=LD_LIBRARY_PATH 12008 ;; 12009 12010*) 12011 dynamic_linker=no 12012 ;; 12013esac 12014{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 12015$as_echo "$dynamic_linker" >&6; } 12016test no = "$dynamic_linker" && can_build_shared=no 12017 12018variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 12019if test yes = "$GCC"; then 12020 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 12021fi 12022 12023if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 12024 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 12025fi 12026 12027if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 12028 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 12029fi 12030 12031# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 12032configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 12033 12034# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 12035func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 12036 12037# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 12038configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 12039 12040 12041 12042 12043 12044 12045 12046 12047 12048 12049 12050 12051 12052 12053 12054 12055 12056 12057 12058 12059 12060 12061 12062 12063 12064 12065 12066 12067 12068 12069 12070 12071 12072 12073 12074 12075 12076 12077 12078 12079 12080 12081 12082 12083 12084 12085 12086 12087 12088 12089 12090 12091 12092 12093 12094 12095 12096 12097 12098 12099 12100 12101 12102 12103 12104 12105 12106 12107 12108 12109 12110 12111 12112 12113 12114 12115 12116 12117 12118 12119 12120 12121 12122 12123 12124 12125 12126 12127 12128 12129 12130 12131 12132 12133 12134 12135 12136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 12137$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 12138hardcode_action= 12139if test -n "$hardcode_libdir_flag_spec" || 12140 test -n "$runpath_var" || 12141 test yes = "$hardcode_automatic"; then 12142 12143 # We can hardcode non-existent directories. 12144 if test no != "$hardcode_direct" && 12145 # If the only mechanism to avoid hardcoding is shlibpath_var, we 12146 # have to relink, otherwise we might link with an installed library 12147 # when we should be linking with a yet-to-be-installed one 12148 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 12149 test no != "$hardcode_minus_L"; then 12150 # Linking always hardcodes the temporary library directory. 12151 hardcode_action=relink 12152 else 12153 # We can link without hardcoding, and we can hardcode nonexisting dirs. 12154 hardcode_action=immediate 12155 fi 12156else 12157 # We cannot hardcode anything, or else we can only hardcode existing 12158 # directories. 12159 hardcode_action=unsupported 12160fi 12161{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 12162$as_echo "$hardcode_action" >&6; } 12163 12164if test relink = "$hardcode_action" || 12165 test yes = "$inherit_rpath"; then 12166 # Fast installation is not supported 12167 enable_fast_install=no 12168elif test yes = "$shlibpath_overrides_runpath" || 12169 test no = "$enable_shared"; then 12170 # Fast installation is not necessary 12171 enable_fast_install=needless 12172fi 12173 12174 12175 12176 12177 12178 12179 if test yes != "$enable_dlopen"; then 12180 enable_dlopen=unknown 12181 enable_dlopen_self=unknown 12182 enable_dlopen_self_static=unknown 12183else 12184 lt_cv_dlopen=no 12185 lt_cv_dlopen_libs= 12186 12187 case $host_os in 12188 beos*) 12189 lt_cv_dlopen=load_add_on 12190 lt_cv_dlopen_libs= 12191 lt_cv_dlopen_self=yes 12192 ;; 12193 12194 mingw* | pw32* | cegcc*) 12195 lt_cv_dlopen=LoadLibrary 12196 lt_cv_dlopen_libs= 12197 ;; 12198 12199 cygwin*) 12200 lt_cv_dlopen=dlopen 12201 lt_cv_dlopen_libs= 12202 ;; 12203 12204 darwin*) 12205 # if libdl is installed we need to link against it 12206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12207$as_echo_n "checking for dlopen in -ldl... " >&6; } 12208if ${ac_cv_lib_dl_dlopen+:} false; then : 12209 $as_echo_n "(cached) " >&6 12210else 12211 ac_check_lib_save_LIBS=$LIBS 12212LIBS="-ldl $LIBS" 12213cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12214/* end confdefs.h. */ 12215 12216/* Override any GCC internal prototype to avoid an error. 12217 Use char because int might match the return type of a GCC 12218 builtin and then its argument prototype would still apply. */ 12219#ifdef __cplusplus 12220extern "C" 12221#endif 12222char dlopen (); 12223int 12224main () 12225{ 12226return dlopen (); 12227 ; 12228 return 0; 12229} 12230_ACEOF 12231if ac_fn_c_try_link "$LINENO"; then : 12232 ac_cv_lib_dl_dlopen=yes 12233else 12234 ac_cv_lib_dl_dlopen=no 12235fi 12236rm -f core conftest.err conftest.$ac_objext \ 12237 conftest$ac_exeext conftest.$ac_ext 12238LIBS=$ac_check_lib_save_LIBS 12239fi 12240{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12241$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12242if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12243 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 12244else 12245 12246 lt_cv_dlopen=dyld 12247 lt_cv_dlopen_libs= 12248 lt_cv_dlopen_self=yes 12249 12250fi 12251 12252 ;; 12253 12254 tpf*) 12255 # Don't try to run any link tests for TPF. We know it's impossible 12256 # because TPF is a cross-compiler, and we know how we open DSOs. 12257 lt_cv_dlopen=dlopen 12258 lt_cv_dlopen_libs= 12259 lt_cv_dlopen_self=no 12260 ;; 12261 12262 *) 12263 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 12264if test "x$ac_cv_func_shl_load" = xyes; then : 12265 lt_cv_dlopen=shl_load 12266else 12267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 12268$as_echo_n "checking for shl_load in -ldld... " >&6; } 12269if ${ac_cv_lib_dld_shl_load+:} false; then : 12270 $as_echo_n "(cached) " >&6 12271else 12272 ac_check_lib_save_LIBS=$LIBS 12273LIBS="-ldld $LIBS" 12274cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12275/* end confdefs.h. */ 12276 12277/* Override any GCC internal prototype to avoid an error. 12278 Use char because int might match the return type of a GCC 12279 builtin and then its argument prototype would still apply. */ 12280#ifdef __cplusplus 12281extern "C" 12282#endif 12283char shl_load (); 12284int 12285main () 12286{ 12287return shl_load (); 12288 ; 12289 return 0; 12290} 12291_ACEOF 12292if ac_fn_c_try_link "$LINENO"; then : 12293 ac_cv_lib_dld_shl_load=yes 12294else 12295 ac_cv_lib_dld_shl_load=no 12296fi 12297rm -f core conftest.err conftest.$ac_objext \ 12298 conftest$ac_exeext conftest.$ac_ext 12299LIBS=$ac_check_lib_save_LIBS 12300fi 12301{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 12302$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 12303if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 12304 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 12305else 12306 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 12307if test "x$ac_cv_func_dlopen" = xyes; then : 12308 lt_cv_dlopen=dlopen 12309else 12310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12311$as_echo_n "checking for dlopen in -ldl... " >&6; } 12312if ${ac_cv_lib_dl_dlopen+:} false; then : 12313 $as_echo_n "(cached) " >&6 12314else 12315 ac_check_lib_save_LIBS=$LIBS 12316LIBS="-ldl $LIBS" 12317cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12318/* end confdefs.h. */ 12319 12320/* Override any GCC internal prototype to avoid an error. 12321 Use char because int might match the return type of a GCC 12322 builtin and then its argument prototype would still apply. */ 12323#ifdef __cplusplus 12324extern "C" 12325#endif 12326char dlopen (); 12327int 12328main () 12329{ 12330return dlopen (); 12331 ; 12332 return 0; 12333} 12334_ACEOF 12335if ac_fn_c_try_link "$LINENO"; then : 12336 ac_cv_lib_dl_dlopen=yes 12337else 12338 ac_cv_lib_dl_dlopen=no 12339fi 12340rm -f core conftest.err conftest.$ac_objext \ 12341 conftest$ac_exeext conftest.$ac_ext 12342LIBS=$ac_check_lib_save_LIBS 12343fi 12344{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12345$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12346if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12347 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 12348else 12349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 12350$as_echo_n "checking for dlopen in -lsvld... " >&6; } 12351if ${ac_cv_lib_svld_dlopen+:} false; then : 12352 $as_echo_n "(cached) " >&6 12353else 12354 ac_check_lib_save_LIBS=$LIBS 12355LIBS="-lsvld $LIBS" 12356cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12357/* end confdefs.h. */ 12358 12359/* Override any GCC internal prototype to avoid an error. 12360 Use char because int might match the return type of a GCC 12361 builtin and then its argument prototype would still apply. */ 12362#ifdef __cplusplus 12363extern "C" 12364#endif 12365char dlopen (); 12366int 12367main () 12368{ 12369return dlopen (); 12370 ; 12371 return 0; 12372} 12373_ACEOF 12374if ac_fn_c_try_link "$LINENO"; then : 12375 ac_cv_lib_svld_dlopen=yes 12376else 12377 ac_cv_lib_svld_dlopen=no 12378fi 12379rm -f core conftest.err conftest.$ac_objext \ 12380 conftest$ac_exeext conftest.$ac_ext 12381LIBS=$ac_check_lib_save_LIBS 12382fi 12383{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 12384$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 12385if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 12386 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 12387else 12388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 12389$as_echo_n "checking for dld_link in -ldld... " >&6; } 12390if ${ac_cv_lib_dld_dld_link+:} false; then : 12391 $as_echo_n "(cached) " >&6 12392else 12393 ac_check_lib_save_LIBS=$LIBS 12394LIBS="-ldld $LIBS" 12395cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12396/* end confdefs.h. */ 12397 12398/* Override any GCC internal prototype to avoid an error. 12399 Use char because int might match the return type of a GCC 12400 builtin and then its argument prototype would still apply. */ 12401#ifdef __cplusplus 12402extern "C" 12403#endif 12404char dld_link (); 12405int 12406main () 12407{ 12408return dld_link (); 12409 ; 12410 return 0; 12411} 12412_ACEOF 12413if ac_fn_c_try_link "$LINENO"; then : 12414 ac_cv_lib_dld_dld_link=yes 12415else 12416 ac_cv_lib_dld_dld_link=no 12417fi 12418rm -f core conftest.err conftest.$ac_objext \ 12419 conftest$ac_exeext conftest.$ac_ext 12420LIBS=$ac_check_lib_save_LIBS 12421fi 12422{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 12423$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 12424if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 12425 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 12426fi 12427 12428 12429fi 12430 12431 12432fi 12433 12434 12435fi 12436 12437 12438fi 12439 12440 12441fi 12442 12443 ;; 12444 esac 12445 12446 if test no = "$lt_cv_dlopen"; then 12447 enable_dlopen=no 12448 else 12449 enable_dlopen=yes 12450 fi 12451 12452 case $lt_cv_dlopen in 12453 dlopen) 12454 save_CPPFLAGS=$CPPFLAGS 12455 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 12456 12457 save_LDFLAGS=$LDFLAGS 12458 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 12459 12460 save_LIBS=$LIBS 12461 LIBS="$lt_cv_dlopen_libs $LIBS" 12462 12463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 12464$as_echo_n "checking whether a program can dlopen itself... " >&6; } 12465if ${lt_cv_dlopen_self+:} false; then : 12466 $as_echo_n "(cached) " >&6 12467else 12468 if test yes = "$cross_compiling"; then : 12469 lt_cv_dlopen_self=cross 12470else 12471 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12472 lt_status=$lt_dlunknown 12473 cat > conftest.$ac_ext <<_LT_EOF 12474#line $LINENO "configure" 12475#include "confdefs.h" 12476 12477#if HAVE_DLFCN_H 12478#include <dlfcn.h> 12479#endif 12480 12481#include <stdio.h> 12482 12483#ifdef RTLD_GLOBAL 12484# define LT_DLGLOBAL RTLD_GLOBAL 12485#else 12486# ifdef DL_GLOBAL 12487# define LT_DLGLOBAL DL_GLOBAL 12488# else 12489# define LT_DLGLOBAL 0 12490# endif 12491#endif 12492 12493/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12494 find out it does not work in some platform. */ 12495#ifndef LT_DLLAZY_OR_NOW 12496# ifdef RTLD_LAZY 12497# define LT_DLLAZY_OR_NOW RTLD_LAZY 12498# else 12499# ifdef DL_LAZY 12500# define LT_DLLAZY_OR_NOW DL_LAZY 12501# else 12502# ifdef RTLD_NOW 12503# define LT_DLLAZY_OR_NOW RTLD_NOW 12504# else 12505# ifdef DL_NOW 12506# define LT_DLLAZY_OR_NOW DL_NOW 12507# else 12508# define LT_DLLAZY_OR_NOW 0 12509# endif 12510# endif 12511# endif 12512# endif 12513#endif 12514 12515/* When -fvisibility=hidden is used, assume the code has been annotated 12516 correspondingly for the symbols needed. */ 12517#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12518int fnord () __attribute__((visibility("default"))); 12519#endif 12520 12521int fnord () { return 42; } 12522int main () 12523{ 12524 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12525 int status = $lt_dlunknown; 12526 12527 if (self) 12528 { 12529 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12530 else 12531 { 12532 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12533 else puts (dlerror ()); 12534 } 12535 /* dlclose (self); */ 12536 } 12537 else 12538 puts (dlerror ()); 12539 12540 return status; 12541} 12542_LT_EOF 12543 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12544 (eval $ac_link) 2>&5 12545 ac_status=$? 12546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12547 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12548 (./conftest; exit; ) >&5 2>/dev/null 12549 lt_status=$? 12550 case x$lt_status in 12551 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 12552 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 12553 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 12554 esac 12555 else : 12556 # compilation failed 12557 lt_cv_dlopen_self=no 12558 fi 12559fi 12560rm -fr conftest* 12561 12562 12563fi 12564{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 12565$as_echo "$lt_cv_dlopen_self" >&6; } 12566 12567 if test yes = "$lt_cv_dlopen_self"; then 12568 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 12569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 12570$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 12571if ${lt_cv_dlopen_self_static+:} false; then : 12572 $as_echo_n "(cached) " >&6 12573else 12574 if test yes = "$cross_compiling"; then : 12575 lt_cv_dlopen_self_static=cross 12576else 12577 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12578 lt_status=$lt_dlunknown 12579 cat > conftest.$ac_ext <<_LT_EOF 12580#line $LINENO "configure" 12581#include "confdefs.h" 12582 12583#if HAVE_DLFCN_H 12584#include <dlfcn.h> 12585#endif 12586 12587#include <stdio.h> 12588 12589#ifdef RTLD_GLOBAL 12590# define LT_DLGLOBAL RTLD_GLOBAL 12591#else 12592# ifdef DL_GLOBAL 12593# define LT_DLGLOBAL DL_GLOBAL 12594# else 12595# define LT_DLGLOBAL 0 12596# endif 12597#endif 12598 12599/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12600 find out it does not work in some platform. */ 12601#ifndef LT_DLLAZY_OR_NOW 12602# ifdef RTLD_LAZY 12603# define LT_DLLAZY_OR_NOW RTLD_LAZY 12604# else 12605# ifdef DL_LAZY 12606# define LT_DLLAZY_OR_NOW DL_LAZY 12607# else 12608# ifdef RTLD_NOW 12609# define LT_DLLAZY_OR_NOW RTLD_NOW 12610# else 12611# ifdef DL_NOW 12612# define LT_DLLAZY_OR_NOW DL_NOW 12613# else 12614# define LT_DLLAZY_OR_NOW 0 12615# endif 12616# endif 12617# endif 12618# endif 12619#endif 12620 12621/* When -fvisibility=hidden is used, assume the code has been annotated 12622 correspondingly for the symbols needed. */ 12623#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12624int fnord () __attribute__((visibility("default"))); 12625#endif 12626 12627int fnord () { return 42; } 12628int main () 12629{ 12630 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12631 int status = $lt_dlunknown; 12632 12633 if (self) 12634 { 12635 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12636 else 12637 { 12638 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12639 else puts (dlerror ()); 12640 } 12641 /* dlclose (self); */ 12642 } 12643 else 12644 puts (dlerror ()); 12645 12646 return status; 12647} 12648_LT_EOF 12649 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12650 (eval $ac_link) 2>&5 12651 ac_status=$? 12652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12653 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12654 (./conftest; exit; ) >&5 2>/dev/null 12655 lt_status=$? 12656 case x$lt_status in 12657 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 12658 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 12659 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 12660 esac 12661 else : 12662 # compilation failed 12663 lt_cv_dlopen_self_static=no 12664 fi 12665fi 12666rm -fr conftest* 12667 12668 12669fi 12670{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 12671$as_echo "$lt_cv_dlopen_self_static" >&6; } 12672 fi 12673 12674 CPPFLAGS=$save_CPPFLAGS 12675 LDFLAGS=$save_LDFLAGS 12676 LIBS=$save_LIBS 12677 ;; 12678 esac 12679 12680 case $lt_cv_dlopen_self in 12681 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 12682 *) enable_dlopen_self=unknown ;; 12683 esac 12684 12685 case $lt_cv_dlopen_self_static in 12686 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 12687 *) enable_dlopen_self_static=unknown ;; 12688 esac 12689fi 12690 12691 12692 12693 12694 12695 12696 12697 12698 12699 12700 12701 12702 12703 12704 12705 12706 12707striplib= 12708old_striplib= 12709{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 12710$as_echo_n "checking whether stripping libraries is possible... " >&6; } 12711if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 12712 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 12713 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 12714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12715$as_echo "yes" >&6; } 12716else 12717# FIXME - insert some real tests, host_os isn't really good enough 12718 case $host_os in 12719 darwin*) 12720 if test -n "$STRIP"; then 12721 striplib="$STRIP -x" 12722 old_striplib="$STRIP -S" 12723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12724$as_echo "yes" >&6; } 12725 else 12726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12727$as_echo "no" >&6; } 12728 fi 12729 ;; 12730 *) 12731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12732$as_echo "no" >&6; } 12733 ;; 12734 esac 12735fi 12736 12737 12738 12739 12740 12741 12742 12743 12744 12745 12746 12747 12748 # Report what library types will actually be built 12749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 12750$as_echo_n "checking if libtool supports shared libraries... " >&6; } 12751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 12752$as_echo "$can_build_shared" >&6; } 12753 12754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 12755$as_echo_n "checking whether to build shared libraries... " >&6; } 12756 test no = "$can_build_shared" && enable_shared=no 12757 12758 # On AIX, shared libraries and static libraries use the same namespace, and 12759 # are all built from PIC. 12760 case $host_os in 12761 aix3*) 12762 test yes = "$enable_shared" && enable_static=no 12763 if test -n "$RANLIB"; then 12764 archive_cmds="$archive_cmds~\$RANLIB \$lib" 12765 postinstall_cmds='$RANLIB $lib' 12766 fi 12767 ;; 12768 12769 aix[4-9]*) 12770 if test ia64 != "$host_cpu"; then 12771 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 12772 yes,aix,yes) ;; # shared object as lib.so file only 12773 yes,svr4,*) ;; # shared object as lib.so archive member only 12774 yes,*) enable_static=no ;; # shared object in lib.a archive as well 12775 esac 12776 fi 12777 ;; 12778 esac 12779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 12780$as_echo "$enable_shared" >&6; } 12781 12782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 12783$as_echo_n "checking whether to build static libraries... " >&6; } 12784 # Make sure either enable_shared or enable_static is yes. 12785 test yes = "$enable_shared" || enable_static=yes 12786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 12787$as_echo "$enable_static" >&6; } 12788 12789 12790 12791 12792fi 12793ac_ext=c 12794ac_cpp='$CPP $CPPFLAGS' 12795ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12796ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12797ac_compiler_gnu=$ac_cv_c_compiler_gnu 12798 12799CC=$lt_save_CC 12800 12801 if test -n "$CXX" && ( test no != "$CXX" && 12802 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) || 12803 (test g++ != "$CXX"))); then 12804 ac_ext=cpp 12805ac_cpp='$CXXCPP $CPPFLAGS' 12806ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12807ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12808ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 12809{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 12810$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 12811if test -z "$CXXCPP"; then 12812 if ${ac_cv_prog_CXXCPP+:} false; then : 12813 $as_echo_n "(cached) " >&6 12814else 12815 # Double quotes because CXXCPP needs to be expanded 12816 for CXXCPP in "$CXX -E" "/lib/cpp" 12817 do 12818 ac_preproc_ok=false 12819for ac_cxx_preproc_warn_flag in '' yes 12820do 12821 # Use a header file that comes with gcc, so configuring glibc 12822 # with a fresh cross-compiler works. 12823 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12824 # <limits.h> exists even on freestanding compilers. 12825 # On the NeXT, cc -E runs the code through the compiler's parser, 12826 # not just through cpp. "Syntax error" is here to catch this case. 12827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12828/* end confdefs.h. */ 12829@%:@ifdef __STDC__ 12830@%:@ include <limits.h> 12831@%:@else 12832@%:@ include <assert.h> 12833@%:@endif 12834 Syntax error 12835_ACEOF 12836if ac_fn_cxx_try_cpp "$LINENO"; then : 12837 12838else 12839 # Broken: fails on valid input. 12840continue 12841fi 12842rm -f conftest.err conftest.i conftest.$ac_ext 12843 12844 # OK, works on sane cases. Now check whether nonexistent headers 12845 # can be detected and how. 12846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12847/* end confdefs.h. */ 12848@%:@include <ac_nonexistent.h> 12849_ACEOF 12850if ac_fn_cxx_try_cpp "$LINENO"; then : 12851 # Broken: success on invalid input. 12852continue 12853else 12854 # Passes both tests. 12855ac_preproc_ok=: 12856break 12857fi 12858rm -f conftest.err conftest.i conftest.$ac_ext 12859 12860done 12861# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 12862rm -f conftest.i conftest.err conftest.$ac_ext 12863if $ac_preproc_ok; then : 12864 break 12865fi 12866 12867 done 12868 ac_cv_prog_CXXCPP=$CXXCPP 12869 12870fi 12871 CXXCPP=$ac_cv_prog_CXXCPP 12872else 12873 ac_cv_prog_CXXCPP=$CXXCPP 12874fi 12875{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 12876$as_echo "$CXXCPP" >&6; } 12877ac_preproc_ok=false 12878for ac_cxx_preproc_warn_flag in '' yes 12879do 12880 # Use a header file that comes with gcc, so configuring glibc 12881 # with a fresh cross-compiler works. 12882 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12883 # <limits.h> exists even on freestanding compilers. 12884 # On the NeXT, cc -E runs the code through the compiler's parser, 12885 # not just through cpp. "Syntax error" is here to catch this case. 12886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12887/* end confdefs.h. */ 12888@%:@ifdef __STDC__ 12889@%:@ include <limits.h> 12890@%:@else 12891@%:@ include <assert.h> 12892@%:@endif 12893 Syntax error 12894_ACEOF 12895if ac_fn_cxx_try_cpp "$LINENO"; then : 12896 12897else 12898 # Broken: fails on valid input. 12899continue 12900fi 12901rm -f conftest.err conftest.i conftest.$ac_ext 12902 12903 # OK, works on sane cases. Now check whether nonexistent headers 12904 # can be detected and how. 12905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12906/* end confdefs.h. */ 12907@%:@include <ac_nonexistent.h> 12908_ACEOF 12909if ac_fn_cxx_try_cpp "$LINENO"; then : 12910 # Broken: success on invalid input. 12911continue 12912else 12913 # Passes both tests. 12914ac_preproc_ok=: 12915break 12916fi 12917rm -f conftest.err conftest.i conftest.$ac_ext 12918 12919done 12920# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 12921rm -f conftest.i conftest.err conftest.$ac_ext 12922if $ac_preproc_ok; then : 12923 12924else 12925 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12926$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12927as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 12928See \`config.log' for more details" "$LINENO" 5; } 12929fi 12930 12931ac_ext=c 12932ac_cpp='$CPP $CPPFLAGS' 12933ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12934ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12935ac_compiler_gnu=$ac_cv_c_compiler_gnu 12936 12937else 12938 _lt_caught_CXX_error=yes 12939fi 12940 12941ac_ext=cpp 12942ac_cpp='$CXXCPP $CPPFLAGS' 12943ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12944ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12945ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 12946 12947archive_cmds_need_lc_CXX=no 12948allow_undefined_flag_CXX= 12949always_export_symbols_CXX=no 12950archive_expsym_cmds_CXX= 12951compiler_needs_object_CXX=no 12952export_dynamic_flag_spec_CXX= 12953hardcode_direct_CXX=no 12954hardcode_direct_absolute_CXX=no 12955hardcode_libdir_flag_spec_CXX= 12956hardcode_libdir_separator_CXX= 12957hardcode_minus_L_CXX=no 12958hardcode_shlibpath_var_CXX=unsupported 12959hardcode_automatic_CXX=no 12960inherit_rpath_CXX=no 12961module_cmds_CXX= 12962module_expsym_cmds_CXX= 12963link_all_deplibs_CXX=unknown 12964old_archive_cmds_CXX=$old_archive_cmds 12965reload_flag_CXX=$reload_flag 12966reload_cmds_CXX=$reload_cmds 12967no_undefined_flag_CXX= 12968whole_archive_flag_spec_CXX= 12969enable_shared_with_static_runtimes_CXX=no 12970 12971# Source file extension for C++ test sources. 12972ac_ext=cpp 12973 12974# Object file extension for compiled C++ test sources. 12975objext=o 12976objext_CXX=$objext 12977 12978# No sense in running all these tests if we already determined that 12979# the CXX compiler isn't working. Some variables (like enable_shared) 12980# are currently assumed to apply to all compilers on this platform, 12981# and will be corrupted by setting them based on a non-working compiler. 12982if test yes != "$_lt_caught_CXX_error"; then 12983 # Code to be used in simple compile tests 12984 lt_simple_compile_test_code="int some_variable = 0;" 12985 12986 # Code to be used in simple link tests 12987 lt_simple_link_test_code='int main(int, char *[]) { return(0); }' 12988 12989 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 12990 12991 12992 12993 12994 12995 12996# If no C compiler was specified, use CC. 12997LTCC=${LTCC-"$CC"} 12998 12999# If no C compiler flags were specified, use CFLAGS. 13000LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 13001 13002# Allow CC to be a program name with arguments. 13003compiler=$CC 13004 13005 13006 # save warnings/boilerplate of simple test code 13007 ac_outfile=conftest.$ac_objext 13008echo "$lt_simple_compile_test_code" >conftest.$ac_ext 13009eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 13010_lt_compiler_boilerplate=`cat conftest.err` 13011$RM conftest* 13012 13013 ac_outfile=conftest.$ac_objext 13014echo "$lt_simple_link_test_code" >conftest.$ac_ext 13015eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 13016_lt_linker_boilerplate=`cat conftest.err` 13017$RM -r conftest* 13018 13019 13020 # Allow CC to be a program name with arguments. 13021 lt_save_CC=$CC 13022 lt_save_CFLAGS=$CFLAGS 13023 lt_save_LD=$LD 13024 lt_save_GCC=$GCC 13025 GCC=$GXX 13026 lt_save_with_gnu_ld=$with_gnu_ld 13027 lt_save_path_LD=$lt_cv_path_LD 13028 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then 13029 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 13030 else 13031 $as_unset lt_cv_prog_gnu_ld 13032 fi 13033 if test -n "${lt_cv_path_LDCXX+set}"; then 13034 lt_cv_path_LD=$lt_cv_path_LDCXX 13035 else 13036 $as_unset lt_cv_path_LD 13037 fi 13038 test -z "${LDCXX+set}" || LD=$LDCXX 13039 CC=${CXX-"c++"} 13040 CFLAGS=$CXXFLAGS 13041 compiler=$CC 13042 compiler_CXX=$CC 13043 func_cc_basename $compiler 13044cc_basename=$func_cc_basename_result 13045 13046 13047 if test -n "$compiler"; then 13048 # We don't want -fno-exception when compiling C++ code, so set the 13049 # no_builtin_flag separately 13050 if test yes = "$GXX"; then 13051 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' 13052 else 13053 lt_prog_compiler_no_builtin_flag_CXX= 13054 fi 13055 13056 if test yes = "$GXX"; then 13057 # Set up default GNU C++ configuration 13058 13059 13060 13061@%:@ Check whether --with-gnu-ld was given. 13062if test "${with_gnu_ld+set}" = set; then : 13063 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 13064else 13065 with_gnu_ld=no 13066fi 13067 13068ac_prog=ld 13069if test yes = "$GCC"; then 13070 # Check if gcc -print-prog-name=ld gives a path. 13071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 13072$as_echo_n "checking for ld used by $CC... " >&6; } 13073 case $host in 13074 *-*-mingw*) 13075 # gcc leaves a trailing carriage return, which upsets mingw 13076 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 13077 *) 13078 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 13079 esac 13080 case $ac_prog in 13081 # Accept absolute paths. 13082 [\\/]* | ?:[\\/]*) 13083 re_direlt='/[^/][^/]*/\.\./' 13084 # Canonicalize the pathname of ld 13085 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 13086 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 13087 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 13088 done 13089 test -z "$LD" && LD=$ac_prog 13090 ;; 13091 "") 13092 # If it fails, then pretend we aren't using GCC. 13093 ac_prog=ld 13094 ;; 13095 *) 13096 # If it is relative, then search for the first ld in PATH. 13097 with_gnu_ld=unknown 13098 ;; 13099 esac 13100elif test yes = "$with_gnu_ld"; then 13101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 13102$as_echo_n "checking for GNU ld... " >&6; } 13103else 13104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 13105$as_echo_n "checking for non-GNU ld... " >&6; } 13106fi 13107if ${lt_cv_path_LD+:} false; then : 13108 $as_echo_n "(cached) " >&6 13109else 13110 if test -z "$LD"; then 13111 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 13112 for ac_dir in $PATH; do 13113 IFS=$lt_save_ifs 13114 test -z "$ac_dir" && ac_dir=. 13115 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 13116 lt_cv_path_LD=$ac_dir/$ac_prog 13117 # Check to see if the program is GNU ld. I'd rather use --version, 13118 # but apparently some variants of GNU ld only accept -v. 13119 # Break only if it was the GNU/non-GNU ld that we prefer. 13120 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 13121 *GNU* | *'with BFD'*) 13122 test no != "$with_gnu_ld" && break 13123 ;; 13124 *) 13125 test yes != "$with_gnu_ld" && break 13126 ;; 13127 esac 13128 fi 13129 done 13130 IFS=$lt_save_ifs 13131else 13132 lt_cv_path_LD=$LD # Let the user override the test with a path. 13133fi 13134fi 13135 13136LD=$lt_cv_path_LD 13137if test -n "$LD"; then 13138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 13139$as_echo "$LD" >&6; } 13140else 13141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13142$as_echo "no" >&6; } 13143fi 13144test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 13145{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 13146$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 13147if ${lt_cv_prog_gnu_ld+:} false; then : 13148 $as_echo_n "(cached) " >&6 13149else 13150 # I'd rather use --version here, but apparently some GNU lds only accept -v. 13151case `$LD -v 2>&1 </dev/null` in 13152*GNU* | *'with BFD'*) 13153 lt_cv_prog_gnu_ld=yes 13154 ;; 13155*) 13156 lt_cv_prog_gnu_ld=no 13157 ;; 13158esac 13159fi 13160{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 13161$as_echo "$lt_cv_prog_gnu_ld" >&6; } 13162with_gnu_ld=$lt_cv_prog_gnu_ld 13163 13164 13165 13166 13167 13168 13169 13170 # Check if GNU C++ uses GNU ld as the underlying linker, since the 13171 # archiving commands below assume that GNU ld is being used. 13172 if test yes = "$with_gnu_ld"; then 13173 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 13174 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' 13175 13176 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 13177 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 13178 13179 # If archive_cmds runs LD, not CC, wlarc should be empty 13180 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to 13181 # investigate it a little bit more. (MM) 13182 wlarc='$wl' 13183 13184 # ancient GNU ld didn't support --whole-archive et. al. 13185 if eval "`$CC -print-prog-name=ld` --help 2>&1" | 13186 $GREP 'no-whole-archive' > /dev/null; then 13187 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 13188 else 13189 whole_archive_flag_spec_CXX= 13190 fi 13191 else 13192 with_gnu_ld=no 13193 wlarc= 13194 13195 # A generic and very simple default shared library creation 13196 # command for GNU C++ for the case where it uses the native 13197 # linker, instead of GNU ld. If possible, this setting should 13198 # overridden to take advantage of the native linker features on 13199 # the platform it is being used on. 13200 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 13201 fi 13202 13203 # Commands to make compiler produce verbose output that lists 13204 # what "hidden" libraries, object files and flags are used when 13205 # linking a shared library. 13206 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"' 13207 13208 else 13209 GXX=no 13210 with_gnu_ld=no 13211 wlarc= 13212 fi 13213 13214 # PORTME: fill in a description of your system's C++ link characteristics 13215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 13216$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 13217 ld_shlibs_CXX=yes 13218 case $host_os in 13219 aix3*) 13220 # FIXME: insert proper C++ library support 13221 ld_shlibs_CXX=no 13222 ;; 13223 aix[4-9]*) 13224 if test ia64 = "$host_cpu"; then 13225 # On IA64, the linker does run time linking by default, so we don't 13226 # have to do anything special. 13227 aix_use_runtimelinking=no 13228 exp_sym_flag='-Bexport' 13229 no_entry_flag= 13230 else 13231 aix_use_runtimelinking=no 13232 13233 # Test if we are trying to use run time linking or normal 13234 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 13235 # have runtime linking enabled, and use it for executables. 13236 # For shared libraries, we enable/disable runtime linking 13237 # depending on the kind of the shared library created - 13238 # when "with_aix_soname,aix_use_runtimelinking" is: 13239 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 13240 # "aix,yes" lib.so shared, rtl:yes, for executables 13241 # lib.a static archive 13242 # "both,no" lib.so.V(shr.o) shared, rtl:yes 13243 # lib.a(lib.so.V) shared, rtl:no, for executables 13244 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 13245 # lib.a(lib.so.V) shared, rtl:no 13246 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 13247 # lib.a static archive 13248 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 13249 for ld_flag in $LDFLAGS; do 13250 case $ld_flag in 13251 *-brtl*) 13252 aix_use_runtimelinking=yes 13253 break 13254 ;; 13255 esac 13256 done 13257 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 13258 # With aix-soname=svr4, we create the lib.so.V shared archives only, 13259 # so we don't have lib.a shared libs to link our executables. 13260 # We have to force runtime linking in this case. 13261 aix_use_runtimelinking=yes 13262 LDFLAGS="$LDFLAGS -Wl,-brtl" 13263 fi 13264 ;; 13265 esac 13266 13267 exp_sym_flag='-bexport' 13268 no_entry_flag='-bnoentry' 13269 fi 13270 13271 # When large executables or shared objects are built, AIX ld can 13272 # have problems creating the table of contents. If linking a library 13273 # or program results in "error TOC overflow" add -mminimal-toc to 13274 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 13275 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 13276 13277 archive_cmds_CXX='' 13278 hardcode_direct_CXX=yes 13279 hardcode_direct_absolute_CXX=yes 13280 hardcode_libdir_separator_CXX=':' 13281 link_all_deplibs_CXX=yes 13282 file_list_spec_CXX='$wl-f,' 13283 case $with_aix_soname,$aix_use_runtimelinking in 13284 aix,*) ;; # no import file 13285 svr4,* | *,yes) # use import file 13286 # The Import File defines what to hardcode. 13287 hardcode_direct_CXX=no 13288 hardcode_direct_absolute_CXX=no 13289 ;; 13290 esac 13291 13292 if test yes = "$GXX"; then 13293 case $host_os in aix4.[012]|aix4.[012].*) 13294 # We only want to do this on AIX 4.2 and lower, the check 13295 # below for broken collect2 doesn't work under 4.3+ 13296 collect2name=`$CC -print-prog-name=collect2` 13297 if test -f "$collect2name" && 13298 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 13299 then 13300 # We have reworked collect2 13301 : 13302 else 13303 # We have old collect2 13304 hardcode_direct_CXX=unsupported 13305 # It fails to find uninstalled libraries when the uninstalled 13306 # path is not listed in the libpath. Setting hardcode_minus_L 13307 # to unsupported forces relinking 13308 hardcode_minus_L_CXX=yes 13309 hardcode_libdir_flag_spec_CXX='-L$libdir' 13310 hardcode_libdir_separator_CXX= 13311 fi 13312 esac 13313 shared_flag='-shared' 13314 if test yes = "$aix_use_runtimelinking"; then 13315 shared_flag=$shared_flag' $wl-G' 13316 fi 13317 # Need to ensure runtime linking is disabled for the traditional 13318 # shared library, or the linker may eventually find shared libraries 13319 # /with/ Import File - we do not want to mix them. 13320 shared_flag_aix='-shared' 13321 shared_flag_svr4='-shared $wl-G' 13322 else 13323 # not using gcc 13324 if test ia64 = "$host_cpu"; then 13325 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 13326 # chokes on -Wl,-G. The following line is correct: 13327 shared_flag='-G' 13328 else 13329 if test yes = "$aix_use_runtimelinking"; then 13330 shared_flag='$wl-G' 13331 else 13332 shared_flag='$wl-bM:SRE' 13333 fi 13334 shared_flag_aix='$wl-bM:SRE' 13335 shared_flag_svr4='$wl-G' 13336 fi 13337 fi 13338 13339 export_dynamic_flag_spec_CXX='$wl-bexpall' 13340 # It seems that -bexpall does not export symbols beginning with 13341 # underscore (_), so it is better to generate a list of symbols to 13342 # export. 13343 always_export_symbols_CXX=yes 13344 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 13345 # Warning - without using the other runtime loading flags (-brtl), 13346 # -berok will link without error, but may produce a broken library. 13347 # The "-G" linker flag allows undefined symbols. 13348 no_undefined_flag_CXX='-bernotok' 13349 # Determine the default libpath from the value encoded in an empty 13350 # executable. 13351 if test set = "${lt_cv_aix_libpath+set}"; then 13352 aix_libpath=$lt_cv_aix_libpath 13353else 13354 if ${lt_cv_aix_libpath__CXX+:} false; then : 13355 $as_echo_n "(cached) " >&6 13356else 13357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13358/* end confdefs.h. */ 13359 13360int 13361main () 13362{ 13363 13364 ; 13365 return 0; 13366} 13367_ACEOF 13368if ac_fn_cxx_try_link "$LINENO"; then : 13369 13370 lt_aix_libpath_sed=' 13371 /Import File Strings/,/^$/ { 13372 /^0/ { 13373 s/^0 *\([^ ]*\) *$/\1/ 13374 p 13375 } 13376 }' 13377 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 13378 # Check for a 64-bit object if we didn't find anything. 13379 if test -z "$lt_cv_aix_libpath__CXX"; then 13380 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 13381 fi 13382fi 13383rm -f core conftest.err conftest.$ac_objext \ 13384 conftest$ac_exeext conftest.$ac_ext 13385 if test -z "$lt_cv_aix_libpath__CXX"; then 13386 lt_cv_aix_libpath__CXX=/usr/lib:/lib 13387 fi 13388 13389fi 13390 13391 aix_libpath=$lt_cv_aix_libpath__CXX 13392fi 13393 13394 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" 13395 13396 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 13397 else 13398 if test ia64 = "$host_cpu"; then 13399 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib' 13400 allow_undefined_flag_CXX="-z nodefs" 13401 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" 13402 else 13403 # Determine the default libpath from the value encoded in an 13404 # empty executable. 13405 if test set = "${lt_cv_aix_libpath+set}"; then 13406 aix_libpath=$lt_cv_aix_libpath 13407else 13408 if ${lt_cv_aix_libpath__CXX+:} false; then : 13409 $as_echo_n "(cached) " >&6 13410else 13411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13412/* end confdefs.h. */ 13413 13414int 13415main () 13416{ 13417 13418 ; 13419 return 0; 13420} 13421_ACEOF 13422if ac_fn_cxx_try_link "$LINENO"; then : 13423 13424 lt_aix_libpath_sed=' 13425 /Import File Strings/,/^$/ { 13426 /^0/ { 13427 s/^0 *\([^ ]*\) *$/\1/ 13428 p 13429 } 13430 }' 13431 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 13432 # Check for a 64-bit object if we didn't find anything. 13433 if test -z "$lt_cv_aix_libpath__CXX"; then 13434 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 13435 fi 13436fi 13437rm -f core conftest.err conftest.$ac_objext \ 13438 conftest$ac_exeext conftest.$ac_ext 13439 if test -z "$lt_cv_aix_libpath__CXX"; then 13440 lt_cv_aix_libpath__CXX=/usr/lib:/lib 13441 fi 13442 13443fi 13444 13445 aix_libpath=$lt_cv_aix_libpath__CXX 13446fi 13447 13448 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" 13449 # Warning - without using the other run time loading flags, 13450 # -berok will link without error, but may produce a broken library. 13451 no_undefined_flag_CXX=' $wl-bernotok' 13452 allow_undefined_flag_CXX=' $wl-berok' 13453 if test yes = "$with_gnu_ld"; then 13454 # We only use this code for GNU lds that support --whole-archive. 13455 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' 13456 else 13457 # Exported symbols can be pulled into shared objects from archives 13458 whole_archive_flag_spec_CXX='$convenience' 13459 fi 13460 archive_cmds_need_lc_CXX=yes 13461 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 13462 # -brtl affects multiple linker settings, -berok does not and is overridden later 13463 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 13464 if test svr4 != "$with_aix_soname"; then 13465 # This is similar to how AIX traditionally builds its shared 13466 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS. 13467 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' 13468 fi 13469 if test aix != "$with_aix_soname"; then 13470 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' 13471 else 13472 # used by -dlpreopen to get the symbols 13473 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 13474 fi 13475 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d' 13476 fi 13477 fi 13478 ;; 13479 13480 beos*) 13481 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 13482 allow_undefined_flag_CXX=unsupported 13483 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 13484 # support --undefined. This deserves some investigation. FIXME 13485 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 13486 else 13487 ld_shlibs_CXX=no 13488 fi 13489 ;; 13490 13491 chorus*) 13492 case $cc_basename in 13493 *) 13494 # FIXME: insert proper C++ library support 13495 ld_shlibs_CXX=no 13496 ;; 13497 esac 13498 ;; 13499 13500 cygwin* | mingw* | pw32* | cegcc*) 13501 case $GXX,$cc_basename in 13502 ,cl* | no,cl*) 13503 # Native MSVC 13504 # hardcode_libdir_flag_spec is actually meaningless, as there is 13505 # no search path for DLLs. 13506 hardcode_libdir_flag_spec_CXX=' ' 13507 allow_undefined_flag_CXX=unsupported 13508 always_export_symbols_CXX=yes 13509 file_list_spec_CXX='@' 13510 # Tell ltmain to make .lib files, not .a files. 13511 libext=lib 13512 # Tell ltmain to make .dll files, not .so files. 13513 shrext_cmds=.dll 13514 # FIXME: Setting linknames here is a bad hack. 13515 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 13516 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 13517 cp "$export_symbols" "$output_objdir/$soname.def"; 13518 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 13519 else 13520 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 13521 fi~ 13522 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 13523 linknames=' 13524 # The linker will not automatically build a static lib if we build a DLL. 13525 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true' 13526 enable_shared_with_static_runtimes_CXX=yes 13527 # Don't use ranlib 13528 old_postinstall_cmds_CXX='chmod 644 $oldlib' 13529 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~ 13530 lt_tool_outputfile="@TOOL_OUTPUT@"~ 13531 case $lt_outputfile in 13532 *.exe|*.EXE) ;; 13533 *) 13534 lt_outputfile=$lt_outputfile.exe 13535 lt_tool_outputfile=$lt_tool_outputfile.exe 13536 ;; 13537 esac~ 13538 func_to_tool_file "$lt_outputfile"~ 13539 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 13540 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 13541 $RM "$lt_outputfile.manifest"; 13542 fi' 13543 ;; 13544 *) 13545 # g++ 13546 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, 13547 # as there is no search path for DLLs. 13548 hardcode_libdir_flag_spec_CXX='-L$libdir' 13549 export_dynamic_flag_spec_CXX='$wl--export-all-symbols' 13550 allow_undefined_flag_CXX=unsupported 13551 always_export_symbols_CXX=no 13552 enable_shared_with_static_runtimes_CXX=yes 13553 13554 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 13555 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' 13556 # If the export-symbols file already is a .def file, use it as 13557 # is; otherwise, prepend EXPORTS... 13558 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 13559 cp $export_symbols $output_objdir/$soname.def; 13560 else 13561 echo EXPORTS > $output_objdir/$soname.def; 13562 cat $export_symbols >> $output_objdir/$soname.def; 13563 fi~ 13564 $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' 13565 else 13566 ld_shlibs_CXX=no 13567 fi 13568 ;; 13569 esac 13570 ;; 13571 darwin* | rhapsody*) 13572 13573 13574 archive_cmds_need_lc_CXX=no 13575 hardcode_direct_CXX=no 13576 hardcode_automatic_CXX=yes 13577 hardcode_shlibpath_var_CXX=unsupported 13578 if test yes = "$lt_cv_ld_force_load"; then 13579 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\"`' 13580 13581 else 13582 whole_archive_flag_spec_CXX='' 13583 fi 13584 link_all_deplibs_CXX=yes 13585 allow_undefined_flag_CXX=$_lt_dar_allow_undefined 13586 case $cc_basename in 13587 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 13588 *) _lt_dar_can_shared=$GCC ;; 13589 esac 13590 if test yes = "$_lt_dar_can_shared"; then 13591 output_verbose_link_cmd=func_echo_all 13592 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" 13593 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 13594 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" 13595 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" 13596 if test yes != "$lt_cv_apple_cc_single_mod"; then 13597 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" 13598 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" 13599 fi 13600 13601 else 13602 ld_shlibs_CXX=no 13603 fi 13604 13605 ;; 13606 13607 os2*) 13608 hardcode_libdir_flag_spec_CXX='-L$libdir' 13609 hardcode_minus_L_CXX=yes 13610 allow_undefined_flag_CXX=unsupported 13611 shrext_cmds=.dll 13612 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 13613 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 13614 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 13615 $ECHO EXPORTS >> $output_objdir/$libname.def~ 13616 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 13617 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 13618 emximp -o $lib $output_objdir/$libname.def' 13619 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 13620 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 13621 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 13622 $ECHO EXPORTS >> $output_objdir/$libname.def~ 13623 prefix_cmds="$SED"~ 13624 if test EXPORTS = "`$SED 1q $export_symbols`"; then 13625 prefix_cmds="$prefix_cmds -e 1d"; 13626 fi~ 13627 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 13628 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 13629 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 13630 emximp -o $lib $output_objdir/$libname.def' 13631 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 13632 enable_shared_with_static_runtimes_CXX=yes 13633 ;; 13634 13635 dgux*) 13636 case $cc_basename in 13637 ec++*) 13638 # FIXME: insert proper C++ library support 13639 ld_shlibs_CXX=no 13640 ;; 13641 ghcx*) 13642 # Green Hills C++ Compiler 13643 # FIXME: insert proper C++ library support 13644 ld_shlibs_CXX=no 13645 ;; 13646 *) 13647 # FIXME: insert proper C++ library support 13648 ld_shlibs_CXX=no 13649 ;; 13650 esac 13651 ;; 13652 13653 freebsd2.*) 13654 # C++ shared libraries reported to be fairly broken before 13655 # switch to ELF 13656 ld_shlibs_CXX=no 13657 ;; 13658 13659 freebsd-elf*) 13660 archive_cmds_need_lc_CXX=no 13661 ;; 13662 13663 freebsd* | dragonfly*) 13664 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 13665 # conventions 13666 ld_shlibs_CXX=yes 13667 ;; 13668 13669 haiku*) 13670 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 13671 link_all_deplibs_CXX=yes 13672 ;; 13673 13674 hpux9*) 13675 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' 13676 hardcode_libdir_separator_CXX=: 13677 export_dynamic_flag_spec_CXX='$wl-E' 13678 hardcode_direct_CXX=yes 13679 hardcode_minus_L_CXX=yes # Not in the search PATH, 13680 # but as the default 13681 # location of the library. 13682 13683 case $cc_basename in 13684 CC*) 13685 # FIXME: insert proper C++ library support 13686 ld_shlibs_CXX=no 13687 ;; 13688 aCC*) 13689 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' 13690 # Commands to make compiler produce verbose output that lists 13691 # what "hidden" libraries, object files and flags are used when 13692 # linking a shared library. 13693 # 13694 # There doesn't appear to be a way to prevent this compiler from 13695 # explicitly linking system object files so we need to strip them 13696 # from the output so that they don't get included in the library 13697 # dependencies. 13698 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"' 13699 ;; 13700 *) 13701 if test yes = "$GXX"; then 13702 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' 13703 else 13704 # FIXME: insert proper C++ library support 13705 ld_shlibs_CXX=no 13706 fi 13707 ;; 13708 esac 13709 ;; 13710 13711 hpux10*|hpux11*) 13712 if test no = "$with_gnu_ld"; then 13713 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' 13714 hardcode_libdir_separator_CXX=: 13715 13716 case $host_cpu in 13717 hppa*64*|ia64*) 13718 ;; 13719 *) 13720 export_dynamic_flag_spec_CXX='$wl-E' 13721 ;; 13722 esac 13723 fi 13724 case $host_cpu in 13725 hppa*64*|ia64*) 13726 hardcode_direct_CXX=no 13727 hardcode_shlibpath_var_CXX=no 13728 ;; 13729 *) 13730 hardcode_direct_CXX=yes 13731 hardcode_direct_absolute_CXX=yes 13732 hardcode_minus_L_CXX=yes # Not in the search PATH, 13733 # but as the default 13734 # location of the library. 13735 ;; 13736 esac 13737 13738 case $cc_basename in 13739 CC*) 13740 # FIXME: insert proper C++ library support 13741 ld_shlibs_CXX=no 13742 ;; 13743 aCC*) 13744 case $host_cpu in 13745 hppa*64*) 13746 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13747 ;; 13748 ia64*) 13749 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13750 ;; 13751 *) 13752 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13753 ;; 13754 esac 13755 # Commands to make compiler produce verbose output that lists 13756 # what "hidden" libraries, object files and flags are used when 13757 # linking a shared library. 13758 # 13759 # There doesn't appear to be a way to prevent this compiler from 13760 # explicitly linking system object files so we need to strip them 13761 # from the output so that they don't get included in the library 13762 # dependencies. 13763 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"' 13764 ;; 13765 *) 13766 if test yes = "$GXX"; then 13767 if test no = "$with_gnu_ld"; then 13768 case $host_cpu in 13769 hppa*64*) 13770 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13771 ;; 13772 ia64*) 13773 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13774 ;; 13775 *) 13776 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' 13777 ;; 13778 esac 13779 fi 13780 else 13781 # FIXME: insert proper C++ library support 13782 ld_shlibs_CXX=no 13783 fi 13784 ;; 13785 esac 13786 ;; 13787 13788 interix[3-9]*) 13789 hardcode_direct_CXX=no 13790 hardcode_shlibpath_var_CXX=no 13791 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 13792 export_dynamic_flag_spec_CXX='$wl-E' 13793 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 13794 # Instead, shared libraries are loaded at an image base (0x10000000 by 13795 # default) and relocated if they conflict, which is a slow very memory 13796 # consuming and fragmenting process. To avoid this, we pick a random, 13797 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 13798 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 13799 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' 13800 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' 13801 ;; 13802 irix5* | irix6*) 13803 case $cc_basename in 13804 CC*) 13805 # SGI C++ 13806 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' 13807 13808 # Archives containing C++ object files must be created using 13809 # "CC -ar", where "CC" is the IRIX C++ compiler. This is 13810 # necessary to make sure instantiated templates are included 13811 # in the archive. 13812 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' 13813 ;; 13814 *) 13815 if test yes = "$GXX"; then 13816 if test no = "$with_gnu_ld"; then 13817 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' 13818 else 13819 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' 13820 fi 13821 fi 13822 link_all_deplibs_CXX=yes 13823 ;; 13824 esac 13825 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 13826 hardcode_libdir_separator_CXX=: 13827 inherit_rpath_CXX=yes 13828 ;; 13829 13830 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 13831 case $cc_basename in 13832 KCC*) 13833 # Kuck and Associates, Inc. (KAI) C++ Compiler 13834 13835 # KCC will only create a shared library if the output file 13836 # ends with ".so" (or ".sl" for HP-UX), so rename the library 13837 # to its proper name (with version) after linking. 13838 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' 13839 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' 13840 # Commands to make compiler produce verbose output that lists 13841 # what "hidden" libraries, object files and flags are used when 13842 # linking a shared library. 13843 # 13844 # There doesn't appear to be a way to prevent this compiler from 13845 # explicitly linking system object files so we need to strip them 13846 # from the output so that they don't get included in the library 13847 # dependencies. 13848 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"' 13849 13850 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 13851 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 13852 13853 # Archives containing C++ object files must be created using 13854 # "CC -Bstatic", where "CC" is the KAI C++ compiler. 13855 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' 13856 ;; 13857 icpc* | ecpc* ) 13858 # Intel C++ 13859 with_gnu_ld=yes 13860 # version 8.0 and above of icpc choke on multiply defined symbols 13861 # if we add $predep_objects and $postdep_objects, however 7.1 and 13862 # earlier do not add the objects themselves. 13863 case `$CC -V 2>&1` in 13864 *"Version 7."*) 13865 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 13866 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' 13867 ;; 13868 *) # Version 8.0 or newer 13869 tmp_idyn= 13870 case $host_cpu in 13871 ia64*) tmp_idyn=' -i_dynamic';; 13872 esac 13873 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 13874 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' 13875 ;; 13876 esac 13877 archive_cmds_need_lc_CXX=no 13878 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 13879 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 13880 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' 13881 ;; 13882 pgCC* | pgcpp*) 13883 # Portland Group C++ compiler 13884 case `$CC -V` in 13885 *pgCC\ [1-5].* | *pgcpp\ [1-5].*) 13886 prelink_cmds_CXX='tpldir=Template.dir~ 13887 rm -rf $tpldir~ 13888 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ 13889 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' 13890 old_archive_cmds_CXX='tpldir=Template.dir~ 13891 rm -rf $tpldir~ 13892 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ 13893 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ 13894 $RANLIB $oldlib' 13895 archive_cmds_CXX='tpldir=Template.dir~ 13896 rm -rf $tpldir~ 13897 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 13898 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 13899 archive_expsym_cmds_CXX='tpldir=Template.dir~ 13900 rm -rf $tpldir~ 13901 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 13902 $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' 13903 ;; 13904 *) # Version 6 and above use weak symbols 13905 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 13906 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' 13907 ;; 13908 esac 13909 13910 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir' 13911 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 13912 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' 13913 ;; 13914 cxx*) 13915 # Compaq C++ 13916 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 13917 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' 13918 13919 runpath_var=LD_RUN_PATH 13920 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 13921 hardcode_libdir_separator_CXX=: 13922 13923 # Commands to make compiler produce verbose output that lists 13924 # what "hidden" libraries, object files and flags are used when 13925 # linking a shared library. 13926 # 13927 # There doesn't appear to be a way to prevent this compiler from 13928 # explicitly linking system object files so we need to strip them 13929 # from the output so that they don't get included in the library 13930 # dependencies. 13931 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' 13932 ;; 13933 xl* | mpixl* | bgxl*) 13934 # IBM XL 8.0 on PPC, with GNU ld 13935 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 13936 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 13937 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 13938 if test yes = "$supports_anon_versioning"; then 13939 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ 13940 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 13941 echo "local: *; };" >> $output_objdir/$libname.ver~ 13942 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 13943 fi 13944 ;; 13945 *) 13946 case `$CC -V 2>&1 | sed 5q` in 13947 *Sun\ C*) 13948 # Sun C++ 5.9 13949 no_undefined_flag_CXX=' -zdefs' 13950 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13951 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' 13952 hardcode_libdir_flag_spec_CXX='-R$libdir' 13953 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' 13954 compiler_needs_object_CXX=yes 13955 13956 # Not sure whether something based on 13957 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 13958 # would be better. 13959 output_verbose_link_cmd='func_echo_all' 13960 13961 # Archives containing C++ object files must be created using 13962 # "CC -xar", where "CC" is the Sun C++ compiler. This is 13963 # necessary to make sure instantiated templates are included 13964 # in the archive. 13965 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 13966 ;; 13967 esac 13968 ;; 13969 esac 13970 ;; 13971 13972 lynxos*) 13973 # FIXME: insert proper C++ library support 13974 ld_shlibs_CXX=no 13975 ;; 13976 13977 m88k*) 13978 # FIXME: insert proper C++ library support 13979 ld_shlibs_CXX=no 13980 ;; 13981 13982 mvs*) 13983 case $cc_basename in 13984 cxx*) 13985 # FIXME: insert proper C++ library support 13986 ld_shlibs_CXX=no 13987 ;; 13988 *) 13989 # FIXME: insert proper C++ library support 13990 ld_shlibs_CXX=no 13991 ;; 13992 esac 13993 ;; 13994 13995 netbsd*) 13996 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 13997 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 13998 wlarc= 13999 hardcode_libdir_flag_spec_CXX='-R$libdir' 14000 hardcode_direct_CXX=yes 14001 hardcode_shlibpath_var_CXX=no 14002 fi 14003 # Workaround some broken pre-1.5 toolchains 14004 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 14005 ;; 14006 14007 *nto* | *qnx*) 14008 ld_shlibs_CXX=yes 14009 ;; 14010 14011 openbsd* | bitrig*) 14012 if test -f /usr/libexec/ld.so; then 14013 hardcode_direct_CXX=yes 14014 hardcode_shlibpath_var_CXX=no 14015 hardcode_direct_absolute_CXX=yes 14016 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 14017 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14018 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then 14019 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib' 14020 export_dynamic_flag_spec_CXX='$wl-E' 14021 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 14022 fi 14023 output_verbose_link_cmd=func_echo_all 14024 else 14025 ld_shlibs_CXX=no 14026 fi 14027 ;; 14028 14029 osf3* | osf4* | osf5*) 14030 case $cc_basename in 14031 KCC*) 14032 # Kuck and Associates, Inc. (KAI) C++ Compiler 14033 14034 # KCC will only create a shared library if the output file 14035 # ends with ".so" (or ".sl" for HP-UX), so rename the library 14036 # to its proper name (with version) after linking. 14037 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' 14038 14039 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14040 hardcode_libdir_separator_CXX=: 14041 14042 # Archives containing C++ object files must be created using 14043 # the KAI C++ compiler. 14044 case $host in 14045 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; 14046 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; 14047 esac 14048 ;; 14049 RCC*) 14050 # Rational C++ 2.4.1 14051 # FIXME: insert proper C++ library support 14052 ld_shlibs_CXX=no 14053 ;; 14054 cxx*) 14055 case $host in 14056 osf3*) 14057 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' 14058 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' 14059 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14060 ;; 14061 *) 14062 allow_undefined_flag_CXX=' -expect_unresolved \*' 14063 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' 14064 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 14065 echo "-hidden">> $lib.exp~ 14066 $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~ 14067 $RM $lib.exp' 14068 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 14069 ;; 14070 esac 14071 14072 hardcode_libdir_separator_CXX=: 14073 14074 # Commands to make compiler produce verbose output that lists 14075 # what "hidden" libraries, object files and flags are used when 14076 # linking a shared library. 14077 # 14078 # There doesn't appear to be a way to prevent this compiler from 14079 # explicitly linking system object files so we need to strip them 14080 # from the output so that they don't get included in the library 14081 # dependencies. 14082 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"' 14083 ;; 14084 *) 14085 if test yes,no = "$GXX,$with_gnu_ld"; then 14086 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' 14087 case $host in 14088 osf3*) 14089 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' 14090 ;; 14091 *) 14092 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' 14093 ;; 14094 esac 14095 14096 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14097 hardcode_libdir_separator_CXX=: 14098 14099 # Commands to make compiler produce verbose output that lists 14100 # what "hidden" libraries, object files and flags are used when 14101 # linking a shared library. 14102 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"' 14103 14104 else 14105 # FIXME: insert proper C++ library support 14106 ld_shlibs_CXX=no 14107 fi 14108 ;; 14109 esac 14110 ;; 14111 14112 psos*) 14113 # FIXME: insert proper C++ library support 14114 ld_shlibs_CXX=no 14115 ;; 14116 14117 sunos4*) 14118 case $cc_basename in 14119 CC*) 14120 # Sun C++ 4.x 14121 # FIXME: insert proper C++ library support 14122 ld_shlibs_CXX=no 14123 ;; 14124 lcc*) 14125 # Lucid 14126 # FIXME: insert proper C++ library support 14127 ld_shlibs_CXX=no 14128 ;; 14129 *) 14130 # FIXME: insert proper C++ library support 14131 ld_shlibs_CXX=no 14132 ;; 14133 esac 14134 ;; 14135 14136 solaris*) 14137 case $cc_basename in 14138 CC* | sunCC*) 14139 # Sun C++ 4.2, 5.x and Centerline C++ 14140 archive_cmds_need_lc_CXX=yes 14141 no_undefined_flag_CXX=' -zdefs' 14142 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14143 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 14144 $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' 14145 14146 hardcode_libdir_flag_spec_CXX='-R$libdir' 14147 hardcode_shlibpath_var_CXX=no 14148 case $host_os in 14149 solaris2.[0-5] | solaris2.[0-5].*) ;; 14150 *) 14151 # The compiler driver will combine and reorder linker options, 14152 # but understands '-z linker_flag'. 14153 # Supported since Solaris 2.6 (maybe 2.5.1?) 14154 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' 14155 ;; 14156 esac 14157 link_all_deplibs_CXX=yes 14158 14159 output_verbose_link_cmd='func_echo_all' 14160 14161 # Archives containing C++ object files must be created using 14162 # "CC -xar", where "CC" is the Sun C++ compiler. This is 14163 # necessary to make sure instantiated templates are included 14164 # in the archive. 14165 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 14166 ;; 14167 gcx*) 14168 # Green Hills C++ Compiler 14169 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 14170 14171 # The C++ compiler must be used to create the archive. 14172 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' 14173 ;; 14174 *) 14175 # GNU C++ compiler with Solaris linker 14176 if test yes,no = "$GXX,$with_gnu_ld"; then 14177 no_undefined_flag_CXX=' $wl-z ${wl}defs' 14178 if $CC --version | $GREP -v '^2\.7' > /dev/null; then 14179 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 14180 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 14181 $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' 14182 14183 # Commands to make compiler produce verbose output that lists 14184 # what "hidden" libraries, object files and flags are used when 14185 # linking a shared library. 14186 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"' 14187 else 14188 # g++ 2.7 appears to require '-G' NOT '-shared' on this 14189 # platform. 14190 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 14191 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 14192 $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' 14193 14194 # Commands to make compiler produce verbose output that lists 14195 # what "hidden" libraries, object files and flags are used when 14196 # linking a shared library. 14197 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"' 14198 fi 14199 14200 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir' 14201 case $host_os in 14202 solaris2.[0-5] | solaris2.[0-5].*) ;; 14203 *) 14204 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 14205 ;; 14206 esac 14207 fi 14208 ;; 14209 esac 14210 ;; 14211 14212 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 14213 no_undefined_flag_CXX='$wl-z,text' 14214 archive_cmds_need_lc_CXX=no 14215 hardcode_shlibpath_var_CXX=no 14216 runpath_var='LD_RUN_PATH' 14217 14218 case $cc_basename in 14219 CC*) 14220 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14221 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14222 ;; 14223 *) 14224 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14225 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14226 ;; 14227 esac 14228 ;; 14229 14230 sysv5* | sco3.2v5* | sco5v6*) 14231 # Note: We CANNOT use -z defs as we might desire, because we do not 14232 # link with -lc, and that would cause any symbols used from libc to 14233 # always be unresolved, which means just about no library would 14234 # ever link correctly. If we're not using GNU ld we use -z text 14235 # though, which does catch some bad symbols but isn't as heavy-handed 14236 # as -z defs. 14237 no_undefined_flag_CXX='$wl-z,text' 14238 allow_undefined_flag_CXX='$wl-z,nodefs' 14239 archive_cmds_need_lc_CXX=no 14240 hardcode_shlibpath_var_CXX=no 14241 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir' 14242 hardcode_libdir_separator_CXX=':' 14243 link_all_deplibs_CXX=yes 14244 export_dynamic_flag_spec_CXX='$wl-Bexport' 14245 runpath_var='LD_RUN_PATH' 14246 14247 case $cc_basename in 14248 CC*) 14249 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14250 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14251 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~ 14252 '"$old_archive_cmds_CXX" 14253 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~ 14254 '"$reload_cmds_CXX" 14255 ;; 14256 *) 14257 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14258 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14259 ;; 14260 esac 14261 ;; 14262 14263 tandem*) 14264 case $cc_basename in 14265 NCC*) 14266 # NonStop-UX NCC 3.20 14267 # FIXME: insert proper C++ library support 14268 ld_shlibs_CXX=no 14269 ;; 14270 *) 14271 # FIXME: insert proper C++ library support 14272 ld_shlibs_CXX=no 14273 ;; 14274 esac 14275 ;; 14276 14277 vxworks*) 14278 # FIXME: insert proper C++ library support 14279 ld_shlibs_CXX=no 14280 ;; 14281 14282 *) 14283 # FIXME: insert proper C++ library support 14284 ld_shlibs_CXX=no 14285 ;; 14286 esac 14287 14288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 14289$as_echo "$ld_shlibs_CXX" >&6; } 14290 test no = "$ld_shlibs_CXX" && can_build_shared=no 14291 14292 GCC_CXX=$GXX 14293 LD_CXX=$LD 14294 14295 ## CAVEAT EMPTOR: 14296 ## There is no encapsulation within the following macros, do not change 14297 ## the running order or otherwise move them around unless you know exactly 14298 ## what you are doing... 14299 # Dependencies to place before and after the object being linked: 14300predep_objects_CXX= 14301postdep_objects_CXX= 14302predeps_CXX= 14303postdeps_CXX= 14304compiler_lib_search_path_CXX= 14305 14306cat > conftest.$ac_ext <<_LT_EOF 14307class Foo 14308{ 14309public: 14310 Foo (void) { a = 0; } 14311private: 14312 int a; 14313}; 14314_LT_EOF 14315 14316 14317_lt_libdeps_save_CFLAGS=$CFLAGS 14318case "$CC $CFLAGS " in #( 14319*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; 14320*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; 14321*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; 14322esac 14323 14324if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 14325 (eval $ac_compile) 2>&5 14326 ac_status=$? 14327 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14328 test $ac_status = 0; }; then 14329 # Parse the compiler output and extract the necessary 14330 # objects, libraries and library flags. 14331 14332 # Sentinel used to keep track of whether or not we are before 14333 # the conftest object file. 14334 pre_test_object_deps_done=no 14335 14336 for p in `eval "$output_verbose_link_cmd"`; do 14337 case $prev$p in 14338 14339 -L* | -R* | -l*) 14340 # Some compilers place space between "-{L,R}" and the path. 14341 # Remove the space. 14342 if test x-L = "$p" || 14343 test x-R = "$p"; then 14344 prev=$p 14345 continue 14346 fi 14347 14348 # Expand the sysroot to ease extracting the directories later. 14349 if test -z "$prev"; then 14350 case $p in 14351 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; 14352 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; 14353 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; 14354 esac 14355 fi 14356 case $p in 14357 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; 14358 esac 14359 if test no = "$pre_test_object_deps_done"; then 14360 case $prev in 14361 -L | -R) 14362 # Internal compiler library paths should come after those 14363 # provided the user. The postdeps already come after the 14364 # user supplied libs so there is no need to process them. 14365 if test -z "$compiler_lib_search_path_CXX"; then 14366 compiler_lib_search_path_CXX=$prev$p 14367 else 14368 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p" 14369 fi 14370 ;; 14371 # The "-l" case would never come before the object being 14372 # linked, so don't bother handling this case. 14373 esac 14374 else 14375 if test -z "$postdeps_CXX"; then 14376 postdeps_CXX=$prev$p 14377 else 14378 postdeps_CXX="${postdeps_CXX} $prev$p" 14379 fi 14380 fi 14381 prev= 14382 ;; 14383 14384 *.lto.$objext) ;; # Ignore GCC LTO objects 14385 *.$objext) 14386 # This assumes that the test object file only shows up 14387 # once in the compiler output. 14388 if test "$p" = "conftest.$objext"; then 14389 pre_test_object_deps_done=yes 14390 continue 14391 fi 14392 14393 if test no = "$pre_test_object_deps_done"; then 14394 if test -z "$predep_objects_CXX"; then 14395 predep_objects_CXX=$p 14396 else 14397 predep_objects_CXX="$predep_objects_CXX $p" 14398 fi 14399 else 14400 if test -z "$postdep_objects_CXX"; then 14401 postdep_objects_CXX=$p 14402 else 14403 postdep_objects_CXX="$postdep_objects_CXX $p" 14404 fi 14405 fi 14406 ;; 14407 14408 *) ;; # Ignore the rest. 14409 14410 esac 14411 done 14412 14413 # Clean up. 14414 rm -f a.out a.exe 14415else 14416 echo "libtool.m4: error: problem compiling CXX test program" 14417fi 14418 14419$RM -f confest.$objext 14420CFLAGS=$_lt_libdeps_save_CFLAGS 14421 14422# PORTME: override above test on systems where it is broken 14423case $host_os in 14424interix[3-9]*) 14425 # Interix 3.5 installs completely hosed .la files for C++, so rather than 14426 # hack all around it, let's just trust "g++" to DTRT. 14427 predep_objects_CXX= 14428 postdep_objects_CXX= 14429 postdeps_CXX= 14430 ;; 14431esac 14432 14433 14434case " $postdeps_CXX " in 14435*" -lc "*) archive_cmds_need_lc_CXX=no ;; 14436esac 14437 compiler_lib_search_dirs_CXX= 14438if test -n "${compiler_lib_search_path_CXX}"; then 14439 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'` 14440fi 14441 14442 14443 14444 14445 14446 14447 14448 14449 14450 14451 14452 14453 14454 14455 14456 14457 14458 14459 14460 14461 14462 14463 14464 14465 14466 14467 14468 14469 14470 14471 14472 lt_prog_compiler_wl_CXX= 14473lt_prog_compiler_pic_CXX= 14474lt_prog_compiler_static_CXX= 14475 14476 14477 # C++ specific cases for pic, static, wl, etc. 14478 if test yes = "$GXX"; then 14479 lt_prog_compiler_wl_CXX='-Wl,' 14480 lt_prog_compiler_static_CXX='-static' 14481 14482 case $host_os in 14483 aix*) 14484 # All AIX code is PIC. 14485 if test ia64 = "$host_cpu"; then 14486 # AIX 5 now supports IA64 processor 14487 lt_prog_compiler_static_CXX='-Bstatic' 14488 fi 14489 lt_prog_compiler_pic_CXX='-fPIC' 14490 ;; 14491 14492 amigaos*) 14493 case $host_cpu in 14494 powerpc) 14495 # see comment about AmigaOS4 .so support 14496 lt_prog_compiler_pic_CXX='-fPIC' 14497 ;; 14498 m68k) 14499 # FIXME: we need at least 68020 code to build shared libraries, but 14500 # adding the '-m68020' flag to GCC prevents building anything better, 14501 # like '-m68040'. 14502 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' 14503 ;; 14504 esac 14505 ;; 14506 14507 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 14508 # PIC is the default for these OSes. 14509 ;; 14510 mingw* | cygwin* | os2* | pw32* | cegcc*) 14511 # This hack is so that the source file can tell whether it is being 14512 # built for inclusion in a dll (and should export symbols for example). 14513 # Although the cygwin gcc ignores -fPIC, still need this for old-style 14514 # (--disable-auto-import) libraries 14515 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 14516 case $host_os in 14517 os2*) 14518 lt_prog_compiler_static_CXX='$wl-static' 14519 ;; 14520 esac 14521 ;; 14522 darwin* | rhapsody*) 14523 # PIC is the default on this platform 14524 # Common symbols not allowed in MH_DYLIB files 14525 lt_prog_compiler_pic_CXX='-fno-common' 14526 ;; 14527 *djgpp*) 14528 # DJGPP does not support shared libraries at all 14529 lt_prog_compiler_pic_CXX= 14530 ;; 14531 haiku*) 14532 # PIC is the default for Haiku. 14533 # The "-static" flag exists, but is broken. 14534 lt_prog_compiler_static_CXX= 14535 ;; 14536 interix[3-9]*) 14537 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 14538 # Instead, we relocate shared libraries at runtime. 14539 ;; 14540 sysv4*MP*) 14541 if test -d /usr/nec; then 14542 lt_prog_compiler_pic_CXX=-Kconform_pic 14543 fi 14544 ;; 14545 hpux*) 14546 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 14547 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 14548 # sets the default TLS model and affects inlining. 14549 case $host_cpu in 14550 hppa*64*) 14551 ;; 14552 *) 14553 lt_prog_compiler_pic_CXX='-fPIC' 14554 ;; 14555 esac 14556 ;; 14557 *qnx* | *nto*) 14558 # QNX uses GNU C++, but need to define -shared option too, otherwise 14559 # it will coredump. 14560 lt_prog_compiler_pic_CXX='-fPIC -shared' 14561 ;; 14562 *) 14563 lt_prog_compiler_pic_CXX='-fPIC' 14564 ;; 14565 esac 14566 else 14567 case $host_os in 14568 aix[4-9]*) 14569 # All AIX code is PIC. 14570 if test ia64 = "$host_cpu"; then 14571 # AIX 5 now supports IA64 processor 14572 lt_prog_compiler_static_CXX='-Bstatic' 14573 else 14574 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' 14575 fi 14576 ;; 14577 chorus*) 14578 case $cc_basename in 14579 cxch68*) 14580 # Green Hills C++ Compiler 14581 # _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" 14582 ;; 14583 esac 14584 ;; 14585 mingw* | cygwin* | os2* | pw32* | cegcc*) 14586 # This hack is so that the source file can tell whether it is being 14587 # built for inclusion in a dll (and should export symbols for example). 14588 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 14589 ;; 14590 dgux*) 14591 case $cc_basename in 14592 ec++*) 14593 lt_prog_compiler_pic_CXX='-KPIC' 14594 ;; 14595 ghcx*) 14596 # Green Hills C++ Compiler 14597 lt_prog_compiler_pic_CXX='-pic' 14598 ;; 14599 *) 14600 ;; 14601 esac 14602 ;; 14603 freebsd* | dragonfly*) 14604 # FreeBSD uses GNU C++ 14605 ;; 14606 hpux9* | hpux10* | hpux11*) 14607 case $cc_basename in 14608 CC*) 14609 lt_prog_compiler_wl_CXX='-Wl,' 14610 lt_prog_compiler_static_CXX='$wl-a ${wl}archive' 14611 if test ia64 != "$host_cpu"; then 14612 lt_prog_compiler_pic_CXX='+Z' 14613 fi 14614 ;; 14615 aCC*) 14616 lt_prog_compiler_wl_CXX='-Wl,' 14617 lt_prog_compiler_static_CXX='$wl-a ${wl}archive' 14618 case $host_cpu in 14619 hppa*64*|ia64*) 14620 # +Z the default 14621 ;; 14622 *) 14623 lt_prog_compiler_pic_CXX='+Z' 14624 ;; 14625 esac 14626 ;; 14627 *) 14628 ;; 14629 esac 14630 ;; 14631 interix*) 14632 # This is c89, which is MS Visual C++ (no shared libs) 14633 # Anyone wants to do a port? 14634 ;; 14635 irix5* | irix6* | nonstopux*) 14636 case $cc_basename in 14637 CC*) 14638 lt_prog_compiler_wl_CXX='-Wl,' 14639 lt_prog_compiler_static_CXX='-non_shared' 14640 # CC pic flag -KPIC is the default. 14641 ;; 14642 *) 14643 ;; 14644 esac 14645 ;; 14646 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 14647 case $cc_basename in 14648 KCC*) 14649 # KAI C++ Compiler 14650 lt_prog_compiler_wl_CXX='--backend -Wl,' 14651 lt_prog_compiler_pic_CXX='-fPIC' 14652 ;; 14653 ecpc* ) 14654 # old Intel C++ for x86_64, which still supported -KPIC. 14655 lt_prog_compiler_wl_CXX='-Wl,' 14656 lt_prog_compiler_pic_CXX='-KPIC' 14657 lt_prog_compiler_static_CXX='-static' 14658 ;; 14659 icpc* ) 14660 # Intel C++, used to be incompatible with GCC. 14661 # ICC 10 doesn't accept -KPIC any more. 14662 lt_prog_compiler_wl_CXX='-Wl,' 14663 lt_prog_compiler_pic_CXX='-fPIC' 14664 lt_prog_compiler_static_CXX='-static' 14665 ;; 14666 pgCC* | pgcpp*) 14667 # Portland Group C++ compiler 14668 lt_prog_compiler_wl_CXX='-Wl,' 14669 lt_prog_compiler_pic_CXX='-fpic' 14670 lt_prog_compiler_static_CXX='-Bstatic' 14671 ;; 14672 cxx*) 14673 # Compaq C++ 14674 # Make sure the PIC flag is empty. It appears that all Alpha 14675 # Linux and Compaq Tru64 Unix objects are PIC. 14676 lt_prog_compiler_pic_CXX= 14677 lt_prog_compiler_static_CXX='-non_shared' 14678 ;; 14679 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) 14680 # IBM XL 8.0, 9.0 on PPC and BlueGene 14681 lt_prog_compiler_wl_CXX='-Wl,' 14682 lt_prog_compiler_pic_CXX='-qpic' 14683 lt_prog_compiler_static_CXX='-qstaticlink' 14684 ;; 14685 *) 14686 case `$CC -V 2>&1 | sed 5q` in 14687 *Sun\ C*) 14688 # Sun C++ 5.9 14689 lt_prog_compiler_pic_CXX='-KPIC' 14690 lt_prog_compiler_static_CXX='-Bstatic' 14691 lt_prog_compiler_wl_CXX='-Qoption ld ' 14692 ;; 14693 esac 14694 ;; 14695 esac 14696 ;; 14697 lynxos*) 14698 ;; 14699 m88k*) 14700 ;; 14701 mvs*) 14702 case $cc_basename in 14703 cxx*) 14704 lt_prog_compiler_pic_CXX='-W c,exportall' 14705 ;; 14706 *) 14707 ;; 14708 esac 14709 ;; 14710 netbsd* | netbsdelf*-gnu) 14711 ;; 14712 *qnx* | *nto*) 14713 # QNX uses GNU C++, but need to define -shared option too, otherwise 14714 # it will coredump. 14715 lt_prog_compiler_pic_CXX='-fPIC -shared' 14716 ;; 14717 osf3* | osf4* | osf5*) 14718 case $cc_basename in 14719 KCC*) 14720 lt_prog_compiler_wl_CXX='--backend -Wl,' 14721 ;; 14722 RCC*) 14723 # Rational C++ 2.4.1 14724 lt_prog_compiler_pic_CXX='-pic' 14725 ;; 14726 cxx*) 14727 # Digital/Compaq C++ 14728 lt_prog_compiler_wl_CXX='-Wl,' 14729 # Make sure the PIC flag is empty. It appears that all Alpha 14730 # Linux and Compaq Tru64 Unix objects are PIC. 14731 lt_prog_compiler_pic_CXX= 14732 lt_prog_compiler_static_CXX='-non_shared' 14733 ;; 14734 *) 14735 ;; 14736 esac 14737 ;; 14738 psos*) 14739 ;; 14740 solaris*) 14741 case $cc_basename in 14742 CC* | sunCC*) 14743 # Sun C++ 4.2, 5.x and Centerline C++ 14744 lt_prog_compiler_pic_CXX='-KPIC' 14745 lt_prog_compiler_static_CXX='-Bstatic' 14746 lt_prog_compiler_wl_CXX='-Qoption ld ' 14747 ;; 14748 gcx*) 14749 # Green Hills C++ Compiler 14750 lt_prog_compiler_pic_CXX='-PIC' 14751 ;; 14752 *) 14753 ;; 14754 esac 14755 ;; 14756 sunos4*) 14757 case $cc_basename in 14758 CC*) 14759 # Sun C++ 4.x 14760 lt_prog_compiler_pic_CXX='-pic' 14761 lt_prog_compiler_static_CXX='-Bstatic' 14762 ;; 14763 lcc*) 14764 # Lucid 14765 lt_prog_compiler_pic_CXX='-pic' 14766 ;; 14767 *) 14768 ;; 14769 esac 14770 ;; 14771 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 14772 case $cc_basename in 14773 CC*) 14774 lt_prog_compiler_wl_CXX='-Wl,' 14775 lt_prog_compiler_pic_CXX='-KPIC' 14776 lt_prog_compiler_static_CXX='-Bstatic' 14777 ;; 14778 esac 14779 ;; 14780 tandem*) 14781 case $cc_basename in 14782 NCC*) 14783 # NonStop-UX NCC 3.20 14784 lt_prog_compiler_pic_CXX='-KPIC' 14785 ;; 14786 *) 14787 ;; 14788 esac 14789 ;; 14790 vxworks*) 14791 ;; 14792 *) 14793 lt_prog_compiler_can_build_shared_CXX=no 14794 ;; 14795 esac 14796 fi 14797 14798case $host_os in 14799 # For platforms that do not support PIC, -DPIC is meaningless: 14800 *djgpp*) 14801 lt_prog_compiler_pic_CXX= 14802 ;; 14803 *) 14804 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX@&t@ -DPIC" 14805 ;; 14806esac 14807 14808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 14809$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 14810if ${lt_cv_prog_compiler_pic_CXX+:} false; then : 14811 $as_echo_n "(cached) " >&6 14812else 14813 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX 14814fi 14815{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 14816$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; } 14817lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX 14818 14819# 14820# Check to make sure the PIC flag actually works. 14821# 14822if test -n "$lt_prog_compiler_pic_CXX"; then 14823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 14824$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } 14825if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then : 14826 $as_echo_n "(cached) " >&6 14827else 14828 lt_cv_prog_compiler_pic_works_CXX=no 14829 ac_outfile=conftest.$ac_objext 14830 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 14831 lt_compiler_flag="$lt_prog_compiler_pic_CXX@&t@ -DPIC" ## exclude from sc_useless_quotes_in_assignment 14832 # Insert the option either (1) after the last *FLAGS variable, or 14833 # (2) before a word containing "conftest.", or (3) at the end. 14834 # Note that $ac_compile itself does not contain backslashes and begins 14835 # with a dollar sign (not a hyphen), so the echo should work correctly. 14836 # The option is referenced via a variable to avoid confusing sed. 14837 lt_compile=`echo "$ac_compile" | $SED \ 14838 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 14839 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14840 -e 's:$: $lt_compiler_flag:'` 14841 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 14842 (eval "$lt_compile" 2>conftest.err) 14843 ac_status=$? 14844 cat conftest.err >&5 14845 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14846 if (exit $ac_status) && test -s "$ac_outfile"; then 14847 # The compiler can only warn and ignore the option if not recognized 14848 # So say no if there are warnings other than the usual output. 14849 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 14850 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 14851 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 14852 lt_cv_prog_compiler_pic_works_CXX=yes 14853 fi 14854 fi 14855 $RM conftest* 14856 14857fi 14858{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 14859$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } 14860 14861if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then 14862 case $lt_prog_compiler_pic_CXX in 14863 "" | " "*) ;; 14864 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; 14865 esac 14866else 14867 lt_prog_compiler_pic_CXX= 14868 lt_prog_compiler_can_build_shared_CXX=no 14869fi 14870 14871fi 14872 14873 14874 14875 14876 14877# 14878# Check to make sure the static flag actually works. 14879# 14880wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" 14881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 14882$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 14883if ${lt_cv_prog_compiler_static_works_CXX+:} false; then : 14884 $as_echo_n "(cached) " >&6 14885else 14886 lt_cv_prog_compiler_static_works_CXX=no 14887 save_LDFLAGS=$LDFLAGS 14888 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 14889 echo "$lt_simple_link_test_code" > conftest.$ac_ext 14890 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 14891 # The linker can only warn and ignore the option if not recognized 14892 # So say no if there are warnings 14893 if test -s conftest.err; then 14894 # Append any errors to the config.log. 14895 cat conftest.err 1>&5 14896 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 14897 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 14898 if diff conftest.exp conftest.er2 >/dev/null; then 14899 lt_cv_prog_compiler_static_works_CXX=yes 14900 fi 14901 else 14902 lt_cv_prog_compiler_static_works_CXX=yes 14903 fi 14904 fi 14905 $RM -r conftest* 14906 LDFLAGS=$save_LDFLAGS 14907 14908fi 14909{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 14910$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } 14911 14912if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then 14913 : 14914else 14915 lt_prog_compiler_static_CXX= 14916fi 14917 14918 14919 14920 14921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 14922$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 14923if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 14924 $as_echo_n "(cached) " >&6 14925else 14926 lt_cv_prog_compiler_c_o_CXX=no 14927 $RM -r conftest 2>/dev/null 14928 mkdir conftest 14929 cd conftest 14930 mkdir out 14931 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 14932 14933 lt_compiler_flag="-o out/conftest2.$ac_objext" 14934 # Insert the option either (1) after the last *FLAGS variable, or 14935 # (2) before a word containing "conftest.", or (3) at the end. 14936 # Note that $ac_compile itself does not contain backslashes and begins 14937 # with a dollar sign (not a hyphen), so the echo should work correctly. 14938 lt_compile=`echo "$ac_compile" | $SED \ 14939 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 14940 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14941 -e 's:$: $lt_compiler_flag:'` 14942 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 14943 (eval "$lt_compile" 2>out/conftest.err) 14944 ac_status=$? 14945 cat out/conftest.err >&5 14946 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14947 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14948 then 14949 # The compiler can only warn and ignore the option if not recognized 14950 # So say no if there are warnings 14951 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 14952 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 14953 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 14954 lt_cv_prog_compiler_c_o_CXX=yes 14955 fi 14956 fi 14957 chmod u+w . 2>&5 14958 $RM conftest* 14959 # SGI C++ compiler will create directory out/ii_files/ for 14960 # template instantiation 14961 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 14962 $RM out/* && rmdir out 14963 cd .. 14964 $RM -r conftest 14965 $RM conftest* 14966 14967fi 14968{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 14969$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 14970 14971 14972 14973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 14974$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 14975if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 14976 $as_echo_n "(cached) " >&6 14977else 14978 lt_cv_prog_compiler_c_o_CXX=no 14979 $RM -r conftest 2>/dev/null 14980 mkdir conftest 14981 cd conftest 14982 mkdir out 14983 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 14984 14985 lt_compiler_flag="-o out/conftest2.$ac_objext" 14986 # Insert the option either (1) after the last *FLAGS variable, or 14987 # (2) before a word containing "conftest.", or (3) at the end. 14988 # Note that $ac_compile itself does not contain backslashes and begins 14989 # with a dollar sign (not a hyphen), so the echo should work correctly. 14990 lt_compile=`echo "$ac_compile" | $SED \ 14991 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 14992 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14993 -e 's:$: $lt_compiler_flag:'` 14994 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 14995 (eval "$lt_compile" 2>out/conftest.err) 14996 ac_status=$? 14997 cat out/conftest.err >&5 14998 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14999 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15000 then 15001 # The compiler can only warn and ignore the option if not recognized 15002 # So say no if there are warnings 15003 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 15004 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 15005 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 15006 lt_cv_prog_compiler_c_o_CXX=yes 15007 fi 15008 fi 15009 chmod u+w . 2>&5 15010 $RM conftest* 15011 # SGI C++ compiler will create directory out/ii_files/ for 15012 # template instantiation 15013 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 15014 $RM out/* && rmdir out 15015 cd .. 15016 $RM -r conftest 15017 $RM conftest* 15018 15019fi 15020{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 15021$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 15022 15023 15024 15025 15026hard_links=nottested 15027if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then 15028 # do not overwrite the value of need_locks provided by the user 15029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 15030$as_echo_n "checking if we can lock with hard links... " >&6; } 15031 hard_links=yes 15032 $RM conftest* 15033 ln conftest.a conftest.b 2>/dev/null && hard_links=no 15034 touch conftest.a 15035 ln conftest.a conftest.b 2>&5 || hard_links=no 15036 ln conftest.a conftest.b 2>/dev/null && hard_links=no 15037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 15038$as_echo "$hard_links" >&6; } 15039 if test no = "$hard_links"; then 15040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 15041$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 15042 need_locks=warn 15043 fi 15044else 15045 need_locks=no 15046fi 15047 15048 15049 15050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 15051$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 15052 15053 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 15054 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 15055 case $host_os in 15056 aix[4-9]*) 15057 # If we're using GNU nm, then we don't want the "-C" option. 15058 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 15059 # Without the "-l" option, or with the "-B" option, AIX nm treats 15060 # weak defined symbols like other global defined symbols, whereas 15061 # GNU nm marks them as "W". 15062 # While the 'weak' keyword is ignored in the Export File, we need 15063 # it in the Import File for the 'aix-soname' feature, so we have 15064 # to replace the "-B" option with "-P" for AIX nm. 15065 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 15066 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' 15067 else 15068 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' 15069 fi 15070 ;; 15071 pw32*) 15072 export_symbols_cmds_CXX=$ltdll_cmds 15073 ;; 15074 cygwin* | mingw* | cegcc*) 15075 case $cc_basename in 15076 cl*) 15077 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 15078 ;; 15079 *) 15080 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' 15081 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 15082 ;; 15083 esac 15084 ;; 15085 linux* | k*bsd*-gnu | gnu*) 15086 link_all_deplibs_CXX=no 15087 ;; 15088 *) 15089 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 15090 ;; 15091 esac 15092 15093{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 15094$as_echo "$ld_shlibs_CXX" >&6; } 15095test no = "$ld_shlibs_CXX" && can_build_shared=no 15096 15097with_gnu_ld_CXX=$with_gnu_ld 15098 15099 15100 15101 15102 15103 15104# 15105# Do we need to explicitly link libc? 15106# 15107case "x$archive_cmds_need_lc_CXX" in 15108x|xyes) 15109 # Assume -lc should be added 15110 archive_cmds_need_lc_CXX=yes 15111 15112 if test yes,yes = "$GCC,$enable_shared"; then 15113 case $archive_cmds_CXX in 15114 *'~'*) 15115 # FIXME: we may have to deal with multi-command sequences. 15116 ;; 15117 '$CC '*) 15118 # Test whether the compiler implicitly links with -lc since on some 15119 # systems, -lgcc has to come before -lc. If gcc already passes -lc 15120 # to ld, don't add -lc before -lgcc. 15121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 15122$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 15123if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then : 15124 $as_echo_n "(cached) " >&6 15125else 15126 $RM conftest* 15127 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15128 15129 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 15130 (eval $ac_compile) 2>&5 15131 ac_status=$? 15132 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15133 test $ac_status = 0; } 2>conftest.err; then 15134 soname=conftest 15135 lib=conftest 15136 libobjs=conftest.$ac_objext 15137 deplibs= 15138 wl=$lt_prog_compiler_wl_CXX 15139 pic_flag=$lt_prog_compiler_pic_CXX 15140 compiler_flags=-v 15141 linker_flags=-v 15142 verstring= 15143 output_objdir=. 15144 libname=conftest 15145 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX 15146 allow_undefined_flag_CXX= 15147 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 15148 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 15149 ac_status=$? 15150 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15151 test $ac_status = 0; } 15152 then 15153 lt_cv_archive_cmds_need_lc_CXX=no 15154 else 15155 lt_cv_archive_cmds_need_lc_CXX=yes 15156 fi 15157 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag 15158 else 15159 cat conftest.err 1>&5 15160 fi 15161 $RM conftest* 15162 15163fi 15164{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 15165$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; } 15166 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX 15167 ;; 15168 esac 15169 fi 15170 ;; 15171esac 15172 15173 15174 15175 15176 15177 15178 15179 15180 15181 15182 15183 15184 15185 15186 15187 15188 15189 15190 15191 15192 15193 15194 15195 15196 15197 15198 15199 15200 15201 15202 15203 15204 15205 15206 15207 15208 15209 15210 15211 15212 15213 15214 15215 15216 15217 15218 15219 15220 15221 15222 15223 15224 15225 15226 15227 15228 15229 15230 15231 15232 15233 15234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 15235$as_echo_n "checking dynamic linker characteristics... " >&6; } 15236 15237library_names_spec= 15238libname_spec='lib$name' 15239soname_spec= 15240shrext_cmds=.so 15241postinstall_cmds= 15242postuninstall_cmds= 15243finish_cmds= 15244finish_eval= 15245shlibpath_var= 15246shlibpath_overrides_runpath=unknown 15247version_type=none 15248dynamic_linker="$host_os ld.so" 15249sys_lib_dlsearch_path_spec="/lib /usr/lib" 15250need_lib_prefix=unknown 15251hardcode_into_libs=no 15252 15253# when you set need_version to no, make sure it does not cause -set_version 15254# flags to be left without arguments 15255need_version=unknown 15256 15257 15258 15259case $host_os in 15260aix3*) 15261 version_type=linux # correct to gnu/linux during the next big refactor 15262 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 15263 shlibpath_var=LIBPATH 15264 15265 # AIX 3 has no versioning support, so we append a major version to the name. 15266 soname_spec='$libname$release$shared_ext$major' 15267 ;; 15268 15269aix[4-9]*) 15270 version_type=linux # correct to gnu/linux during the next big refactor 15271 need_lib_prefix=no 15272 need_version=no 15273 hardcode_into_libs=yes 15274 if test ia64 = "$host_cpu"; then 15275 # AIX 5 supports IA64 15276 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 15277 shlibpath_var=LD_LIBRARY_PATH 15278 else 15279 # With GCC up to 2.95.x, collect2 would create an import file 15280 # for dependence libraries. The import file would start with 15281 # the line '#! .'. This would cause the generated library to 15282 # depend on '.', always an invalid library. This was fixed in 15283 # development snapshots of GCC prior to 3.0. 15284 case $host_os in 15285 aix4 | aix4.[01] | aix4.[01].*) 15286 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 15287 echo ' yes ' 15288 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 15289 : 15290 else 15291 can_build_shared=no 15292 fi 15293 ;; 15294 esac 15295 # Using Import Files as archive members, it is possible to support 15296 # filename-based versioning of shared library archives on AIX. While 15297 # this would work for both with and without runtime linking, it will 15298 # prevent static linking of such archives. So we do filename-based 15299 # shared library versioning with .so extension only, which is used 15300 # when both runtime linking and shared linking is enabled. 15301 # Unfortunately, runtime linking may impact performance, so we do 15302 # not want this to be the default eventually. Also, we use the 15303 # versioned .so libs for executables only if there is the -brtl 15304 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 15305 # To allow for filename-based versioning support, we need to create 15306 # libNAME.so.V as an archive file, containing: 15307 # *) an Import File, referring to the versioned filename of the 15308 # archive as well as the shared archive member, telling the 15309 # bitwidth (32 or 64) of that shared object, and providing the 15310 # list of exported symbols of that shared object, eventually 15311 # decorated with the 'weak' keyword 15312 # *) the shared object with the F_LOADONLY flag set, to really avoid 15313 # it being seen by the linker. 15314 # At run time we better use the real file rather than another symlink, 15315 # but for link time we create the symlink libNAME.so -> libNAME.so.V 15316 15317 case $with_aix_soname,$aix_use_runtimelinking in 15318 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 15319 # soname into executable. Probably we can add versioning support to 15320 # collect2, so additional links can be useful in future. 15321 aix,yes) # traditional libtool 15322 dynamic_linker='AIX unversionable lib.so' 15323 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 15324 # instead of lib<name>.a to let people know that these are not 15325 # typical AIX shared libraries. 15326 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15327 ;; 15328 aix,no) # traditional AIX only 15329 dynamic_linker='AIX lib.a(lib.so.V)' 15330 # We preserve .a as extension for shared libraries through AIX4.2 15331 # and later when we are not doing run time linking. 15332 library_names_spec='$libname$release.a $libname.a' 15333 soname_spec='$libname$release$shared_ext$major' 15334 ;; 15335 svr4,*) # full svr4 only 15336 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 15337 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 15338 # We do not specify a path in Import Files, so LIBPATH fires. 15339 shlibpath_overrides_runpath=yes 15340 ;; 15341 *,yes) # both, prefer svr4 15342 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 15343 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 15344 # unpreferred sharedlib libNAME.a needs extra handling 15345 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"' 15346 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"' 15347 # We do not specify a path in Import Files, so LIBPATH fires. 15348 shlibpath_overrides_runpath=yes 15349 ;; 15350 *,no) # both, prefer aix 15351 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 15352 library_names_spec='$libname$release.a $libname.a' 15353 soname_spec='$libname$release$shared_ext$major' 15354 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 15355 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)' 15356 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"' 15357 ;; 15358 esac 15359 shlibpath_var=LIBPATH 15360 fi 15361 ;; 15362 15363amigaos*) 15364 case $host_cpu in 15365 powerpc) 15366 # Since July 2007 AmigaOS4 officially supports .so libraries. 15367 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 15368 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15369 ;; 15370 m68k) 15371 library_names_spec='$libname.ixlibrary $libname.a' 15372 # Create ${libname}_ixlibrary.a entries in /sys/libs. 15373 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' 15374 ;; 15375 esac 15376 ;; 15377 15378beos*) 15379 library_names_spec='$libname$shared_ext' 15380 dynamic_linker="$host_os ld.so" 15381 shlibpath_var=LIBRARY_PATH 15382 ;; 15383 15384bsdi[45]*) 15385 version_type=linux # correct to gnu/linux during the next big refactor 15386 need_version=no 15387 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15388 soname_spec='$libname$release$shared_ext$major' 15389 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 15390 shlibpath_var=LD_LIBRARY_PATH 15391 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 15392 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 15393 # the default ld.so.conf also contains /usr/contrib/lib and 15394 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 15395 # libtool to hard-code these into programs 15396 ;; 15397 15398cygwin* | mingw* | pw32* | cegcc*) 15399 version_type=windows 15400 shrext_cmds=.dll 15401 need_version=no 15402 need_lib_prefix=no 15403 15404 case $GCC,$cc_basename in 15405 yes,*) 15406 # gcc 15407 library_names_spec='$libname.dll.a' 15408 # DLL is installed to $(libdir)/../bin by postinstall_cmds 15409 postinstall_cmds='base_file=`basename \$file`~ 15410 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 15411 dldir=$destdir/`dirname \$dlpath`~ 15412 test -d \$dldir || mkdir -p \$dldir~ 15413 $install_prog $dir/$dlname \$dldir/$dlname~ 15414 chmod a+x \$dldir/$dlname~ 15415 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 15416 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 15417 fi' 15418 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 15419 dlpath=$dir/\$dldll~ 15420 $RM \$dlpath' 15421 shlibpath_overrides_runpath=yes 15422 15423 case $host_os in 15424 cygwin*) 15425 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 15426 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 15427 15428 ;; 15429 mingw* | cegcc*) 15430 # MinGW DLLs use traditional 'lib' prefix 15431 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 15432 ;; 15433 pw32*) 15434 # pw32 DLLs use 'pw' prefix rather than 'lib' 15435 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 15436 ;; 15437 esac 15438 dynamic_linker='Win32 ld.exe' 15439 ;; 15440 15441 *,cl*) 15442 # Native MSVC 15443 libname_spec='$name' 15444 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 15445 library_names_spec='$libname.dll.lib' 15446 15447 case $build_os in 15448 mingw*) 15449 sys_lib_search_path_spec= 15450 lt_save_ifs=$IFS 15451 IFS=';' 15452 for lt_path in $LIB 15453 do 15454 IFS=$lt_save_ifs 15455 # Let DOS variable expansion print the short 8.3 style file name. 15456 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 15457 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 15458 done 15459 IFS=$lt_save_ifs 15460 # Convert to MSYS style. 15461 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 15462 ;; 15463 cygwin*) 15464 # Convert to unix form, then to dos form, then back to unix form 15465 # but this time dos style (no spaces!) so that the unix form looks 15466 # like /cygdrive/c/PROGRA~1:/cygdr... 15467 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 15468 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 15469 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 15470 ;; 15471 *) 15472 sys_lib_search_path_spec=$LIB 15473 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 15474 # It is most probably a Windows format PATH. 15475 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 15476 else 15477 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 15478 fi 15479 # FIXME: find the short name or the path components, as spaces are 15480 # common. (e.g. "Program Files" -> "PROGRA~1") 15481 ;; 15482 esac 15483 15484 # DLL is installed to $(libdir)/../bin by postinstall_cmds 15485 postinstall_cmds='base_file=`basename \$file`~ 15486 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 15487 dldir=$destdir/`dirname \$dlpath`~ 15488 test -d \$dldir || mkdir -p \$dldir~ 15489 $install_prog $dir/$dlname \$dldir/$dlname' 15490 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 15491 dlpath=$dir/\$dldll~ 15492 $RM \$dlpath' 15493 shlibpath_overrides_runpath=yes 15494 dynamic_linker='Win32 link.exe' 15495 ;; 15496 15497 *) 15498 # Assume MSVC wrapper 15499 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 15500 dynamic_linker='Win32 ld.exe' 15501 ;; 15502 esac 15503 # FIXME: first we should search . and the directory the executable is in 15504 shlibpath_var=PATH 15505 ;; 15506 15507darwin* | rhapsody*) 15508 dynamic_linker="$host_os dyld" 15509 version_type=darwin 15510 need_lib_prefix=no 15511 need_version=no 15512 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 15513 soname_spec='$libname$release$major$shared_ext' 15514 shlibpath_overrides_runpath=yes 15515 shlibpath_var=DYLD_LIBRARY_PATH 15516 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 15517 15518 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 15519 ;; 15520 15521dgux*) 15522 version_type=linux # correct to gnu/linux during the next big refactor 15523 need_lib_prefix=no 15524 need_version=no 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 ;; 15529 15530freebsd* | dragonfly*) 15531 # DragonFly does not have aout. When/if they implement a new 15532 # versioning mechanism, adjust this. 15533 if test -x /usr/bin/objformat; then 15534 objformat=`/usr/bin/objformat` 15535 else 15536 case $host_os in 15537 freebsd[23].*) objformat=aout ;; 15538 *) objformat=elf ;; 15539 esac 15540 fi 15541 version_type=freebsd-$objformat 15542 case $version_type in 15543 freebsd-elf*) 15544 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15545 soname_spec='$libname$release$shared_ext$major' 15546 need_version=no 15547 need_lib_prefix=no 15548 ;; 15549 freebsd-*) 15550 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 15551 need_version=yes 15552 ;; 15553 esac 15554 shlibpath_var=LD_LIBRARY_PATH 15555 case $host_os in 15556 freebsd2.*) 15557 shlibpath_overrides_runpath=yes 15558 ;; 15559 freebsd3.[01]* | freebsdelf3.[01]*) 15560 shlibpath_overrides_runpath=yes 15561 hardcode_into_libs=yes 15562 ;; 15563 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 15564 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 15565 shlibpath_overrides_runpath=no 15566 hardcode_into_libs=yes 15567 ;; 15568 *) # from 4.6 on, and DragonFly 15569 shlibpath_overrides_runpath=yes 15570 hardcode_into_libs=yes 15571 ;; 15572 esac 15573 ;; 15574 15575haiku*) 15576 version_type=linux # correct to gnu/linux during the next big refactor 15577 need_lib_prefix=no 15578 need_version=no 15579 dynamic_linker="$host_os runtime_loader" 15580 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15581 soname_spec='$libname$release$shared_ext$major' 15582 shlibpath_var=LIBRARY_PATH 15583 shlibpath_overrides_runpath=no 15584 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 15585 hardcode_into_libs=yes 15586 ;; 15587 15588hpux9* | hpux10* | hpux11*) 15589 # Give a soname corresponding to the major version so that dld.sl refuses to 15590 # link against other versions. 15591 version_type=sunos 15592 need_lib_prefix=no 15593 need_version=no 15594 case $host_cpu in 15595 ia64*) 15596 shrext_cmds='.so' 15597 hardcode_into_libs=yes 15598 dynamic_linker="$host_os dld.so" 15599 shlibpath_var=LD_LIBRARY_PATH 15600 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 15601 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15602 soname_spec='$libname$release$shared_ext$major' 15603 if test 32 = "$HPUX_IA64_MODE"; then 15604 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 15605 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 15606 else 15607 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 15608 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 15609 fi 15610 ;; 15611 hppa*64*) 15612 shrext_cmds='.sl' 15613 hardcode_into_libs=yes 15614 dynamic_linker="$host_os dld.sl" 15615 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 15616 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 15617 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15618 soname_spec='$libname$release$shared_ext$major' 15619 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 15620 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 15621 ;; 15622 *) 15623 shrext_cmds='.sl' 15624 dynamic_linker="$host_os dld.sl" 15625 shlibpath_var=SHLIB_PATH 15626 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 15627 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15628 soname_spec='$libname$release$shared_ext$major' 15629 ;; 15630 esac 15631 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 15632 postinstall_cmds='chmod 555 $lib' 15633 # or fails outright, so override atomically: 15634 install_override_mode=555 15635 ;; 15636 15637interix[3-9]*) 15638 version_type=linux # correct to gnu/linux during the next big refactor 15639 need_lib_prefix=no 15640 need_version=no 15641 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15642 soname_spec='$libname$release$shared_ext$major' 15643 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 15644 shlibpath_var=LD_LIBRARY_PATH 15645 shlibpath_overrides_runpath=no 15646 hardcode_into_libs=yes 15647 ;; 15648 15649irix5* | irix6* | nonstopux*) 15650 case $host_os in 15651 nonstopux*) version_type=nonstopux ;; 15652 *) 15653 if test yes = "$lt_cv_prog_gnu_ld"; then 15654 version_type=linux # correct to gnu/linux during the next big refactor 15655 else 15656 version_type=irix 15657 fi ;; 15658 esac 15659 need_lib_prefix=no 15660 need_version=no 15661 soname_spec='$libname$release$shared_ext$major' 15662 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 15663 case $host_os in 15664 irix5* | nonstopux*) 15665 libsuff= shlibsuff= 15666 ;; 15667 *) 15668 case $LD in # libtool.m4 will add one of these switches to LD 15669 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 15670 libsuff= shlibsuff= libmagic=32-bit;; 15671 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 15672 libsuff=32 shlibsuff=N32 libmagic=N32;; 15673 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 15674 libsuff=64 shlibsuff=64 libmagic=64-bit;; 15675 *) libsuff= shlibsuff= libmagic=never-match;; 15676 esac 15677 ;; 15678 esac 15679 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 15680 shlibpath_overrides_runpath=no 15681 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 15682 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 15683 hardcode_into_libs=yes 15684 ;; 15685 15686# No shared lib support for Linux oldld, aout, or coff. 15687linux*oldld* | linux*aout* | linux*coff*) 15688 dynamic_linker=no 15689 ;; 15690 15691linux*android*) 15692 version_type=none # Android doesn't support versioned libraries. 15693 need_lib_prefix=no 15694 need_version=no 15695 library_names_spec='$libname$release$shared_ext' 15696 soname_spec='$libname$release$shared_ext' 15697 finish_cmds= 15698 shlibpath_var=LD_LIBRARY_PATH 15699 shlibpath_overrides_runpath=yes 15700 15701 # This implies no fast_install, which is unacceptable. 15702 # Some rework will be needed to allow for fast_install 15703 # before this can be enabled. 15704 hardcode_into_libs=yes 15705 15706 dynamic_linker='Android linker' 15707 # Don't embed -rpath directories since the linker doesn't support them. 15708 hardcode_libdir_flag_spec_CXX='-L$libdir' 15709 ;; 15710 15711# This must be glibc/ELF. 15712linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 15713 version_type=linux # correct to gnu/linux during the next big refactor 15714 need_lib_prefix=no 15715 need_version=no 15716 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15717 soname_spec='$libname$release$shared_ext$major' 15718 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 15719 shlibpath_var=LD_LIBRARY_PATH 15720 shlibpath_overrides_runpath=no 15721 15722 # Some binutils ld are patched to set DT_RUNPATH 15723 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 15724 $as_echo_n "(cached) " >&6 15725else 15726 lt_cv_shlibpath_overrides_runpath=no 15727 save_LDFLAGS=$LDFLAGS 15728 save_libdir=$libdir 15729 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ 15730 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" 15731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15732/* end confdefs.h. */ 15733 15734int 15735main () 15736{ 15737 15738 ; 15739 return 0; 15740} 15741_ACEOF 15742if ac_fn_cxx_try_link "$LINENO"; then : 15743 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 15744 lt_cv_shlibpath_overrides_runpath=yes 15745fi 15746fi 15747rm -f core conftest.err conftest.$ac_objext \ 15748 conftest$ac_exeext conftest.$ac_ext 15749 LDFLAGS=$save_LDFLAGS 15750 libdir=$save_libdir 15751 15752fi 15753 15754 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 15755 15756 # This implies no fast_install, which is unacceptable. 15757 # Some rework will be needed to allow for fast_install 15758 # before this can be enabled. 15759 hardcode_into_libs=yes 15760 15761 # Ideally, we could use ldconfig to report *all* directores which are 15762 # searched for libraries, however this is still not possible. Aside from not 15763 # being certain /sbin/ldconfig is available, command 15764 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 15765 # even though it is searched at run-time. Try to do the best guess by 15766 # appending ld.so.conf contents (and includes) to the search path. 15767 if test -f /etc/ld.so.conf; then 15768 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' ' '` 15769 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 15770 fi 15771 15772 # We used to test for /lib/ld.so.1 and disable shared libraries on 15773 # powerpc, because MkLinux only supported shared libraries with the 15774 # GNU dynamic linker. Since this was broken with cross compilers, 15775 # most powerpc-linux boxes support dynamic linking these days and 15776 # people can always --disable-shared, the test was removed, and we 15777 # assume the GNU/Linux dynamic linker is in use. 15778 dynamic_linker='GNU/Linux ld.so' 15779 ;; 15780 15781netbsdelf*-gnu) 15782 version_type=linux 15783 need_lib_prefix=no 15784 need_version=no 15785 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 15786 soname_spec='${libname}${release}${shared_ext}$major' 15787 shlibpath_var=LD_LIBRARY_PATH 15788 shlibpath_overrides_runpath=no 15789 hardcode_into_libs=yes 15790 dynamic_linker='NetBSD ld.elf_so' 15791 ;; 15792 15793netbsd*) 15794 version_type=sunos 15795 need_lib_prefix=no 15796 need_version=no 15797 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 15798 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 15799 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 15800 dynamic_linker='NetBSD (a.out) ld.so' 15801 else 15802 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15803 soname_spec='$libname$release$shared_ext$major' 15804 dynamic_linker='NetBSD ld.elf_so' 15805 fi 15806 shlibpath_var=LD_LIBRARY_PATH 15807 shlibpath_overrides_runpath=yes 15808 hardcode_into_libs=yes 15809 ;; 15810 15811newsos6) 15812 version_type=linux # correct to gnu/linux during the next big refactor 15813 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15814 shlibpath_var=LD_LIBRARY_PATH 15815 shlibpath_overrides_runpath=yes 15816 ;; 15817 15818*nto* | *qnx*) 15819 version_type=qnx 15820 need_lib_prefix=no 15821 need_version=no 15822 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15823 soname_spec='$libname$release$shared_ext$major' 15824 shlibpath_var=LD_LIBRARY_PATH 15825 shlibpath_overrides_runpath=no 15826 hardcode_into_libs=yes 15827 dynamic_linker='ldqnx.so' 15828 ;; 15829 15830openbsd* | bitrig*) 15831 version_type=sunos 15832 sys_lib_dlsearch_path_spec=/usr/lib 15833 need_lib_prefix=no 15834 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 15835 need_version=no 15836 else 15837 need_version=yes 15838 fi 15839 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 15840 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 15841 shlibpath_var=LD_LIBRARY_PATH 15842 shlibpath_overrides_runpath=yes 15843 ;; 15844 15845os2*) 15846 libname_spec='$name' 15847 version_type=windows 15848 shrext_cmds=.dll 15849 need_version=no 15850 need_lib_prefix=no 15851 # OS/2 can only load a DLL with a base name of 8 characters or less. 15852 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 15853 v=$($ECHO $release$versuffix | tr -d .-); 15854 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 15855 $ECHO $n$v`$shared_ext' 15856 library_names_spec='${libname}_dll.$libext' 15857 dynamic_linker='OS/2 ld.exe' 15858 shlibpath_var=BEGINLIBPATH 15859 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 15860 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 15861 postinstall_cmds='base_file=`basename \$file`~ 15862 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 15863 dldir=$destdir/`dirname \$dlpath`~ 15864 test -d \$dldir || mkdir -p \$dldir~ 15865 $install_prog $dir/$dlname \$dldir/$dlname~ 15866 chmod a+x \$dldir/$dlname~ 15867 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 15868 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 15869 fi' 15870 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 15871 dlpath=$dir/\$dldll~ 15872 $RM \$dlpath' 15873 ;; 15874 15875osf3* | osf4* | osf5*) 15876 version_type=osf 15877 need_lib_prefix=no 15878 need_version=no 15879 soname_spec='$libname$release$shared_ext$major' 15880 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15881 shlibpath_var=LD_LIBRARY_PATH 15882 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 15883 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 15884 ;; 15885 15886rdos*) 15887 dynamic_linker=no 15888 ;; 15889 15890solaris*) 15891 version_type=linux # correct to gnu/linux during the next big refactor 15892 need_lib_prefix=no 15893 need_version=no 15894 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15895 soname_spec='$libname$release$shared_ext$major' 15896 shlibpath_var=LD_LIBRARY_PATH 15897 shlibpath_overrides_runpath=yes 15898 hardcode_into_libs=yes 15899 # ldd complains unless libraries are executable 15900 postinstall_cmds='chmod +x $lib' 15901 ;; 15902 15903sunos4*) 15904 version_type=sunos 15905 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 15906 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 15907 shlibpath_var=LD_LIBRARY_PATH 15908 shlibpath_overrides_runpath=yes 15909 if test yes = "$with_gnu_ld"; then 15910 need_lib_prefix=no 15911 fi 15912 need_version=yes 15913 ;; 15914 15915sysv4 | sysv4.3*) 15916 version_type=linux # correct to gnu/linux during the next big refactor 15917 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15918 soname_spec='$libname$release$shared_ext$major' 15919 shlibpath_var=LD_LIBRARY_PATH 15920 case $host_vendor in 15921 sni) 15922 shlibpath_overrides_runpath=no 15923 need_lib_prefix=no 15924 runpath_var=LD_RUN_PATH 15925 ;; 15926 siemens) 15927 need_lib_prefix=no 15928 ;; 15929 motorola) 15930 need_lib_prefix=no 15931 need_version=no 15932 shlibpath_overrides_runpath=no 15933 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 15934 ;; 15935 esac 15936 ;; 15937 15938sysv4*MP*) 15939 if test -d /usr/nec; then 15940 version_type=linux # correct to gnu/linux during the next big refactor 15941 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 15942 soname_spec='$libname$shared_ext.$major' 15943 shlibpath_var=LD_LIBRARY_PATH 15944 fi 15945 ;; 15946 15947sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 15948 version_type=sco 15949 need_lib_prefix=no 15950 need_version=no 15951 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 15952 soname_spec='$libname$release$shared_ext$major' 15953 shlibpath_var=LD_LIBRARY_PATH 15954 shlibpath_overrides_runpath=yes 15955 hardcode_into_libs=yes 15956 if test yes = "$with_gnu_ld"; then 15957 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 15958 else 15959 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 15960 case $host_os in 15961 sco3.2v5*) 15962 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 15963 ;; 15964 esac 15965 fi 15966 sys_lib_dlsearch_path_spec='/usr/lib' 15967 ;; 15968 15969tpf*) 15970 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 15971 version_type=linux # correct to gnu/linux during the next big refactor 15972 need_lib_prefix=no 15973 need_version=no 15974 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15975 shlibpath_var=LD_LIBRARY_PATH 15976 shlibpath_overrides_runpath=no 15977 hardcode_into_libs=yes 15978 ;; 15979 15980uts4*) 15981 version_type=linux # correct to gnu/linux during the next big refactor 15982 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15983 soname_spec='$libname$release$shared_ext$major' 15984 shlibpath_var=LD_LIBRARY_PATH 15985 ;; 15986 15987*) 15988 dynamic_linker=no 15989 ;; 15990esac 15991{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 15992$as_echo "$dynamic_linker" >&6; } 15993test no = "$dynamic_linker" && can_build_shared=no 15994 15995variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 15996if test yes = "$GCC"; then 15997 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 15998fi 15999 16000if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 16001 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 16002fi 16003 16004if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 16005 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 16006fi 16007 16008# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 16009configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 16010 16011# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 16012func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 16013 16014# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 16015configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 16016 16017 16018 16019 16020 16021 16022 16023 16024 16025 16026 16027 16028 16029 16030 16031 16032 16033 16034 16035 16036 16037 16038 16039 16040 16041 16042 16043 16044 16045 16046 16047 16048 16049 16050 16051 16052 16053 16054 16055 16056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 16057$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 16058hardcode_action_CXX= 16059if test -n "$hardcode_libdir_flag_spec_CXX" || 16060 test -n "$runpath_var_CXX" || 16061 test yes = "$hardcode_automatic_CXX"; then 16062 16063 # We can hardcode non-existent directories. 16064 if test no != "$hardcode_direct_CXX" && 16065 # If the only mechanism to avoid hardcoding is shlibpath_var, we 16066 # have to relink, otherwise we might link with an installed library 16067 # when we should be linking with a yet-to-be-installed one 16068 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" && 16069 test no != "$hardcode_minus_L_CXX"; then 16070 # Linking always hardcodes the temporary library directory. 16071 hardcode_action_CXX=relink 16072 else 16073 # We can link without hardcoding, and we can hardcode nonexisting dirs. 16074 hardcode_action_CXX=immediate 16075 fi 16076else 16077 # We cannot hardcode anything, or else we can only hardcode existing 16078 # directories. 16079 hardcode_action_CXX=unsupported 16080fi 16081{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 16082$as_echo "$hardcode_action_CXX" >&6; } 16083 16084if test relink = "$hardcode_action_CXX" || 16085 test yes = "$inherit_rpath_CXX"; then 16086 # Fast installation is not supported 16087 enable_fast_install=no 16088elif test yes = "$shlibpath_overrides_runpath" || 16089 test no = "$enable_shared"; then 16090 # Fast installation is not necessary 16091 enable_fast_install=needless 16092fi 16093 16094 16095 16096 16097 16098 16099 16100 fi # test -n "$compiler" 16101 16102 CC=$lt_save_CC 16103 CFLAGS=$lt_save_CFLAGS 16104 LDCXX=$LD 16105 LD=$lt_save_LD 16106 GCC=$lt_save_GCC 16107 with_gnu_ld=$lt_save_with_gnu_ld 16108 lt_cv_path_LDCXX=$lt_cv_path_LD 16109 lt_cv_path_LD=$lt_save_path_LD 16110 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld 16111 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld 16112fi # test yes != "$_lt_caught_CXX_error" 16113 16114ac_ext=c 16115ac_cpp='$CPP $CPPFLAGS' 16116ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 16117ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 16118ac_compiler_gnu=$ac_cv_c_compiler_gnu 16119 16120 16121 16122 16123 16124 16125 16126 16127 16128 16129 16130 16131 16132 16133 16134 ac_config_commands="$ac_config_commands libtool" 16135 16136 16137 16138 16139# Only expand once: 16140 16141 16142 16143 16144 16145@%:@ Check whether --enable-debug was given. 16146if test "${enable_debug+set}" = set; then : 16147 enableval=$enable_debug; 16148else 16149 enable_debug=no 16150fi 16151 16152@%:@ Check whether --enable-gprof was given. 16153if test "${enable_gprof+set}" = set; then : 16154 enableval=$enable_gprof; 16155else 16156 enable_gprof=no 16157fi 16158 16159@%:@ Check whether --enable-universal_binary was given. 16160if test "${enable_universal_binary+set}" = set; then : 16161 enableval=$enable_universal_binary; 16162else 16163 enable_universal_binary=no 16164fi 16165 16166@%:@ Check whether --enable-arch-ppc was given. 16167if test "${enable_arch_ppc+set}" = set; then : 16168 enableval=$enable_arch_ppc; 16169else 16170 enable_arch_ppc=no 16171fi 16172 16173@%:@ Check whether --enable-arch-ppc64 was given. 16174if test "${enable_arch_ppc64+set}" = set; then : 16175 enableval=$enable_arch_ppc64; 16176else 16177 enable_arch_ppc64=no 16178fi 16179 16180@%:@ Check whether --enable-arch-i386 was given. 16181if test "${enable_arch_i386+set}" = set; then : 16182 enableval=$enable_arch_i386; 16183else 16184 enable_arch_i386=no 16185fi 16186 16187@%:@ Check whether --enable-arch-x86_64 was given. 16188if test "${enable_arch_x86_64+set}" = set; then : 16189 enableval=$enable_arch_x86_64; 16190else 16191 enable_arch_x86_64=no 16192fi 16193 16194@%:@ Check whether --enable-arch-armv7 was given. 16195if test "${enable_arch_armv7+set}" = set; then : 16196 enableval=$enable_arch_armv7; 16197else 16198 enable_arch_armv7=no 16199fi 16200 16201@%:@ Check whether --enable-arch-armv7s was given. 16202if test "${enable_arch_armv7s+set}" = set; then : 16203 enableval=$enable_arch_armv7s; 16204else 16205 enable_arch_armv7s=no 16206fi 16207 16208@%:@ Check whether --enable-arch-arm64 was given. 16209if test "${enable_arch_arm64+set}" = set; then : 16210 enableval=$enable_arch_arm64; 16211else 16212 enable_arch_arm64=no 16213fi 16214 16215@%:@ Check whether --enable-unicode was given. 16216if test "${enable_unicode+set}" = set; then : 16217 enableval=$enable_unicode; 16218else 16219 enable_unicode=yes 16220fi 16221 16222@%:@ Check whether --enable-wstring_missing was given. 16223if test "${enable_wstring_missing+set}" = set; then : 16224 enableval=$enable_wstring_missing; 16225else 16226 enable_wstring_missing=no 16227fi 16228 16229@%:@ Check whether --enable-stream_missing was given. 16230if test "${enable_stream_missing+set}" = set; then : 16231 enableval=$enable_stream_missing; 16232else 16233 enable_stream_missing=no 16234fi 16235 16236@%:@ Check whether --enable-large_files was given. 16237if test "${enable_large_files+set}" = set; then : 16238 enableval=$enable_large_files; 16239else 16240 enable_large_files=yes 16241fi 16242 16243 16244 16245 16246@%:@ Check whether --with-macosx-sdk was given. 16247if test "${with_macosx_sdk+set}" = set; then : 16248 withval=$with_macosx_sdk; 16249else 16250 with_macosx_sdk=no 16251fi 16252 16253 16254@%:@ Check whether --with-macosx-version-min was given. 16255if test "${with_macosx_version_min+set}" = set; then : 16256 withval=$with_macosx_version_min; 16257else 16258 with_macosx_version_min=no 16259fi 16260 16261 16262@%:@ Check whether --with-iphoneos-sdk was given. 16263if test "${with_iphoneos_sdk+set}" = set; then : 16264 withval=$with_iphoneos_sdk; 16265else 16266 with_iphoneos_sdk=no 16267fi 16268 16269 16270@%:@ Check whether --with-iphoneos-version-min was given. 16271if test "${with_iphoneos_version_min+set}" = set; then : 16272 withval=$with_iphoneos_version_min; 16273else 16274 with_iphoneos_version_min=no 16275fi 16276 16277 16278 16279case "${build}" in 16280 powerpc-montavista* ) 16281 CFLAGS="$CFLAGS -D__MONTAVISTA__" 16282 CXXFLAGS="$CXXFLAGS -D__MONTAVISTA__" 16283 ;; 16284esac 16285 16286if test "$enable_universal_binary" = "yes"; then 16287 enable_arch_ppc=yes 16288 enable_arch_i386=yes 16289fi 16290if test "$enable_arch_ppc" = "yes"; then 16291 CXXFLAGS="$CXXFLAGS -arch ppc" 16292 CFLAGS="$CFLAGS -arch ppc" 16293 LDFLAGS="$LDFLAGS -arch ppc" 16294fi 16295if test "$enable_arch_ppc64" = "yes"; then 16296 CXXFLAGS="$CXXFLAGS -arch ppc64" 16297 CFLAGS="$CFLAGS -arch ppc64" 16298 LDFLAGS="$LDFLAGS -arch ppc64" 16299fi 16300if test "$enable_arch_i386" = "yes"; then 16301 CXXFLAGS="$CXXFLAGS -arch i386" 16302 CFLAGS="$CFLAGS -arch i386" 16303 LDFLAGS="$LDFLAGS -arch i386" 16304fi 16305if test "$enable_arch_x86_64" = "yes"; then 16306 CXXFLAGS="$CXXFLAGS -arch x86_64" 16307 CFLAGS="$CFLAGS -arch x86_64" 16308 LDFLAGS="$LDFLAGS -arch x86_64" 16309fi 16310if test "$enable_arch_armv7" = "yes"; then 16311 CXXFLAGS="$CXXFLAGS -arch armv7" 16312 CFLAGS="$CFLAGS -arch armv7" 16313 LDFLAGS="$LDFLAGS -arch armv7" 16314fi 16315if test "$enable_arch_armv7s" = "yes"; then 16316 CXXFLAGS="$CXXFLAGS -arch armv7s" 16317 CFLAGS="$CFLAGS -arch armv7s" 16318 LDFLAGS="$LDFLAGS -arch armv7s" 16319fi 16320if test "$enable_arch_arm64" = "yes"; then 16321 CXXFLAGS="$CXXFLAGS -arch arm64" 16322 CFLAGS="$CFLAGS -arch arm64" 16323 LDFLAGS="$LDFLAGS -arch arm64" 16324fi 16325if test "x$with_macosx_sdk" != xno ; then 16326 CXXFLAGS="-isysroot $with_macosx_sdk $CXXFLAGS" 16327 CFLAGS="-isysroot $with_macosx_sdk $CFLAGS" 16328 LDFLAGS="-isysroot $with_macosx_sdk $LDFLAGS" 16329fi 16330if test "x$with_macosx_version_min" != xno ; then 16331 CXXFLAGS="-mmacosx-version-min=$with_macosx_version_min $CXXFLAGS" 16332 CFLAGS="-mmacosx-version-min=$with_macosx_version_min $CFLAGS" 16333 LDFLAGS="-mmacosx-version-min=$with_macosx_version_min $LDFLAGS" 16334fi 16335if test "x$with_iphoneos_sdk" != xno ; then 16336 CXXFLAGS="-isysroot $with_iphoneos_sdk $CXXFLAGS" 16337 CFLAGS="-isysroot $with_iphoneos_sdk $CFLAGS" 16338 LDFLAGS="-isysroot $with_iphoneos_sdk $LDFLAGS" 16339fi 16340if test "x$with_iphoneos_version_min" != xno ; then 16341 CXXFLAGS="-miphoneos-version-min=$with_iphoneos_version_min $CXXFLAGS" 16342 CFLAGS="-miphoneos-version-min=$with_iphoneos_version_min $CFLAGS" 16343 LDFLAGS="-miphoneos-version-min=$with_iphoneos_version_min $LDFLAGS" 16344fi 16345 16346 16347if test "$enable_shared" = "yes"; then 16348 ZenLib_LIBS="-L$(pwd)/.libs -lzen -lpthread $ZenLib_LIBS" 16349fi 16350if test "$enable_static" = "yes"; then 16351 ZenLib_LIBS_Static="$(pwd)/.libs/libzen.a -lpthread $ZenLib_LIBS_Static" 16352fi 16353 16354 16355if test "$enable_wstring_missing" = "yes"; then 16356 CXXFLAGS="$CXXFLAGS -DWSTRING_MISSING" 16357 ZenLib_CXXFLAGS="$ZenLib_CXXFLAGS -DWSTRING_MISSING" 16358 ZenLib_wstring_missing="yes" 16359 enable_unicode="no" 16360else 16361 ZenLib_wstring_missing="no" 16362fi 16363 16364if test "$enable_unicode" = "yes"; then 16365 CXXFLAGS="$CXXFLAGS -DUNICODE" 16366 ZenLib_CXXFLAGS="$ZenLib_CXXFLAGS -DUNICODE" 16367 ZenLib_Unicode="yes" 16368else 16369 ZenLib_Unicode="no" 16370fi 16371 16372if test "$enable_large_files" = "yes"; then 16373 CXXFLAGS="$CXXFLAGS -D_LARGE_FILES -D_FILE_OFFSET_BITS=64" 16374 ZenLib_LargeFiles="yes" 16375else 16376 ZenLib_LargeFiles="no" 16377fi 16378 16379 16380ac_ext=cpp 16381ac_cpp='$CXXCPP $CPPFLAGS' 16382ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 16383ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 16384ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 16385 16386cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16387/* end confdefs.h. */ 16388 16389 #include <cstdlib> 16390 void foo(signed int) {} 16391 void foo(unsigned int) {} 16392 int main () {foo(size_t(0)); return 0;} 16393_ACEOF 16394if ac_fn_cxx_try_compile "$LINENO"; then : 16395 size_t_is_long="no" 16396else 16397 size_t_is_long="yes" 16398fi 16399rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16400 16401if test "$size_t_is_long" = "yes"; then 16402 CXXFLAGS="$CXXFLAGS -DSIZE_T_IS_LONG" 16403 ZenLib_CXXFLAGS="$ZenLib_CXXFLAGS -DSIZE_T_IS_LONG" 16404fi 16405 16406ac_ext=cpp 16407ac_cpp='$CXXCPP $CPPFLAGS' 16408ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 16409ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 16410ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 16411 16412if test "$enable_unicode" = "yes"; then 16413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16414/* end confdefs.h. */ 16415 16416 #include <sstream> 16417 int main () {std::wstringstream message; message<<1.0; return 0;} 16418_ACEOF 16419if ac_fn_cxx_try_compile "$LINENO"; then : 16420 16421else 16422 enable_stream_missing="yes" 16423fi 16424rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16425else 16426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16427/* end confdefs.h. */ 16428 16429 #include <sstream> 16430 int main () {std::stringstream message; message<<1.0; return 0;} 16431_ACEOF 16432if ac_fn_cxx_try_compile "$LINENO"; then : 16433 16434else 16435 enable_stream_missing="yes" 16436fi 16437rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16438fi 16439 16440if test "$enable_stream_missing" = "yes"; then 16441 CXXFLAGS="$CXXFLAGS -DSTREAM_MISSING" 16442fi 16443 16444if test "$GXX" = yes ; then 16445 case "${build}" in 16446 *mingw* | *cygwin* ) ;; 16447 *) 16448 CFLAGS="$CFLAGS -fPIC" 16449 CXXFLAGS="$CXXFLAGS -fPIC" 16450 LDFLAGS="$LDFLAGS -fPIC" 16451 ;; 16452 esac 16453 if test "$enable_debug" = "yes"; then 16454 CFLAGS="$CFLAGS -O0 -g -Wall -Wundef" 16455 CXXFLAGS="$CXXFLAGS -O0 -g -Wall -W -Wundef -Wcast-qual -Wno-ctor-dtor-privacy" 16456 else 16457 CFLAGS="$CFLAGS -O2" 16458 CXXFLAGS="$CXXFLAGS -O2" 16459 fi 16460 if test "$enable_gprof" = "yes"; then 16461 CFLAGS="$CFLAGS -pg -g" 16462 CXXFLAGS="$CXXFLAGS -pg -g" 16463 fi 16464fi 16465 16466LDFLAGS="$LDFLAGS -lpthread" 16467 16468for ac_func in gmtime_r localtime_r 16469do : 16470 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 16471ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var" 16472if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 16473 cat >>confdefs.h <<_ACEOF 16474@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 16475_ACEOF 16476 16477fi 16478done 16479 16480 16481 16482 16483 16484 16485 16486 16487 16488ac_config_files="$ac_config_files libzen-config" 16489 16490ac_config_files="$ac_config_files libzen.pc" 16491 16492 16493ac_config_files="$ac_config_files Makefile" 16494 16495cat >confcache <<\_ACEOF 16496# This file is a shell script that caches the results of configure 16497# tests run on this system so they can be shared between configure 16498# scripts and configure runs, see configure's option --config-cache. 16499# It is not useful on other systems. If it contains results you don't 16500# want to keep, you may remove or edit it. 16501# 16502# config.status only pays attention to the cache file if you give it 16503# the --recheck option to rerun configure. 16504# 16505# `ac_cv_env_foo' variables (set or unset) will be overridden when 16506# loading this file, other *unset* `ac_cv_foo' will be assigned the 16507# following values. 16508 16509_ACEOF 16510 16511# The following way of writing the cache mishandles newlines in values, 16512# but we know of no workaround that is simple, portable, and efficient. 16513# So, we kill variables containing newlines. 16514# Ultrix sh set writes to stderr and can't be redirected directly, 16515# and sets the high bit in the cache file unless we assign to the vars. 16516( 16517 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 16518 eval ac_val=\$$ac_var 16519 case $ac_val in #( 16520 *${as_nl}*) 16521 case $ac_var in #( 16522 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 16523$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 16524 esac 16525 case $ac_var in #( 16526 _ | IFS | as_nl) ;; #( 16527 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 16528 *) { eval $ac_var=; unset $ac_var;} ;; 16529 esac ;; 16530 esac 16531 done 16532 16533 (set) 2>&1 | 16534 case $as_nl`(ac_space=' '; set) 2>&1` in #( 16535 *${as_nl}ac_space=\ *) 16536 # `set' does not quote correctly, so add quotes: double-quote 16537 # substitution turns \\\\ into \\, and sed turns \\ into \. 16538 sed -n \ 16539 "s/'/'\\\\''/g; 16540 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 16541 ;; #( 16542 *) 16543 # `set' quotes correctly as required by POSIX, so do not add quotes. 16544 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 16545 ;; 16546 esac | 16547 sort 16548) | 16549 sed ' 16550 /^ac_cv_env_/b end 16551 t clear 16552 :clear 16553 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 16554 t end 16555 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 16556 :end' >>confcache 16557if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 16558 if test -w "$cache_file"; then 16559 if test "x$cache_file" != "x/dev/null"; then 16560 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 16561$as_echo "$as_me: updating cache $cache_file" >&6;} 16562 if test ! -f "$cache_file" || test -h "$cache_file"; then 16563 cat confcache >"$cache_file" 16564 else 16565 case $cache_file in #( 16566 */* | ?:*) 16567 mv -f confcache "$cache_file"$$ && 16568 mv -f "$cache_file"$$ "$cache_file" ;; #( 16569 *) 16570 mv -f confcache "$cache_file" ;; 16571 esac 16572 fi 16573 fi 16574 else 16575 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 16576$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 16577 fi 16578fi 16579rm -f confcache 16580 16581test "x$prefix" = xNONE && prefix=$ac_default_prefix 16582# Let make expand exec_prefix. 16583test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 16584 16585# Transform confdefs.h into DEFS. 16586# Protect against shell expansion while executing Makefile rules. 16587# Protect against Makefile macro expansion. 16588# 16589# If the first sed substitution is executed (which looks for macros that 16590# take arguments), then branch to the quote section. Otherwise, 16591# look for a macro that doesn't take arguments. 16592ac_script=' 16593:mline 16594/\\$/{ 16595 N 16596 s,\\\n,, 16597 b mline 16598} 16599t clear 16600:clear 16601s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 16602t quote 16603s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 16604t quote 16605b any 16606:quote 16607s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 16608s/\[/\\&/g 16609s/\]/\\&/g 16610s/\$/$$/g 16611H 16612:any 16613${ 16614 g 16615 s/^\n// 16616 s/\n/ /g 16617 p 16618} 16619' 16620DEFS=`sed -n "$ac_script" confdefs.h` 16621 16622 16623ac_libobjs= 16624ac_ltlibobjs= 16625U= 16626for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue 16627 # 1. Remove the extension, and $U if already installed. 16628 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 16629 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 16630 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 16631 # will be set to the directory where LIBOBJS objects are built. 16632 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 16633 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 16634done 16635LIB@&t@OBJS=$ac_libobjs 16636 16637LTLIBOBJS=$ac_ltlibobjs 16638 16639 16640{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 16641$as_echo_n "checking that generated files are newer than configure... " >&6; } 16642 if test -n "$am_sleep_pid"; then 16643 # Hide warnings about reused PIDs. 16644 wait $am_sleep_pid 2>/dev/null 16645 fi 16646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 16647$as_echo "done" >&6; } 16648 if test -n "$EXEEXT"; then 16649 am__EXEEXT_TRUE= 16650 am__EXEEXT_FALSE='#' 16651else 16652 am__EXEEXT_TRUE='#' 16653 am__EXEEXT_FALSE= 16654fi 16655 16656if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 16657 as_fn_error $? "conditional \"AMDEP\" was never defined. 16658Usually this means the macro was only invoked conditionally." "$LINENO" 5 16659fi 16660if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 16661 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 16662Usually this means the macro was only invoked conditionally." "$LINENO" 5 16663fi 16664if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 16665 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. 16666Usually this means the macro was only invoked conditionally." "$LINENO" 5 16667fi 16668 16669: "${CONFIG_STATUS=./config.status}" 16670ac_write_fail=0 16671ac_clean_files_save=$ac_clean_files 16672ac_clean_files="$ac_clean_files $CONFIG_STATUS" 16673{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 16674$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 16675as_write_fail=0 16676cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 16677#! $SHELL 16678# Generated by $as_me. 16679# Run this file to recreate the current configuration. 16680# Compiler output produced by configure, useful for debugging 16681# configure, is in config.log if it exists. 16682 16683debug=false 16684ac_cs_recheck=false 16685ac_cs_silent=false 16686 16687SHELL=\${CONFIG_SHELL-$SHELL} 16688export SHELL 16689_ASEOF 16690cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 16691## -------------------- ## 16692## M4sh Initialization. ## 16693## -------------------- ## 16694 16695# Be more Bourne compatible 16696DUALCASE=1; export DUALCASE # for MKS sh 16697if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 16698 emulate sh 16699 NULLCMD=: 16700 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 16701 # is contrary to our usage. Disable this feature. 16702 alias -g '${1+"$@"}'='"$@"' 16703 setopt NO_GLOB_SUBST 16704else 16705 case `(set -o) 2>/dev/null` in @%:@( 16706 *posix*) : 16707 set -o posix ;; @%:@( 16708 *) : 16709 ;; 16710esac 16711fi 16712 16713 16714as_nl=' 16715' 16716export as_nl 16717# Printing a long string crashes Solaris 7 /usr/bin/printf. 16718as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 16719as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 16720as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 16721# Prefer a ksh shell builtin over an external printf program on Solaris, 16722# but without wasting forks for bash or zsh. 16723if test -z "$BASH_VERSION$ZSH_VERSION" \ 16724 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 16725 as_echo='print -r --' 16726 as_echo_n='print -rn --' 16727elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 16728 as_echo='printf %s\n' 16729 as_echo_n='printf %s' 16730else 16731 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 16732 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 16733 as_echo_n='/usr/ucb/echo -n' 16734 else 16735 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 16736 as_echo_n_body='eval 16737 arg=$1; 16738 case $arg in @%:@( 16739 *"$as_nl"*) 16740 expr "X$arg" : "X\\(.*\\)$as_nl"; 16741 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 16742 esac; 16743 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 16744 ' 16745 export as_echo_n_body 16746 as_echo_n='sh -c $as_echo_n_body as_echo' 16747 fi 16748 export as_echo_body 16749 as_echo='sh -c $as_echo_body as_echo' 16750fi 16751 16752# The user is always right. 16753if test "${PATH_SEPARATOR+set}" != set; then 16754 PATH_SEPARATOR=: 16755 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 16756 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 16757 PATH_SEPARATOR=';' 16758 } 16759fi 16760 16761 16762# IFS 16763# We need space, tab and new line, in precisely that order. Quoting is 16764# there to prevent editors from complaining about space-tab. 16765# (If _AS_PATH_WALK were called with IFS unset, it would disable word 16766# splitting by setting IFS to empty value.) 16767IFS=" "" $as_nl" 16768 16769# Find who we are. Look in the path if we contain no directory separator. 16770as_myself= 16771case $0 in @%:@(( 16772 *[\\/]* ) as_myself=$0 ;; 16773 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16774for as_dir in $PATH 16775do 16776 IFS=$as_save_IFS 16777 test -z "$as_dir" && as_dir=. 16778 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 16779 done 16780IFS=$as_save_IFS 16781 16782 ;; 16783esac 16784# We did not find ourselves, most probably we were run as `sh COMMAND' 16785# in which case we are not to be found in the path. 16786if test "x$as_myself" = x; then 16787 as_myself=$0 16788fi 16789if test ! -f "$as_myself"; then 16790 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 16791 exit 1 16792fi 16793 16794# Unset variables that we do not need and which cause bugs (e.g. in 16795# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 16796# suppresses any "Segmentation fault" message there. '((' could 16797# trigger a bug in pdksh 5.2.14. 16798for as_var in BASH_ENV ENV MAIL MAILPATH 16799do eval test x\${$as_var+set} = xset \ 16800 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 16801done 16802PS1='$ ' 16803PS2='> ' 16804PS4='+ ' 16805 16806# NLS nuisances. 16807LC_ALL=C 16808export LC_ALL 16809LANGUAGE=C 16810export LANGUAGE 16811 16812# CDPATH. 16813(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 16814 16815 16816@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] 16817@%:@ ---------------------------------------- 16818@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are 16819@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the 16820@%:@ script with STATUS, using 1 if that was 0. 16821as_fn_error () 16822{ 16823 as_status=$1; test $as_status -eq 0 && as_status=1 16824 if test "$4"; then 16825 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 16826 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 16827 fi 16828 $as_echo "$as_me: error: $2" >&2 16829 as_fn_exit $as_status 16830} @%:@ as_fn_error 16831 16832 16833@%:@ as_fn_set_status STATUS 16834@%:@ ----------------------- 16835@%:@ Set @S|@? to STATUS, without forking. 16836as_fn_set_status () 16837{ 16838 return $1 16839} @%:@ as_fn_set_status 16840 16841@%:@ as_fn_exit STATUS 16842@%:@ ----------------- 16843@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 16844as_fn_exit () 16845{ 16846 set +e 16847 as_fn_set_status $1 16848 exit $1 16849} @%:@ as_fn_exit 16850 16851@%:@ as_fn_unset VAR 16852@%:@ --------------- 16853@%:@ Portably unset VAR. 16854as_fn_unset () 16855{ 16856 { eval $1=; unset $1;} 16857} 16858as_unset=as_fn_unset 16859@%:@ as_fn_append VAR VALUE 16860@%:@ ---------------------- 16861@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take 16862@%:@ advantage of any shell optimizations that allow amortized linear growth over 16863@%:@ repeated appends, instead of the typical quadratic growth present in naive 16864@%:@ implementations. 16865if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 16866 eval 'as_fn_append () 16867 { 16868 eval $1+=\$2 16869 }' 16870else 16871 as_fn_append () 16872 { 16873 eval $1=\$$1\$2 16874 } 16875fi # as_fn_append 16876 16877@%:@ as_fn_arith ARG... 16878@%:@ ------------------ 16879@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the 16880@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments 16881@%:@ must be portable across @S|@(()) and expr. 16882if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 16883 eval 'as_fn_arith () 16884 { 16885 as_val=$(( $* )) 16886 }' 16887else 16888 as_fn_arith () 16889 { 16890 as_val=`expr "$@" || test $? -eq 1` 16891 } 16892fi # as_fn_arith 16893 16894 16895if expr a : '\(a\)' >/dev/null 2>&1 && 16896 test "X`expr 00001 : '.*\(...\)'`" = X001; then 16897 as_expr=expr 16898else 16899 as_expr=false 16900fi 16901 16902if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 16903 as_basename=basename 16904else 16905 as_basename=false 16906fi 16907 16908if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 16909 as_dirname=dirname 16910else 16911 as_dirname=false 16912fi 16913 16914as_me=`$as_basename -- "$0" || 16915$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 16916 X"$0" : 'X\(//\)$' \| \ 16917 X"$0" : 'X\(/\)' \| . 2>/dev/null || 16918$as_echo X/"$0" | 16919 sed '/^.*\/\([^/][^/]*\)\/*$/{ 16920 s//\1/ 16921 q 16922 } 16923 /^X\/\(\/\/\)$/{ 16924 s//\1/ 16925 q 16926 } 16927 /^X\/\(\/\).*/{ 16928 s//\1/ 16929 q 16930 } 16931 s/.*/./; q'` 16932 16933# Avoid depending upon Character Ranges. 16934as_cr_letters='abcdefghijklmnopqrstuvwxyz' 16935as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 16936as_cr_Letters=$as_cr_letters$as_cr_LETTERS 16937as_cr_digits='0123456789' 16938as_cr_alnum=$as_cr_Letters$as_cr_digits 16939 16940ECHO_C= ECHO_N= ECHO_T= 16941case `echo -n x` in @%:@((((( 16942-n*) 16943 case `echo 'xy\c'` in 16944 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 16945 xy) ECHO_C='\c';; 16946 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 16947 ECHO_T=' ';; 16948 esac;; 16949*) 16950 ECHO_N='-n';; 16951esac 16952 16953rm -f conf$$ conf$$.exe conf$$.file 16954if test -d conf$$.dir; then 16955 rm -f conf$$.dir/conf$$.file 16956else 16957 rm -f conf$$.dir 16958 mkdir conf$$.dir 2>/dev/null 16959fi 16960if (echo >conf$$.file) 2>/dev/null; then 16961 if ln -s conf$$.file conf$$ 2>/dev/null; then 16962 as_ln_s='ln -s' 16963 # ... but there are two gotchas: 16964 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 16965 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 16966 # In both cases, we have to default to `cp -pR'. 16967 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 16968 as_ln_s='cp -pR' 16969 elif ln conf$$.file conf$$ 2>/dev/null; then 16970 as_ln_s=ln 16971 else 16972 as_ln_s='cp -pR' 16973 fi 16974else 16975 as_ln_s='cp -pR' 16976fi 16977rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 16978rmdir conf$$.dir 2>/dev/null 16979 16980 16981@%:@ as_fn_mkdir_p 16982@%:@ ------------- 16983@%:@ Create "@S|@as_dir" as a directory, including parents if necessary. 16984as_fn_mkdir_p () 16985{ 16986 16987 case $as_dir in #( 16988 -*) as_dir=./$as_dir;; 16989 esac 16990 test -d "$as_dir" || eval $as_mkdir_p || { 16991 as_dirs= 16992 while :; do 16993 case $as_dir in #( 16994 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 16995 *) as_qdir=$as_dir;; 16996 esac 16997 as_dirs="'$as_qdir' $as_dirs" 16998 as_dir=`$as_dirname -- "$as_dir" || 16999$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17000 X"$as_dir" : 'X\(//\)[^/]' \| \ 17001 X"$as_dir" : 'X\(//\)$' \| \ 17002 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 17003$as_echo X"$as_dir" | 17004 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17005 s//\1/ 17006 q 17007 } 17008 /^X\(\/\/\)[^/].*/{ 17009 s//\1/ 17010 q 17011 } 17012 /^X\(\/\/\)$/{ 17013 s//\1/ 17014 q 17015 } 17016 /^X\(\/\).*/{ 17017 s//\1/ 17018 q 17019 } 17020 s/.*/./; q'` 17021 test -d "$as_dir" && break 17022 done 17023 test -z "$as_dirs" || eval "mkdir $as_dirs" 17024 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 17025 17026 17027} @%:@ as_fn_mkdir_p 17028if mkdir -p . 2>/dev/null; then 17029 as_mkdir_p='mkdir -p "$as_dir"' 17030else 17031 test -d ./-p && rmdir ./-p 17032 as_mkdir_p=false 17033fi 17034 17035 17036@%:@ as_fn_executable_p FILE 17037@%:@ ----------------------- 17038@%:@ Test if FILE is an executable regular file. 17039as_fn_executable_p () 17040{ 17041 test -f "$1" && test -x "$1" 17042} @%:@ as_fn_executable_p 17043as_test_x='test -x' 17044as_executable_p=as_fn_executable_p 17045 17046# Sed expression to map a string onto a valid CPP name. 17047as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 17048 17049# Sed expression to map a string onto a valid variable name. 17050as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 17051 17052 17053exec 6>&1 17054## ----------------------------------- ## 17055## Main body of $CONFIG_STATUS script. ## 17056## ----------------------------------- ## 17057_ASEOF 17058test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 17059 17060cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17061# Save the log message, to keep $0 and so on meaningful, and to 17062# report actual input values of CONFIG_FILES etc. instead of their 17063# values after options handling. 17064ac_log=" 17065This file was extended by libzen $as_me 0.4.39, which was 17066generated by GNU Autoconf 2.69. Invocation command line was 17067 17068 CONFIG_FILES = $CONFIG_FILES 17069 CONFIG_HEADERS = $CONFIG_HEADERS 17070 CONFIG_LINKS = $CONFIG_LINKS 17071 CONFIG_COMMANDS = $CONFIG_COMMANDS 17072 $ $0 $@ 17073 17074on `(hostname || uname -n) 2>/dev/null | sed 1q` 17075" 17076 17077_ACEOF 17078 17079case $ac_config_files in *" 17080"*) set x $ac_config_files; shift; ac_config_files=$*;; 17081esac 17082 17083 17084 17085cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17086# Files that config.status was made for. 17087config_files="$ac_config_files" 17088config_commands="$ac_config_commands" 17089 17090_ACEOF 17091 17092cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17093ac_cs_usage="\ 17094\`$as_me' instantiates files and other configuration actions 17095from templates according to the current configuration. Unless the files 17096and actions are specified as TAGs, all are instantiated by default. 17097 17098Usage: $0 [OPTION]... [TAG]... 17099 17100 -h, --help print this help, then exit 17101 -V, --version print version number and configuration settings, then exit 17102 --config print configuration, then exit 17103 -q, --quiet, --silent 17104 do not print progress messages 17105 -d, --debug don't remove temporary files 17106 --recheck update $as_me by reconfiguring in the same conditions 17107 --file=FILE[:TEMPLATE] 17108 instantiate the configuration file FILE 17109 17110Configuration files: 17111$config_files 17112 17113Configuration commands: 17114$config_commands 17115 17116Report bugs to the package provider." 17117 17118_ACEOF 17119cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17120ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 17121ac_cs_version="\\ 17122libzen config.status 0.4.39 17123configured by $0, generated by GNU Autoconf 2.69, 17124 with options \\"\$ac_cs_config\\" 17125 17126Copyright (C) 2012 Free Software Foundation, Inc. 17127This config.status script is free software; the Free Software Foundation 17128gives unlimited permission to copy, distribute and modify it." 17129 17130ac_pwd='$ac_pwd' 17131srcdir='$srcdir' 17132INSTALL='$INSTALL' 17133MKDIR_P='$MKDIR_P' 17134AWK='$AWK' 17135test -n "\$AWK" || AWK=awk 17136_ACEOF 17137 17138cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17139# The default lists apply if the user does not specify any file. 17140ac_need_defaults=: 17141while test $# != 0 17142do 17143 case $1 in 17144 --*=?*) 17145 ac_option=`expr "X$1" : 'X\([^=]*\)='` 17146 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 17147 ac_shift=: 17148 ;; 17149 --*=) 17150 ac_option=`expr "X$1" : 'X\([^=]*\)='` 17151 ac_optarg= 17152 ac_shift=: 17153 ;; 17154 *) 17155 ac_option=$1 17156 ac_optarg=$2 17157 ac_shift=shift 17158 ;; 17159 esac 17160 17161 case $ac_option in 17162 # Handling of the options. 17163 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 17164 ac_cs_recheck=: ;; 17165 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 17166 $as_echo "$ac_cs_version"; exit ;; 17167 --config | --confi | --conf | --con | --co | --c ) 17168 $as_echo "$ac_cs_config"; exit ;; 17169 --debug | --debu | --deb | --de | --d | -d ) 17170 debug=: ;; 17171 --file | --fil | --fi | --f ) 17172 $ac_shift 17173 case $ac_optarg in 17174 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 17175 '') as_fn_error $? "missing file argument" ;; 17176 esac 17177 as_fn_append CONFIG_FILES " '$ac_optarg'" 17178 ac_need_defaults=false;; 17179 --he | --h | --help | --hel | -h ) 17180 $as_echo "$ac_cs_usage"; exit ;; 17181 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 17182 | -silent | --silent | --silen | --sile | --sil | --si | --s) 17183 ac_cs_silent=: ;; 17184 17185 # This is an error. 17186 -*) as_fn_error $? "unrecognized option: \`$1' 17187Try \`$0 --help' for more information." ;; 17188 17189 *) as_fn_append ac_config_targets " $1" 17190 ac_need_defaults=false ;; 17191 17192 esac 17193 shift 17194done 17195 17196ac_configure_extra_args= 17197 17198if $ac_cs_silent; then 17199 exec 6>/dev/null 17200 ac_configure_extra_args="$ac_configure_extra_args --silent" 17201fi 17202 17203_ACEOF 17204cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17205if \$ac_cs_recheck; then 17206 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 17207 shift 17208 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 17209 CONFIG_SHELL='$SHELL' 17210 export CONFIG_SHELL 17211 exec "\$@" 17212fi 17213 17214_ACEOF 17215cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17216exec 5>>config.log 17217{ 17218 echo 17219 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX 17220@%:@@%:@ Running $as_me. @%:@@%:@ 17221_ASBOX 17222 $as_echo "$ac_log" 17223} >&5 17224 17225_ACEOF 17226cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17227# 17228# INIT-COMMANDS 17229# 17230AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" 17231 17232 17233# The HP-UX ksh and POSIX shell print the target directory to stdout 17234# if CDPATH is set. 17235(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 17236 17237sed_quote_subst='$sed_quote_subst' 17238double_quote_subst='$double_quote_subst' 17239delay_variable_subst='$delay_variable_subst' 17240enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 17241AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' 17242DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 17243OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 17244macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 17245macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 17246enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 17247pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 17248enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 17249shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 17250SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 17251ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 17252PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 17253host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 17254host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 17255host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 17256build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 17257build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 17258build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 17259SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 17260Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 17261GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 17262EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 17263FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 17264LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 17265NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 17266LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 17267max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 17268ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 17269exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 17270lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 17271lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 17272lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 17273lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 17274lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 17275reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 17276reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 17277deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 17278file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 17279file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 17280want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 17281sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 17282AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 17283AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 17284archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 17285STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 17286RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 17287old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 17288old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 17289old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 17290lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 17291CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 17292CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 17293compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 17294GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 17295lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 17296lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 17297lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 17298lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 17299lt_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"`' 17300lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 17301nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 17302lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 17303lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 17304objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 17305MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 17306lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 17307lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 17308lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 17309lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 17310lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 17311need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 17312MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 17313DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 17314NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 17315LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 17316OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 17317OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 17318libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 17319shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 17320extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 17321archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 17322enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 17323export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 17324whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 17325compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 17326old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 17327old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 17328archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 17329archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 17330module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 17331module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 17332with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 17333allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 17334no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 17335hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 17336hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 17337hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 17338hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 17339hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 17340hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 17341hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 17342inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 17343link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 17344always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 17345export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 17346exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 17347include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 17348prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 17349postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 17350file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 17351variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 17352need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 17353need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 17354version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 17355runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 17356shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 17357shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 17358libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 17359library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 17360soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 17361install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 17362postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 17363postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 17364finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 17365finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 17366hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 17367sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 17368configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 17369configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 17370hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 17371enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 17372enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 17373enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 17374old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 17375striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 17376compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' 17377predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' 17378postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' 17379predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' 17380postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' 17381compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' 17382LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' 17383reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' 17384reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' 17385old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 17386compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' 17387GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' 17388lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' 17389lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' 17390lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' 17391lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' 17392lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' 17393archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' 17394enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' 17395export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 17396whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 17397compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' 17398old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' 17399old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' 17400archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 17401archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 17402module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' 17403module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 17404with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' 17405allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 17406no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 17407hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 17408hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' 17409hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' 17410hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' 17411hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' 17412hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' 17413hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' 17414inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' 17415link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' 17416always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' 17417export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' 17418exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 17419include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 17420prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 17421postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 17422file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' 17423hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' 17424compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' 17425predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' 17426postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' 17427predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' 17428postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' 17429compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' 17430 17431LTCC='$LTCC' 17432LTCFLAGS='$LTCFLAGS' 17433compiler='$compiler_DEFAULT' 17434 17435# A function that is used when there is no print builtin or printf. 17436func_fallback_echo () 17437{ 17438 eval 'cat <<_LTECHO_EOF 17439\$1 17440_LTECHO_EOF' 17441} 17442 17443# Quote evaled strings. 17444for var in AS \ 17445DLLTOOL \ 17446OBJDUMP \ 17447SHELL \ 17448ECHO \ 17449PATH_SEPARATOR \ 17450SED \ 17451GREP \ 17452EGREP \ 17453FGREP \ 17454LD \ 17455NM \ 17456LN_S \ 17457lt_SP2NL \ 17458lt_NL2SP \ 17459reload_flag \ 17460deplibs_check_method \ 17461file_magic_cmd \ 17462file_magic_glob \ 17463want_nocaseglob \ 17464sharedlib_from_linklib_cmd \ 17465AR \ 17466AR_FLAGS \ 17467archiver_list_spec \ 17468STRIP \ 17469RANLIB \ 17470CC \ 17471CFLAGS \ 17472compiler \ 17473lt_cv_sys_global_symbol_pipe \ 17474lt_cv_sys_global_symbol_to_cdecl \ 17475lt_cv_sys_global_symbol_to_import \ 17476lt_cv_sys_global_symbol_to_c_name_address \ 17477lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 17478lt_cv_nm_interface \ 17479nm_file_list_spec \ 17480lt_cv_truncate_bin \ 17481lt_prog_compiler_no_builtin_flag \ 17482lt_prog_compiler_pic \ 17483lt_prog_compiler_wl \ 17484lt_prog_compiler_static \ 17485lt_cv_prog_compiler_c_o \ 17486need_locks \ 17487MANIFEST_TOOL \ 17488DSYMUTIL \ 17489NMEDIT \ 17490LIPO \ 17491OTOOL \ 17492OTOOL64 \ 17493shrext_cmds \ 17494export_dynamic_flag_spec \ 17495whole_archive_flag_spec \ 17496compiler_needs_object \ 17497with_gnu_ld \ 17498allow_undefined_flag \ 17499no_undefined_flag \ 17500hardcode_libdir_flag_spec \ 17501hardcode_libdir_separator \ 17502exclude_expsyms \ 17503include_expsyms \ 17504file_list_spec \ 17505variables_saved_for_relink \ 17506libname_spec \ 17507library_names_spec \ 17508soname_spec \ 17509install_override_mode \ 17510finish_eval \ 17511old_striplib \ 17512striplib \ 17513compiler_lib_search_dirs \ 17514predep_objects \ 17515postdep_objects \ 17516predeps \ 17517postdeps \ 17518compiler_lib_search_path \ 17519LD_CXX \ 17520reload_flag_CXX \ 17521compiler_CXX \ 17522lt_prog_compiler_no_builtin_flag_CXX \ 17523lt_prog_compiler_pic_CXX \ 17524lt_prog_compiler_wl_CXX \ 17525lt_prog_compiler_static_CXX \ 17526lt_cv_prog_compiler_c_o_CXX \ 17527export_dynamic_flag_spec_CXX \ 17528whole_archive_flag_spec_CXX \ 17529compiler_needs_object_CXX \ 17530with_gnu_ld_CXX \ 17531allow_undefined_flag_CXX \ 17532no_undefined_flag_CXX \ 17533hardcode_libdir_flag_spec_CXX \ 17534hardcode_libdir_separator_CXX \ 17535exclude_expsyms_CXX \ 17536include_expsyms_CXX \ 17537file_list_spec_CXX \ 17538compiler_lib_search_dirs_CXX \ 17539predep_objects_CXX \ 17540postdep_objects_CXX \ 17541predeps_CXX \ 17542postdeps_CXX \ 17543compiler_lib_search_path_CXX; do 17544 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 17545 *[\\\\\\\`\\"\\\$]*) 17546 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 17547 ;; 17548 *) 17549 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 17550 ;; 17551 esac 17552done 17553 17554# Double-quote double-evaled strings. 17555for var in reload_cmds \ 17556old_postinstall_cmds \ 17557old_postuninstall_cmds \ 17558old_archive_cmds \ 17559extract_expsyms_cmds \ 17560old_archive_from_new_cmds \ 17561old_archive_from_expsyms_cmds \ 17562archive_cmds \ 17563archive_expsym_cmds \ 17564module_cmds \ 17565module_expsym_cmds \ 17566export_symbols_cmds \ 17567prelink_cmds \ 17568postlink_cmds \ 17569postinstall_cmds \ 17570postuninstall_cmds \ 17571finish_cmds \ 17572sys_lib_search_path_spec \ 17573configure_time_dlsearch_path \ 17574configure_time_lt_sys_library_path \ 17575reload_cmds_CXX \ 17576old_archive_cmds_CXX \ 17577old_archive_from_new_cmds_CXX \ 17578old_archive_from_expsyms_cmds_CXX \ 17579archive_cmds_CXX \ 17580archive_expsym_cmds_CXX \ 17581module_cmds_CXX \ 17582module_expsym_cmds_CXX \ 17583export_symbols_cmds_CXX \ 17584prelink_cmds_CXX \ 17585postlink_cmds_CXX; do 17586 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 17587 *[\\\\\\\`\\"\\\$]*) 17588 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 17589 ;; 17590 *) 17591 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 17592 ;; 17593 esac 17594done 17595 17596ac_aux_dir='$ac_aux_dir' 17597 17598# See if we are running on zsh, and set the options that allow our 17599# commands through without removal of \ escapes INIT. 17600if test -n "\${ZSH_VERSION+set}"; then 17601 setopt NO_GLOB_SUBST 17602fi 17603 17604 17605 PACKAGE='$PACKAGE' 17606 VERSION='$VERSION' 17607 RM='$RM' 17608 ofile='$ofile' 17609 17610 17611 17612 17613 17614 17615_ACEOF 17616 17617cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17618 17619# Handling of arguments. 17620for ac_config_target in $ac_config_targets 17621do 17622 case $ac_config_target in 17623 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 17624 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 17625 "libzen-config") CONFIG_FILES="$CONFIG_FILES libzen-config" ;; 17626 "libzen.pc") CONFIG_FILES="$CONFIG_FILES libzen.pc" ;; 17627 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 17628 17629 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 17630 esac 17631done 17632 17633 17634# If the user did not use the arguments to specify the items to instantiate, 17635# then the envvar interface is used. Set only those that are not. 17636# We use the long form for the default assignment because of an extremely 17637# bizarre bug on SunOS 4.1.3. 17638if $ac_need_defaults; then 17639 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 17640 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 17641fi 17642 17643# Have a temporary directory for convenience. Make it in the build tree 17644# simply because there is no reason against having it here, and in addition, 17645# creating and moving files from /tmp can sometimes cause problems. 17646# Hook for its removal unless debugging. 17647# Note that there is a small window in which the directory will not be cleaned: 17648# after its creation but before its name has been assigned to `$tmp'. 17649$debug || 17650{ 17651 tmp= ac_tmp= 17652 trap 'exit_status=$? 17653 : "${ac_tmp:=$tmp}" 17654 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 17655' 0 17656 trap 'as_fn_exit 1' 1 2 13 15 17657} 17658# Create a (secure) tmp directory for tmp files. 17659 17660{ 17661 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 17662 test -d "$tmp" 17663} || 17664{ 17665 tmp=./conf$$-$RANDOM 17666 (umask 077 && mkdir "$tmp") 17667} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 17668ac_tmp=$tmp 17669 17670# Set up the scripts for CONFIG_FILES section. 17671# No need to generate them if there are no CONFIG_FILES. 17672# This happens for instance with `./config.status config.h'. 17673if test -n "$CONFIG_FILES"; then 17674 17675 17676ac_cr=`echo X | tr X '\015'` 17677# On cygwin, bash can eat \r inside `` if the user requested igncr. 17678# But we know of no other shell where ac_cr would be empty at this 17679# point, so we can use a bashism as a fallback. 17680if test "x$ac_cr" = x; then 17681 eval ac_cr=\$\'\\r\' 17682fi 17683ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 17684if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 17685 ac_cs_awk_cr='\\r' 17686else 17687 ac_cs_awk_cr=$ac_cr 17688fi 17689 17690echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 17691_ACEOF 17692 17693 17694{ 17695 echo "cat >conf$$subs.awk <<_ACEOF" && 17696 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 17697 echo "_ACEOF" 17698} >conf$$subs.sh || 17699 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17700ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 17701ac_delim='%!_!# ' 17702for ac_last_try in false false false false false :; do 17703 . ./conf$$subs.sh || 17704 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17705 17706 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 17707 if test $ac_delim_n = $ac_delim_num; then 17708 break 17709 elif $ac_last_try; then 17710 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 17711 else 17712 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 17713 fi 17714done 17715rm -f conf$$subs.sh 17716 17717cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17718cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 17719_ACEOF 17720sed -n ' 17721h 17722s/^/S["/; s/!.*/"]=/ 17723p 17724g 17725s/^[^!]*!// 17726:repl 17727t repl 17728s/'"$ac_delim"'$// 17729t delim 17730:nl 17731h 17732s/\(.\{148\}\)..*/\1/ 17733t more1 17734s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 17735p 17736n 17737b repl 17738:more1 17739s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 17740p 17741g 17742s/.\{148\}// 17743t nl 17744:delim 17745h 17746s/\(.\{148\}\)..*/\1/ 17747t more2 17748s/["\\]/\\&/g; s/^/"/; s/$/"/ 17749p 17750b 17751:more2 17752s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 17753p 17754g 17755s/.\{148\}// 17756t delim 17757' <conf$$subs.awk | sed ' 17758/^[^""]/{ 17759 N 17760 s/\n// 17761} 17762' >>$CONFIG_STATUS || ac_write_fail=1 17763rm -f conf$$subs.awk 17764cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17765_ACAWK 17766cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 17767 for (key in S) S_is_set[key] = 1 17768 FS = "" 17769 17770} 17771{ 17772 line = $ 0 17773 nfields = split(line, field, "@") 17774 substed = 0 17775 len = length(field[1]) 17776 for (i = 2; i < nfields; i++) { 17777 key = field[i] 17778 keylen = length(key) 17779 if (S_is_set[key]) { 17780 value = S[key] 17781 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 17782 len += length(value) + length(field[++i]) 17783 substed = 1 17784 } else 17785 len += 1 + keylen 17786 } 17787 17788 print line 17789} 17790 17791_ACAWK 17792_ACEOF 17793cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17794if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 17795 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 17796else 17797 cat 17798fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 17799 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 17800_ACEOF 17801 17802# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 17803# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 17804# trailing colons and then remove the whole line if VPATH becomes empty 17805# (actually we leave an empty line to preserve line numbers). 17806if test "x$srcdir" = x.; then 17807 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 17808h 17809s/// 17810s/^/:/ 17811s/[ ]*$/:/ 17812s/:\$(srcdir):/:/g 17813s/:\${srcdir}:/:/g 17814s/:@srcdir@:/:/g 17815s/^:*// 17816s/:*$// 17817x 17818s/\(=[ ]*\).*/\1/ 17819G 17820s/\n// 17821s/^[^=]*=[ ]*$// 17822}' 17823fi 17824 17825cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17826fi # test -n "$CONFIG_FILES" 17827 17828 17829eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" 17830shift 17831for ac_tag 17832do 17833 case $ac_tag in 17834 :[FHLC]) ac_mode=$ac_tag; continue;; 17835 esac 17836 case $ac_mode$ac_tag in 17837 :[FHL]*:*);; 17838 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 17839 :[FH]-) ac_tag=-:-;; 17840 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 17841 esac 17842 ac_save_IFS=$IFS 17843 IFS=: 17844 set x $ac_tag 17845 IFS=$ac_save_IFS 17846 shift 17847 ac_file=$1 17848 shift 17849 17850 case $ac_mode in 17851 :L) ac_source=$1;; 17852 :[FH]) 17853 ac_file_inputs= 17854 for ac_f 17855 do 17856 case $ac_f in 17857 -) ac_f="$ac_tmp/stdin";; 17858 *) # Look for the file first in the build tree, then in the source tree 17859 # (if the path is not absolute). The absolute path cannot be DOS-style, 17860 # because $ac_f cannot contain `:'. 17861 test -f "$ac_f" || 17862 case $ac_f in 17863 [\\/$]*) false;; 17864 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 17865 esac || 17866 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 17867 esac 17868 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 17869 as_fn_append ac_file_inputs " '$ac_f'" 17870 done 17871 17872 # Let's still pretend it is `configure' which instantiates (i.e., don't 17873 # use $as_me), people would be surprised to read: 17874 # /* config.h. Generated by config.status. */ 17875 configure_input='Generated from '` 17876 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 17877 `' by configure.' 17878 if test x"$ac_file" != x-; then 17879 configure_input="$ac_file. $configure_input" 17880 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 17881$as_echo "$as_me: creating $ac_file" >&6;} 17882 fi 17883 # Neutralize special characters interpreted by sed in replacement strings. 17884 case $configure_input in #( 17885 *\&* | *\|* | *\\* ) 17886 ac_sed_conf_input=`$as_echo "$configure_input" | 17887 sed 's/[\\\\&|]/\\\\&/g'`;; #( 17888 *) ac_sed_conf_input=$configure_input;; 17889 esac 17890 17891 case $ac_tag in 17892 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 17893 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 17894 esac 17895 ;; 17896 esac 17897 17898 ac_dir=`$as_dirname -- "$ac_file" || 17899$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17900 X"$ac_file" : 'X\(//\)[^/]' \| \ 17901 X"$ac_file" : 'X\(//\)$' \| \ 17902 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 17903$as_echo X"$ac_file" | 17904 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17905 s//\1/ 17906 q 17907 } 17908 /^X\(\/\/\)[^/].*/{ 17909 s//\1/ 17910 q 17911 } 17912 /^X\(\/\/\)$/{ 17913 s//\1/ 17914 q 17915 } 17916 /^X\(\/\).*/{ 17917 s//\1/ 17918 q 17919 } 17920 s/.*/./; q'` 17921 as_dir="$ac_dir"; as_fn_mkdir_p 17922 ac_builddir=. 17923 17924case "$ac_dir" in 17925.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 17926*) 17927 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 17928 # A ".." for each directory in $ac_dir_suffix. 17929 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 17930 case $ac_top_builddir_sub in 17931 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 17932 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 17933 esac ;; 17934esac 17935ac_abs_top_builddir=$ac_pwd 17936ac_abs_builddir=$ac_pwd$ac_dir_suffix 17937# for backward compatibility: 17938ac_top_builddir=$ac_top_build_prefix 17939 17940case $srcdir in 17941 .) # We are building in place. 17942 ac_srcdir=. 17943 ac_top_srcdir=$ac_top_builddir_sub 17944 ac_abs_top_srcdir=$ac_pwd ;; 17945 [\\/]* | ?:[\\/]* ) # Absolute name. 17946 ac_srcdir=$srcdir$ac_dir_suffix; 17947 ac_top_srcdir=$srcdir 17948 ac_abs_top_srcdir=$srcdir ;; 17949 *) # Relative name. 17950 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 17951 ac_top_srcdir=$ac_top_build_prefix$srcdir 17952 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 17953esac 17954ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 17955 17956 17957 case $ac_mode in 17958 :F) 17959 # 17960 # CONFIG_FILE 17961 # 17962 17963 case $INSTALL in 17964 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 17965 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 17966 esac 17967 ac_MKDIR_P=$MKDIR_P 17968 case $MKDIR_P in 17969 [\\/$]* | ?:[\\/]* ) ;; 17970 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 17971 esac 17972_ACEOF 17973 17974cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17975# If the template does not know about datarootdir, expand it. 17976# FIXME: This hack should be removed a few years after 2.60. 17977ac_datarootdir_hack=; ac_datarootdir_seen= 17978ac_sed_dataroot=' 17979/datarootdir/ { 17980 p 17981 q 17982} 17983/@datadir@/p 17984/@docdir@/p 17985/@infodir@/p 17986/@localedir@/p 17987/@mandir@/p' 17988case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 17989*datarootdir*) ac_datarootdir_seen=yes;; 17990*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 17991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 17992$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 17993_ACEOF 17994cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17995 ac_datarootdir_hack=' 17996 s&@datadir@&$datadir&g 17997 s&@docdir@&$docdir&g 17998 s&@infodir@&$infodir&g 17999 s&@localedir@&$localedir&g 18000 s&@mandir@&$mandir&g 18001 s&\\\${datarootdir}&$datarootdir&g' ;; 18002esac 18003_ACEOF 18004 18005# Neutralize VPATH when `$srcdir' = `.'. 18006# Shell code in configure.ac might set extrasub. 18007# FIXME: do we really want to maintain this feature? 18008cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18009ac_sed_extra="$ac_vpsub 18010$extrasub 18011_ACEOF 18012cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18013:t 18014/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 18015s|@configure_input@|$ac_sed_conf_input|;t t 18016s&@top_builddir@&$ac_top_builddir_sub&;t t 18017s&@top_build_prefix@&$ac_top_build_prefix&;t t 18018s&@srcdir@&$ac_srcdir&;t t 18019s&@abs_srcdir@&$ac_abs_srcdir&;t t 18020s&@top_srcdir@&$ac_top_srcdir&;t t 18021s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 18022s&@builddir@&$ac_builddir&;t t 18023s&@abs_builddir@&$ac_abs_builddir&;t t 18024s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 18025s&@INSTALL@&$ac_INSTALL&;t t 18026s&@MKDIR_P@&$ac_MKDIR_P&;t t 18027$ac_datarootdir_hack 18028" 18029eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 18030 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18031 18032test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 18033 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 18034 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 18035 "$ac_tmp/out"`; test -z "$ac_out"; } && 18036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 18037which seems to be undefined. Please make sure it is defined" >&5 18038$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 18039which seems to be undefined. Please make sure it is defined" >&2;} 18040 18041 rm -f "$ac_tmp/stdin" 18042 case $ac_file in 18043 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 18044 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 18045 esac \ 18046 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18047 ;; 18048 18049 18050 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 18051$as_echo "$as_me: executing $ac_file commands" >&6;} 18052 ;; 18053 esac 18054 18055 18056 case $ac_file$ac_mode in 18057 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 18058 # Older Autoconf quotes --file arguments for eval, but not when files 18059 # are listed without --file. Let's play safe and only enable the eval 18060 # if we detect the quoting. 18061 # TODO: see whether this extra hack can be removed once we start 18062 # requiring Autoconf 2.70 or later. 18063 case $CONFIG_FILES in @%:@( 18064 *\'*) : 18065 eval set x "$CONFIG_FILES" ;; @%:@( 18066 *) : 18067 set x $CONFIG_FILES ;; @%:@( 18068 *) : 18069 ;; 18070esac 18071 shift 18072 # Used to flag and report bootstrapping failures. 18073 am_rc=0 18074 for am_mf 18075 do 18076 # Strip MF so we end up with the name of the file. 18077 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` 18078 # Check whether this is an Automake generated Makefile which includes 18079 # dependency-tracking related rules and includes. 18080 # Grep'ing the whole file directly is not great: AIX grep has a line 18081 # limit of 2048, but all sed's we know have understand at least 4000. 18082 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ 18083 || continue 18084 am_dirpart=`$as_dirname -- "$am_mf" || 18085$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18086 X"$am_mf" : 'X\(//\)[^/]' \| \ 18087 X"$am_mf" : 'X\(//\)$' \| \ 18088 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 18089$as_echo X"$am_mf" | 18090 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18091 s//\1/ 18092 q 18093 } 18094 /^X\(\/\/\)[^/].*/{ 18095 s//\1/ 18096 q 18097 } 18098 /^X\(\/\/\)$/{ 18099 s//\1/ 18100 q 18101 } 18102 /^X\(\/\).*/{ 18103 s//\1/ 18104 q 18105 } 18106 s/.*/./; q'` 18107 am_filepart=`$as_basename -- "$am_mf" || 18108$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ 18109 X"$am_mf" : 'X\(//\)$' \| \ 18110 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 18111$as_echo X/"$am_mf" | 18112 sed '/^.*\/\([^/][^/]*\)\/*$/{ 18113 s//\1/ 18114 q 18115 } 18116 /^X\/\(\/\/\)$/{ 18117 s//\1/ 18118 q 18119 } 18120 /^X\/\(\/\).*/{ 18121 s//\1/ 18122 q 18123 } 18124 s/.*/./; q'` 18125 { echo "$as_me:$LINENO: cd "$am_dirpart" \ 18126 && sed -e '/# am--include-marker/d' "$am_filepart" \ 18127 | $MAKE -f - am--depfiles" >&5 18128 (cd "$am_dirpart" \ 18129 && sed -e '/# am--include-marker/d' "$am_filepart" \ 18130 | $MAKE -f - am--depfiles) >&5 2>&5 18131 ac_status=$? 18132 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18133 (exit $ac_status); } || am_rc=$? 18134 done 18135 if test $am_rc -ne 0; then 18136 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18137$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18138as_fn_error $? "Something went wrong bootstrapping makefile fragments 18139 for automatic dependency tracking. Try re-running configure with the 18140 '--disable-dependency-tracking' option to at least be able to build 18141 the package (albeit without support for automatic dependency tracking). 18142See \`config.log' for more details" "$LINENO" 5; } 18143 fi 18144 { am_dirpart=; unset am_dirpart;} 18145 { am_filepart=; unset am_filepart;} 18146 { am_mf=; unset am_mf;} 18147 { am_rc=; unset am_rc;} 18148 rm -f conftest-deps.mk 18149} 18150 ;; 18151 "libtool":C) 18152 18153 # See if we are running on zsh, and set the options that allow our 18154 # commands through without removal of \ escapes. 18155 if test -n "${ZSH_VERSION+set}"; then 18156 setopt NO_GLOB_SUBST 18157 fi 18158 18159 cfgfile=${ofile}T 18160 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 18161 $RM "$cfgfile" 18162 18163 cat <<_LT_EOF >> "$cfgfile" 18164#! $SHELL 18165# Generated automatically by $as_me ($PACKAGE) $VERSION 18166# NOTE: Changes made to this file will be lost: look at ltmain.sh. 18167 18168# Provide generalized library-building support services. 18169# Written by Gordon Matzigkeit, 1996 18170 18171# Copyright (C) 2014 Free Software Foundation, Inc. 18172# This is free software; see the source for copying conditions. There is NO 18173# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 18174 18175# GNU Libtool is free software; you can redistribute it and/or modify 18176# it under the terms of the GNU General Public License as published by 18177# the Free Software Foundation; either version 2 of of the License, or 18178# (at your option) any later version. 18179# 18180# As a special exception to the GNU General Public License, if you 18181# distribute this file as part of a program or library that is built 18182# using GNU Libtool, you may include this file under the same 18183# distribution terms that you use for the rest of that program. 18184# 18185# GNU Libtool is distributed in the hope that it will be useful, but 18186# WITHOUT ANY WARRANTY; without even the implied warranty of 18187# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18188# GNU General Public License for more details. 18189# 18190# You should have received a copy of the GNU General Public License 18191# along with this program. If not, see <http://www.gnu.org/licenses/>. 18192 18193 18194# The names of the tagged configurations supported by this script. 18195available_tags='CXX ' 18196 18197# Configured defaults for sys_lib_dlsearch_path munging. 18198: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 18199 18200# ### BEGIN LIBTOOL CONFIG 18201 18202# Whether or not to build static libraries. 18203build_old_libs=$enable_static 18204 18205# Assembler program. 18206AS=$lt_AS 18207 18208# DLL creation program. 18209DLLTOOL=$lt_DLLTOOL 18210 18211# Object dumper program. 18212OBJDUMP=$lt_OBJDUMP 18213 18214# Which release of libtool.m4 was used? 18215macro_version=$macro_version 18216macro_revision=$macro_revision 18217 18218# Whether or not to build shared libraries. 18219build_libtool_libs=$enable_shared 18220 18221# What type of objects to build. 18222pic_mode=$pic_mode 18223 18224# Whether or not to optimize for fast installation. 18225fast_install=$enable_fast_install 18226 18227# Shared archive member basename,for filename based shared library versioning on AIX. 18228shared_archive_member_spec=$shared_archive_member_spec 18229 18230# Shell to use when invoking shell scripts. 18231SHELL=$lt_SHELL 18232 18233# An echo program that protects backslashes. 18234ECHO=$lt_ECHO 18235 18236# The PATH separator for the build system. 18237PATH_SEPARATOR=$lt_PATH_SEPARATOR 18238 18239# The host system. 18240host_alias=$host_alias 18241host=$host 18242host_os=$host_os 18243 18244# The build system. 18245build_alias=$build_alias 18246build=$build 18247build_os=$build_os 18248 18249# A sed program that does not truncate output. 18250SED=$lt_SED 18251 18252# Sed that helps us avoid accidentally triggering echo(1) options like -n. 18253Xsed="\$SED -e 1s/^X//" 18254 18255# A grep program that handles long lines. 18256GREP=$lt_GREP 18257 18258# An ERE matcher. 18259EGREP=$lt_EGREP 18260 18261# A literal string matcher. 18262FGREP=$lt_FGREP 18263 18264# A BSD- or MS-compatible name lister. 18265NM=$lt_NM 18266 18267# Whether we need soft or hard links. 18268LN_S=$lt_LN_S 18269 18270# What is the maximum length of a command? 18271max_cmd_len=$max_cmd_len 18272 18273# Object file suffix (normally "o"). 18274objext=$ac_objext 18275 18276# Executable file suffix (normally ""). 18277exeext=$exeext 18278 18279# whether the shell understands "unset". 18280lt_unset=$lt_unset 18281 18282# turn spaces into newlines. 18283SP2NL=$lt_lt_SP2NL 18284 18285# turn newlines into spaces. 18286NL2SP=$lt_lt_NL2SP 18287 18288# convert \$build file names to \$host format. 18289to_host_file_cmd=$lt_cv_to_host_file_cmd 18290 18291# convert \$build files to toolchain format. 18292to_tool_file_cmd=$lt_cv_to_tool_file_cmd 18293 18294# Method to check whether dependent libraries are shared objects. 18295deplibs_check_method=$lt_deplibs_check_method 18296 18297# Command to use when deplibs_check_method = "file_magic". 18298file_magic_cmd=$lt_file_magic_cmd 18299 18300# How to find potential files when deplibs_check_method = "file_magic". 18301file_magic_glob=$lt_file_magic_glob 18302 18303# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 18304want_nocaseglob=$lt_want_nocaseglob 18305 18306# Command to associate shared and link libraries. 18307sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 18308 18309# The archiver. 18310AR=$lt_AR 18311 18312# Flags to create an archive. 18313AR_FLAGS=$lt_AR_FLAGS 18314 18315# How to feed a file listing to the archiver. 18316archiver_list_spec=$lt_archiver_list_spec 18317 18318# A symbol stripping program. 18319STRIP=$lt_STRIP 18320 18321# Commands used to install an old-style archive. 18322RANLIB=$lt_RANLIB 18323old_postinstall_cmds=$lt_old_postinstall_cmds 18324old_postuninstall_cmds=$lt_old_postuninstall_cmds 18325 18326# Whether to use a lock for old archive extraction. 18327lock_old_archive_extraction=$lock_old_archive_extraction 18328 18329# A C compiler. 18330LTCC=$lt_CC 18331 18332# LTCC compiler flags. 18333LTCFLAGS=$lt_CFLAGS 18334 18335# Take the output of nm and produce a listing of raw symbols and C names. 18336global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 18337 18338# Transform the output of nm in a proper C declaration. 18339global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 18340 18341# Transform the output of nm into a list of symbols to manually relocate. 18342global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 18343 18344# Transform the output of nm in a C name address pair. 18345global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 18346 18347# Transform the output of nm in a C name address pair when lib prefix is needed. 18348global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 18349 18350# The name lister interface. 18351nm_interface=$lt_lt_cv_nm_interface 18352 18353# Specify filename containing input files for \$NM. 18354nm_file_list_spec=$lt_nm_file_list_spec 18355 18356# The root where to search for dependent libraries,and where our libraries should be installed. 18357lt_sysroot=$lt_sysroot 18358 18359# Command to truncate a binary pipe. 18360lt_truncate_bin=$lt_lt_cv_truncate_bin 18361 18362# The name of the directory that contains temporary libtool files. 18363objdir=$objdir 18364 18365# Used to examine libraries when file_magic_cmd begins with "file". 18366MAGIC_CMD=$MAGIC_CMD 18367 18368# Must we lock files when doing compilation? 18369need_locks=$lt_need_locks 18370 18371# Manifest tool. 18372MANIFEST_TOOL=$lt_MANIFEST_TOOL 18373 18374# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 18375DSYMUTIL=$lt_DSYMUTIL 18376 18377# Tool to change global to local symbols on Mac OS X. 18378NMEDIT=$lt_NMEDIT 18379 18380# Tool to manipulate fat objects and archives on Mac OS X. 18381LIPO=$lt_LIPO 18382 18383# ldd/readelf like tool for Mach-O binaries on Mac OS X. 18384OTOOL=$lt_OTOOL 18385 18386# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 18387OTOOL64=$lt_OTOOL64 18388 18389# Old archive suffix (normally "a"). 18390libext=$libext 18391 18392# Shared library suffix (normally ".so"). 18393shrext_cmds=$lt_shrext_cmds 18394 18395# The commands to extract the exported symbol list from a shared archive. 18396extract_expsyms_cmds=$lt_extract_expsyms_cmds 18397 18398# Variables whose values should be saved in libtool wrapper scripts and 18399# restored at link time. 18400variables_saved_for_relink=$lt_variables_saved_for_relink 18401 18402# Do we need the "lib" prefix for modules? 18403need_lib_prefix=$need_lib_prefix 18404 18405# Do we need a version for libraries? 18406need_version=$need_version 18407 18408# Library versioning type. 18409version_type=$version_type 18410 18411# Shared library runtime path variable. 18412runpath_var=$runpath_var 18413 18414# Shared library path variable. 18415shlibpath_var=$shlibpath_var 18416 18417# Is shlibpath searched before the hard-coded library search path? 18418shlibpath_overrides_runpath=$shlibpath_overrides_runpath 18419 18420# Format of library name prefix. 18421libname_spec=$lt_libname_spec 18422 18423# List of archive names. First name is the real one, the rest are links. 18424# The last name is the one that the linker finds with -lNAME 18425library_names_spec=$lt_library_names_spec 18426 18427# The coded name of the library, if different from the real name. 18428soname_spec=$lt_soname_spec 18429 18430# Permission mode override for installation of shared libraries. 18431install_override_mode=$lt_install_override_mode 18432 18433# Command to use after installation of a shared archive. 18434postinstall_cmds=$lt_postinstall_cmds 18435 18436# Command to use after uninstallation of a shared archive. 18437postuninstall_cmds=$lt_postuninstall_cmds 18438 18439# Commands used to finish a libtool library installation in a directory. 18440finish_cmds=$lt_finish_cmds 18441 18442# As "finish_cmds", except a single script fragment to be evaled but 18443# not shown. 18444finish_eval=$lt_finish_eval 18445 18446# Whether we should hardcode library paths into libraries. 18447hardcode_into_libs=$hardcode_into_libs 18448 18449# Compile-time system search path for libraries. 18450sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 18451 18452# Detected run-time system search path for libraries. 18453sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 18454 18455# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 18456configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 18457 18458# Whether dlopen is supported. 18459dlopen_support=$enable_dlopen 18460 18461# Whether dlopen of programs is supported. 18462dlopen_self=$enable_dlopen_self 18463 18464# Whether dlopen of statically linked programs is supported. 18465dlopen_self_static=$enable_dlopen_self_static 18466 18467# Commands to strip libraries. 18468old_striplib=$lt_old_striplib 18469striplib=$lt_striplib 18470 18471 18472# The linker used to build libraries. 18473LD=$lt_LD 18474 18475# How to create reloadable object files. 18476reload_flag=$lt_reload_flag 18477reload_cmds=$lt_reload_cmds 18478 18479# Commands used to build an old-style archive. 18480old_archive_cmds=$lt_old_archive_cmds 18481 18482# A language specific compiler. 18483CC=$lt_compiler 18484 18485# Is the compiler the GNU compiler? 18486with_gcc=$GCC 18487 18488# Compiler flag to turn off builtin functions. 18489no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 18490 18491# Additional compiler flags for building library objects. 18492pic_flag=$lt_lt_prog_compiler_pic 18493 18494# How to pass a linker flag through the compiler. 18495wl=$lt_lt_prog_compiler_wl 18496 18497# Compiler flag to prevent dynamic linking. 18498link_static_flag=$lt_lt_prog_compiler_static 18499 18500# Does compiler simultaneously support -c and -o options? 18501compiler_c_o=$lt_lt_cv_prog_compiler_c_o 18502 18503# Whether or not to add -lc for building shared libraries. 18504build_libtool_need_lc=$archive_cmds_need_lc 18505 18506# Whether or not to disallow shared libs when runtime libs are static. 18507allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 18508 18509# Compiler flag to allow reflexive dlopens. 18510export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 18511 18512# Compiler flag to generate shared objects directly from archives. 18513whole_archive_flag_spec=$lt_whole_archive_flag_spec 18514 18515# Whether the compiler copes with passing no objects directly. 18516compiler_needs_object=$lt_compiler_needs_object 18517 18518# Create an old-style archive from a shared archive. 18519old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 18520 18521# Create a temporary old-style archive to link instead of a shared archive. 18522old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 18523 18524# Commands used to build a shared archive. 18525archive_cmds=$lt_archive_cmds 18526archive_expsym_cmds=$lt_archive_expsym_cmds 18527 18528# Commands used to build a loadable module if different from building 18529# a shared archive. 18530module_cmds=$lt_module_cmds 18531module_expsym_cmds=$lt_module_expsym_cmds 18532 18533# Whether we are building with GNU ld or not. 18534with_gnu_ld=$lt_with_gnu_ld 18535 18536# Flag that allows shared libraries with undefined symbols to be built. 18537allow_undefined_flag=$lt_allow_undefined_flag 18538 18539# Flag that enforces no undefined symbols. 18540no_undefined_flag=$lt_no_undefined_flag 18541 18542# Flag to hardcode \$libdir into a binary during linking. 18543# This must work even if \$libdir does not exist 18544hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 18545 18546# Whether we need a single "-rpath" flag with a separated argument. 18547hardcode_libdir_separator=$lt_hardcode_libdir_separator 18548 18549# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 18550# DIR into the resulting binary. 18551hardcode_direct=$hardcode_direct 18552 18553# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 18554# DIR into the resulting binary and the resulting library dependency is 18555# "absolute",i.e impossible to change by setting \$shlibpath_var if the 18556# library is relocated. 18557hardcode_direct_absolute=$hardcode_direct_absolute 18558 18559# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 18560# into the resulting binary. 18561hardcode_minus_L=$hardcode_minus_L 18562 18563# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 18564# into the resulting binary. 18565hardcode_shlibpath_var=$hardcode_shlibpath_var 18566 18567# Set to "yes" if building a shared library automatically hardcodes DIR 18568# into the library and all subsequent libraries and executables linked 18569# against it. 18570hardcode_automatic=$hardcode_automatic 18571 18572# Set to yes if linker adds runtime paths of dependent libraries 18573# to runtime path list. 18574inherit_rpath=$inherit_rpath 18575 18576# Whether libtool must link a program against all its dependency libraries. 18577link_all_deplibs=$link_all_deplibs 18578 18579# Set to "yes" if exported symbols are required. 18580always_export_symbols=$always_export_symbols 18581 18582# The commands to list exported symbols. 18583export_symbols_cmds=$lt_export_symbols_cmds 18584 18585# Symbols that should not be listed in the preloaded symbols. 18586exclude_expsyms=$lt_exclude_expsyms 18587 18588# Symbols that must always be exported. 18589include_expsyms=$lt_include_expsyms 18590 18591# Commands necessary for linking programs (against libraries) with templates. 18592prelink_cmds=$lt_prelink_cmds 18593 18594# Commands necessary for finishing linking programs. 18595postlink_cmds=$lt_postlink_cmds 18596 18597# Specify filename containing input files. 18598file_list_spec=$lt_file_list_spec 18599 18600# How to hardcode a shared library path into an executable. 18601hardcode_action=$hardcode_action 18602 18603# The directories searched by this compiler when creating a shared library. 18604compiler_lib_search_dirs=$lt_compiler_lib_search_dirs 18605 18606# Dependencies to place before and after the objects being linked to 18607# create a shared library. 18608predep_objects=$lt_predep_objects 18609postdep_objects=$lt_postdep_objects 18610predeps=$lt_predeps 18611postdeps=$lt_postdeps 18612 18613# The library search path used internally by the compiler when linking 18614# a shared library. 18615compiler_lib_search_path=$lt_compiler_lib_search_path 18616 18617# ### END LIBTOOL CONFIG 18618 18619_LT_EOF 18620 18621 cat <<'_LT_EOF' >> "$cfgfile" 18622 18623# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 18624 18625# func_munge_path_list VARIABLE PATH 18626# ----------------------------------- 18627# VARIABLE is name of variable containing _space_ separated list of 18628# directories to be munged by the contents of PATH, which is string 18629# having a format: 18630# "DIR[:DIR]:" 18631# string "DIR[ DIR]" will be prepended to VARIABLE 18632# ":DIR[:DIR]" 18633# string "DIR[ DIR]" will be appended to VARIABLE 18634# "DIRP[:DIRP]::[DIRA:]DIRA" 18635# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 18636# "DIRA[ DIRA]" will be appended to VARIABLE 18637# "DIR[:DIR]" 18638# VARIABLE will be replaced by "DIR[ DIR]" 18639func_munge_path_list () 18640{ 18641 case x@S|@2 in 18642 x) 18643 ;; 18644 *:) 18645 eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\" 18646 ;; 18647 x:*) 18648 eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\" 18649 ;; 18650 *::*) 18651 eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 18652 eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\" 18653 ;; 18654 *) 18655 eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\" 18656 ;; 18657 esac 18658} 18659 18660 18661# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 18662func_cc_basename () 18663{ 18664 for cc_temp in @S|@*""; do 18665 case $cc_temp in 18666 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 18667 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 18668 \-*) ;; 18669 *) break;; 18670 esac 18671 done 18672 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 18673} 18674 18675 18676# ### END FUNCTIONS SHARED WITH CONFIGURE 18677 18678_LT_EOF 18679 18680 case $host_os in 18681 aix3*) 18682 cat <<\_LT_EOF >> "$cfgfile" 18683# AIX sometimes has problems with the GCC collect2 program. For some 18684# reason, if we set the COLLECT_NAMES environment variable, the problems 18685# vanish in a puff of smoke. 18686if test set != "${COLLECT_NAMES+set}"; then 18687 COLLECT_NAMES= 18688 export COLLECT_NAMES 18689fi 18690_LT_EOF 18691 ;; 18692 esac 18693 18694 18695ltmain=$ac_aux_dir/ltmain.sh 18696 18697 18698 # We use sed instead of cat because bash on DJGPP gets confused if 18699 # if finds mixed CR/LF and LF-only lines. Since sed operates in 18700 # text mode, it properly converts lines to CR/LF. This bash problem 18701 # is reportedly fixed, but why not run on old versions too? 18702 sed '$q' "$ltmain" >> "$cfgfile" \ 18703 || (rm -f "$cfgfile"; exit 1) 18704 18705 mv -f "$cfgfile" "$ofile" || 18706 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 18707 chmod +x "$ofile" 18708 18709 18710 cat <<_LT_EOF >> "$ofile" 18711 18712# ### BEGIN LIBTOOL TAG CONFIG: CXX 18713 18714# The linker used to build libraries. 18715LD=$lt_LD_CXX 18716 18717# How to create reloadable object files. 18718reload_flag=$lt_reload_flag_CXX 18719reload_cmds=$lt_reload_cmds_CXX 18720 18721# Commands used to build an old-style archive. 18722old_archive_cmds=$lt_old_archive_cmds_CXX 18723 18724# A language specific compiler. 18725CC=$lt_compiler_CXX 18726 18727# Is the compiler the GNU compiler? 18728with_gcc=$GCC_CXX 18729 18730# Compiler flag to turn off builtin functions. 18731no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 18732 18733# Additional compiler flags for building library objects. 18734pic_flag=$lt_lt_prog_compiler_pic_CXX 18735 18736# How to pass a linker flag through the compiler. 18737wl=$lt_lt_prog_compiler_wl_CXX 18738 18739# Compiler flag to prevent dynamic linking. 18740link_static_flag=$lt_lt_prog_compiler_static_CXX 18741 18742# Does compiler simultaneously support -c and -o options? 18743compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX 18744 18745# Whether or not to add -lc for building shared libraries. 18746build_libtool_need_lc=$archive_cmds_need_lc_CXX 18747 18748# Whether or not to disallow shared libs when runtime libs are static. 18749allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX 18750 18751# Compiler flag to allow reflexive dlopens. 18752export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX 18753 18754# Compiler flag to generate shared objects directly from archives. 18755whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX 18756 18757# Whether the compiler copes with passing no objects directly. 18758compiler_needs_object=$lt_compiler_needs_object_CXX 18759 18760# Create an old-style archive from a shared archive. 18761old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX 18762 18763# Create a temporary old-style archive to link instead of a shared archive. 18764old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX 18765 18766# Commands used to build a shared archive. 18767archive_cmds=$lt_archive_cmds_CXX 18768archive_expsym_cmds=$lt_archive_expsym_cmds_CXX 18769 18770# Commands used to build a loadable module if different from building 18771# a shared archive. 18772module_cmds=$lt_module_cmds_CXX 18773module_expsym_cmds=$lt_module_expsym_cmds_CXX 18774 18775# Whether we are building with GNU ld or not. 18776with_gnu_ld=$lt_with_gnu_ld_CXX 18777 18778# Flag that allows shared libraries with undefined symbols to be built. 18779allow_undefined_flag=$lt_allow_undefined_flag_CXX 18780 18781# Flag that enforces no undefined symbols. 18782no_undefined_flag=$lt_no_undefined_flag_CXX 18783 18784# Flag to hardcode \$libdir into a binary during linking. 18785# This must work even if \$libdir does not exist 18786hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX 18787 18788# Whether we need a single "-rpath" flag with a separated argument. 18789hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX 18790 18791# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 18792# DIR into the resulting binary. 18793hardcode_direct=$hardcode_direct_CXX 18794 18795# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 18796# DIR into the resulting binary and the resulting library dependency is 18797# "absolute",i.e impossible to change by setting \$shlibpath_var if the 18798# library is relocated. 18799hardcode_direct_absolute=$hardcode_direct_absolute_CXX 18800 18801# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 18802# into the resulting binary. 18803hardcode_minus_L=$hardcode_minus_L_CXX 18804 18805# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 18806# into the resulting binary. 18807hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX 18808 18809# Set to "yes" if building a shared library automatically hardcodes DIR 18810# into the library and all subsequent libraries and executables linked 18811# against it. 18812hardcode_automatic=$hardcode_automatic_CXX 18813 18814# Set to yes if linker adds runtime paths of dependent libraries 18815# to runtime path list. 18816inherit_rpath=$inherit_rpath_CXX 18817 18818# Whether libtool must link a program against all its dependency libraries. 18819link_all_deplibs=$link_all_deplibs_CXX 18820 18821# Set to "yes" if exported symbols are required. 18822always_export_symbols=$always_export_symbols_CXX 18823 18824# The commands to list exported symbols. 18825export_symbols_cmds=$lt_export_symbols_cmds_CXX 18826 18827# Symbols that should not be listed in the preloaded symbols. 18828exclude_expsyms=$lt_exclude_expsyms_CXX 18829 18830# Symbols that must always be exported. 18831include_expsyms=$lt_include_expsyms_CXX 18832 18833# Commands necessary for linking programs (against libraries) with templates. 18834prelink_cmds=$lt_prelink_cmds_CXX 18835 18836# Commands necessary for finishing linking programs. 18837postlink_cmds=$lt_postlink_cmds_CXX 18838 18839# Specify filename containing input files. 18840file_list_spec=$lt_file_list_spec_CXX 18841 18842# How to hardcode a shared library path into an executable. 18843hardcode_action=$hardcode_action_CXX 18844 18845# The directories searched by this compiler when creating a shared library. 18846compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX 18847 18848# Dependencies to place before and after the objects being linked to 18849# create a shared library. 18850predep_objects=$lt_predep_objects_CXX 18851postdep_objects=$lt_postdep_objects_CXX 18852predeps=$lt_predeps_CXX 18853postdeps=$lt_postdeps_CXX 18854 18855# The library search path used internally by the compiler when linking 18856# a shared library. 18857compiler_lib_search_path=$lt_compiler_lib_search_path_CXX 18858 18859# ### END LIBTOOL TAG CONFIG: CXX 18860_LT_EOF 18861 18862 ;; 18863 "libzen-config":F) chmod u+x libzen-config ;; 18864 18865 esac 18866done # for ac_tag 18867 18868 18869as_fn_exit 0 18870_ACEOF 18871ac_clean_files=$ac_clean_files_save 18872 18873test $ac_write_fail = 0 || 18874 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 18875 18876 18877# configure is writing to config.log, and then calls config.status. 18878# config.status does its own redirection, appending to config.log. 18879# Unfortunately, on DOS this fails, as config.log is still kept open 18880# by configure, so config.status won't be able to write to it; its 18881# output is simply discarded. So we exec the FD to /dev/null, 18882# effectively closing config.log, so it can be properly (re)opened and 18883# appended to by config.status. When coming back to configure, we 18884# need to make the FD available again. 18885if test "$no_create" != yes; then 18886 ac_cs_success=: 18887 ac_config_status_args= 18888 test "$silent" = yes && 18889 ac_config_status_args="$ac_config_status_args --quiet" 18890 exec 5>/dev/null 18891 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 18892 exec 5>>config.log 18893 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 18894 # would make configure fail if this is the last instruction. 18895 $ac_cs_success || as_fn_exit 1 18896fi 18897if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 18898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 18899$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 18900fi 18901 18902 18903 18904echo "" 18905echo "Configured ZenLib for '$build'" 18906echo "" 18907echo " Unicode? $enable_unicode" 18908echo " Large files support? $enable_large_files" 18909echo " wstring missing support? $enable_wstring_missing" 18910echo " stream missing support? $enable_stream_missing" 18911echo "" 18912echo " Create static lib? $enable_static" 18913echo " Create shared lib? $enable_shared" 18914echo "" 18915echo " CXXFLAGS: $CXXFLAGS" 18916echo " LIBS: $LIBS" 18917