1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for libsha1 1.21. 4# 5# Report bugs to <courier-users@lists.sourceforge.net>. 6# 7# 8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9# 10# 11# This configure script is free software; the Free Software Foundation 12# gives unlimited permission to copy, distribute and modify it. 13## -------------------- ## 14## M4sh Initialization. ## 15## -------------------- ## 16 17# Be more Bourne compatible 18DUALCASE=1; export DUALCASE # for MKS sh 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32esac 33fi 34 35 36as_nl=' 37' 38export as_nl 39# Printing a long string crashes Solaris 7 /usr/bin/printf. 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43# Prefer a ksh shell builtin over an external printf program on Solaris, 44# but without wasting forks for bash or zsh. 45if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83 84# IFS 85# We need space, tab and new line, in precisely that order. Quoting is 86# there to prevent editors from complaining about space-tab. 87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 88# splitting by setting IFS to empty value.) 89IFS=" "" $as_nl" 90 91# Find who we are. Look in the path if we contain no directory separator. 92as_myself= 93case $0 in #(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96for as_dir in $PATH 97do 98 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 102IFS=$as_save_IFS 103 104 ;; 105esac 106# We did not find ourselves, most probably we were run as `sh COMMAND' 107# in which case we are not to be found in the path. 108if test "x$as_myself" = x; then 109 as_myself=$0 110fi 111if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114fi 115 116# Unset variables that we do not need and which cause bugs (e.g. in 117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118# suppresses any "Segmentation fault" message there. '((' could 119# trigger a bug in pdksh 5.2.14. 120for as_var in BASH_ENV ENV MAIL MAILPATH 121do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123done 124PS1='$ ' 125PS2='> ' 126PS4='+ ' 127 128# NLS nuisances. 129LC_ALL=C 130export LC_ALL 131LANGUAGE=C 132export LANGUAGE 133 134# CDPATH. 135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137# Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142# neutralization value for shells without unset; and this also 143# works around shells that cannot unset nonexistent variables. 144# Preserve -v and -x to the replacement shell. 145BASH_ENV=/dev/null 146ENV=/dev/null 147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153esac 154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155# Admittedly, this is quite paranoid, since all the known shells bail 156# out after a failed `exec'. 157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176esac 177fi 178" 179 as_required="as_fn_return () { (exit \$1); } 180as_fn_success () { as_fn_return 0; } 181as_fn_failure () { as_fn_return 1; } 182as_fn_ret_success () { return 0; } 183as_fn_ret_failure () { return 1; } 184 185exitcode=0 186as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192else 193 exitcode=1; echo positional parameters were not saved. 194fi 195test x\$exitcode = x0 || exit 1 196test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201 202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 206 PATH=/empty FPATH=/empty; export PATH FPATH 207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 209test \$(( 1 + 1 )) = 2 || exit 1" 210 if (eval "$as_required") 2>/dev/null; then : 211 as_have_required=yes 212else 213 as_have_required=no 214fi 215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 216 217else 218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 219as_found=false 220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 221do 222 IFS=$as_save_IFS 223 test -z "$as_dir" && as_dir=. 224 as_found=: 225 case $as_dir in #( 226 /*) 227 for as_base in sh bash ksh sh5; do 228 # Try only shells that exist, to save several forks. 229 as_shell=$as_dir/$as_base 230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 CONFIG_SHELL=$as_shell as_have_required=yes 233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 234 break 2 235fi 236fi 237 done;; 238 esac 239 as_found=false 240done 241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 243 CONFIG_SHELL=$SHELL as_have_required=yes 244fi; } 245IFS=$as_save_IFS 246 247 248 if test "x$CONFIG_SHELL" != x; then : 249 export CONFIG_SHELL 250 # We cannot yet assume a decent shell, so we have to provide a 251# neutralization value for shells without unset; and this also 252# works around shells that cannot unset nonexistent variables. 253# Preserve -v and -x to the replacement shell. 254BASH_ENV=/dev/null 255ENV=/dev/null 256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 257case $- in # (((( 258 *v*x* | *x*v* ) as_opts=-vx ;; 259 *v* ) as_opts=-v ;; 260 *x* ) as_opts=-x ;; 261 * ) as_opts= ;; 262esac 263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 264# Admittedly, this is quite paranoid, since all the known shells bail 265# out after a failed `exec'. 266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 267exit 255 268fi 269 270 if test x$as_have_required = xno; then : 271 $as_echo "$0: This script requires a shell more modern than all" 272 $as_echo "$0: the shells that I found on your system." 273 if test x${ZSH_VERSION+set} = xset ; then 274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 275 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 276 else 277 $as_echo "$0: Please tell bug-autoconf@gnu.org and 278$0: courier-users@lists.sourceforge.net about your system, 279$0: including any error possibly output before this 280$0: message. Then install a modern shell, or manually run 281$0: the script under such a shell if you do have one." 282 fi 283 exit 1 284fi 285fi 286fi 287SHELL=${CONFIG_SHELL-/bin/sh} 288export SHELL 289# Unset more variables known to interfere with behavior of common tools. 290CLICOLOR_FORCE= GREP_OPTIONS= 291unset CLICOLOR_FORCE GREP_OPTIONS 292 293## --------------------- ## 294## M4sh Shell Functions. ## 295## --------------------- ## 296# as_fn_unset VAR 297# --------------- 298# Portably unset VAR. 299as_fn_unset () 300{ 301 { eval $1=; unset $1;} 302} 303as_unset=as_fn_unset 304 305# as_fn_set_status STATUS 306# ----------------------- 307# Set $? to STATUS, without forking. 308as_fn_set_status () 309{ 310 return $1 311} # as_fn_set_status 312 313# as_fn_exit STATUS 314# ----------------- 315# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 316as_fn_exit () 317{ 318 set +e 319 as_fn_set_status $1 320 exit $1 321} # as_fn_exit 322 323# as_fn_mkdir_p 324# ------------- 325# Create "$as_dir" as a directory, including parents if necessary. 326as_fn_mkdir_p () 327{ 328 329 case $as_dir in #( 330 -*) as_dir=./$as_dir;; 331 esac 332 test -d "$as_dir" || eval $as_mkdir_p || { 333 as_dirs= 334 while :; do 335 case $as_dir in #( 336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 337 *) as_qdir=$as_dir;; 338 esac 339 as_dirs="'$as_qdir' $as_dirs" 340 as_dir=`$as_dirname -- "$as_dir" || 341$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 342 X"$as_dir" : 'X\(//\)[^/]' \| \ 343 X"$as_dir" : 'X\(//\)$' \| \ 344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 345$as_echo X"$as_dir" | 346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 347 s//\1/ 348 q 349 } 350 /^X\(\/\/\)[^/].*/{ 351 s//\1/ 352 q 353 } 354 /^X\(\/\/\)$/{ 355 s//\1/ 356 q 357 } 358 /^X\(\/\).*/{ 359 s//\1/ 360 q 361 } 362 s/.*/./; q'` 363 test -d "$as_dir" && break 364 done 365 test -z "$as_dirs" || eval "mkdir $as_dirs" 366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 367 368 369} # as_fn_mkdir_p 370 371# as_fn_executable_p FILE 372# ----------------------- 373# Test if FILE is an executable regular file. 374as_fn_executable_p () 375{ 376 test -f "$1" && test -x "$1" 377} # as_fn_executable_p 378# as_fn_append VAR VALUE 379# ---------------------- 380# Append the text in VALUE to the end of the definition contained in VAR. Take 381# advantage of any shell optimizations that allow amortized linear growth over 382# repeated appends, instead of the typical quadratic growth present in naive 383# implementations. 384if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 385 eval 'as_fn_append () 386 { 387 eval $1+=\$2 388 }' 389else 390 as_fn_append () 391 { 392 eval $1=\$$1\$2 393 } 394fi # as_fn_append 395 396# as_fn_arith ARG... 397# ------------------ 398# Perform arithmetic evaluation on the ARGs, and store the result in the 399# global $as_val. Take advantage of shells that can avoid forks. The arguments 400# must be portable across $(()) and expr. 401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 402 eval 'as_fn_arith () 403 { 404 as_val=$(( $* )) 405 }' 406else 407 as_fn_arith () 408 { 409 as_val=`expr "$@" || test $? -eq 1` 410 } 411fi # as_fn_arith 412 413 414# as_fn_error STATUS ERROR [LINENO LOG_FD] 415# ---------------------------------------- 416# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 417# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 418# script with STATUS, using 1 if that was 0. 419as_fn_error () 420{ 421 as_status=$1; test $as_status -eq 0 && as_status=1 422 if test "$4"; then 423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 425 fi 426 $as_echo "$as_me: error: $2" >&2 427 as_fn_exit $as_status 428} # as_fn_error 429 430if expr a : '\(a\)' >/dev/null 2>&1 && 431 test "X`expr 00001 : '.*\(...\)'`" = X001; then 432 as_expr=expr 433else 434 as_expr=false 435fi 436 437if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 438 as_basename=basename 439else 440 as_basename=false 441fi 442 443if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 444 as_dirname=dirname 445else 446 as_dirname=false 447fi 448 449as_me=`$as_basename -- "$0" || 450$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 451 X"$0" : 'X\(//\)$' \| \ 452 X"$0" : 'X\(/\)' \| . 2>/dev/null || 453$as_echo X/"$0" | 454 sed '/^.*\/\([^/][^/]*\)\/*$/{ 455 s//\1/ 456 q 457 } 458 /^X\/\(\/\/\)$/{ 459 s//\1/ 460 q 461 } 462 /^X\/\(\/\).*/{ 463 s//\1/ 464 q 465 } 466 s/.*/./; q'` 467 468# Avoid depending upon Character Ranges. 469as_cr_letters='abcdefghijklmnopqrstuvwxyz' 470as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 471as_cr_Letters=$as_cr_letters$as_cr_LETTERS 472as_cr_digits='0123456789' 473as_cr_alnum=$as_cr_Letters$as_cr_digits 474 475 476 as_lineno_1=$LINENO as_lineno_1a=$LINENO 477 as_lineno_2=$LINENO as_lineno_2a=$LINENO 478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 481 sed -n ' 482 p 483 /[$]LINENO/= 484 ' <$as_myself | 485 sed ' 486 s/[$]LINENO.*/&-/ 487 t lineno 488 b 489 :lineno 490 N 491 :loop 492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 493 t loop 494 s/-\n.*// 495 ' >$as_me.lineno && 496 chmod +x "$as_me.lineno" || 497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 498 499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 500 # already done that, so ensure we don't try to do so again and fall 501 # in an infinite loop. This has already happened in practice. 502 _as_can_reexec=no; export _as_can_reexec 503 # Don't try to exec as it changes $[0], causing all sort of problems 504 # (the dirname of $[0] is not the place where we might find the 505 # original and so on. Autoconf is especially sensitive to this). 506 . "./$as_me.lineno" 507 # Exit status is that of the last command. 508 exit 509} 510 511ECHO_C= ECHO_N= ECHO_T= 512case `echo -n x` in #((((( 513-n*) 514 case `echo 'xy\c'` in 515 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 516 xy) ECHO_C='\c';; 517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 518 ECHO_T=' ';; 519 esac;; 520*) 521 ECHO_N='-n';; 522esac 523 524rm -f conf$$ conf$$.exe conf$$.file 525if test -d conf$$.dir; then 526 rm -f conf$$.dir/conf$$.file 527else 528 rm -f conf$$.dir 529 mkdir conf$$.dir 2>/dev/null 530fi 531if (echo >conf$$.file) 2>/dev/null; then 532 if ln -s conf$$.file conf$$ 2>/dev/null; then 533 as_ln_s='ln -s' 534 # ... but there are two gotchas: 535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 537 # In both cases, we have to default to `cp -pR'. 538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 539 as_ln_s='cp -pR' 540 elif ln conf$$.file conf$$ 2>/dev/null; then 541 as_ln_s=ln 542 else 543 as_ln_s='cp -pR' 544 fi 545else 546 as_ln_s='cp -pR' 547fi 548rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 549rmdir conf$$.dir 2>/dev/null 550 551if mkdir -p . 2>/dev/null; then 552 as_mkdir_p='mkdir -p "$as_dir"' 553else 554 test -d ./-p && rmdir ./-p 555 as_mkdir_p=false 556fi 557 558as_test_x='test -x' 559as_executable_p=as_fn_executable_p 560 561# Sed expression to map a string onto a valid CPP name. 562as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 563 564# Sed expression to map a string onto a valid variable name. 565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 566 567SHELL=${CONFIG_SHELL-/bin/sh} 568 569 570test -n "$DJDIR" || exec 7<&0 </dev/null 571exec 6>&1 572 573# Name of the host. 574# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 575# so uname gets run too. 576ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 577 578# 579# Initializations. 580# 581ac_default_prefix=/usr/local 582ac_clean_files= 583ac_config_libobj_dir=. 584LIBOBJS= 585cross_compiling=no 586subdirs= 587MFLAGS= 588MAKEFLAGS= 589 590# Identity of this package. 591PACKAGE_NAME='libsha1' 592PACKAGE_TARNAME='libsha1' 593PACKAGE_VERSION='1.21' 594PACKAGE_STRING='libsha1 1.21' 595PACKAGE_BUGREPORT='courier-users@lists.sourceforge.net' 596PACKAGE_URL='' 597 598ac_unique_file="hmac.c" 599# Factoring default headers for most tests. 600ac_includes_default="\ 601#include <stdio.h> 602#ifdef HAVE_SYS_TYPES_H 603# include <sys/types.h> 604#endif 605#ifdef HAVE_SYS_STAT_H 606# include <sys/stat.h> 607#endif 608#ifdef STDC_HEADERS 609# include <stdlib.h> 610# include <stddef.h> 611#else 612# ifdef HAVE_STDLIB_H 613# include <stdlib.h> 614# endif 615#endif 616#ifdef HAVE_STRING_H 617# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 618# include <memory.h> 619# endif 620# include <string.h> 621#endif 622#ifdef HAVE_STRINGS_H 623# include <strings.h> 624#endif 625#ifdef HAVE_INTTYPES_H 626# include <inttypes.h> 627#endif 628#ifdef HAVE_STDINT_H 629# include <stdint.h> 630#endif 631#ifdef HAVE_UNISTD_H 632# include <unistd.h> 633#endif" 634 635ac_subst_vars='am__EXEEXT_FALSE 636am__EXEEXT_TRUE 637LTLIBOBJS 638LIBOBJS 639CPP 640LT_SYS_LIBRARY_PATH 641OTOOL64 642OTOOL 643LIPO 644NMEDIT 645DSYMUTIL 646MANIFEST_TOOL 647RANLIB 648ac_ct_AR 649AR 650DLLTOOL 651OBJDUMP 652NM 653ac_ct_DUMPBIN 654DUMPBIN 655LD 656FGREP 657EGREP 658GREP 659SED 660host_os 661host_vendor 662host_cpu 663host 664build_os 665build_vendor 666build_cpu 667build 668LIBTOOL 669LN_S 670am__fastdepCC_FALSE 671am__fastdepCC_TRUE 672CCDEPMODE 673am__nodep 674AMDEPBACKSLASH 675AMDEP_FALSE 676AMDEP_TRUE 677am__include 678DEPDIR 679OBJEXT 680EXEEXT 681ac_ct_CC 682CPPFLAGS 683LDFLAGS 684CFLAGS 685CC 686HMACC_FALSE 687HMACC_TRUE 688AM_BACKSLASH 689AM_DEFAULT_VERBOSITY 690AM_DEFAULT_V 691AM_V 692am__untar 693am__tar 694AMTAR 695am__leading_dot 696SET_MAKE 697AWK 698mkdir_p 699MKDIR_P 700INSTALL_STRIP_PROGRAM 701STRIP 702install_sh 703MAKEINFO 704AUTOHEADER 705AUTOMAKE 706AUTOCONF 707ACLOCAL 708VERSION 709PACKAGE 710CYGPATH_W 711am__isrc 712INSTALL_DATA 713INSTALL_SCRIPT 714INSTALL_PROGRAM 715target_alias 716host_alias 717build_alias 718LIBS 719ECHO_T 720ECHO_N 721ECHO_C 722DEFS 723mandir 724localedir 725libdir 726psdir 727pdfdir 728dvidir 729htmldir 730infodir 731docdir 732oldincludedir 733includedir 734runstatedir 735localstatedir 736sharedstatedir 737sysconfdir 738datadir 739datarootdir 740libexecdir 741sbindir 742bindir 743program_transform_name 744prefix 745exec_prefix 746PACKAGE_URL 747PACKAGE_BUGREPORT 748PACKAGE_STRING 749PACKAGE_VERSION 750PACKAGE_TARNAME 751PACKAGE_NAME 752PATH_SEPARATOR 753SHELL 754am__quote' 755ac_subst_files='' 756ac_user_opts=' 757enable_option_checking 758enable_silent_rules 759enable_dependency_tracking 760enable_shared 761enable_static 762with_pic 763enable_fast_install 764with_aix_soname 765with_gnu_ld 766with_sysroot 767enable_libtool_lock 768with_int32 769with_int64 770enable_largefile 771' 772 ac_precious_vars='build_alias 773host_alias 774target_alias 775CC 776CFLAGS 777LDFLAGS 778LIBS 779CPPFLAGS 780LT_SYS_LIBRARY_PATH 781CPP' 782 783 784# Initialize some variables set by options. 785ac_init_help= 786ac_init_version=false 787ac_unrecognized_opts= 788ac_unrecognized_sep= 789# The variables have the same names as the options, with 790# dashes changed to underlines. 791cache_file=/dev/null 792exec_prefix=NONE 793no_create= 794no_recursion= 795prefix=NONE 796program_prefix=NONE 797program_suffix=NONE 798program_transform_name=s,x,x, 799silent= 800site= 801srcdir= 802verbose= 803x_includes=NONE 804x_libraries=NONE 805 806# Installation directory options. 807# These are left unexpanded so users can "make install exec_prefix=/foo" 808# and all the variables that are supposed to be based on exec_prefix 809# by default will actually change. 810# Use braces instead of parens because sh, perl, etc. also accept them. 811# (The list follows the same order as the GNU Coding Standards.) 812bindir='${exec_prefix}/bin' 813sbindir='${exec_prefix}/sbin' 814libexecdir='${exec_prefix}/libexec' 815datarootdir='${prefix}/share' 816datadir='${datarootdir}' 817sysconfdir='${prefix}/etc' 818sharedstatedir='${prefix}/com' 819localstatedir='${prefix}/var' 820runstatedir='${localstatedir}/run' 821includedir='${prefix}/include' 822oldincludedir='/usr/include' 823docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 824infodir='${datarootdir}/info' 825htmldir='${docdir}' 826dvidir='${docdir}' 827pdfdir='${docdir}' 828psdir='${docdir}' 829libdir='${exec_prefix}/lib' 830localedir='${datarootdir}/locale' 831mandir='${datarootdir}/man' 832 833ac_prev= 834ac_dashdash= 835for ac_option 836do 837 # If the previous option needs an argument, assign it. 838 if test -n "$ac_prev"; then 839 eval $ac_prev=\$ac_option 840 ac_prev= 841 continue 842 fi 843 844 case $ac_option in 845 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 846 *=) ac_optarg= ;; 847 *) ac_optarg=yes ;; 848 esac 849 850 # Accept the important Cygnus configure options, so we can diagnose typos. 851 852 case $ac_dashdash$ac_option in 853 --) 854 ac_dashdash=yes ;; 855 856 -bindir | --bindir | --bindi | --bind | --bin | --bi) 857 ac_prev=bindir ;; 858 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 859 bindir=$ac_optarg ;; 860 861 -build | --build | --buil | --bui | --bu) 862 ac_prev=build_alias ;; 863 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 864 build_alias=$ac_optarg ;; 865 866 -cache-file | --cache-file | --cache-fil | --cache-fi \ 867 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 868 ac_prev=cache_file ;; 869 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 870 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 871 cache_file=$ac_optarg ;; 872 873 --config-cache | -C) 874 cache_file=config.cache ;; 875 876 -datadir | --datadir | --datadi | --datad) 877 ac_prev=datadir ;; 878 -datadir=* | --datadir=* | --datadi=* | --datad=*) 879 datadir=$ac_optarg ;; 880 881 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 882 | --dataroo | --dataro | --datar) 883 ac_prev=datarootdir ;; 884 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 885 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 886 datarootdir=$ac_optarg ;; 887 888 -disable-* | --disable-*) 889 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 890 # Reject names that are not valid shell variable names. 891 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 892 as_fn_error $? "invalid feature name: $ac_useropt" 893 ac_useropt_orig=$ac_useropt 894 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 895 case $ac_user_opts in 896 *" 897"enable_$ac_useropt" 898"*) ;; 899 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 900 ac_unrecognized_sep=', ';; 901 esac 902 eval enable_$ac_useropt=no ;; 903 904 -docdir | --docdir | --docdi | --doc | --do) 905 ac_prev=docdir ;; 906 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 907 docdir=$ac_optarg ;; 908 909 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 910 ac_prev=dvidir ;; 911 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 912 dvidir=$ac_optarg ;; 913 914 -enable-* | --enable-*) 915 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 916 # Reject names that are not valid shell variable names. 917 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 918 as_fn_error $? "invalid feature name: $ac_useropt" 919 ac_useropt_orig=$ac_useropt 920 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 921 case $ac_user_opts in 922 *" 923"enable_$ac_useropt" 924"*) ;; 925 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 926 ac_unrecognized_sep=', ';; 927 esac 928 eval enable_$ac_useropt=\$ac_optarg ;; 929 930 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 931 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 932 | --exec | --exe | --ex) 933 ac_prev=exec_prefix ;; 934 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 935 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 936 | --exec=* | --exe=* | --ex=*) 937 exec_prefix=$ac_optarg ;; 938 939 -gas | --gas | --ga | --g) 940 # Obsolete; use --with-gas. 941 with_gas=yes ;; 942 943 -help | --help | --hel | --he | -h) 944 ac_init_help=long ;; 945 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 946 ac_init_help=recursive ;; 947 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 948 ac_init_help=short ;; 949 950 -host | --host | --hos | --ho) 951 ac_prev=host_alias ;; 952 -host=* | --host=* | --hos=* | --ho=*) 953 host_alias=$ac_optarg ;; 954 955 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 956 ac_prev=htmldir ;; 957 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 958 | --ht=*) 959 htmldir=$ac_optarg ;; 960 961 -includedir | --includedir | --includedi | --included | --include \ 962 | --includ | --inclu | --incl | --inc) 963 ac_prev=includedir ;; 964 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 965 | --includ=* | --inclu=* | --incl=* | --inc=*) 966 includedir=$ac_optarg ;; 967 968 -infodir | --infodir | --infodi | --infod | --info | --inf) 969 ac_prev=infodir ;; 970 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 971 infodir=$ac_optarg ;; 972 973 -libdir | --libdir | --libdi | --libd) 974 ac_prev=libdir ;; 975 -libdir=* | --libdir=* | --libdi=* | --libd=*) 976 libdir=$ac_optarg ;; 977 978 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 979 | --libexe | --libex | --libe) 980 ac_prev=libexecdir ;; 981 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 982 | --libexe=* | --libex=* | --libe=*) 983 libexecdir=$ac_optarg ;; 984 985 -localedir | --localedir | --localedi | --localed | --locale) 986 ac_prev=localedir ;; 987 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 988 localedir=$ac_optarg ;; 989 990 -localstatedir | --localstatedir | --localstatedi | --localstated \ 991 | --localstate | --localstat | --localsta | --localst | --locals) 992 ac_prev=localstatedir ;; 993 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 994 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 995 localstatedir=$ac_optarg ;; 996 997 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 998 ac_prev=mandir ;; 999 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1000 mandir=$ac_optarg ;; 1001 1002 -nfp | --nfp | --nf) 1003 # Obsolete; use --without-fp. 1004 with_fp=no ;; 1005 1006 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1007 | --no-cr | --no-c | -n) 1008 no_create=yes ;; 1009 1010 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1011 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1012 no_recursion=yes ;; 1013 1014 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1015 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1016 | --oldin | --oldi | --old | --ol | --o) 1017 ac_prev=oldincludedir ;; 1018 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1019 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1020 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1021 oldincludedir=$ac_optarg ;; 1022 1023 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1024 ac_prev=prefix ;; 1025 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1026 prefix=$ac_optarg ;; 1027 1028 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1029 | --program-pre | --program-pr | --program-p) 1030 ac_prev=program_prefix ;; 1031 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1032 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1033 program_prefix=$ac_optarg ;; 1034 1035 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1036 | --program-suf | --program-su | --program-s) 1037 ac_prev=program_suffix ;; 1038 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1039 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1040 program_suffix=$ac_optarg ;; 1041 1042 -program-transform-name | --program-transform-name \ 1043 | --program-transform-nam | --program-transform-na \ 1044 | --program-transform-n | --program-transform- \ 1045 | --program-transform | --program-transfor \ 1046 | --program-transfo | --program-transf \ 1047 | --program-trans | --program-tran \ 1048 | --progr-tra | --program-tr | --program-t) 1049 ac_prev=program_transform_name ;; 1050 -program-transform-name=* | --program-transform-name=* \ 1051 | --program-transform-nam=* | --program-transform-na=* \ 1052 | --program-transform-n=* | --program-transform-=* \ 1053 | --program-transform=* | --program-transfor=* \ 1054 | --program-transfo=* | --program-transf=* \ 1055 | --program-trans=* | --program-tran=* \ 1056 | --progr-tra=* | --program-tr=* | --program-t=*) 1057 program_transform_name=$ac_optarg ;; 1058 1059 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1060 ac_prev=pdfdir ;; 1061 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1062 pdfdir=$ac_optarg ;; 1063 1064 -psdir | --psdir | --psdi | --psd | --ps) 1065 ac_prev=psdir ;; 1066 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1067 psdir=$ac_optarg ;; 1068 1069 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1070 | -silent | --silent | --silen | --sile | --sil) 1071 silent=yes ;; 1072 1073 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1074 | --runstate | --runstat | --runsta | --runst | --runs \ 1075 | --run | --ru | --r) 1076 ac_prev=runstatedir ;; 1077 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1078 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1079 | --run=* | --ru=* | --r=*) 1080 runstatedir=$ac_optarg ;; 1081 1082 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1083 ac_prev=sbindir ;; 1084 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1085 | --sbi=* | --sb=*) 1086 sbindir=$ac_optarg ;; 1087 1088 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1089 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1090 | --sharedst | --shareds | --shared | --share | --shar \ 1091 | --sha | --sh) 1092 ac_prev=sharedstatedir ;; 1093 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1094 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1095 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1096 | --sha=* | --sh=*) 1097 sharedstatedir=$ac_optarg ;; 1098 1099 -site | --site | --sit) 1100 ac_prev=site ;; 1101 -site=* | --site=* | --sit=*) 1102 site=$ac_optarg ;; 1103 1104 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1105 ac_prev=srcdir ;; 1106 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1107 srcdir=$ac_optarg ;; 1108 1109 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1110 | --syscon | --sysco | --sysc | --sys | --sy) 1111 ac_prev=sysconfdir ;; 1112 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1113 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1114 sysconfdir=$ac_optarg ;; 1115 1116 -target | --target | --targe | --targ | --tar | --ta | --t) 1117 ac_prev=target_alias ;; 1118 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1119 target_alias=$ac_optarg ;; 1120 1121 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1122 verbose=yes ;; 1123 1124 -version | --version | --versio | --versi | --vers | -V) 1125 ac_init_version=: ;; 1126 1127 -with-* | --with-*) 1128 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1129 # Reject names that are not valid shell variable names. 1130 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1131 as_fn_error $? "invalid package name: $ac_useropt" 1132 ac_useropt_orig=$ac_useropt 1133 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1134 case $ac_user_opts in 1135 *" 1136"with_$ac_useropt" 1137"*) ;; 1138 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1139 ac_unrecognized_sep=', ';; 1140 esac 1141 eval with_$ac_useropt=\$ac_optarg ;; 1142 1143 -without-* | --without-*) 1144 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1145 # Reject names that are not valid shell variable names. 1146 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1147 as_fn_error $? "invalid package name: $ac_useropt" 1148 ac_useropt_orig=$ac_useropt 1149 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1150 case $ac_user_opts in 1151 *" 1152"with_$ac_useropt" 1153"*) ;; 1154 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1155 ac_unrecognized_sep=', ';; 1156 esac 1157 eval with_$ac_useropt=no ;; 1158 1159 --x) 1160 # Obsolete; use --with-x. 1161 with_x=yes ;; 1162 1163 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1164 | --x-incl | --x-inc | --x-in | --x-i) 1165 ac_prev=x_includes ;; 1166 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1167 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1168 x_includes=$ac_optarg ;; 1169 1170 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1171 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1172 ac_prev=x_libraries ;; 1173 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1174 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1175 x_libraries=$ac_optarg ;; 1176 1177 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1178Try \`$0 --help' for more information" 1179 ;; 1180 1181 *=*) 1182 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1183 # Reject names that are not valid shell variable names. 1184 case $ac_envvar in #( 1185 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1186 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1187 esac 1188 eval $ac_envvar=\$ac_optarg 1189 export $ac_envvar ;; 1190 1191 *) 1192 # FIXME: should be removed in autoconf 3.0. 1193 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1194 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1195 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1196 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1197 ;; 1198 1199 esac 1200done 1201 1202if test -n "$ac_prev"; then 1203 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1204 as_fn_error $? "missing argument to $ac_option" 1205fi 1206 1207if test -n "$ac_unrecognized_opts"; then 1208 case $enable_option_checking in 1209 no) ;; 1210 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1211 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1212 esac 1213fi 1214 1215# Check all directory arguments for consistency. 1216for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1217 datadir sysconfdir sharedstatedir localstatedir includedir \ 1218 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1219 libdir localedir mandir runstatedir 1220do 1221 eval ac_val=\$$ac_var 1222 # Remove trailing slashes. 1223 case $ac_val in 1224 */ ) 1225 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1226 eval $ac_var=\$ac_val;; 1227 esac 1228 # Be sure to have absolute directory names. 1229 case $ac_val in 1230 [\\/$]* | ?:[\\/]* ) continue;; 1231 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1232 esac 1233 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1234done 1235 1236# There might be people who depend on the old broken behavior: `$host' 1237# used to hold the argument of --host etc. 1238# FIXME: To remove some day. 1239build=$build_alias 1240host=$host_alias 1241target=$target_alias 1242 1243# FIXME: To remove some day. 1244if test "x$host_alias" != x; then 1245 if test "x$build_alias" = x; then 1246 cross_compiling=maybe 1247 elif test "x$build_alias" != "x$host_alias"; then 1248 cross_compiling=yes 1249 fi 1250fi 1251 1252ac_tool_prefix= 1253test -n "$host_alias" && ac_tool_prefix=$host_alias- 1254 1255test "$silent" = yes && exec 6>/dev/null 1256 1257 1258ac_pwd=`pwd` && test -n "$ac_pwd" && 1259ac_ls_di=`ls -di .` && 1260ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1261 as_fn_error $? "working directory cannot be determined" 1262test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1263 as_fn_error $? "pwd does not report name of working directory" 1264 1265 1266# Find the source files, if location was not specified. 1267if test -z "$srcdir"; then 1268 ac_srcdir_defaulted=yes 1269 # Try the directory containing this script, then the parent directory. 1270 ac_confdir=`$as_dirname -- "$as_myself" || 1271$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1272 X"$as_myself" : 'X\(//\)[^/]' \| \ 1273 X"$as_myself" : 'X\(//\)$' \| \ 1274 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1275$as_echo X"$as_myself" | 1276 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1277 s//\1/ 1278 q 1279 } 1280 /^X\(\/\/\)[^/].*/{ 1281 s//\1/ 1282 q 1283 } 1284 /^X\(\/\/\)$/{ 1285 s//\1/ 1286 q 1287 } 1288 /^X\(\/\).*/{ 1289 s//\1/ 1290 q 1291 } 1292 s/.*/./; q'` 1293 srcdir=$ac_confdir 1294 if test ! -r "$srcdir/$ac_unique_file"; then 1295 srcdir=.. 1296 fi 1297else 1298 ac_srcdir_defaulted=no 1299fi 1300if test ! -r "$srcdir/$ac_unique_file"; then 1301 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1302 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1303fi 1304ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1305ac_abs_confdir=`( 1306 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1307 pwd)` 1308# When building in place, set srcdir=. 1309if test "$ac_abs_confdir" = "$ac_pwd"; then 1310 srcdir=. 1311fi 1312# Remove unnecessary trailing slashes from srcdir. 1313# Double slashes in file names in object file debugging info 1314# mess up M-x gdb in Emacs. 1315case $srcdir in 1316*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1317esac 1318for ac_var in $ac_precious_vars; do 1319 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1320 eval ac_env_${ac_var}_value=\$${ac_var} 1321 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1322 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1323done 1324 1325# 1326# Report the --help message. 1327# 1328if test "$ac_init_help" = "long"; then 1329 # Omit some internal or obsolete options to make the list less imposing. 1330 # This message is too long to be a string in the A/UX 3.1 sh. 1331 cat <<_ACEOF 1332\`configure' configures libsha1 1.21 to adapt to many kinds of systems. 1333 1334Usage: $0 [OPTION]... [VAR=VALUE]... 1335 1336To assign environment variables (e.g., CC, CFLAGS...), specify them as 1337VAR=VALUE. See below for descriptions of some of the useful variables. 1338 1339Defaults for the options are specified in brackets. 1340 1341Configuration: 1342 -h, --help display this help and exit 1343 --help=short display options specific to this package 1344 --help=recursive display the short help of all the included packages 1345 -V, --version display version information and exit 1346 -q, --quiet, --silent do not print \`checking ...' messages 1347 --cache-file=FILE cache test results in FILE [disabled] 1348 -C, --config-cache alias for \`--cache-file=config.cache' 1349 -n, --no-create do not create output files 1350 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1351 1352Installation directories: 1353 --prefix=PREFIX install architecture-independent files in PREFIX 1354 [$ac_default_prefix] 1355 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1356 [PREFIX] 1357 1358By default, \`make install' will install all the files in 1359\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1360an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1361for instance \`--prefix=\$HOME'. 1362 1363For better control, use the options below. 1364 1365Fine tuning of the installation directories: 1366 --bindir=DIR user executables [EPREFIX/bin] 1367 --sbindir=DIR system admin executables [EPREFIX/sbin] 1368 --libexecdir=DIR program executables [EPREFIX/libexec] 1369 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1370 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1371 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1372 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1373 --libdir=DIR object code libraries [EPREFIX/lib] 1374 --includedir=DIR C header files [PREFIX/include] 1375 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1376 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1377 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1378 --infodir=DIR info documentation [DATAROOTDIR/info] 1379 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1380 --mandir=DIR man documentation [DATAROOTDIR/man] 1381 --docdir=DIR documentation root [DATAROOTDIR/doc/libsha1] 1382 --htmldir=DIR html documentation [DOCDIR] 1383 --dvidir=DIR dvi documentation [DOCDIR] 1384 --pdfdir=DIR pdf documentation [DOCDIR] 1385 --psdir=DIR ps documentation [DOCDIR] 1386_ACEOF 1387 1388 cat <<\_ACEOF 1389 1390Program names: 1391 --program-prefix=PREFIX prepend PREFIX to installed program names 1392 --program-suffix=SUFFIX append SUFFIX to installed program names 1393 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1394 1395System types: 1396 --build=BUILD configure for building on BUILD [guessed] 1397 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1398_ACEOF 1399fi 1400 1401if test -n "$ac_init_help"; then 1402 case $ac_init_help in 1403 short | recursive ) echo "Configuration of libsha1 1.21:";; 1404 esac 1405 cat <<\_ACEOF 1406 1407Optional Features: 1408 --disable-option-checking ignore unrecognized --enable/--with options 1409 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1410 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1411 --enable-silent-rules less verbose build output (undo: "make V=1") 1412 --disable-silent-rules verbose build output (undo: "make V=0") 1413 --enable-dependency-tracking 1414 do not reject slow dependency extractors 1415 --disable-dependency-tracking 1416 speeds up one-time build 1417 --enable-shared[=PKGS] build shared libraries [default=yes] 1418 --enable-static[=PKGS] build static libraries [default=yes] 1419 --enable-fast-install[=PKGS] 1420 optimize for fast installation [default=yes] 1421 --disable-libtool-lock avoid locking (might break parallel builds) 1422 --disable-largefile omit support for large files 1423 1424Optional Packages: 1425 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1426 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1427 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1428 both] 1429 --with-aix-soname=aix|svr4|both 1430 shared library versioning (aka "SONAME") variant to 1431 provide on AIX, [default=aix]. 1432 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1433 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1434 compiler's sysroot if not specified). 1435 --with-int32='type' use 'type' for an unsigned 32 bit integer type 1436 ( default is 'unsigned') 1437 --with-int64='type' use 'type' for an unsigned 64 bit integer type 1438 ( default is 'unsigned') 1439 1440Some influential environment variables: 1441 CC C compiler command 1442 CFLAGS C compiler flags 1443 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1444 nonstandard directory <lib dir> 1445 LIBS libraries to pass to the linker, e.g. -l<library> 1446 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1447 you have headers in a nonstandard directory <include dir> 1448 LT_SYS_LIBRARY_PATH 1449 User-defined run-time library search path. 1450 CPP C preprocessor 1451 1452Use these variables to override the choices made by `configure' or to help 1453it to find libraries and programs with nonstandard names/locations. 1454 1455Report bugs to <courier-users@lists.sourceforge.net>. 1456_ACEOF 1457ac_status=$? 1458fi 1459 1460if test "$ac_init_help" = "recursive"; then 1461 # If there are subdirs, report their specific --help. 1462 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1463 test -d "$ac_dir" || 1464 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1465 continue 1466 ac_builddir=. 1467 1468case "$ac_dir" in 1469.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1470*) 1471 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1472 # A ".." for each directory in $ac_dir_suffix. 1473 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1474 case $ac_top_builddir_sub in 1475 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1476 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1477 esac ;; 1478esac 1479ac_abs_top_builddir=$ac_pwd 1480ac_abs_builddir=$ac_pwd$ac_dir_suffix 1481# for backward compatibility: 1482ac_top_builddir=$ac_top_build_prefix 1483 1484case $srcdir in 1485 .) # We are building in place. 1486 ac_srcdir=. 1487 ac_top_srcdir=$ac_top_builddir_sub 1488 ac_abs_top_srcdir=$ac_pwd ;; 1489 [\\/]* | ?:[\\/]* ) # Absolute name. 1490 ac_srcdir=$srcdir$ac_dir_suffix; 1491 ac_top_srcdir=$srcdir 1492 ac_abs_top_srcdir=$srcdir ;; 1493 *) # Relative name. 1494 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1495 ac_top_srcdir=$ac_top_build_prefix$srcdir 1496 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1497esac 1498ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1499 1500 cd "$ac_dir" || { ac_status=$?; continue; } 1501 # Check for guested configure. 1502 if test -f "$ac_srcdir/configure.gnu"; then 1503 echo && 1504 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1505 elif test -f "$ac_srcdir/configure"; then 1506 echo && 1507 $SHELL "$ac_srcdir/configure" --help=recursive 1508 else 1509 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1510 fi || ac_status=$? 1511 cd "$ac_pwd" || { ac_status=$?; break; } 1512 done 1513fi 1514 1515test -n "$ac_init_help" && exit $ac_status 1516if $ac_init_version; then 1517 cat <<\_ACEOF 1518libsha1 configure 1.21 1519generated by GNU Autoconf 2.69 1520 1521Copyright (C) 2012 Free Software Foundation, Inc. 1522This configure script is free software; the Free Software Foundation 1523gives unlimited permission to copy, distribute and modify it. 1524_ACEOF 1525 exit 1526fi 1527 1528## ------------------------ ## 1529## Autoconf initialization. ## 1530## ------------------------ ## 1531 1532# ac_fn_c_try_compile LINENO 1533# -------------------------- 1534# Try to compile conftest.$ac_ext, and return whether this succeeded. 1535ac_fn_c_try_compile () 1536{ 1537 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1538 rm -f conftest.$ac_objext 1539 if { { ac_try="$ac_compile" 1540case "(($ac_try" in 1541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1542 *) ac_try_echo=$ac_try;; 1543esac 1544eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1545$as_echo "$ac_try_echo"; } >&5 1546 (eval "$ac_compile") 2>conftest.err 1547 ac_status=$? 1548 if test -s conftest.err; then 1549 grep -v '^ *+' conftest.err >conftest.er1 1550 cat conftest.er1 >&5 1551 mv -f conftest.er1 conftest.err 1552 fi 1553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1554 test $ac_status = 0; } && { 1555 test -z "$ac_c_werror_flag" || 1556 test ! -s conftest.err 1557 } && test -s conftest.$ac_objext; then : 1558 ac_retval=0 1559else 1560 $as_echo "$as_me: failed program was:" >&5 1561sed 's/^/| /' conftest.$ac_ext >&5 1562 1563 ac_retval=1 1564fi 1565 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1566 as_fn_set_status $ac_retval 1567 1568} # ac_fn_c_try_compile 1569 1570# ac_fn_c_try_link LINENO 1571# ----------------------- 1572# Try to link conftest.$ac_ext, and return whether this succeeded. 1573ac_fn_c_try_link () 1574{ 1575 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1576 rm -f conftest.$ac_objext conftest$ac_exeext 1577 if { { ac_try="$ac_link" 1578case "(($ac_try" in 1579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1580 *) ac_try_echo=$ac_try;; 1581esac 1582eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1583$as_echo "$ac_try_echo"; } >&5 1584 (eval "$ac_link") 2>conftest.err 1585 ac_status=$? 1586 if test -s conftest.err; then 1587 grep -v '^ *+' conftest.err >conftest.er1 1588 cat conftest.er1 >&5 1589 mv -f conftest.er1 conftest.err 1590 fi 1591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1592 test $ac_status = 0; } && { 1593 test -z "$ac_c_werror_flag" || 1594 test ! -s conftest.err 1595 } && test -s conftest$ac_exeext && { 1596 test "$cross_compiling" = yes || 1597 test -x conftest$ac_exeext 1598 }; then : 1599 ac_retval=0 1600else 1601 $as_echo "$as_me: failed program was:" >&5 1602sed 's/^/| /' conftest.$ac_ext >&5 1603 1604 ac_retval=1 1605fi 1606 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1607 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1608 # interfere with the next link command; also delete a directory that is 1609 # left behind by Apple's compiler. We do this before executing the actions. 1610 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1611 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1612 as_fn_set_status $ac_retval 1613 1614} # ac_fn_c_try_link 1615 1616# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1617# ------------------------------------------------------- 1618# Tests whether HEADER exists and can be compiled using the include files in 1619# INCLUDES, setting the cache variable VAR accordingly. 1620ac_fn_c_check_header_compile () 1621{ 1622 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1624$as_echo_n "checking for $2... " >&6; } 1625if eval \${$3+:} false; then : 1626 $as_echo_n "(cached) " >&6 1627else 1628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1629/* end confdefs.h. */ 1630$4 1631#include <$2> 1632_ACEOF 1633if ac_fn_c_try_compile "$LINENO"; then : 1634 eval "$3=yes" 1635else 1636 eval "$3=no" 1637fi 1638rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1639fi 1640eval ac_res=\$$3 1641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1642$as_echo "$ac_res" >&6; } 1643 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1644 1645} # ac_fn_c_check_header_compile 1646 1647# ac_fn_c_try_cpp LINENO 1648# ---------------------- 1649# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1650ac_fn_c_try_cpp () 1651{ 1652 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1653 if { { ac_try="$ac_cpp conftest.$ac_ext" 1654case "(($ac_try" in 1655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1656 *) ac_try_echo=$ac_try;; 1657esac 1658eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1659$as_echo "$ac_try_echo"; } >&5 1660 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1661 ac_status=$? 1662 if test -s conftest.err; then 1663 grep -v '^ *+' conftest.err >conftest.er1 1664 cat conftest.er1 >&5 1665 mv -f conftest.er1 conftest.err 1666 fi 1667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1668 test $ac_status = 0; } > conftest.i && { 1669 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1670 test ! -s conftest.err 1671 }; then : 1672 ac_retval=0 1673else 1674 $as_echo "$as_me: failed program was:" >&5 1675sed 's/^/| /' conftest.$ac_ext >&5 1676 1677 ac_retval=1 1678fi 1679 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1680 as_fn_set_status $ac_retval 1681 1682} # ac_fn_c_try_cpp 1683 1684# ac_fn_c_try_run LINENO 1685# ---------------------- 1686# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1687# that executables *can* be run. 1688ac_fn_c_try_run () 1689{ 1690 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1691 if { { ac_try="$ac_link" 1692case "(($ac_try" in 1693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1694 *) ac_try_echo=$ac_try;; 1695esac 1696eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1697$as_echo "$ac_try_echo"; } >&5 1698 (eval "$ac_link") 2>&5 1699 ac_status=$? 1700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1701 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1702 { { case "(($ac_try" in 1703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1704 *) ac_try_echo=$ac_try;; 1705esac 1706eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1707$as_echo "$ac_try_echo"; } >&5 1708 (eval "$ac_try") 2>&5 1709 ac_status=$? 1710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1711 test $ac_status = 0; }; }; then : 1712 ac_retval=0 1713else 1714 $as_echo "$as_me: program exited with status $ac_status" >&5 1715 $as_echo "$as_me: failed program was:" >&5 1716sed 's/^/| /' conftest.$ac_ext >&5 1717 1718 ac_retval=$ac_status 1719fi 1720 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1721 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1722 as_fn_set_status $ac_retval 1723 1724} # ac_fn_c_try_run 1725 1726# ac_fn_c_check_func LINENO FUNC VAR 1727# ---------------------------------- 1728# Tests whether FUNC exists, setting the cache variable VAR accordingly 1729ac_fn_c_check_func () 1730{ 1731 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1733$as_echo_n "checking for $2... " >&6; } 1734if eval \${$3+:} false; then : 1735 $as_echo_n "(cached) " >&6 1736else 1737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1738/* end confdefs.h. */ 1739/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1740 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1741#define $2 innocuous_$2 1742 1743/* System header to define __stub macros and hopefully few prototypes, 1744 which can conflict with char $2 (); below. 1745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1746 <limits.h> exists even on freestanding compilers. */ 1747 1748#ifdef __STDC__ 1749# include <limits.h> 1750#else 1751# include <assert.h> 1752#endif 1753 1754#undef $2 1755 1756/* Override any GCC internal prototype to avoid an error. 1757 Use char because int might match the return type of a GCC 1758 builtin and then its argument prototype would still apply. */ 1759#ifdef __cplusplus 1760extern "C" 1761#endif 1762char $2 (); 1763/* The GNU C library defines this for functions which it implements 1764 to always fail with ENOSYS. Some functions are actually named 1765 something starting with __ and the normal name is an alias. */ 1766#if defined __stub_$2 || defined __stub___$2 1767choke me 1768#endif 1769 1770int 1771main () 1772{ 1773return $2 (); 1774 ; 1775 return 0; 1776} 1777_ACEOF 1778if ac_fn_c_try_link "$LINENO"; then : 1779 eval "$3=yes" 1780else 1781 eval "$3=no" 1782fi 1783rm -f core conftest.err conftest.$ac_objext \ 1784 conftest$ac_exeext conftest.$ac_ext 1785fi 1786eval ac_res=\$$3 1787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1788$as_echo "$ac_res" >&6; } 1789 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1790 1791} # ac_fn_c_check_func 1792 1793# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1794# ------------------------------------------------------- 1795# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1796# the include files in INCLUDES and setting the cache variable VAR 1797# accordingly. 1798ac_fn_c_check_header_mongrel () 1799{ 1800 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1801 if eval \${$3+:} false; then : 1802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1803$as_echo_n "checking for $2... " >&6; } 1804if eval \${$3+:} false; then : 1805 $as_echo_n "(cached) " >&6 1806fi 1807eval ac_res=\$$3 1808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1809$as_echo "$ac_res" >&6; } 1810else 1811 # Is the header compilable? 1812{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1813$as_echo_n "checking $2 usability... " >&6; } 1814cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1815/* end confdefs.h. */ 1816$4 1817#include <$2> 1818_ACEOF 1819if ac_fn_c_try_compile "$LINENO"; then : 1820 ac_header_compiler=yes 1821else 1822 ac_header_compiler=no 1823fi 1824rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1825{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1826$as_echo "$ac_header_compiler" >&6; } 1827 1828# Is the header present? 1829{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1830$as_echo_n "checking $2 presence... " >&6; } 1831cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1832/* end confdefs.h. */ 1833#include <$2> 1834_ACEOF 1835if ac_fn_c_try_cpp "$LINENO"; then : 1836 ac_header_preproc=yes 1837else 1838 ac_header_preproc=no 1839fi 1840rm -f conftest.err conftest.i conftest.$ac_ext 1841{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1842$as_echo "$ac_header_preproc" >&6; } 1843 1844# So? What about this header? 1845case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1846 yes:no: ) 1847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1848$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1850$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1851 ;; 1852 no:yes:* ) 1853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1854$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1856$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1858$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1860$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1862$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1863( $as_echo "## -------------------------------------------------- ## 1864## Report this to courier-users@lists.sourceforge.net ## 1865## -------------------------------------------------- ##" 1866 ) | sed "s/^/$as_me: WARNING: /" >&2 1867 ;; 1868esac 1869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1870$as_echo_n "checking for $2... " >&6; } 1871if eval \${$3+:} false; then : 1872 $as_echo_n "(cached) " >&6 1873else 1874 eval "$3=\$ac_header_compiler" 1875fi 1876eval ac_res=\$$3 1877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1878$as_echo "$ac_res" >&6; } 1879fi 1880 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1881 1882} # ac_fn_c_check_header_mongrel 1883 1884# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 1885# -------------------------------------------- 1886# Tries to find the compile-time value of EXPR in a program that includes 1887# INCLUDES, setting VAR accordingly. Returns whether the value could be 1888# computed 1889ac_fn_c_compute_int () 1890{ 1891 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1892 if test "$cross_compiling" = yes; then 1893 # Depending upon the size, compute the lo and hi bounds. 1894cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1895/* end confdefs.h. */ 1896$4 1897int 1898main () 1899{ 1900static int test_array [1 - 2 * !(($2) >= 0)]; 1901test_array [0] = 0; 1902return test_array [0]; 1903 1904 ; 1905 return 0; 1906} 1907_ACEOF 1908if ac_fn_c_try_compile "$LINENO"; then : 1909 ac_lo=0 ac_mid=0 1910 while :; do 1911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1912/* end confdefs.h. */ 1913$4 1914int 1915main () 1916{ 1917static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1918test_array [0] = 0; 1919return test_array [0]; 1920 1921 ; 1922 return 0; 1923} 1924_ACEOF 1925if ac_fn_c_try_compile "$LINENO"; then : 1926 ac_hi=$ac_mid; break 1927else 1928 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 1929 if test $ac_lo -le $ac_mid; then 1930 ac_lo= ac_hi= 1931 break 1932 fi 1933 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 1934fi 1935rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1936 done 1937else 1938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1939/* end confdefs.h. */ 1940$4 1941int 1942main () 1943{ 1944static int test_array [1 - 2 * !(($2) < 0)]; 1945test_array [0] = 0; 1946return test_array [0]; 1947 1948 ; 1949 return 0; 1950} 1951_ACEOF 1952if ac_fn_c_try_compile "$LINENO"; then : 1953 ac_hi=-1 ac_mid=-1 1954 while :; do 1955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1956/* end confdefs.h. */ 1957$4 1958int 1959main () 1960{ 1961static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 1962test_array [0] = 0; 1963return test_array [0]; 1964 1965 ; 1966 return 0; 1967} 1968_ACEOF 1969if ac_fn_c_try_compile "$LINENO"; then : 1970 ac_lo=$ac_mid; break 1971else 1972 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 1973 if test $ac_mid -le $ac_hi; then 1974 ac_lo= ac_hi= 1975 break 1976 fi 1977 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 1978fi 1979rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1980 done 1981else 1982 ac_lo= ac_hi= 1983fi 1984rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1985fi 1986rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1987# Binary search between lo and hi bounds. 1988while test "x$ac_lo" != "x$ac_hi"; do 1989 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 1990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1991/* end confdefs.h. */ 1992$4 1993int 1994main () 1995{ 1996static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1997test_array [0] = 0; 1998return test_array [0]; 1999 2000 ; 2001 return 0; 2002} 2003_ACEOF 2004if ac_fn_c_try_compile "$LINENO"; then : 2005 ac_hi=$ac_mid 2006else 2007 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2008fi 2009rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2010done 2011case $ac_lo in #(( 2012?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2013'') ac_retval=1 ;; 2014esac 2015 else 2016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2017/* end confdefs.h. */ 2018$4 2019static long int longval () { return $2; } 2020static unsigned long int ulongval () { return $2; } 2021#include <stdio.h> 2022#include <stdlib.h> 2023int 2024main () 2025{ 2026 2027 FILE *f = fopen ("conftest.val", "w"); 2028 if (! f) 2029 return 1; 2030 if (($2) < 0) 2031 { 2032 long int i = longval (); 2033 if (i != ($2)) 2034 return 1; 2035 fprintf (f, "%ld", i); 2036 } 2037 else 2038 { 2039 unsigned long int i = ulongval (); 2040 if (i != ($2)) 2041 return 1; 2042 fprintf (f, "%lu", i); 2043 } 2044 /* Do not output a trailing newline, as this causes \r\n confusion 2045 on some platforms. */ 2046 return ferror (f) || fclose (f) != 0; 2047 2048 ; 2049 return 0; 2050} 2051_ACEOF 2052if ac_fn_c_try_run "$LINENO"; then : 2053 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2054else 2055 ac_retval=1 2056fi 2057rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2058 conftest.$ac_objext conftest.beam conftest.$ac_ext 2059rm -f conftest.val 2060 2061 fi 2062 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2063 as_fn_set_status $ac_retval 2064 2065} # ac_fn_c_compute_int 2066cat >config.log <<_ACEOF 2067This file contains any messages produced by compilers while 2068running configure, to aid debugging if configure makes a mistake. 2069 2070It was created by libsha1 $as_me 1.21, which was 2071generated by GNU Autoconf 2.69. Invocation command line was 2072 2073 $ $0 $@ 2074 2075_ACEOF 2076exec 5>>config.log 2077{ 2078cat <<_ASUNAME 2079## --------- ## 2080## Platform. ## 2081## --------- ## 2082 2083hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2084uname -m = `(uname -m) 2>/dev/null || echo unknown` 2085uname -r = `(uname -r) 2>/dev/null || echo unknown` 2086uname -s = `(uname -s) 2>/dev/null || echo unknown` 2087uname -v = `(uname -v) 2>/dev/null || echo unknown` 2088 2089/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2090/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2091 2092/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2093/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2094/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2095/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2096/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2097/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2098/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2099 2100_ASUNAME 2101 2102as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2103for as_dir in $PATH 2104do 2105 IFS=$as_save_IFS 2106 test -z "$as_dir" && as_dir=. 2107 $as_echo "PATH: $as_dir" 2108 done 2109IFS=$as_save_IFS 2110 2111} >&5 2112 2113cat >&5 <<_ACEOF 2114 2115 2116## ----------- ## 2117## Core tests. ## 2118## ----------- ## 2119 2120_ACEOF 2121 2122 2123# Keep a trace of the command line. 2124# Strip out --no-create and --no-recursion so they do not pile up. 2125# Strip out --silent because we don't want to record it for future runs. 2126# Also quote any args containing shell meta-characters. 2127# Make two passes to allow for proper duplicate-argument suppression. 2128ac_configure_args= 2129ac_configure_args0= 2130ac_configure_args1= 2131ac_must_keep_next=false 2132for ac_pass in 1 2 2133do 2134 for ac_arg 2135 do 2136 case $ac_arg in 2137 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2138 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2139 | -silent | --silent | --silen | --sile | --sil) 2140 continue ;; 2141 *\'*) 2142 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2143 esac 2144 case $ac_pass in 2145 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2146 2) 2147 as_fn_append ac_configure_args1 " '$ac_arg'" 2148 if test $ac_must_keep_next = true; then 2149 ac_must_keep_next=false # Got value, back to normal. 2150 else 2151 case $ac_arg in 2152 *=* | --config-cache | -C | -disable-* | --disable-* \ 2153 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2154 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2155 | -with-* | --with-* | -without-* | --without-* | --x) 2156 case "$ac_configure_args0 " in 2157 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2158 esac 2159 ;; 2160 -* ) ac_must_keep_next=true ;; 2161 esac 2162 fi 2163 as_fn_append ac_configure_args " '$ac_arg'" 2164 ;; 2165 esac 2166 done 2167done 2168{ ac_configure_args0=; unset ac_configure_args0;} 2169{ ac_configure_args1=; unset ac_configure_args1;} 2170 2171# When interrupted or exit'd, cleanup temporary files, and complete 2172# config.log. We remove comments because anyway the quotes in there 2173# would cause problems or look ugly. 2174# WARNING: Use '\'' to represent an apostrophe within the trap. 2175# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2176trap 'exit_status=$? 2177 # Save into config.log some information that might help in debugging. 2178 { 2179 echo 2180 2181 $as_echo "## ---------------- ## 2182## Cache variables. ## 2183## ---------------- ##" 2184 echo 2185 # The following way of writing the cache mishandles newlines in values, 2186( 2187 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2188 eval ac_val=\$$ac_var 2189 case $ac_val in #( 2190 *${as_nl}*) 2191 case $ac_var in #( 2192 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2193$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2194 esac 2195 case $ac_var in #( 2196 _ | IFS | as_nl) ;; #( 2197 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2198 *) { eval $ac_var=; unset $ac_var;} ;; 2199 esac ;; 2200 esac 2201 done 2202 (set) 2>&1 | 2203 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2204 *${as_nl}ac_space=\ *) 2205 sed -n \ 2206 "s/'\''/'\''\\\\'\'''\''/g; 2207 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2208 ;; #( 2209 *) 2210 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2211 ;; 2212 esac | 2213 sort 2214) 2215 echo 2216 2217 $as_echo "## ----------------- ## 2218## Output variables. ## 2219## ----------------- ##" 2220 echo 2221 for ac_var in $ac_subst_vars 2222 do 2223 eval ac_val=\$$ac_var 2224 case $ac_val in 2225 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2226 esac 2227 $as_echo "$ac_var='\''$ac_val'\''" 2228 done | sort 2229 echo 2230 2231 if test -n "$ac_subst_files"; then 2232 $as_echo "## ------------------- ## 2233## File substitutions. ## 2234## ------------------- ##" 2235 echo 2236 for ac_var in $ac_subst_files 2237 do 2238 eval ac_val=\$$ac_var 2239 case $ac_val in 2240 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2241 esac 2242 $as_echo "$ac_var='\''$ac_val'\''" 2243 done | sort 2244 echo 2245 fi 2246 2247 if test -s confdefs.h; then 2248 $as_echo "## ----------- ## 2249## confdefs.h. ## 2250## ----------- ##" 2251 echo 2252 cat confdefs.h 2253 echo 2254 fi 2255 test "$ac_signal" != 0 && 2256 $as_echo "$as_me: caught signal $ac_signal" 2257 $as_echo "$as_me: exit $exit_status" 2258 } >&5 2259 rm -f core *.core core.conftest.* && 2260 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2261 exit $exit_status 2262' 0 2263for ac_signal in 1 2 13 15; do 2264 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2265done 2266ac_signal=0 2267 2268# confdefs.h avoids OS command line length limits that DEFS can exceed. 2269rm -f -r conftest* confdefs.h 2270 2271$as_echo "/* confdefs.h */" > confdefs.h 2272 2273# Predefined preprocessor variables. 2274 2275cat >>confdefs.h <<_ACEOF 2276#define PACKAGE_NAME "$PACKAGE_NAME" 2277_ACEOF 2278 2279cat >>confdefs.h <<_ACEOF 2280#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2281_ACEOF 2282 2283cat >>confdefs.h <<_ACEOF 2284#define PACKAGE_VERSION "$PACKAGE_VERSION" 2285_ACEOF 2286 2287cat >>confdefs.h <<_ACEOF 2288#define PACKAGE_STRING "$PACKAGE_STRING" 2289_ACEOF 2290 2291cat >>confdefs.h <<_ACEOF 2292#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2293_ACEOF 2294 2295cat >>confdefs.h <<_ACEOF 2296#define PACKAGE_URL "$PACKAGE_URL" 2297_ACEOF 2298 2299 2300# Let the site file select an alternate cache file if it wants to. 2301# Prefer an explicitly selected file to automatically selected ones. 2302ac_site_file1=NONE 2303ac_site_file2=NONE 2304if test -n "$CONFIG_SITE"; then 2305 # We do not want a PATH search for config.site. 2306 case $CONFIG_SITE in #(( 2307 -*) ac_site_file1=./$CONFIG_SITE;; 2308 */*) ac_site_file1=$CONFIG_SITE;; 2309 *) ac_site_file1=./$CONFIG_SITE;; 2310 esac 2311elif test "x$prefix" != xNONE; then 2312 ac_site_file1=$prefix/share/config.site 2313 ac_site_file2=$prefix/etc/config.site 2314else 2315 ac_site_file1=$ac_default_prefix/share/config.site 2316 ac_site_file2=$ac_default_prefix/etc/config.site 2317fi 2318for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2319do 2320 test "x$ac_site_file" = xNONE && continue 2321 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2322 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2323$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2324 sed 's/^/| /' "$ac_site_file" >&5 2325 . "$ac_site_file" \ 2326 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2327$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2328as_fn_error $? "failed to load site script $ac_site_file 2329See \`config.log' for more details" "$LINENO" 5; } 2330 fi 2331done 2332 2333if test -r "$cache_file"; then 2334 # Some versions of bash will fail to source /dev/null (special files 2335 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2336 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2337 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2338$as_echo "$as_me: loading cache $cache_file" >&6;} 2339 case $cache_file in 2340 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2341 *) . "./$cache_file";; 2342 esac 2343 fi 2344else 2345 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2346$as_echo "$as_me: creating cache $cache_file" >&6;} 2347 >$cache_file 2348fi 2349 2350# Check that the precious variables saved in the cache have kept the same 2351# value. 2352ac_cache_corrupted=false 2353for ac_var in $ac_precious_vars; do 2354 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2355 eval ac_new_set=\$ac_env_${ac_var}_set 2356 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2357 eval ac_new_val=\$ac_env_${ac_var}_value 2358 case $ac_old_set,$ac_new_set in 2359 set,) 2360 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2361$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2362 ac_cache_corrupted=: ;; 2363 ,set) 2364 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2365$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2366 ac_cache_corrupted=: ;; 2367 ,);; 2368 *) 2369 if test "x$ac_old_val" != "x$ac_new_val"; then 2370 # differences in whitespace do not lead to failure. 2371 ac_old_val_w=`echo x $ac_old_val` 2372 ac_new_val_w=`echo x $ac_new_val` 2373 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2374 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2375$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2376 ac_cache_corrupted=: 2377 else 2378 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2379$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2380 eval $ac_var=\$ac_old_val 2381 fi 2382 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2383$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2384 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2385$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2386 fi;; 2387 esac 2388 # Pass precious variables to config.status. 2389 if test "$ac_new_set" = set; then 2390 case $ac_new_val in 2391 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2392 *) ac_arg=$ac_var=$ac_new_val ;; 2393 esac 2394 case " $ac_configure_args " in 2395 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2396 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2397 esac 2398 fi 2399done 2400if $ac_cache_corrupted; then 2401 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2402$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2403 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2404$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2405 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2406fi 2407## -------------------- ## 2408## Main body of script. ## 2409## -------------------- ## 2410 2411ac_ext=c 2412ac_cpp='$CPP $CPPFLAGS' 2413ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2414ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2415ac_compiler_gnu=$ac_cv_c_compiler_gnu 2416 2417 2418 2419>confdefs.h # Kill PACKAGE_ macros 2420 2421 2422ac_aux_dir= 2423for ac_dir in ../.. "$srcdir"/../..; do 2424 if test -f "$ac_dir/install-sh"; then 2425 ac_aux_dir=$ac_dir 2426 ac_install_sh="$ac_aux_dir/install-sh -c" 2427 break 2428 elif test -f "$ac_dir/install.sh"; then 2429 ac_aux_dir=$ac_dir 2430 ac_install_sh="$ac_aux_dir/install.sh -c" 2431 break 2432 elif test -f "$ac_dir/shtool"; then 2433 ac_aux_dir=$ac_dir 2434 ac_install_sh="$ac_aux_dir/shtool install -c" 2435 break 2436 fi 2437done 2438if test -z "$ac_aux_dir"; then 2439 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../.. \"$srcdir\"/../.." "$LINENO" 5 2440fi 2441 2442# These three variables are undocumented and unsupported, 2443# and are intended to be withdrawn in a future Autoconf release. 2444# They can cause serious problems if a builder's source tree is in a directory 2445# whose full name contains unusual characters. 2446ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2447ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2448ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2449 2450 2451ac_config_headers="$ac_config_headers config.h" 2452 2453am__api_version='1.16' 2454 2455# Find a good install program. We prefer a C program (faster), 2456# so one script is as good as another. But avoid the broken or 2457# incompatible versions: 2458# SysV /etc/install, /usr/sbin/install 2459# SunOS /usr/etc/install 2460# IRIX /sbin/install 2461# AIX /bin/install 2462# AmigaOS /C/install, which installs bootblocks on floppy discs 2463# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2464# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2465# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2466# OS/2's system install, which has a completely different semantic 2467# ./install, which can be erroneously created by make from ./install.sh. 2468# Reject install programs that cannot install multiple files. 2469{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2470$as_echo_n "checking for a BSD-compatible install... " >&6; } 2471if test -z "$INSTALL"; then 2472if ${ac_cv_path_install+:} false; then : 2473 $as_echo_n "(cached) " >&6 2474else 2475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2476for as_dir in $PATH 2477do 2478 IFS=$as_save_IFS 2479 test -z "$as_dir" && as_dir=. 2480 # Account for people who put trailing slashes in PATH elements. 2481case $as_dir/ in #(( 2482 ./ | .// | /[cC]/* | \ 2483 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2484 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2485 /usr/ucb/* ) ;; 2486 *) 2487 # OSF1 and SCO ODT 3.0 have their own names for install. 2488 # Don't use installbsd from OSF since it installs stuff as root 2489 # by default. 2490 for ac_prog in ginstall scoinst install; do 2491 for ac_exec_ext in '' $ac_executable_extensions; do 2492 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2493 if test $ac_prog = install && 2494 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2495 # AIX install. It has an incompatible calling convention. 2496 : 2497 elif test $ac_prog = install && 2498 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2499 # program-specific install script used by HP pwplus--don't use. 2500 : 2501 else 2502 rm -rf conftest.one conftest.two conftest.dir 2503 echo one > conftest.one 2504 echo two > conftest.two 2505 mkdir conftest.dir 2506 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2507 test -s conftest.one && test -s conftest.two && 2508 test -s conftest.dir/conftest.one && 2509 test -s conftest.dir/conftest.two 2510 then 2511 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2512 break 3 2513 fi 2514 fi 2515 fi 2516 done 2517 done 2518 ;; 2519esac 2520 2521 done 2522IFS=$as_save_IFS 2523 2524rm -rf conftest.one conftest.two conftest.dir 2525 2526fi 2527 if test "${ac_cv_path_install+set}" = set; then 2528 INSTALL=$ac_cv_path_install 2529 else 2530 # As a last resort, use the slow shell script. Don't cache a 2531 # value for INSTALL within a source directory, because that will 2532 # break other packages using the cache if that directory is 2533 # removed, or if the value is a relative name. 2534 INSTALL=$ac_install_sh 2535 fi 2536fi 2537{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2538$as_echo "$INSTALL" >&6; } 2539 2540# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2541# It thinks the first close brace ends the variable substitution. 2542test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2543 2544test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2545 2546test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2547 2548{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2549$as_echo_n "checking whether build environment is sane... " >&6; } 2550# Reject unsafe characters in $srcdir or the absolute working directory 2551# name. Accept space and tab only in the latter. 2552am_lf=' 2553' 2554case `pwd` in 2555 *[\\\"\#\$\&\'\`$am_lf]*) 2556 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2557esac 2558case $srcdir in 2559 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2560 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2561esac 2562 2563# Do 'set' in a subshell so we don't clobber the current shell's 2564# arguments. Must try -L first in case configure is actually a 2565# symlink; some systems play weird games with the mod time of symlinks 2566# (eg FreeBSD returns the mod time of the symlink's containing 2567# directory). 2568if ( 2569 am_has_slept=no 2570 for am_try in 1 2; do 2571 echo "timestamp, slept: $am_has_slept" > conftest.file 2572 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2573 if test "$*" = "X"; then 2574 # -L didn't work. 2575 set X `ls -t "$srcdir/configure" conftest.file` 2576 fi 2577 if test "$*" != "X $srcdir/configure conftest.file" \ 2578 && test "$*" != "X conftest.file $srcdir/configure"; then 2579 2580 # If neither matched, then we have a broken ls. This can happen 2581 # if, for instance, CONFIG_SHELL is bash and it inherits a 2582 # broken ls alias from the environment. This has actually 2583 # happened. Such a system could not be considered "sane". 2584 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2585 alias in your environment" "$LINENO" 5 2586 fi 2587 if test "$2" = conftest.file || test $am_try -eq 2; then 2588 break 2589 fi 2590 # Just in case. 2591 sleep 1 2592 am_has_slept=yes 2593 done 2594 test "$2" = conftest.file 2595 ) 2596then 2597 # Ok. 2598 : 2599else 2600 as_fn_error $? "newly created file is older than distributed files! 2601Check your system clock" "$LINENO" 5 2602fi 2603{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2604$as_echo "yes" >&6; } 2605# If we didn't sleep, we still need to ensure time stamps of config.status and 2606# generated files are strictly newer. 2607am_sleep_pid= 2608if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2609 ( sleep 1 ) & 2610 am_sleep_pid=$! 2611fi 2612 2613rm -f conftest.file 2614 2615test "$program_prefix" != NONE && 2616 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2617# Use a double $ so make ignores it. 2618test "$program_suffix" != NONE && 2619 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2620# Double any \ or $. 2621# By default was `s,x,x', remove it if useless. 2622ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2623program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2624 2625# Expand $ac_aux_dir to an absolute path. 2626am_aux_dir=`cd "$ac_aux_dir" && pwd` 2627 2628if test x"${MISSING+set}" != xset; then 2629 case $am_aux_dir in 2630 *\ * | *\ *) 2631 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2632 *) 2633 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2634 esac 2635fi 2636# Use eval to expand $SHELL 2637if eval "$MISSING --is-lightweight"; then 2638 am_missing_run="$MISSING " 2639else 2640 am_missing_run= 2641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2642$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2643fi 2644 2645if test x"${install_sh+set}" != xset; then 2646 case $am_aux_dir in 2647 *\ * | *\ *) 2648 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2649 *) 2650 install_sh="\${SHELL} $am_aux_dir/install-sh" 2651 esac 2652fi 2653 2654# Installed binaries are usually stripped using 'strip' when the user 2655# run "make install-strip". However 'strip' might not be the right 2656# tool to use in cross-compilation environments, therefore Automake 2657# will honor the 'STRIP' environment variable to overrule this program. 2658if test "$cross_compiling" != no; then 2659 if test -n "$ac_tool_prefix"; then 2660 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2661set dummy ${ac_tool_prefix}strip; ac_word=$2 2662{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2663$as_echo_n "checking for $ac_word... " >&6; } 2664if ${ac_cv_prog_STRIP+:} false; then : 2665 $as_echo_n "(cached) " >&6 2666else 2667 if test -n "$STRIP"; then 2668 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2669else 2670as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2671for as_dir in $PATH 2672do 2673 IFS=$as_save_IFS 2674 test -z "$as_dir" && as_dir=. 2675 for ac_exec_ext in '' $ac_executable_extensions; do 2676 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2677 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2679 break 2 2680 fi 2681done 2682 done 2683IFS=$as_save_IFS 2684 2685fi 2686fi 2687STRIP=$ac_cv_prog_STRIP 2688if test -n "$STRIP"; then 2689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2690$as_echo "$STRIP" >&6; } 2691else 2692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2693$as_echo "no" >&6; } 2694fi 2695 2696 2697fi 2698if test -z "$ac_cv_prog_STRIP"; then 2699 ac_ct_STRIP=$STRIP 2700 # Extract the first word of "strip", so it can be a program name with args. 2701set dummy strip; ac_word=$2 2702{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2703$as_echo_n "checking for $ac_word... " >&6; } 2704if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2705 $as_echo_n "(cached) " >&6 2706else 2707 if test -n "$ac_ct_STRIP"; then 2708 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2709else 2710as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2711for as_dir in $PATH 2712do 2713 IFS=$as_save_IFS 2714 test -z "$as_dir" && as_dir=. 2715 for ac_exec_ext in '' $ac_executable_extensions; do 2716 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2717 ac_cv_prog_ac_ct_STRIP="strip" 2718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2719 break 2 2720 fi 2721done 2722 done 2723IFS=$as_save_IFS 2724 2725fi 2726fi 2727ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2728if test -n "$ac_ct_STRIP"; then 2729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2730$as_echo "$ac_ct_STRIP" >&6; } 2731else 2732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2733$as_echo "no" >&6; } 2734fi 2735 2736 if test "x$ac_ct_STRIP" = x; then 2737 STRIP=":" 2738 else 2739 case $cross_compiling:$ac_tool_warned in 2740yes:) 2741{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2742$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2743ac_tool_warned=yes ;; 2744esac 2745 STRIP=$ac_ct_STRIP 2746 fi 2747else 2748 STRIP="$ac_cv_prog_STRIP" 2749fi 2750 2751fi 2752INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2753 2754{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2755$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2756if test -z "$MKDIR_P"; then 2757 if ${ac_cv_path_mkdir+:} false; then : 2758 $as_echo_n "(cached) " >&6 2759else 2760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2761for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2762do 2763 IFS=$as_save_IFS 2764 test -z "$as_dir" && as_dir=. 2765 for ac_prog in mkdir gmkdir; do 2766 for ac_exec_ext in '' $ac_executable_extensions; do 2767 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2768 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2769 'mkdir (GNU coreutils) '* | \ 2770 'mkdir (coreutils) '* | \ 2771 'mkdir (fileutils) '4.1*) 2772 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2773 break 3;; 2774 esac 2775 done 2776 done 2777 done 2778IFS=$as_save_IFS 2779 2780fi 2781 2782 test -d ./--version && rmdir ./--version 2783 if test "${ac_cv_path_mkdir+set}" = set; then 2784 MKDIR_P="$ac_cv_path_mkdir -p" 2785 else 2786 # As a last resort, use the slow shell script. Don't cache a 2787 # value for MKDIR_P within a source directory, because that will 2788 # break other packages using the cache if that directory is 2789 # removed, or if the value is a relative name. 2790 MKDIR_P="$ac_install_sh -d" 2791 fi 2792fi 2793{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2794$as_echo "$MKDIR_P" >&6; } 2795 2796for ac_prog in gawk mawk nawk awk 2797do 2798 # Extract the first word of "$ac_prog", so it can be a program name with args. 2799set dummy $ac_prog; ac_word=$2 2800{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2801$as_echo_n "checking for $ac_word... " >&6; } 2802if ${ac_cv_prog_AWK+:} false; then : 2803 $as_echo_n "(cached) " >&6 2804else 2805 if test -n "$AWK"; then 2806 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2807else 2808as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2809for as_dir in $PATH 2810do 2811 IFS=$as_save_IFS 2812 test -z "$as_dir" && as_dir=. 2813 for ac_exec_ext in '' $ac_executable_extensions; do 2814 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2815 ac_cv_prog_AWK="$ac_prog" 2816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2817 break 2 2818 fi 2819done 2820 done 2821IFS=$as_save_IFS 2822 2823fi 2824fi 2825AWK=$ac_cv_prog_AWK 2826if test -n "$AWK"; then 2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2828$as_echo "$AWK" >&6; } 2829else 2830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2831$as_echo "no" >&6; } 2832fi 2833 2834 2835 test -n "$AWK" && break 2836done 2837 2838{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2839$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2840set x ${MAKE-make} 2841ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2842if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2843 $as_echo_n "(cached) " >&6 2844else 2845 cat >conftest.make <<\_ACEOF 2846SHELL = /bin/sh 2847all: 2848 @echo '@@@%%%=$(MAKE)=@@@%%%' 2849_ACEOF 2850# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2851case `${MAKE-make} -f conftest.make 2>/dev/null` in 2852 *@@@%%%=?*=@@@%%%*) 2853 eval ac_cv_prog_make_${ac_make}_set=yes;; 2854 *) 2855 eval ac_cv_prog_make_${ac_make}_set=no;; 2856esac 2857rm -f conftest.make 2858fi 2859if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2861$as_echo "yes" >&6; } 2862 SET_MAKE= 2863else 2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2865$as_echo "no" >&6; } 2866 SET_MAKE="MAKE=${MAKE-make}" 2867fi 2868 2869rm -rf .tst 2>/dev/null 2870mkdir .tst 2>/dev/null 2871if test -d .tst; then 2872 am__leading_dot=. 2873else 2874 am__leading_dot=_ 2875fi 2876rmdir .tst 2>/dev/null 2877 2878# Check whether --enable-silent-rules was given. 2879if test "${enable_silent_rules+set}" = set; then : 2880 enableval=$enable_silent_rules; 2881fi 2882 2883case $enable_silent_rules in # ((( 2884 yes) AM_DEFAULT_VERBOSITY=0;; 2885 no) AM_DEFAULT_VERBOSITY=1;; 2886 *) AM_DEFAULT_VERBOSITY=1;; 2887esac 2888am_make=${MAKE-make} 2889{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2890$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2891if ${am_cv_make_support_nested_variables+:} false; then : 2892 $as_echo_n "(cached) " >&6 2893else 2894 if $as_echo 'TRUE=$(BAR$(V)) 2895BAR0=false 2896BAR1=true 2897V=1 2898am__doit: 2899 @$(TRUE) 2900.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2901 am_cv_make_support_nested_variables=yes 2902else 2903 am_cv_make_support_nested_variables=no 2904fi 2905fi 2906{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2907$as_echo "$am_cv_make_support_nested_variables" >&6; } 2908if test $am_cv_make_support_nested_variables = yes; then 2909 AM_V='$(V)' 2910 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2911else 2912 AM_V=$AM_DEFAULT_VERBOSITY 2913 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2914fi 2915AM_BACKSLASH='\' 2916 2917if test "`cd $srcdir && pwd`" != "`pwd`"; then 2918 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2919 # is not polluted with repeated "-I." 2920 am__isrc=' -I$(srcdir)' 2921 # test to see if srcdir already configured 2922 if test -f $srcdir/config.status; then 2923 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2924 fi 2925fi 2926 2927# test whether we have cygpath 2928if test -z "$CYGPATH_W"; then 2929 if (cygpath --version) >/dev/null 2>/dev/null; then 2930 CYGPATH_W='cygpath -w' 2931 else 2932 CYGPATH_W=echo 2933 fi 2934fi 2935 2936 2937# Define the identity of the package. 2938 PACKAGE='libsha1' 2939 VERSION='1.21' 2940 2941 2942# Some tools Automake needs. 2943 2944ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2945 2946 2947AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2948 2949 2950AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2951 2952 2953AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2954 2955 2956MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2957 2958# For better backward compatibility. To be removed once Automake 1.9.x 2959# dies out for good. For more background, see: 2960# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2961# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2962mkdir_p='$(MKDIR_P)' 2963 2964# We need awk for the "check" target (and possibly the TAP driver). The 2965# system "awk" is bad on some platforms. 2966# Always define AMTAR for backward compatibility. Yes, it's still used 2967# in the wild :-( We should find a proper way to deprecate it ... 2968AMTAR='$${TAR-tar}' 2969 2970 2971# We'll loop over all known methods to create a tar archive until one works. 2972_am_tools='gnutar pax cpio none' 2973 2974am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2975 2976 2977 2978 2979 2980 2981# POSIX will say in a future version that running "rm -f" with no argument 2982# is OK; and we want to be able to make that assumption in our Makefile 2983# recipes. So use an aggressive probe to check that the usage we want is 2984# actually supported "in the wild" to an acceptable degree. 2985# See automake bug#10828. 2986# To make any issue more visible, cause the running configure to be aborted 2987# by default if the 'rm' program in use doesn't match our expectations; the 2988# user can still override this though. 2989if rm -f && rm -fr && rm -rf; then : OK; else 2990 cat >&2 <<'END' 2991Oops! 2992 2993Your 'rm' program seems unable to run without file operands specified 2994on the command line, even when the '-f' option is present. This is contrary 2995to the behaviour of most rm programs out there, and not conforming with 2996the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 2997 2998Please tell bug-automake@gnu.org about your system, including the value 2999of your $PATH and any error possibly output before this message. This 3000can help us improve future automake versions. 3001 3002END 3003 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3004 echo 'Configuration will proceed anyway, since you have set the' >&2 3005 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3006 echo >&2 3007 else 3008 cat >&2 <<'END' 3009Aborting the configuration process, to ensure you take notice of the issue. 3010 3011You can download and install GNU coreutils to get an 'rm' implementation 3012that behaves properly: <https://www.gnu.org/software/coreutils/>. 3013 3014If you want to complete the configuration process using your problematic 3015'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3016to "yes", and re-run configure. 3017 3018END 3019 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3020 fi 3021fi 3022 3023 3024 if test -d ${srcdir}/../libhmac; then 3025 HMACC_TRUE= 3026 HMACC_FALSE='#' 3027else 3028 HMACC_TRUE='#' 3029 HMACC_FALSE= 3030fi 3031 3032 3033ac_ext=c 3034ac_cpp='$CPP $CPPFLAGS' 3035ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3036ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3037ac_compiler_gnu=$ac_cv_c_compiler_gnu 3038if test -n "$ac_tool_prefix"; then 3039 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3040set dummy ${ac_tool_prefix}gcc; ac_word=$2 3041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3042$as_echo_n "checking for $ac_word... " >&6; } 3043if ${ac_cv_prog_CC+:} false; then : 3044 $as_echo_n "(cached) " >&6 3045else 3046 if test -n "$CC"; then 3047 ac_cv_prog_CC="$CC" # Let the user override the test. 3048else 3049as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3050for as_dir in $PATH 3051do 3052 IFS=$as_save_IFS 3053 test -z "$as_dir" && as_dir=. 3054 for ac_exec_ext in '' $ac_executable_extensions; do 3055 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3056 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3058 break 2 3059 fi 3060done 3061 done 3062IFS=$as_save_IFS 3063 3064fi 3065fi 3066CC=$ac_cv_prog_CC 3067if test -n "$CC"; then 3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3069$as_echo "$CC" >&6; } 3070else 3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3072$as_echo "no" >&6; } 3073fi 3074 3075 3076fi 3077if test -z "$ac_cv_prog_CC"; then 3078 ac_ct_CC=$CC 3079 # Extract the first word of "gcc", so it can be a program name with args. 3080set dummy gcc; ac_word=$2 3081{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3082$as_echo_n "checking for $ac_word... " >&6; } 3083if ${ac_cv_prog_ac_ct_CC+:} false; then : 3084 $as_echo_n "(cached) " >&6 3085else 3086 if test -n "$ac_ct_CC"; then 3087 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3088else 3089as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3090for as_dir in $PATH 3091do 3092 IFS=$as_save_IFS 3093 test -z "$as_dir" && as_dir=. 3094 for ac_exec_ext in '' $ac_executable_extensions; do 3095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3096 ac_cv_prog_ac_ct_CC="gcc" 3097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3098 break 2 3099 fi 3100done 3101 done 3102IFS=$as_save_IFS 3103 3104fi 3105fi 3106ac_ct_CC=$ac_cv_prog_ac_ct_CC 3107if test -n "$ac_ct_CC"; then 3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3109$as_echo "$ac_ct_CC" >&6; } 3110else 3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3112$as_echo "no" >&6; } 3113fi 3114 3115 if test "x$ac_ct_CC" = x; then 3116 CC="" 3117 else 3118 case $cross_compiling:$ac_tool_warned in 3119yes:) 3120{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3121$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3122ac_tool_warned=yes ;; 3123esac 3124 CC=$ac_ct_CC 3125 fi 3126else 3127 CC="$ac_cv_prog_CC" 3128fi 3129 3130if test -z "$CC"; then 3131 if test -n "$ac_tool_prefix"; then 3132 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3133set dummy ${ac_tool_prefix}cc; ac_word=$2 3134{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3135$as_echo_n "checking for $ac_word... " >&6; } 3136if ${ac_cv_prog_CC+:} false; then : 3137 $as_echo_n "(cached) " >&6 3138else 3139 if test -n "$CC"; then 3140 ac_cv_prog_CC="$CC" # Let the user override the test. 3141else 3142as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3143for as_dir in $PATH 3144do 3145 IFS=$as_save_IFS 3146 test -z "$as_dir" && as_dir=. 3147 for ac_exec_ext in '' $ac_executable_extensions; do 3148 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3149 ac_cv_prog_CC="${ac_tool_prefix}cc" 3150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3151 break 2 3152 fi 3153done 3154 done 3155IFS=$as_save_IFS 3156 3157fi 3158fi 3159CC=$ac_cv_prog_CC 3160if test -n "$CC"; then 3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3162$as_echo "$CC" >&6; } 3163else 3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3165$as_echo "no" >&6; } 3166fi 3167 3168 3169 fi 3170fi 3171if test -z "$CC"; then 3172 # Extract the first word of "cc", so it can be a program name with args. 3173set dummy cc; ac_word=$2 3174{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3175$as_echo_n "checking for $ac_word... " >&6; } 3176if ${ac_cv_prog_CC+:} false; then : 3177 $as_echo_n "(cached) " >&6 3178else 3179 if test -n "$CC"; then 3180 ac_cv_prog_CC="$CC" # Let the user override the test. 3181else 3182 ac_prog_rejected=no 3183as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3184for as_dir in $PATH 3185do 3186 IFS=$as_save_IFS 3187 test -z "$as_dir" && as_dir=. 3188 for ac_exec_ext in '' $ac_executable_extensions; do 3189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3190 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3191 ac_prog_rejected=yes 3192 continue 3193 fi 3194 ac_cv_prog_CC="cc" 3195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3196 break 2 3197 fi 3198done 3199 done 3200IFS=$as_save_IFS 3201 3202if test $ac_prog_rejected = yes; then 3203 # We found a bogon in the path, so make sure we never use it. 3204 set dummy $ac_cv_prog_CC 3205 shift 3206 if test $# != 0; then 3207 # We chose a different compiler from the bogus one. 3208 # However, it has the same basename, so the bogon will be chosen 3209 # first if we set CC to just the basename; use the full file name. 3210 shift 3211 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3212 fi 3213fi 3214fi 3215fi 3216CC=$ac_cv_prog_CC 3217if test -n "$CC"; then 3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3219$as_echo "$CC" >&6; } 3220else 3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3222$as_echo "no" >&6; } 3223fi 3224 3225 3226fi 3227if test -z "$CC"; then 3228 if test -n "$ac_tool_prefix"; then 3229 for ac_prog in cl.exe 3230 do 3231 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3232set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3233{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3234$as_echo_n "checking for $ac_word... " >&6; } 3235if ${ac_cv_prog_CC+:} false; then : 3236 $as_echo_n "(cached) " >&6 3237else 3238 if test -n "$CC"; then 3239 ac_cv_prog_CC="$CC" # Let the user override the test. 3240else 3241as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3242for as_dir in $PATH 3243do 3244 IFS=$as_save_IFS 3245 test -z "$as_dir" && as_dir=. 3246 for ac_exec_ext in '' $ac_executable_extensions; do 3247 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3248 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3250 break 2 3251 fi 3252done 3253 done 3254IFS=$as_save_IFS 3255 3256fi 3257fi 3258CC=$ac_cv_prog_CC 3259if test -n "$CC"; then 3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3261$as_echo "$CC" >&6; } 3262else 3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3264$as_echo "no" >&6; } 3265fi 3266 3267 3268 test -n "$CC" && break 3269 done 3270fi 3271if test -z "$CC"; then 3272 ac_ct_CC=$CC 3273 for ac_prog in cl.exe 3274do 3275 # Extract the first word of "$ac_prog", so it can be a program name with args. 3276set dummy $ac_prog; ac_word=$2 3277{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3278$as_echo_n "checking for $ac_word... " >&6; } 3279if ${ac_cv_prog_ac_ct_CC+:} false; then : 3280 $as_echo_n "(cached) " >&6 3281else 3282 if test -n "$ac_ct_CC"; then 3283 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3284else 3285as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3286for as_dir in $PATH 3287do 3288 IFS=$as_save_IFS 3289 test -z "$as_dir" && as_dir=. 3290 for ac_exec_ext in '' $ac_executable_extensions; do 3291 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3292 ac_cv_prog_ac_ct_CC="$ac_prog" 3293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3294 break 2 3295 fi 3296done 3297 done 3298IFS=$as_save_IFS 3299 3300fi 3301fi 3302ac_ct_CC=$ac_cv_prog_ac_ct_CC 3303if test -n "$ac_ct_CC"; then 3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3305$as_echo "$ac_ct_CC" >&6; } 3306else 3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3308$as_echo "no" >&6; } 3309fi 3310 3311 3312 test -n "$ac_ct_CC" && break 3313done 3314 3315 if test "x$ac_ct_CC" = x; then 3316 CC="" 3317 else 3318 case $cross_compiling:$ac_tool_warned in 3319yes:) 3320{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3321$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3322ac_tool_warned=yes ;; 3323esac 3324 CC=$ac_ct_CC 3325 fi 3326fi 3327 3328fi 3329 3330 3331test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3332$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3333as_fn_error $? "no acceptable C compiler found in \$PATH 3334See \`config.log' for more details" "$LINENO" 5; } 3335 3336# Provide some information about the compiler. 3337$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3338set X $ac_compile 3339ac_compiler=$2 3340for ac_option in --version -v -V -qversion; do 3341 { { ac_try="$ac_compiler $ac_option >&5" 3342case "(($ac_try" in 3343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3344 *) ac_try_echo=$ac_try;; 3345esac 3346eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3347$as_echo "$ac_try_echo"; } >&5 3348 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3349 ac_status=$? 3350 if test -s conftest.err; then 3351 sed '10a\ 3352... rest of stderr output deleted ... 3353 10q' conftest.err >conftest.er1 3354 cat conftest.er1 >&5 3355 fi 3356 rm -f conftest.er1 conftest.err 3357 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3358 test $ac_status = 0; } 3359done 3360 3361cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3362/* end confdefs.h. */ 3363 3364int 3365main () 3366{ 3367 3368 ; 3369 return 0; 3370} 3371_ACEOF 3372ac_clean_files_save=$ac_clean_files 3373ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3374# Try to create an executable without -o first, disregard a.out. 3375# It will help us diagnose broken compilers, and finding out an intuition 3376# of exeext. 3377{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3378$as_echo_n "checking whether the C compiler works... " >&6; } 3379ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3380 3381# The possible output files: 3382ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3383 3384ac_rmfiles= 3385for ac_file in $ac_files 3386do 3387 case $ac_file in 3388 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3389 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3390 esac 3391done 3392rm -f $ac_rmfiles 3393 3394if { { ac_try="$ac_link_default" 3395case "(($ac_try" in 3396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3397 *) ac_try_echo=$ac_try;; 3398esac 3399eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3400$as_echo "$ac_try_echo"; } >&5 3401 (eval "$ac_link_default") 2>&5 3402 ac_status=$? 3403 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3404 test $ac_status = 0; }; then : 3405 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3406# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3407# in a Makefile. We should not override ac_cv_exeext if it was cached, 3408# so that the user can short-circuit this test for compilers unknown to 3409# Autoconf. 3410for ac_file in $ac_files '' 3411do 3412 test -f "$ac_file" || continue 3413 case $ac_file in 3414 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3415 ;; 3416 [ab].out ) 3417 # We found the default executable, but exeext='' is most 3418 # certainly right. 3419 break;; 3420 *.* ) 3421 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3422 then :; else 3423 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3424 fi 3425 # We set ac_cv_exeext here because the later test for it is not 3426 # safe: cross compilers may not add the suffix if given an `-o' 3427 # argument, so we may need to know it at that point already. 3428 # Even if this section looks crufty: it has the advantage of 3429 # actually working. 3430 break;; 3431 * ) 3432 break;; 3433 esac 3434done 3435test "$ac_cv_exeext" = no && ac_cv_exeext= 3436 3437else 3438 ac_file='' 3439fi 3440if test -z "$ac_file"; then : 3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3442$as_echo "no" >&6; } 3443$as_echo "$as_me: failed program was:" >&5 3444sed 's/^/| /' conftest.$ac_ext >&5 3445 3446{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3447$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3448as_fn_error 77 "C compiler cannot create executables 3449See \`config.log' for more details" "$LINENO" 5; } 3450else 3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3452$as_echo "yes" >&6; } 3453fi 3454{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3455$as_echo_n "checking for C compiler default output file name... " >&6; } 3456{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3457$as_echo "$ac_file" >&6; } 3458ac_exeext=$ac_cv_exeext 3459 3460rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3461ac_clean_files=$ac_clean_files_save 3462{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3463$as_echo_n "checking for suffix of executables... " >&6; } 3464if { { ac_try="$ac_link" 3465case "(($ac_try" in 3466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3467 *) ac_try_echo=$ac_try;; 3468esac 3469eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3470$as_echo "$ac_try_echo"; } >&5 3471 (eval "$ac_link") 2>&5 3472 ac_status=$? 3473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3474 test $ac_status = 0; }; then : 3475 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3476# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3477# work properly (i.e., refer to `conftest.exe'), while it won't with 3478# `rm'. 3479for ac_file in conftest.exe conftest conftest.*; do 3480 test -f "$ac_file" || continue 3481 case $ac_file in 3482 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3483 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3484 break;; 3485 * ) break;; 3486 esac 3487done 3488else 3489 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3490$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3491as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3492See \`config.log' for more details" "$LINENO" 5; } 3493fi 3494rm -f conftest conftest$ac_cv_exeext 3495{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3496$as_echo "$ac_cv_exeext" >&6; } 3497 3498rm -f conftest.$ac_ext 3499EXEEXT=$ac_cv_exeext 3500ac_exeext=$EXEEXT 3501cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3502/* end confdefs.h. */ 3503#include <stdio.h> 3504int 3505main () 3506{ 3507FILE *f = fopen ("conftest.out", "w"); 3508 return ferror (f) || fclose (f) != 0; 3509 3510 ; 3511 return 0; 3512} 3513_ACEOF 3514ac_clean_files="$ac_clean_files conftest.out" 3515# Check that the compiler produces executables we can run. If not, either 3516# the compiler is broken, or we cross compile. 3517{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3518$as_echo_n "checking whether we are cross compiling... " >&6; } 3519if test "$cross_compiling" != yes; then 3520 { { ac_try="$ac_link" 3521case "(($ac_try" in 3522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3523 *) ac_try_echo=$ac_try;; 3524esac 3525eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3526$as_echo "$ac_try_echo"; } >&5 3527 (eval "$ac_link") 2>&5 3528 ac_status=$? 3529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3530 test $ac_status = 0; } 3531 if { ac_try='./conftest$ac_cv_exeext' 3532 { { case "(($ac_try" in 3533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3534 *) ac_try_echo=$ac_try;; 3535esac 3536eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3537$as_echo "$ac_try_echo"; } >&5 3538 (eval "$ac_try") 2>&5 3539 ac_status=$? 3540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3541 test $ac_status = 0; }; }; then 3542 cross_compiling=no 3543 else 3544 if test "$cross_compiling" = maybe; then 3545 cross_compiling=yes 3546 else 3547 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3548$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3549as_fn_error $? "cannot run C compiled programs. 3550If you meant to cross compile, use \`--host'. 3551See \`config.log' for more details" "$LINENO" 5; } 3552 fi 3553 fi 3554fi 3555{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3556$as_echo "$cross_compiling" >&6; } 3557 3558rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3559ac_clean_files=$ac_clean_files_save 3560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3561$as_echo_n "checking for suffix of object files... " >&6; } 3562if ${ac_cv_objext+:} false; then : 3563 $as_echo_n "(cached) " >&6 3564else 3565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3566/* end confdefs.h. */ 3567 3568int 3569main () 3570{ 3571 3572 ; 3573 return 0; 3574} 3575_ACEOF 3576rm -f conftest.o conftest.obj 3577if { { ac_try="$ac_compile" 3578case "(($ac_try" in 3579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3580 *) ac_try_echo=$ac_try;; 3581esac 3582eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3583$as_echo "$ac_try_echo"; } >&5 3584 (eval "$ac_compile") 2>&5 3585 ac_status=$? 3586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3587 test $ac_status = 0; }; then : 3588 for ac_file in conftest.o conftest.obj conftest.*; do 3589 test -f "$ac_file" || continue; 3590 case $ac_file in 3591 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3592 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3593 break;; 3594 esac 3595done 3596else 3597 $as_echo "$as_me: failed program was:" >&5 3598sed 's/^/| /' conftest.$ac_ext >&5 3599 3600{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3601$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3602as_fn_error $? "cannot compute suffix of object files: cannot compile 3603See \`config.log' for more details" "$LINENO" 5; } 3604fi 3605rm -f conftest.$ac_cv_objext conftest.$ac_ext 3606fi 3607{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3608$as_echo "$ac_cv_objext" >&6; } 3609OBJEXT=$ac_cv_objext 3610ac_objext=$OBJEXT 3611{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3612$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3613if ${ac_cv_c_compiler_gnu+:} false; then : 3614 $as_echo_n "(cached) " >&6 3615else 3616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3617/* end confdefs.h. */ 3618 3619int 3620main () 3621{ 3622#ifndef __GNUC__ 3623 choke me 3624#endif 3625 3626 ; 3627 return 0; 3628} 3629_ACEOF 3630if ac_fn_c_try_compile "$LINENO"; then : 3631 ac_compiler_gnu=yes 3632else 3633 ac_compiler_gnu=no 3634fi 3635rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3636ac_cv_c_compiler_gnu=$ac_compiler_gnu 3637 3638fi 3639{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3640$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3641if test $ac_compiler_gnu = yes; then 3642 GCC=yes 3643else 3644 GCC= 3645fi 3646ac_test_CFLAGS=${CFLAGS+set} 3647ac_save_CFLAGS=$CFLAGS 3648{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3649$as_echo_n "checking whether $CC accepts -g... " >&6; } 3650if ${ac_cv_prog_cc_g+:} false; then : 3651 $as_echo_n "(cached) " >&6 3652else 3653 ac_save_c_werror_flag=$ac_c_werror_flag 3654 ac_c_werror_flag=yes 3655 ac_cv_prog_cc_g=no 3656 CFLAGS="-g" 3657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3658/* end confdefs.h. */ 3659 3660int 3661main () 3662{ 3663 3664 ; 3665 return 0; 3666} 3667_ACEOF 3668if ac_fn_c_try_compile "$LINENO"; then : 3669 ac_cv_prog_cc_g=yes 3670else 3671 CFLAGS="" 3672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3673/* end confdefs.h. */ 3674 3675int 3676main () 3677{ 3678 3679 ; 3680 return 0; 3681} 3682_ACEOF 3683if ac_fn_c_try_compile "$LINENO"; then : 3684 3685else 3686 ac_c_werror_flag=$ac_save_c_werror_flag 3687 CFLAGS="-g" 3688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3689/* end confdefs.h. */ 3690 3691int 3692main () 3693{ 3694 3695 ; 3696 return 0; 3697} 3698_ACEOF 3699if ac_fn_c_try_compile "$LINENO"; then : 3700 ac_cv_prog_cc_g=yes 3701fi 3702rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3703fi 3704rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3705fi 3706rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3707 ac_c_werror_flag=$ac_save_c_werror_flag 3708fi 3709{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3710$as_echo "$ac_cv_prog_cc_g" >&6; } 3711if test "$ac_test_CFLAGS" = set; then 3712 CFLAGS=$ac_save_CFLAGS 3713elif test $ac_cv_prog_cc_g = yes; then 3714 if test "$GCC" = yes; then 3715 CFLAGS="-g -O2" 3716 else 3717 CFLAGS="-g" 3718 fi 3719else 3720 if test "$GCC" = yes; then 3721 CFLAGS="-O2" 3722 else 3723 CFLAGS= 3724 fi 3725fi 3726{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3727$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3728if ${ac_cv_prog_cc_c89+:} false; then : 3729 $as_echo_n "(cached) " >&6 3730else 3731 ac_cv_prog_cc_c89=no 3732ac_save_CC=$CC 3733cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3734/* end confdefs.h. */ 3735#include <stdarg.h> 3736#include <stdio.h> 3737struct stat; 3738/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3739struct buf { int x; }; 3740FILE * (*rcsopen) (struct buf *, struct stat *, int); 3741static char *e (p, i) 3742 char **p; 3743 int i; 3744{ 3745 return p[i]; 3746} 3747static char *f (char * (*g) (char **, int), char **p, ...) 3748{ 3749 char *s; 3750 va_list v; 3751 va_start (v,p); 3752 s = g (p, va_arg (v,int)); 3753 va_end (v); 3754 return s; 3755} 3756 3757/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3758 function prototypes and stuff, but not '\xHH' hex character constants. 3759 These don't provoke an error unfortunately, instead are silently treated 3760 as 'x'. The following induces an error, until -std is added to get 3761 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3762 array size at least. It's necessary to write '\x00'==0 to get something 3763 that's true only with -std. */ 3764int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3765 3766/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3767 inside strings and character constants. */ 3768#define FOO(x) 'x' 3769int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3770 3771int test (int i, double x); 3772struct s1 {int (*f) (int a);}; 3773struct s2 {int (*f) (double a);}; 3774int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3775int argc; 3776char **argv; 3777int 3778main () 3779{ 3780return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3781 ; 3782 return 0; 3783} 3784_ACEOF 3785for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3786 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3787do 3788 CC="$ac_save_CC $ac_arg" 3789 if ac_fn_c_try_compile "$LINENO"; then : 3790 ac_cv_prog_cc_c89=$ac_arg 3791fi 3792rm -f core conftest.err conftest.$ac_objext 3793 test "x$ac_cv_prog_cc_c89" != "xno" && break 3794done 3795rm -f conftest.$ac_ext 3796CC=$ac_save_CC 3797 3798fi 3799# AC_CACHE_VAL 3800case "x$ac_cv_prog_cc_c89" in 3801 x) 3802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3803$as_echo "none needed" >&6; } ;; 3804 xno) 3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3806$as_echo "unsupported" >&6; } ;; 3807 *) 3808 CC="$CC $ac_cv_prog_cc_c89" 3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3810$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3811esac 3812if test "x$ac_cv_prog_cc_c89" != xno; then : 3813 3814fi 3815 3816ac_ext=c 3817ac_cpp='$CPP $CPPFLAGS' 3818ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3819ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3820ac_compiler_gnu=$ac_cv_c_compiler_gnu 3821 3822ac_ext=c 3823ac_cpp='$CPP $CPPFLAGS' 3824ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3825ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3826ac_compiler_gnu=$ac_cv_c_compiler_gnu 3827{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3828$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 3829if ${am_cv_prog_cc_c_o+:} false; then : 3830 $as_echo_n "(cached) " >&6 3831else 3832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3833/* end confdefs.h. */ 3834 3835int 3836main () 3837{ 3838 3839 ; 3840 return 0; 3841} 3842_ACEOF 3843 # Make sure it works both with $CC and with simple cc. 3844 # Following AC_PROG_CC_C_O, we do the test twice because some 3845 # compilers refuse to overwrite an existing .o file with -o, 3846 # though they will create one. 3847 am_cv_prog_cc_c_o=yes 3848 for am_i in 1 2; do 3849 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 3850 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 3851 ac_status=$? 3852 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3853 (exit $ac_status); } \ 3854 && test -f conftest2.$ac_objext; then 3855 : OK 3856 else 3857 am_cv_prog_cc_c_o=no 3858 break 3859 fi 3860 done 3861 rm -f core conftest* 3862 unset am_i 3863fi 3864{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3865$as_echo "$am_cv_prog_cc_c_o" >&6; } 3866if test "$am_cv_prog_cc_c_o" != yes; then 3867 # Losing compiler, so override with the script. 3868 # FIXME: It is wrong to rewrite CC. 3869 # But if we don't then we get into trouble of one sort or another. 3870 # A longer-term fix would be to have automake use am__CC in this case, 3871 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3872 CC="$am_aux_dir/compile $CC" 3873fi 3874ac_ext=c 3875ac_cpp='$CPP $CPPFLAGS' 3876ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3877ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3878ac_compiler_gnu=$ac_cv_c_compiler_gnu 3879 3880DEPDIR="${am__leading_dot}deps" 3881 3882ac_config_commands="$ac_config_commands depfiles" 3883 3884{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 3885$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } 3886cat > confinc.mk << 'END' 3887am__doit: 3888 @echo this is the am__doit target >confinc.out 3889.PHONY: am__doit 3890END 3891am__include="#" 3892am__quote= 3893# BSD make does it like this. 3894echo '.include "confinc.mk" # ignored' > confmf.BSD 3895# Other make implementations (GNU, Solaris 10, AIX) do it like this. 3896echo 'include confinc.mk # ignored' > confmf.GNU 3897_am_result=no 3898for s in GNU BSD; do 3899 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 3900 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 3901 ac_status=$? 3902 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3903 (exit $ac_status); } 3904 case $?:`cat confinc.out 2>/dev/null` in #( 3905 '0:this is the am__doit target') : 3906 case $s in #( 3907 BSD) : 3908 am__include='.include' am__quote='"' ;; #( 3909 *) : 3910 am__include='include' am__quote='' ;; 3911esac ;; #( 3912 *) : 3913 ;; 3914esac 3915 if test "$am__include" != "#"; then 3916 _am_result="yes ($s style)" 3917 break 3918 fi 3919done 3920rm -f confinc.* confmf.* 3921{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 3922$as_echo "${_am_result}" >&6; } 3923 3924# Check whether --enable-dependency-tracking was given. 3925if test "${enable_dependency_tracking+set}" = set; then : 3926 enableval=$enable_dependency_tracking; 3927fi 3928 3929if test "x$enable_dependency_tracking" != xno; then 3930 am_depcomp="$ac_aux_dir/depcomp" 3931 AMDEPBACKSLASH='\' 3932 am__nodep='_no' 3933fi 3934 if test "x$enable_dependency_tracking" != xno; then 3935 AMDEP_TRUE= 3936 AMDEP_FALSE='#' 3937else 3938 AMDEP_TRUE='#' 3939 AMDEP_FALSE= 3940fi 3941 3942 3943 3944depcc="$CC" am_compiler_list= 3945 3946{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3947$as_echo_n "checking dependency style of $depcc... " >&6; } 3948if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3949 $as_echo_n "(cached) " >&6 3950else 3951 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3952 # We make a subdir and do the tests there. Otherwise we can end up 3953 # making bogus files that we don't know about and never remove. For 3954 # instance it was reported that on HP-UX the gcc test will end up 3955 # making a dummy file named 'D' -- because '-MD' means "put the output 3956 # in D". 3957 rm -rf conftest.dir 3958 mkdir conftest.dir 3959 # Copy depcomp to subdir because otherwise we won't find it if we're 3960 # using a relative directory. 3961 cp "$am_depcomp" conftest.dir 3962 cd conftest.dir 3963 # We will build objects and dependencies in a subdirectory because 3964 # it helps to detect inapplicable dependency modes. For instance 3965 # both Tru64's cc and ICC support -MD to output dependencies as a 3966 # side effect of compilation, but ICC will put the dependencies in 3967 # the current directory while Tru64 will put them in the object 3968 # directory. 3969 mkdir sub 3970 3971 am_cv_CC_dependencies_compiler_type=none 3972 if test "$am_compiler_list" = ""; then 3973 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3974 fi 3975 am__universal=false 3976 case " $depcc " in #( 3977 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3978 esac 3979 3980 for depmode in $am_compiler_list; do 3981 # Setup a source with many dependencies, because some compilers 3982 # like to wrap large dependency lists on column 80 (with \), and 3983 # we should not choose a depcomp mode which is confused by this. 3984 # 3985 # We need to recreate these files for each test, as the compiler may 3986 # overwrite some of them when testing with obscure command lines. 3987 # This happens at least with the AIX C compiler. 3988 : > sub/conftest.c 3989 for i in 1 2 3 4 5 6; do 3990 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3991 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 3992 # Solaris 10 /bin/sh. 3993 echo '/* dummy */' > sub/conftst$i.h 3994 done 3995 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3996 3997 # We check with '-c' and '-o' for the sake of the "dashmstdout" 3998 # mode. It turns out that the SunPro C++ compiler does not properly 3999 # handle '-M -o', and we need to detect this. Also, some Intel 4000 # versions had trouble with output in subdirs. 4001 am__obj=sub/conftest.${OBJEXT-o} 4002 am__minus_obj="-o $am__obj" 4003 case $depmode in 4004 gcc) 4005 # This depmode causes a compiler race in universal mode. 4006 test "$am__universal" = false || continue 4007 ;; 4008 nosideeffect) 4009 # After this tag, mechanisms are not by side-effect, so they'll 4010 # only be used when explicitly requested. 4011 if test "x$enable_dependency_tracking" = xyes; then 4012 continue 4013 else 4014 break 4015 fi 4016 ;; 4017 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4018 # This compiler won't grok '-c -o', but also, the minuso test has 4019 # not run yet. These depmodes are late enough in the game, and 4020 # so weak that their functioning should not be impacted. 4021 am__obj=conftest.${OBJEXT-o} 4022 am__minus_obj= 4023 ;; 4024 none) break ;; 4025 esac 4026 if depmode=$depmode \ 4027 source=sub/conftest.c object=$am__obj \ 4028 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4029 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4030 >/dev/null 2>conftest.err && 4031 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4032 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4033 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4034 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4035 # icc doesn't choke on unknown options, it will just issue warnings 4036 # or remarks (even with -Werror). So we grep stderr for any message 4037 # that says an option was ignored or not supported. 4038 # When given -MP, icc 7.0 and 7.1 complain thusly: 4039 # icc: Command line warning: ignoring option '-M'; no argument required 4040 # The diagnosis changed in icc 8.0: 4041 # icc: Command line remark: option '-MP' not supported 4042 if (grep 'ignoring option' conftest.err || 4043 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4044 am_cv_CC_dependencies_compiler_type=$depmode 4045 break 4046 fi 4047 fi 4048 done 4049 4050 cd .. 4051 rm -rf conftest.dir 4052else 4053 am_cv_CC_dependencies_compiler_type=none 4054fi 4055 4056fi 4057{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4058$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4059CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4060 4061 if 4062 test "x$enable_dependency_tracking" != xno \ 4063 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4064 am__fastdepCC_TRUE= 4065 am__fastdepCC_FALSE='#' 4066else 4067 am__fastdepCC_TRUE='#' 4068 am__fastdepCC_FALSE= 4069fi 4070 4071 4072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 4073$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 4074if ${ac_cv_prog_cc_c99+:} false; then : 4075 $as_echo_n "(cached) " >&6 4076else 4077 ac_cv_prog_cc_c99=no 4078ac_save_CC=$CC 4079cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4080/* end confdefs.h. */ 4081#include <stdarg.h> 4082#include <stdbool.h> 4083#include <stdlib.h> 4084#include <wchar.h> 4085#include <stdio.h> 4086 4087// Check varargs macros. These examples are taken from C99 6.10.3.5. 4088#define debug(...) fprintf (stderr, __VA_ARGS__) 4089#define showlist(...) puts (#__VA_ARGS__) 4090#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 4091static void 4092test_varargs_macros (void) 4093{ 4094 int x = 1234; 4095 int y = 5678; 4096 debug ("Flag"); 4097 debug ("X = %d\n", x); 4098 showlist (The first, second, and third items.); 4099 report (x>y, "x is %d but y is %d", x, y); 4100} 4101 4102// Check long long types. 4103#define BIG64 18446744073709551615ull 4104#define BIG32 4294967295ul 4105#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 4106#if !BIG_OK 4107 your preprocessor is broken; 4108#endif 4109#if BIG_OK 4110#else 4111 your preprocessor is broken; 4112#endif 4113static long long int bignum = -9223372036854775807LL; 4114static unsigned long long int ubignum = BIG64; 4115 4116struct incomplete_array 4117{ 4118 int datasize; 4119 double data[]; 4120}; 4121 4122struct named_init { 4123 int number; 4124 const wchar_t *name; 4125 double average; 4126}; 4127 4128typedef const char *ccp; 4129 4130static inline int 4131test_restrict (ccp restrict text) 4132{ 4133 // See if C++-style comments work. 4134 // Iterate through items via the restricted pointer. 4135 // Also check for declarations in for loops. 4136 for (unsigned int i = 0; *(text+i) != '\0'; ++i) 4137 continue; 4138 return 0; 4139} 4140 4141// Check varargs and va_copy. 4142static void 4143test_varargs (const char *format, ...) 4144{ 4145 va_list args; 4146 va_start (args, format); 4147 va_list args_copy; 4148 va_copy (args_copy, args); 4149 4150 const char *str; 4151 int number; 4152 float fnumber; 4153 4154 while (*format) 4155 { 4156 switch (*format++) 4157 { 4158 case 's': // string 4159 str = va_arg (args_copy, const char *); 4160 break; 4161 case 'd': // int 4162 number = va_arg (args_copy, int); 4163 break; 4164 case 'f': // float 4165 fnumber = va_arg (args_copy, double); 4166 break; 4167 default: 4168 break; 4169 } 4170 } 4171 va_end (args_copy); 4172 va_end (args); 4173} 4174 4175int 4176main () 4177{ 4178 4179 // Check bool. 4180 _Bool success = false; 4181 4182 // Check restrict. 4183 if (test_restrict ("String literal") == 0) 4184 success = true; 4185 char *restrict newvar = "Another string"; 4186 4187 // Check varargs. 4188 test_varargs ("s, d' f .", "string", 65, 34.234); 4189 test_varargs_macros (); 4190 4191 // Check flexible array members. 4192 struct incomplete_array *ia = 4193 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 4194 ia->datasize = 10; 4195 for (int i = 0; i < ia->datasize; ++i) 4196 ia->data[i] = i * 1.234; 4197 4198 // Check named initializers. 4199 struct named_init ni = { 4200 .number = 34, 4201 .name = L"Test wide string", 4202 .average = 543.34343, 4203 }; 4204 4205 ni.number = 58; 4206 4207 int dynamic_array[ni.number]; 4208 dynamic_array[ni.number - 1] = 543; 4209 4210 // work around unused variable warnings 4211 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 4212 || dynamic_array[ni.number - 1] != 543); 4213 4214 ; 4215 return 0; 4216} 4217_ACEOF 4218for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 4219do 4220 CC="$ac_save_CC $ac_arg" 4221 if ac_fn_c_try_compile "$LINENO"; then : 4222 ac_cv_prog_cc_c99=$ac_arg 4223fi 4224rm -f core conftest.err conftest.$ac_objext 4225 test "x$ac_cv_prog_cc_c99" != "xno" && break 4226done 4227rm -f conftest.$ac_ext 4228CC=$ac_save_CC 4229 4230fi 4231# AC_CACHE_VAL 4232case "x$ac_cv_prog_cc_c99" in 4233 x) 4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4235$as_echo "none needed" >&6; } ;; 4236 xno) 4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4238$as_echo "unsupported" >&6; } ;; 4239 *) 4240 CC="$CC $ac_cv_prog_cc_c99" 4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 4242$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 4243esac 4244if test "x$ac_cv_prog_cc_c99" != xno; then : 4245 4246fi 4247 4248 4249 4250{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4251$as_echo_n "checking whether ln -s works... " >&6; } 4252LN_S=$as_ln_s 4253if test "$LN_S" = "ln -s"; then 4254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4255$as_echo "yes" >&6; } 4256else 4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4258$as_echo "no, using $LN_S" >&6; } 4259fi 4260 4261case `pwd` in 4262 *\ * | *\ *) 4263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4264$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4265esac 4266 4267 4268 4269macro_version='2.4.6' 4270macro_revision='2.4.6' 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284ltmain=$ac_aux_dir/ltmain.sh 4285 4286# Make sure we can run config.sub. 4287$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4288 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4289 4290{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4291$as_echo_n "checking build system type... " >&6; } 4292if ${ac_cv_build+:} false; then : 4293 $as_echo_n "(cached) " >&6 4294else 4295 ac_build_alias=$build_alias 4296test "x$ac_build_alias" = x && 4297 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4298test "x$ac_build_alias" = x && 4299 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4300ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4301 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4302 4303fi 4304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4305$as_echo "$ac_cv_build" >&6; } 4306case $ac_cv_build in 4307*-*-*) ;; 4308*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4309esac 4310build=$ac_cv_build 4311ac_save_IFS=$IFS; IFS='-' 4312set x $ac_cv_build 4313shift 4314build_cpu=$1 4315build_vendor=$2 4316shift; shift 4317# Remember, the first character of IFS is used to create $*, 4318# except with old shells: 4319build_os=$* 4320IFS=$ac_save_IFS 4321case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4322 4323 4324{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4325$as_echo_n "checking host system type... " >&6; } 4326if ${ac_cv_host+:} false; then : 4327 $as_echo_n "(cached) " >&6 4328else 4329 if test "x$host_alias" = x; then 4330 ac_cv_host=$ac_cv_build 4331else 4332 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4333 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4334fi 4335 4336fi 4337{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4338$as_echo "$ac_cv_host" >&6; } 4339case $ac_cv_host in 4340*-*-*) ;; 4341*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4342esac 4343host=$ac_cv_host 4344ac_save_IFS=$IFS; IFS='-' 4345set x $ac_cv_host 4346shift 4347host_cpu=$1 4348host_vendor=$2 4349shift; shift 4350# Remember, the first character of IFS is used to create $*, 4351# except with old shells: 4352host_os=$* 4353IFS=$ac_save_IFS 4354case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4355 4356 4357# Backslashify metacharacters that are still active within 4358# double-quoted strings. 4359sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 4360 4361# Same as above, but do not quote variable references. 4362double_quote_subst='s/\(["`\\]\)/\\\1/g' 4363 4364# Sed substitution to delay expansion of an escaped shell variable in a 4365# double_quote_subst'ed string. 4366delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 4367 4368# Sed substitution to delay expansion of an escaped single quote. 4369delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 4370 4371# Sed substitution to avoid accidental globbing in evaled expressions 4372no_glob_subst='s/\*/\\\*/g' 4373 4374ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4375ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 4376ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 4377 4378{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 4379$as_echo_n "checking how to print strings... " >&6; } 4380# Test print first, because it will be a builtin if present. 4381if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 4382 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 4383 ECHO='print -r --' 4384elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 4385 ECHO='printf %s\n' 4386else 4387 # Use this function as a fallback that always works. 4388 func_fallback_echo () 4389 { 4390 eval 'cat <<_LTECHO_EOF 4391$1 4392_LTECHO_EOF' 4393 } 4394 ECHO='func_fallback_echo' 4395fi 4396 4397# func_echo_all arg... 4398# Invoke $ECHO with all args, space-separated. 4399func_echo_all () 4400{ 4401 $ECHO "" 4402} 4403 4404case $ECHO in 4405 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 4406$as_echo "printf" >&6; } ;; 4407 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 4408$as_echo "print -r" >&6; } ;; 4409 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 4410$as_echo "cat" >&6; } ;; 4411esac 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4427$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4428if ${ac_cv_path_SED+:} false; then : 4429 $as_echo_n "(cached) " >&6 4430else 4431 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4432 for ac_i in 1 2 3 4 5 6 7; do 4433 ac_script="$ac_script$as_nl$ac_script" 4434 done 4435 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4436 { ac_script=; unset ac_script;} 4437 if test -z "$SED"; then 4438 ac_path_SED_found=false 4439 # Loop through the user's path and test for each of PROGNAME-LIST 4440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4441for as_dir in $PATH 4442do 4443 IFS=$as_save_IFS 4444 test -z "$as_dir" && as_dir=. 4445 for ac_prog in sed gsed; do 4446 for ac_exec_ext in '' $ac_executable_extensions; do 4447 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4448 as_fn_executable_p "$ac_path_SED" || continue 4449# Check for GNU ac_path_SED and select it if it is found. 4450 # Check for GNU $ac_path_SED 4451case `"$ac_path_SED" --version 2>&1` in 4452*GNU*) 4453 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4454*) 4455 ac_count=0 4456 $as_echo_n 0123456789 >"conftest.in" 4457 while : 4458 do 4459 cat "conftest.in" "conftest.in" >"conftest.tmp" 4460 mv "conftest.tmp" "conftest.in" 4461 cp "conftest.in" "conftest.nl" 4462 $as_echo '' >> "conftest.nl" 4463 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4464 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4465 as_fn_arith $ac_count + 1 && ac_count=$as_val 4466 if test $ac_count -gt ${ac_path_SED_max-0}; then 4467 # Best one so far, save it but keep looking for a better one 4468 ac_cv_path_SED="$ac_path_SED" 4469 ac_path_SED_max=$ac_count 4470 fi 4471 # 10*(2^10) chars as input seems more than enough 4472 test $ac_count -gt 10 && break 4473 done 4474 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4475esac 4476 4477 $ac_path_SED_found && break 3 4478 done 4479 done 4480 done 4481IFS=$as_save_IFS 4482 if test -z "$ac_cv_path_SED"; then 4483 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4484 fi 4485else 4486 ac_cv_path_SED=$SED 4487fi 4488 4489fi 4490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4491$as_echo "$ac_cv_path_SED" >&6; } 4492 SED="$ac_cv_path_SED" 4493 rm -f conftest.sed 4494 4495test -z "$SED" && SED=sed 4496Xsed="$SED -e 1s/^X//" 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4509$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4510if ${ac_cv_path_GREP+:} false; then : 4511 $as_echo_n "(cached) " >&6 4512else 4513 if test -z "$GREP"; then 4514 ac_path_GREP_found=false 4515 # Loop through the user's path and test for each of PROGNAME-LIST 4516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4517for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4518do 4519 IFS=$as_save_IFS 4520 test -z "$as_dir" && as_dir=. 4521 for ac_prog in grep ggrep; do 4522 for ac_exec_ext in '' $ac_executable_extensions; do 4523 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4524 as_fn_executable_p "$ac_path_GREP" || continue 4525# Check for GNU ac_path_GREP and select it if it is found. 4526 # Check for GNU $ac_path_GREP 4527case `"$ac_path_GREP" --version 2>&1` in 4528*GNU*) 4529 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4530*) 4531 ac_count=0 4532 $as_echo_n 0123456789 >"conftest.in" 4533 while : 4534 do 4535 cat "conftest.in" "conftest.in" >"conftest.tmp" 4536 mv "conftest.tmp" "conftest.in" 4537 cp "conftest.in" "conftest.nl" 4538 $as_echo 'GREP' >> "conftest.nl" 4539 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4540 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4541 as_fn_arith $ac_count + 1 && ac_count=$as_val 4542 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4543 # Best one so far, save it but keep looking for a better one 4544 ac_cv_path_GREP="$ac_path_GREP" 4545 ac_path_GREP_max=$ac_count 4546 fi 4547 # 10*(2^10) chars as input seems more than enough 4548 test $ac_count -gt 10 && break 4549 done 4550 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4551esac 4552 4553 $ac_path_GREP_found && break 3 4554 done 4555 done 4556 done 4557IFS=$as_save_IFS 4558 if test -z "$ac_cv_path_GREP"; then 4559 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4560 fi 4561else 4562 ac_cv_path_GREP=$GREP 4563fi 4564 4565fi 4566{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4567$as_echo "$ac_cv_path_GREP" >&6; } 4568 GREP="$ac_cv_path_GREP" 4569 4570 4571{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4572$as_echo_n "checking for egrep... " >&6; } 4573if ${ac_cv_path_EGREP+:} false; then : 4574 $as_echo_n "(cached) " >&6 4575else 4576 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4577 then ac_cv_path_EGREP="$GREP -E" 4578 else 4579 if test -z "$EGREP"; then 4580 ac_path_EGREP_found=false 4581 # Loop through the user's path and test for each of PROGNAME-LIST 4582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4583for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4584do 4585 IFS=$as_save_IFS 4586 test -z "$as_dir" && as_dir=. 4587 for ac_prog in egrep; do 4588 for ac_exec_ext in '' $ac_executable_extensions; do 4589 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4590 as_fn_executable_p "$ac_path_EGREP" || continue 4591# Check for GNU ac_path_EGREP and select it if it is found. 4592 # Check for GNU $ac_path_EGREP 4593case `"$ac_path_EGREP" --version 2>&1` in 4594*GNU*) 4595 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4596*) 4597 ac_count=0 4598 $as_echo_n 0123456789 >"conftest.in" 4599 while : 4600 do 4601 cat "conftest.in" "conftest.in" >"conftest.tmp" 4602 mv "conftest.tmp" "conftest.in" 4603 cp "conftest.in" "conftest.nl" 4604 $as_echo 'EGREP' >> "conftest.nl" 4605 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4606 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4607 as_fn_arith $ac_count + 1 && ac_count=$as_val 4608 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4609 # Best one so far, save it but keep looking for a better one 4610 ac_cv_path_EGREP="$ac_path_EGREP" 4611 ac_path_EGREP_max=$ac_count 4612 fi 4613 # 10*(2^10) chars as input seems more than enough 4614 test $ac_count -gt 10 && break 4615 done 4616 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4617esac 4618 4619 $ac_path_EGREP_found && break 3 4620 done 4621 done 4622 done 4623IFS=$as_save_IFS 4624 if test -z "$ac_cv_path_EGREP"; then 4625 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4626 fi 4627else 4628 ac_cv_path_EGREP=$EGREP 4629fi 4630 4631 fi 4632fi 4633{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4634$as_echo "$ac_cv_path_EGREP" >&6; } 4635 EGREP="$ac_cv_path_EGREP" 4636 4637 4638{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4639$as_echo_n "checking for fgrep... " >&6; } 4640if ${ac_cv_path_FGREP+:} false; then : 4641 $as_echo_n "(cached) " >&6 4642else 4643 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4644 then ac_cv_path_FGREP="$GREP -F" 4645 else 4646 if test -z "$FGREP"; then 4647 ac_path_FGREP_found=false 4648 # Loop through the user's path and test for each of PROGNAME-LIST 4649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4650for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4651do 4652 IFS=$as_save_IFS 4653 test -z "$as_dir" && as_dir=. 4654 for ac_prog in fgrep; do 4655 for ac_exec_ext in '' $ac_executable_extensions; do 4656 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4657 as_fn_executable_p "$ac_path_FGREP" || continue 4658# Check for GNU ac_path_FGREP and select it if it is found. 4659 # Check for GNU $ac_path_FGREP 4660case `"$ac_path_FGREP" --version 2>&1` in 4661*GNU*) 4662 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4663*) 4664 ac_count=0 4665 $as_echo_n 0123456789 >"conftest.in" 4666 while : 4667 do 4668 cat "conftest.in" "conftest.in" >"conftest.tmp" 4669 mv "conftest.tmp" "conftest.in" 4670 cp "conftest.in" "conftest.nl" 4671 $as_echo 'FGREP' >> "conftest.nl" 4672 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4673 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4674 as_fn_arith $ac_count + 1 && ac_count=$as_val 4675 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4676 # Best one so far, save it but keep looking for a better one 4677 ac_cv_path_FGREP="$ac_path_FGREP" 4678 ac_path_FGREP_max=$ac_count 4679 fi 4680 # 10*(2^10) chars as input seems more than enough 4681 test $ac_count -gt 10 && break 4682 done 4683 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4684esac 4685 4686 $ac_path_FGREP_found && break 3 4687 done 4688 done 4689 done 4690IFS=$as_save_IFS 4691 if test -z "$ac_cv_path_FGREP"; then 4692 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4693 fi 4694else 4695 ac_cv_path_FGREP=$FGREP 4696fi 4697 4698 fi 4699fi 4700{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4701$as_echo "$ac_cv_path_FGREP" >&6; } 4702 FGREP="$ac_cv_path_FGREP" 4703 4704 4705test -z "$GREP" && GREP=grep 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725# Check whether --with-gnu-ld was given. 4726if test "${with_gnu_ld+set}" = set; then : 4727 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 4728else 4729 with_gnu_ld=no 4730fi 4731 4732ac_prog=ld 4733if test yes = "$GCC"; then 4734 # Check if gcc -print-prog-name=ld gives a path. 4735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4736$as_echo_n "checking for ld used by $CC... " >&6; } 4737 case $host in 4738 *-*-mingw*) 4739 # gcc leaves a trailing carriage return, which upsets mingw 4740 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4741 *) 4742 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4743 esac 4744 case $ac_prog in 4745 # Accept absolute paths. 4746 [\\/]* | ?:[\\/]*) 4747 re_direlt='/[^/][^/]*/\.\./' 4748 # Canonicalize the pathname of ld 4749 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4750 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4751 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4752 done 4753 test -z "$LD" && LD=$ac_prog 4754 ;; 4755 "") 4756 # If it fails, then pretend we aren't using GCC. 4757 ac_prog=ld 4758 ;; 4759 *) 4760 # If it is relative, then search for the first ld in PATH. 4761 with_gnu_ld=unknown 4762 ;; 4763 esac 4764elif test yes = "$with_gnu_ld"; then 4765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4766$as_echo_n "checking for GNU ld... " >&6; } 4767else 4768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4769$as_echo_n "checking for non-GNU ld... " >&6; } 4770fi 4771if ${lt_cv_path_LD+:} false; then : 4772 $as_echo_n "(cached) " >&6 4773else 4774 if test -z "$LD"; then 4775 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4776 for ac_dir in $PATH; do 4777 IFS=$lt_save_ifs 4778 test -z "$ac_dir" && ac_dir=. 4779 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4780 lt_cv_path_LD=$ac_dir/$ac_prog 4781 # Check to see if the program is GNU ld. I'd rather use --version, 4782 # but apparently some variants of GNU ld only accept -v. 4783 # Break only if it was the GNU/non-GNU ld that we prefer. 4784 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4785 *GNU* | *'with BFD'*) 4786 test no != "$with_gnu_ld" && break 4787 ;; 4788 *) 4789 test yes != "$with_gnu_ld" && break 4790 ;; 4791 esac 4792 fi 4793 done 4794 IFS=$lt_save_ifs 4795else 4796 lt_cv_path_LD=$LD # Let the user override the test with a path. 4797fi 4798fi 4799 4800LD=$lt_cv_path_LD 4801if test -n "$LD"; then 4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4803$as_echo "$LD" >&6; } 4804else 4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4806$as_echo "no" >&6; } 4807fi 4808test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4809{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4810$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4811if ${lt_cv_prog_gnu_ld+:} false; then : 4812 $as_echo_n "(cached) " >&6 4813else 4814 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4815case `$LD -v 2>&1 </dev/null` in 4816*GNU* | *'with BFD'*) 4817 lt_cv_prog_gnu_ld=yes 4818 ;; 4819*) 4820 lt_cv_prog_gnu_ld=no 4821 ;; 4822esac 4823fi 4824{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4825$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4826with_gnu_ld=$lt_cv_prog_gnu_ld 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4837$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4838if ${lt_cv_path_NM+:} false; then : 4839 $as_echo_n "(cached) " >&6 4840else 4841 if test -n "$NM"; then 4842 # Let the user override the test. 4843 lt_cv_path_NM=$NM 4844else 4845 lt_nm_to_check=${ac_tool_prefix}nm 4846 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4847 lt_nm_to_check="$lt_nm_to_check nm" 4848 fi 4849 for lt_tmp_nm in $lt_nm_to_check; do 4850 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4851 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4852 IFS=$lt_save_ifs 4853 test -z "$ac_dir" && ac_dir=. 4854 tmp_nm=$ac_dir/$lt_tmp_nm 4855 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 4856 # Check to see if the nm accepts a BSD-compat flag. 4857 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 4858 # nm: unknown option "B" ignored 4859 # Tru64's nm complains that /dev/null is an invalid object file 4860 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 4861 case $build_os in 4862 mingw*) lt_bad_file=conftest.nm/nofile ;; 4863 *) lt_bad_file=/dev/null ;; 4864 esac 4865 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 4866 *$lt_bad_file* | *'Invalid file or object type'*) 4867 lt_cv_path_NM="$tmp_nm -B" 4868 break 2 4869 ;; 4870 *) 4871 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4872 */dev/null*) 4873 lt_cv_path_NM="$tmp_nm -p" 4874 break 2 4875 ;; 4876 *) 4877 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4878 continue # so that we can try to find one that supports BSD flags 4879 ;; 4880 esac 4881 ;; 4882 esac 4883 fi 4884 done 4885 IFS=$lt_save_ifs 4886 done 4887 : ${lt_cv_path_NM=no} 4888fi 4889fi 4890{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4891$as_echo "$lt_cv_path_NM" >&6; } 4892if test no != "$lt_cv_path_NM"; then 4893 NM=$lt_cv_path_NM 4894else 4895 # Didn't find any BSD compatible name lister, look for dumpbin. 4896 if test -n "$DUMPBIN"; then : 4897 # Let the user override the test. 4898 else 4899 if test -n "$ac_tool_prefix"; then 4900 for ac_prog in dumpbin "link -dump" 4901 do 4902 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4903set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4904{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4905$as_echo_n "checking for $ac_word... " >&6; } 4906if ${ac_cv_prog_DUMPBIN+:} false; then : 4907 $as_echo_n "(cached) " >&6 4908else 4909 if test -n "$DUMPBIN"; then 4910 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4911else 4912as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4913for as_dir in $PATH 4914do 4915 IFS=$as_save_IFS 4916 test -z "$as_dir" && as_dir=. 4917 for ac_exec_ext in '' $ac_executable_extensions; do 4918 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4919 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4921 break 2 4922 fi 4923done 4924 done 4925IFS=$as_save_IFS 4926 4927fi 4928fi 4929DUMPBIN=$ac_cv_prog_DUMPBIN 4930if test -n "$DUMPBIN"; then 4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 4932$as_echo "$DUMPBIN" >&6; } 4933else 4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4935$as_echo "no" >&6; } 4936fi 4937 4938 4939 test -n "$DUMPBIN" && break 4940 done 4941fi 4942if test -z "$DUMPBIN"; then 4943 ac_ct_DUMPBIN=$DUMPBIN 4944 for ac_prog in dumpbin "link -dump" 4945do 4946 # Extract the first word of "$ac_prog", so it can be a program name with args. 4947set dummy $ac_prog; ac_word=$2 4948{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4949$as_echo_n "checking for $ac_word... " >&6; } 4950if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 4951 $as_echo_n "(cached) " >&6 4952else 4953 if test -n "$ac_ct_DUMPBIN"; then 4954 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4955else 4956as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4957for as_dir in $PATH 4958do 4959 IFS=$as_save_IFS 4960 test -z "$as_dir" && as_dir=. 4961 for ac_exec_ext in '' $ac_executable_extensions; do 4962 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4963 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4965 break 2 4966 fi 4967done 4968 done 4969IFS=$as_save_IFS 4970 4971fi 4972fi 4973ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4974if test -n "$ac_ct_DUMPBIN"; then 4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 4976$as_echo "$ac_ct_DUMPBIN" >&6; } 4977else 4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4979$as_echo "no" >&6; } 4980fi 4981 4982 4983 test -n "$ac_ct_DUMPBIN" && break 4984done 4985 4986 if test "x$ac_ct_DUMPBIN" = x; then 4987 DUMPBIN=":" 4988 else 4989 case $cross_compiling:$ac_tool_warned in 4990yes:) 4991{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4992$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4993ac_tool_warned=yes ;; 4994esac 4995 DUMPBIN=$ac_ct_DUMPBIN 4996 fi 4997fi 4998 4999 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 5000 *COFF*) 5001 DUMPBIN="$DUMPBIN -symbols -headers" 5002 ;; 5003 *) 5004 DUMPBIN=: 5005 ;; 5006 esac 5007 fi 5008 5009 if test : != "$DUMPBIN"; then 5010 NM=$DUMPBIN 5011 fi 5012fi 5013test -z "$NM" && NM=nm 5014 5015 5016 5017 5018 5019 5020{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5021$as_echo_n "checking the name lister ($NM) interface... " >&6; } 5022if ${lt_cv_nm_interface+:} false; then : 5023 $as_echo_n "(cached) " >&6 5024else 5025 lt_cv_nm_interface="BSD nm" 5026 echo "int some_variable = 0;" > conftest.$ac_ext 5027 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 5028 (eval "$ac_compile" 2>conftest.err) 5029 cat conftest.err >&5 5030 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5031 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5032 cat conftest.err >&5 5033 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 5034 cat conftest.out >&5 5035 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5036 lt_cv_nm_interface="MS dumpbin" 5037 fi 5038 rm -f conftest* 5039fi 5040{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5041$as_echo "$lt_cv_nm_interface" >&6; } 5042 5043# find the maximum length of command line arguments 5044{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5045$as_echo_n "checking the maximum length of command line arguments... " >&6; } 5046if ${lt_cv_sys_max_cmd_len+:} false; then : 5047 $as_echo_n "(cached) " >&6 5048else 5049 i=0 5050 teststring=ABCD 5051 5052 case $build_os in 5053 msdosdjgpp*) 5054 # On DJGPP, this test can blow up pretty badly due to problems in libc 5055 # (any single argument exceeding 2000 bytes causes a buffer overrun 5056 # during glob expansion). Even if it were fixed, the result of this 5057 # check would be larger than it should be. 5058 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5059 ;; 5060 5061 gnu*) 5062 # Under GNU Hurd, this test is not required because there is 5063 # no limit to the length of command line arguments. 5064 # Libtool will interpret -1 as no limit whatsoever 5065 lt_cv_sys_max_cmd_len=-1; 5066 ;; 5067 5068 cygwin* | mingw* | cegcc*) 5069 # On Win9x/ME, this test blows up -- it succeeds, but takes 5070 # about 5 minutes as the teststring grows exponentially. 5071 # Worse, since 9x/ME are not pre-emptively multitasking, 5072 # you end up with a "frozen" computer, even though with patience 5073 # the test eventually succeeds (with a max line length of 256k). 5074 # Instead, let's just punt: use the minimum linelength reported by 5075 # all of the supported platforms: 8192 (on NT/2K/XP). 5076 lt_cv_sys_max_cmd_len=8192; 5077 ;; 5078 5079 mint*) 5080 # On MiNT this can take a long time and run out of memory. 5081 lt_cv_sys_max_cmd_len=8192; 5082 ;; 5083 5084 amigaos*) 5085 # On AmigaOS with pdksh, this test takes hours, literally. 5086 # So we just punt and use a minimum line length of 8192. 5087 lt_cv_sys_max_cmd_len=8192; 5088 ;; 5089 5090 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 5091 # This has been around since 386BSD, at least. Likely further. 5092 if test -x /sbin/sysctl; then 5093 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5094 elif test -x /usr/sbin/sysctl; then 5095 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5096 else 5097 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5098 fi 5099 # And add a safety zone 5100 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5101 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5102 ;; 5103 5104 interix*) 5105 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5106 lt_cv_sys_max_cmd_len=196608 5107 ;; 5108 5109 os2*) 5110 # The test takes a long time on OS/2. 5111 lt_cv_sys_max_cmd_len=8192 5112 ;; 5113 5114 osf*) 5115 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5116 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5117 # nice to cause kernel panics so lets avoid the loop below. 5118 # First set a reasonable default. 5119 lt_cv_sys_max_cmd_len=16384 5120 # 5121 if test -x /sbin/sysconfig; then 5122 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5123 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5124 esac 5125 fi 5126 ;; 5127 sco3.2v5*) 5128 lt_cv_sys_max_cmd_len=102400 5129 ;; 5130 sysv5* | sco5v6* | sysv4.2uw2*) 5131 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5132 if test -n "$kargmax"; then 5133 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5134 else 5135 lt_cv_sys_max_cmd_len=32768 5136 fi 5137 ;; 5138 *) 5139 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5140 if test -n "$lt_cv_sys_max_cmd_len" && \ 5141 test undefined != "$lt_cv_sys_max_cmd_len"; then 5142 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5143 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5144 else 5145 # Make teststring a little bigger before we do anything with it. 5146 # a 1K string should be a reasonable start. 5147 for i in 1 2 3 4 5 6 7 8; do 5148 teststring=$teststring$teststring 5149 done 5150 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5151 # If test is not a shell built-in, we'll probably end up computing a 5152 # maximum length that is only half of the actual maximum length, but 5153 # we can't tell. 5154 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 5155 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5156 test 17 != "$i" # 1/2 MB should be enough 5157 do 5158 i=`expr $i + 1` 5159 teststring=$teststring$teststring 5160 done 5161 # Only check the string length outside the loop. 5162 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5163 teststring= 5164 # Add a significant safety factor because C++ compilers can tack on 5165 # massive amounts of additional arguments before passing them to the 5166 # linker. It appears as though 1/2 is a usable value. 5167 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5168 fi 5169 ;; 5170 esac 5171 5172fi 5173 5174if test -n "$lt_cv_sys_max_cmd_len"; then 5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5176$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5177else 5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5179$as_echo "none" >&6; } 5180fi 5181max_cmd_len=$lt_cv_sys_max_cmd_len 5182 5183 5184 5185 5186 5187 5188: ${CP="cp -f"} 5189: ${MV="mv -f"} 5190: ${RM="rm -f"} 5191 5192if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5193 lt_unset=unset 5194else 5195 lt_unset=false 5196fi 5197 5198 5199 5200 5201 5202# test EBCDIC or ASCII 5203case `echo X|tr X '\101'` in 5204 A) # ASCII based system 5205 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5206 lt_SP2NL='tr \040 \012' 5207 lt_NL2SP='tr \015\012 \040\040' 5208 ;; 5209 *) # EBCDIC based system 5210 lt_SP2NL='tr \100 \n' 5211 lt_NL2SP='tr \r\n \100\100' 5212 ;; 5213esac 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5224$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5225if ${lt_cv_to_host_file_cmd+:} false; then : 5226 $as_echo_n "(cached) " >&6 5227else 5228 case $host in 5229 *-*-mingw* ) 5230 case $build in 5231 *-*-mingw* ) # actually msys 5232 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5233 ;; 5234 *-*-cygwin* ) 5235 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5236 ;; 5237 * ) # otherwise, assume *nix 5238 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5239 ;; 5240 esac 5241 ;; 5242 *-*-cygwin* ) 5243 case $build in 5244 *-*-mingw* ) # actually msys 5245 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5246 ;; 5247 *-*-cygwin* ) 5248 lt_cv_to_host_file_cmd=func_convert_file_noop 5249 ;; 5250 * ) # otherwise, assume *nix 5251 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5252 ;; 5253 esac 5254 ;; 5255 * ) # unhandled hosts (and "normal" native builds) 5256 lt_cv_to_host_file_cmd=func_convert_file_noop 5257 ;; 5258esac 5259 5260fi 5261 5262to_host_file_cmd=$lt_cv_to_host_file_cmd 5263{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5264$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5265 5266 5267 5268 5269 5270{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5271$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5272if ${lt_cv_to_tool_file_cmd+:} false; then : 5273 $as_echo_n "(cached) " >&6 5274else 5275 #assume ordinary cross tools, or native build. 5276lt_cv_to_tool_file_cmd=func_convert_file_noop 5277case $host in 5278 *-*-mingw* ) 5279 case $build in 5280 *-*-mingw* ) # actually msys 5281 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5282 ;; 5283 esac 5284 ;; 5285esac 5286 5287fi 5288 5289to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5290{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5291$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5292 5293 5294 5295 5296 5297{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5298$as_echo_n "checking for $LD option to reload object files... " >&6; } 5299if ${lt_cv_ld_reload_flag+:} false; then : 5300 $as_echo_n "(cached) " >&6 5301else 5302 lt_cv_ld_reload_flag='-r' 5303fi 5304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5305$as_echo "$lt_cv_ld_reload_flag" >&6; } 5306reload_flag=$lt_cv_ld_reload_flag 5307case $reload_flag in 5308"" | " "*) ;; 5309*) reload_flag=" $reload_flag" ;; 5310esac 5311reload_cmds='$LD$reload_flag -o $output$reload_objs' 5312case $host_os in 5313 cygwin* | mingw* | pw32* | cegcc*) 5314 if test yes != "$GCC"; then 5315 reload_cmds=false 5316 fi 5317 ;; 5318 darwin*) 5319 if test yes = "$GCC"; then 5320 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 5321 else 5322 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5323 fi 5324 ;; 5325esac 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335if test -n "$ac_tool_prefix"; then 5336 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5337set dummy ${ac_tool_prefix}objdump; ac_word=$2 5338{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5339$as_echo_n "checking for $ac_word... " >&6; } 5340if ${ac_cv_prog_OBJDUMP+:} false; then : 5341 $as_echo_n "(cached) " >&6 5342else 5343 if test -n "$OBJDUMP"; then 5344 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5345else 5346as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5347for as_dir in $PATH 5348do 5349 IFS=$as_save_IFS 5350 test -z "$as_dir" && as_dir=. 5351 for ac_exec_ext in '' $ac_executable_extensions; do 5352 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5353 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5355 break 2 5356 fi 5357done 5358 done 5359IFS=$as_save_IFS 5360 5361fi 5362fi 5363OBJDUMP=$ac_cv_prog_OBJDUMP 5364if test -n "$OBJDUMP"; then 5365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5366$as_echo "$OBJDUMP" >&6; } 5367else 5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5369$as_echo "no" >&6; } 5370fi 5371 5372 5373fi 5374if test -z "$ac_cv_prog_OBJDUMP"; then 5375 ac_ct_OBJDUMP=$OBJDUMP 5376 # Extract the first word of "objdump", so it can be a program name with args. 5377set dummy objdump; ac_word=$2 5378{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5379$as_echo_n "checking for $ac_word... " >&6; } 5380if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5381 $as_echo_n "(cached) " >&6 5382else 5383 if test -n "$ac_ct_OBJDUMP"; then 5384 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5385else 5386as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5387for as_dir in $PATH 5388do 5389 IFS=$as_save_IFS 5390 test -z "$as_dir" && as_dir=. 5391 for ac_exec_ext in '' $ac_executable_extensions; do 5392 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5393 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5395 break 2 5396 fi 5397done 5398 done 5399IFS=$as_save_IFS 5400 5401fi 5402fi 5403ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5404if test -n "$ac_ct_OBJDUMP"; then 5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5406$as_echo "$ac_ct_OBJDUMP" >&6; } 5407else 5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5409$as_echo "no" >&6; } 5410fi 5411 5412 if test "x$ac_ct_OBJDUMP" = x; then 5413 OBJDUMP="false" 5414 else 5415 case $cross_compiling:$ac_tool_warned in 5416yes:) 5417{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5418$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5419ac_tool_warned=yes ;; 5420esac 5421 OBJDUMP=$ac_ct_OBJDUMP 5422 fi 5423else 5424 OBJDUMP="$ac_cv_prog_OBJDUMP" 5425fi 5426 5427test -z "$OBJDUMP" && OBJDUMP=objdump 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5438$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5439if ${lt_cv_deplibs_check_method+:} false; then : 5440 $as_echo_n "(cached) " >&6 5441else 5442 lt_cv_file_magic_cmd='$MAGIC_CMD' 5443lt_cv_file_magic_test_file= 5444lt_cv_deplibs_check_method='unknown' 5445# Need to set the preceding variable on all platforms that support 5446# interlibrary dependencies. 5447# 'none' -- dependencies not supported. 5448# 'unknown' -- same as none, but documents that we really don't know. 5449# 'pass_all' -- all dependencies passed with no checks. 5450# 'test_compile' -- check by making test program. 5451# 'file_magic [[regex]]' -- check by looking for files in library path 5452# that responds to the $file_magic_cmd with a given extended regex. 5453# If you have 'file' or equivalent on your system and you're not sure 5454# whether 'pass_all' will *always* work, you probably want this one. 5455 5456case $host_os in 5457aix[4-9]*) 5458 lt_cv_deplibs_check_method=pass_all 5459 ;; 5460 5461beos*) 5462 lt_cv_deplibs_check_method=pass_all 5463 ;; 5464 5465bsdi[45]*) 5466 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5467 lt_cv_file_magic_cmd='/usr/bin/file -L' 5468 lt_cv_file_magic_test_file=/shlib/libc.so 5469 ;; 5470 5471cygwin*) 5472 # func_win32_libid is a shell function defined in ltmain.sh 5473 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5474 lt_cv_file_magic_cmd='func_win32_libid' 5475 ;; 5476 5477mingw* | pw32*) 5478 # Base MSYS/MinGW do not provide the 'file' command needed by 5479 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5480 # unless we find 'file', for example because we are cross-compiling. 5481 if ( file / ) >/dev/null 2>&1; then 5482 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5483 lt_cv_file_magic_cmd='func_win32_libid' 5484 else 5485 # Keep this pattern in sync with the one in func_win32_libid. 5486 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5487 lt_cv_file_magic_cmd='$OBJDUMP -f' 5488 fi 5489 ;; 5490 5491cegcc*) 5492 # use the weaker test based on 'objdump'. See mingw*. 5493 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5494 lt_cv_file_magic_cmd='$OBJDUMP -f' 5495 ;; 5496 5497darwin* | rhapsody*) 5498 lt_cv_deplibs_check_method=pass_all 5499 ;; 5500 5501freebsd* | dragonfly*) 5502 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5503 case $host_cpu in 5504 i*86 ) 5505 # Not sure whether the presence of OpenBSD here was a mistake. 5506 # Let's accept both of them until this is cleared up. 5507 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5508 lt_cv_file_magic_cmd=/usr/bin/file 5509 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5510 ;; 5511 esac 5512 else 5513 lt_cv_deplibs_check_method=pass_all 5514 fi 5515 ;; 5516 5517haiku*) 5518 lt_cv_deplibs_check_method=pass_all 5519 ;; 5520 5521hpux10.20* | hpux11*) 5522 lt_cv_file_magic_cmd=/usr/bin/file 5523 case $host_cpu in 5524 ia64*) 5525 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5526 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5527 ;; 5528 hppa*64*) 5529 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]' 5530 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5531 ;; 5532 *) 5533 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5534 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5535 ;; 5536 esac 5537 ;; 5538 5539interix[3-9]*) 5540 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5541 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5542 ;; 5543 5544irix5* | irix6* | nonstopux*) 5545 case $LD in 5546 *-32|*"-32 ") libmagic=32-bit;; 5547 *-n32|*"-n32 ") libmagic=N32;; 5548 *-64|*"-64 ") libmagic=64-bit;; 5549 *) libmagic=never-match;; 5550 esac 5551 lt_cv_deplibs_check_method=pass_all 5552 ;; 5553 5554# This must be glibc/ELF. 5555linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 5556 lt_cv_deplibs_check_method=pass_all 5557 ;; 5558 5559netbsd*) 5560 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5561 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5562 else 5563 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5564 fi 5565 ;; 5566 5567newos6*) 5568 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5569 lt_cv_file_magic_cmd=/usr/bin/file 5570 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5571 ;; 5572 5573*nto* | *qnx*) 5574 lt_cv_deplibs_check_method=pass_all 5575 ;; 5576 5577openbsd* | bitrig*) 5578 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 5579 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5580 else 5581 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5582 fi 5583 ;; 5584 5585osf3* | osf4* | osf5*) 5586 lt_cv_deplibs_check_method=pass_all 5587 ;; 5588 5589rdos*) 5590 lt_cv_deplibs_check_method=pass_all 5591 ;; 5592 5593solaris*) 5594 lt_cv_deplibs_check_method=pass_all 5595 ;; 5596 5597sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5598 lt_cv_deplibs_check_method=pass_all 5599 ;; 5600 5601sysv4 | sysv4.3*) 5602 case $host_vendor in 5603 motorola) 5604 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]' 5605 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5606 ;; 5607 ncr) 5608 lt_cv_deplibs_check_method=pass_all 5609 ;; 5610 sequent) 5611 lt_cv_file_magic_cmd='/bin/file' 5612 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5613 ;; 5614 sni) 5615 lt_cv_file_magic_cmd='/bin/file' 5616 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5617 lt_cv_file_magic_test_file=/lib/libc.so 5618 ;; 5619 siemens) 5620 lt_cv_deplibs_check_method=pass_all 5621 ;; 5622 pc) 5623 lt_cv_deplibs_check_method=pass_all 5624 ;; 5625 esac 5626 ;; 5627 5628tpf*) 5629 lt_cv_deplibs_check_method=pass_all 5630 ;; 5631os2*) 5632 lt_cv_deplibs_check_method=pass_all 5633 ;; 5634esac 5635 5636fi 5637{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5638$as_echo "$lt_cv_deplibs_check_method" >&6; } 5639 5640file_magic_glob= 5641want_nocaseglob=no 5642if test "$build" = "$host"; then 5643 case $host_os in 5644 mingw* | pw32*) 5645 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 5646 want_nocaseglob=yes 5647 else 5648 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 5649 fi 5650 ;; 5651 esac 5652fi 5653 5654file_magic_cmd=$lt_cv_file_magic_cmd 5655deplibs_check_method=$lt_cv_deplibs_check_method 5656test -z "$deplibs_check_method" && deplibs_check_method=unknown 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679if test -n "$ac_tool_prefix"; then 5680 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5681set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5682{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5683$as_echo_n "checking for $ac_word... " >&6; } 5684if ${ac_cv_prog_DLLTOOL+:} false; then : 5685 $as_echo_n "(cached) " >&6 5686else 5687 if test -n "$DLLTOOL"; then 5688 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5689else 5690as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5691for as_dir in $PATH 5692do 5693 IFS=$as_save_IFS 5694 test -z "$as_dir" && as_dir=. 5695 for ac_exec_ext in '' $ac_executable_extensions; do 5696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5697 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5699 break 2 5700 fi 5701done 5702 done 5703IFS=$as_save_IFS 5704 5705fi 5706fi 5707DLLTOOL=$ac_cv_prog_DLLTOOL 5708if test -n "$DLLTOOL"; then 5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5710$as_echo "$DLLTOOL" >&6; } 5711else 5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5713$as_echo "no" >&6; } 5714fi 5715 5716 5717fi 5718if test -z "$ac_cv_prog_DLLTOOL"; then 5719 ac_ct_DLLTOOL=$DLLTOOL 5720 # Extract the first word of "dlltool", so it can be a program name with args. 5721set dummy dlltool; ac_word=$2 5722{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5723$as_echo_n "checking for $ac_word... " >&6; } 5724if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5725 $as_echo_n "(cached) " >&6 5726else 5727 if test -n "$ac_ct_DLLTOOL"; then 5728 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5729else 5730as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5731for as_dir in $PATH 5732do 5733 IFS=$as_save_IFS 5734 test -z "$as_dir" && as_dir=. 5735 for ac_exec_ext in '' $ac_executable_extensions; do 5736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5737 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5739 break 2 5740 fi 5741done 5742 done 5743IFS=$as_save_IFS 5744 5745fi 5746fi 5747ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5748if test -n "$ac_ct_DLLTOOL"; then 5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5750$as_echo "$ac_ct_DLLTOOL" >&6; } 5751else 5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5753$as_echo "no" >&6; } 5754fi 5755 5756 if test "x$ac_ct_DLLTOOL" = x; then 5757 DLLTOOL="false" 5758 else 5759 case $cross_compiling:$ac_tool_warned in 5760yes:) 5761{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5762$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5763ac_tool_warned=yes ;; 5764esac 5765 DLLTOOL=$ac_ct_DLLTOOL 5766 fi 5767else 5768 DLLTOOL="$ac_cv_prog_DLLTOOL" 5769fi 5770 5771test -z "$DLLTOOL" && DLLTOOL=dlltool 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5783$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5784if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 5785 $as_echo_n "(cached) " >&6 5786else 5787 lt_cv_sharedlib_from_linklib_cmd='unknown' 5788 5789case $host_os in 5790cygwin* | mingw* | pw32* | cegcc*) 5791 # two different shell functions defined in ltmain.sh; 5792 # decide which one to use based on capabilities of $DLLTOOL 5793 case `$DLLTOOL --help 2>&1` in 5794 *--identify-strict*) 5795 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 5796 ;; 5797 *) 5798 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 5799 ;; 5800 esac 5801 ;; 5802*) 5803 # fallback: assume linklib IS sharedlib 5804 lt_cv_sharedlib_from_linklib_cmd=$ECHO 5805 ;; 5806esac 5807 5808fi 5809{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 5810$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 5811sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 5812test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 5813 5814 5815 5816 5817 5818 5819 5820 5821if test -n "$ac_tool_prefix"; then 5822 for ac_prog in ar 5823 do 5824 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5825set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5826{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5827$as_echo_n "checking for $ac_word... " >&6; } 5828if ${ac_cv_prog_AR+:} false; then : 5829 $as_echo_n "(cached) " >&6 5830else 5831 if test -n "$AR"; then 5832 ac_cv_prog_AR="$AR" # Let the user override the test. 5833else 5834as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5835for as_dir in $PATH 5836do 5837 IFS=$as_save_IFS 5838 test -z "$as_dir" && as_dir=. 5839 for ac_exec_ext in '' $ac_executable_extensions; do 5840 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5841 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5843 break 2 5844 fi 5845done 5846 done 5847IFS=$as_save_IFS 5848 5849fi 5850fi 5851AR=$ac_cv_prog_AR 5852if test -n "$AR"; then 5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5854$as_echo "$AR" >&6; } 5855else 5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5857$as_echo "no" >&6; } 5858fi 5859 5860 5861 test -n "$AR" && break 5862 done 5863fi 5864if test -z "$AR"; then 5865 ac_ct_AR=$AR 5866 for ac_prog in ar 5867do 5868 # Extract the first word of "$ac_prog", so it can be a program name with args. 5869set dummy $ac_prog; ac_word=$2 5870{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5871$as_echo_n "checking for $ac_word... " >&6; } 5872if ${ac_cv_prog_ac_ct_AR+:} false; then : 5873 $as_echo_n "(cached) " >&6 5874else 5875 if test -n "$ac_ct_AR"; then 5876 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5877else 5878as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5879for as_dir in $PATH 5880do 5881 IFS=$as_save_IFS 5882 test -z "$as_dir" && as_dir=. 5883 for ac_exec_ext in '' $ac_executable_extensions; do 5884 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5885 ac_cv_prog_ac_ct_AR="$ac_prog" 5886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5887 break 2 5888 fi 5889done 5890 done 5891IFS=$as_save_IFS 5892 5893fi 5894fi 5895ac_ct_AR=$ac_cv_prog_ac_ct_AR 5896if test -n "$ac_ct_AR"; then 5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5898$as_echo "$ac_ct_AR" >&6; } 5899else 5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5901$as_echo "no" >&6; } 5902fi 5903 5904 5905 test -n "$ac_ct_AR" && break 5906done 5907 5908 if test "x$ac_ct_AR" = x; then 5909 AR="false" 5910 else 5911 case $cross_compiling:$ac_tool_warned in 5912yes:) 5913{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5914$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5915ac_tool_warned=yes ;; 5916esac 5917 AR=$ac_ct_AR 5918 fi 5919fi 5920 5921: ${AR=ar} 5922: ${AR_FLAGS=cru} 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 5935$as_echo_n "checking for archiver @FILE support... " >&6; } 5936if ${lt_cv_ar_at_file+:} false; then : 5937 $as_echo_n "(cached) " >&6 5938else 5939 lt_cv_ar_at_file=no 5940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5941/* end confdefs.h. */ 5942 5943int 5944main () 5945{ 5946 5947 ; 5948 return 0; 5949} 5950_ACEOF 5951if ac_fn_c_try_compile "$LINENO"; then : 5952 echo conftest.$ac_objext > conftest.lst 5953 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 5954 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5955 (eval $lt_ar_try) 2>&5 5956 ac_status=$? 5957 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5958 test $ac_status = 0; } 5959 if test 0 -eq "$ac_status"; then 5960 # Ensure the archiver fails upon bogus file names. 5961 rm -f conftest.$ac_objext libconftest.a 5962 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5963 (eval $lt_ar_try) 2>&5 5964 ac_status=$? 5965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5966 test $ac_status = 0; } 5967 if test 0 -ne "$ac_status"; then 5968 lt_cv_ar_at_file=@ 5969 fi 5970 fi 5971 rm -f conftest.* libconftest.a 5972 5973fi 5974rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5975 5976fi 5977{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 5978$as_echo "$lt_cv_ar_at_file" >&6; } 5979 5980if test no = "$lt_cv_ar_at_file"; then 5981 archiver_list_spec= 5982else 5983 archiver_list_spec=$lt_cv_ar_at_file 5984fi 5985 5986 5987 5988 5989 5990 5991 5992if test -n "$ac_tool_prefix"; then 5993 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5994set dummy ${ac_tool_prefix}strip; ac_word=$2 5995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5996$as_echo_n "checking for $ac_word... " >&6; } 5997if ${ac_cv_prog_STRIP+:} false; then : 5998 $as_echo_n "(cached) " >&6 5999else 6000 if test -n "$STRIP"; then 6001 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6002else 6003as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6004for as_dir in $PATH 6005do 6006 IFS=$as_save_IFS 6007 test -z "$as_dir" && as_dir=. 6008 for ac_exec_ext in '' $ac_executable_extensions; do 6009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6010 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6012 break 2 6013 fi 6014done 6015 done 6016IFS=$as_save_IFS 6017 6018fi 6019fi 6020STRIP=$ac_cv_prog_STRIP 6021if test -n "$STRIP"; then 6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 6023$as_echo "$STRIP" >&6; } 6024else 6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6026$as_echo "no" >&6; } 6027fi 6028 6029 6030fi 6031if test -z "$ac_cv_prog_STRIP"; then 6032 ac_ct_STRIP=$STRIP 6033 # Extract the first word of "strip", so it can be a program name with args. 6034set dummy strip; ac_word=$2 6035{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6036$as_echo_n "checking for $ac_word... " >&6; } 6037if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 6038 $as_echo_n "(cached) " >&6 6039else 6040 if test -n "$ac_ct_STRIP"; then 6041 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6042else 6043as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6044for as_dir in $PATH 6045do 6046 IFS=$as_save_IFS 6047 test -z "$as_dir" && as_dir=. 6048 for ac_exec_ext in '' $ac_executable_extensions; do 6049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6050 ac_cv_prog_ac_ct_STRIP="strip" 6051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6052 break 2 6053 fi 6054done 6055 done 6056IFS=$as_save_IFS 6057 6058fi 6059fi 6060ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6061if test -n "$ac_ct_STRIP"; then 6062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 6063$as_echo "$ac_ct_STRIP" >&6; } 6064else 6065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6066$as_echo "no" >&6; } 6067fi 6068 6069 if test "x$ac_ct_STRIP" = x; then 6070 STRIP=":" 6071 else 6072 case $cross_compiling:$ac_tool_warned in 6073yes:) 6074{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6075$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6076ac_tool_warned=yes ;; 6077esac 6078 STRIP=$ac_ct_STRIP 6079 fi 6080else 6081 STRIP="$ac_cv_prog_STRIP" 6082fi 6083 6084test -z "$STRIP" && STRIP=: 6085 6086 6087 6088 6089 6090 6091if test -n "$ac_tool_prefix"; then 6092 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6093set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6094{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6095$as_echo_n "checking for $ac_word... " >&6; } 6096if ${ac_cv_prog_RANLIB+:} false; then : 6097 $as_echo_n "(cached) " >&6 6098else 6099 if test -n "$RANLIB"; then 6100 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6101else 6102as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6103for as_dir in $PATH 6104do 6105 IFS=$as_save_IFS 6106 test -z "$as_dir" && as_dir=. 6107 for ac_exec_ext in '' $ac_executable_extensions; do 6108 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6109 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6111 break 2 6112 fi 6113done 6114 done 6115IFS=$as_save_IFS 6116 6117fi 6118fi 6119RANLIB=$ac_cv_prog_RANLIB 6120if test -n "$RANLIB"; then 6121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6122$as_echo "$RANLIB" >&6; } 6123else 6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6125$as_echo "no" >&6; } 6126fi 6127 6128 6129fi 6130if test -z "$ac_cv_prog_RANLIB"; then 6131 ac_ct_RANLIB=$RANLIB 6132 # Extract the first word of "ranlib", so it can be a program name with args. 6133set dummy ranlib; ac_word=$2 6134{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6135$as_echo_n "checking for $ac_word... " >&6; } 6136if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 6137 $as_echo_n "(cached) " >&6 6138else 6139 if test -n "$ac_ct_RANLIB"; then 6140 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6141else 6142as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6143for as_dir in $PATH 6144do 6145 IFS=$as_save_IFS 6146 test -z "$as_dir" && as_dir=. 6147 for ac_exec_ext in '' $ac_executable_extensions; do 6148 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6149 ac_cv_prog_ac_ct_RANLIB="ranlib" 6150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6151 break 2 6152 fi 6153done 6154 done 6155IFS=$as_save_IFS 6156 6157fi 6158fi 6159ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6160if test -n "$ac_ct_RANLIB"; then 6161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6162$as_echo "$ac_ct_RANLIB" >&6; } 6163else 6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6165$as_echo "no" >&6; } 6166fi 6167 6168 if test "x$ac_ct_RANLIB" = x; then 6169 RANLIB=":" 6170 else 6171 case $cross_compiling:$ac_tool_warned in 6172yes:) 6173{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6174$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6175ac_tool_warned=yes ;; 6176esac 6177 RANLIB=$ac_ct_RANLIB 6178 fi 6179else 6180 RANLIB="$ac_cv_prog_RANLIB" 6181fi 6182 6183test -z "$RANLIB" && RANLIB=: 6184 6185 6186 6187 6188 6189 6190# Determine commands to create old-style static archives. 6191old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6192old_postinstall_cmds='chmod 644 $oldlib' 6193old_postuninstall_cmds= 6194 6195if test -n "$RANLIB"; then 6196 case $host_os in 6197 bitrig* | openbsd*) 6198 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 6199 ;; 6200 *) 6201 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 6202 ;; 6203 esac 6204 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 6205fi 6206 6207case $host_os in 6208 darwin*) 6209 lock_old_archive_extraction=yes ;; 6210 *) 6211 lock_old_archive_extraction=no ;; 6212esac 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252# If no C compiler was specified, use CC. 6253LTCC=${LTCC-"$CC"} 6254 6255# If no C compiler flags were specified, use CFLAGS. 6256LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6257 6258# Allow CC to be a program name with arguments. 6259compiler=$CC 6260 6261 6262# Check for command to grab the raw symbol name followed by C symbol from nm. 6263{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6264$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6265if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6266 $as_echo_n "(cached) " >&6 6267else 6268 6269# These are sane defaults that work on at least a few old systems. 6270# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6271 6272# Character class describing NM global symbol codes. 6273symcode='[BCDEGRST]' 6274 6275# Regexp to match symbols that can be accessed directly from C. 6276sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6277 6278# Define system-specific variables. 6279case $host_os in 6280aix*) 6281 symcode='[BCDT]' 6282 ;; 6283cygwin* | mingw* | pw32* | cegcc*) 6284 symcode='[ABCDGISTW]' 6285 ;; 6286hpux*) 6287 if test ia64 = "$host_cpu"; then 6288 symcode='[ABCDEGRST]' 6289 fi 6290 ;; 6291irix* | nonstopux*) 6292 symcode='[BCDEGRST]' 6293 ;; 6294osf*) 6295 symcode='[BCDEGQRST]' 6296 ;; 6297solaris*) 6298 symcode='[BDRT]' 6299 ;; 6300sco3.2v5*) 6301 symcode='[DT]' 6302 ;; 6303sysv4.2uw2*) 6304 symcode='[DT]' 6305 ;; 6306sysv5* | sco5v6* | unixware* | OpenUNIX*) 6307 symcode='[ABDT]' 6308 ;; 6309sysv4) 6310 symcode='[DFNSTU]' 6311 ;; 6312esac 6313 6314# If we're using GNU nm, then use its standard symbol codes. 6315case `$NM -V 2>&1` in 6316*GNU* | *'with BFD'*) 6317 symcode='[ABCDGIRSTW]' ;; 6318esac 6319 6320if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6321 # Gets list of data symbols to import. 6322 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 6323 # Adjust the below global symbol transforms to fixup imported variables. 6324 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 6325 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 6326 lt_c_name_lib_hook="\ 6327 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 6328 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 6329else 6330 # Disable hooks by default. 6331 lt_cv_sys_global_symbol_to_import= 6332 lt_cdecl_hook= 6333 lt_c_name_hook= 6334 lt_c_name_lib_hook= 6335fi 6336 6337# Transform an extracted symbol line into a proper C declaration. 6338# Some systems (esp. on ia64) link data and code symbols differently, 6339# so use this general approach. 6340lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 6341$lt_cdecl_hook\ 6342" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 6343" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 6344 6345# Transform an extracted symbol line into symbol name and symbol address 6346lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 6347$lt_c_name_hook\ 6348" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6349" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 6350 6351# Transform an extracted symbol line into symbol name with lib prefix and 6352# symbol address. 6353lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 6354$lt_c_name_lib_hook\ 6355" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6356" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 6357" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 6358 6359# Handle CRLF in mingw tool chain 6360opt_cr= 6361case $build_os in 6362mingw*) 6363 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6364 ;; 6365esac 6366 6367# Try without a prefix underscore, then with it. 6368for ac_symprfx in "" "_"; do 6369 6370 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6371 symxfrm="\\1 $ac_symprfx\\2 \\2" 6372 6373 # Write the raw and C identifiers. 6374 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6375 # Fake it for dumpbin and say T for any non-static function, 6376 # D for any global variable and I for any imported variable. 6377 # Also find C++ and __fastcall symbols from MSVC++, 6378 # which start with @ or ?. 6379 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6380" {last_section=section; section=\$ 3};"\ 6381" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6382" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6383" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 6384" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 6385" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 6386" \$ 0!~/External *\|/{next};"\ 6387" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6388" {if(hide[section]) next};"\ 6389" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 6390" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 6391" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 6392" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 6393" ' prfx=^$ac_symprfx" 6394 else 6395 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6396 fi 6397 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6398 6399 # Check to see that the pipe works correctly. 6400 pipe_works=no 6401 6402 rm -f conftest* 6403 cat > conftest.$ac_ext <<_LT_EOF 6404#ifdef __cplusplus 6405extern "C" { 6406#endif 6407char nm_test_var; 6408void nm_test_func(void); 6409void nm_test_func(void){} 6410#ifdef __cplusplus 6411} 6412#endif 6413int main(){nm_test_var='a';nm_test_func();return(0);} 6414_LT_EOF 6415 6416 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6417 (eval $ac_compile) 2>&5 6418 ac_status=$? 6419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6420 test $ac_status = 0; }; then 6421 # Now try to grab the symbols. 6422 nlist=conftest.nm 6423 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 6424 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 6425 ac_status=$? 6426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6427 test $ac_status = 0; } && test -s "$nlist"; then 6428 # Try sorting and uniquifying the output. 6429 if sort "$nlist" | uniq > "$nlist"T; then 6430 mv -f "$nlist"T "$nlist" 6431 else 6432 rm -f "$nlist"T 6433 fi 6434 6435 # Make sure that we snagged all the symbols we need. 6436 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6437 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6438 cat <<_LT_EOF > conftest.$ac_ext 6439/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6440#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 6441/* DATA imports from DLLs on WIN32 can't be const, because runtime 6442 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6443# define LT_DLSYM_CONST 6444#elif defined __osf__ 6445/* This system does not cope well with relocations in const data. */ 6446# define LT_DLSYM_CONST 6447#else 6448# define LT_DLSYM_CONST const 6449#endif 6450 6451#ifdef __cplusplus 6452extern "C" { 6453#endif 6454 6455_LT_EOF 6456 # Now generate the symbol file. 6457 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6458 6459 cat <<_LT_EOF >> conftest.$ac_ext 6460 6461/* The mapping between symbol names and symbols. */ 6462LT_DLSYM_CONST struct { 6463 const char *name; 6464 void *address; 6465} 6466lt__PROGRAM__LTX_preloaded_symbols[] = 6467{ 6468 { "@PROGRAM@", (void *) 0 }, 6469_LT_EOF 6470 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6471 cat <<\_LT_EOF >> conftest.$ac_ext 6472 {0, (void *) 0} 6473}; 6474 6475/* This works around a problem in FreeBSD linker */ 6476#ifdef FREEBSD_WORKAROUND 6477static const void *lt_preloaded_setup() { 6478 return lt__PROGRAM__LTX_preloaded_symbols; 6479} 6480#endif 6481 6482#ifdef __cplusplus 6483} 6484#endif 6485_LT_EOF 6486 # Now try linking the two files. 6487 mv conftest.$ac_objext conftstm.$ac_objext 6488 lt_globsym_save_LIBS=$LIBS 6489 lt_globsym_save_CFLAGS=$CFLAGS 6490 LIBS=conftstm.$ac_objext 6491 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6492 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6493 (eval $ac_link) 2>&5 6494 ac_status=$? 6495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6496 test $ac_status = 0; } && test -s conftest$ac_exeext; then 6497 pipe_works=yes 6498 fi 6499 LIBS=$lt_globsym_save_LIBS 6500 CFLAGS=$lt_globsym_save_CFLAGS 6501 else 6502 echo "cannot find nm_test_func in $nlist" >&5 6503 fi 6504 else 6505 echo "cannot find nm_test_var in $nlist" >&5 6506 fi 6507 else 6508 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6509 fi 6510 else 6511 echo "$progname: failed program was:" >&5 6512 cat conftest.$ac_ext >&5 6513 fi 6514 rm -rf conftest* conftst* 6515 6516 # Do not use the global_symbol_pipe unless it works. 6517 if test yes = "$pipe_works"; then 6518 break 6519 else 6520 lt_cv_sys_global_symbol_pipe= 6521 fi 6522done 6523 6524fi 6525 6526if test -z "$lt_cv_sys_global_symbol_pipe"; then 6527 lt_cv_sys_global_symbol_to_cdecl= 6528fi 6529if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6531$as_echo "failed" >&6; } 6532else 6533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6534$as_echo "ok" >&6; } 6535fi 6536 6537# Response file support. 6538if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6539 nm_file_list_spec='@' 6540elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6541 nm_file_list_spec='@' 6542fi 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6581$as_echo_n "checking for sysroot... " >&6; } 6582 6583# Check whether --with-sysroot was given. 6584if test "${with_sysroot+set}" = set; then : 6585 withval=$with_sysroot; 6586else 6587 with_sysroot=no 6588fi 6589 6590 6591lt_sysroot= 6592case $with_sysroot in #( 6593 yes) 6594 if test yes = "$GCC"; then 6595 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6596 fi 6597 ;; #( 6598 /*) 6599 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6600 ;; #( 6601 no|'') 6602 ;; #( 6603 *) 6604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 6605$as_echo "$with_sysroot" >&6; } 6606 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6607 ;; 6608esac 6609 6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6611$as_echo "${lt_sysroot:-no}" >&6; } 6612 6613 6614 6615 6616 6617{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 6618$as_echo_n "checking for a working dd... " >&6; } 6619if ${ac_cv_path_lt_DD+:} false; then : 6620 $as_echo_n "(cached) " >&6 6621else 6622 printf 0123456789abcdef0123456789abcdef >conftest.i 6623cat conftest.i conftest.i >conftest2.i 6624: ${lt_DD:=$DD} 6625if test -z "$lt_DD"; then 6626 ac_path_lt_DD_found=false 6627 # Loop through the user's path and test for each of PROGNAME-LIST 6628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6629for as_dir in $PATH 6630do 6631 IFS=$as_save_IFS 6632 test -z "$as_dir" && as_dir=. 6633 for ac_prog in dd; do 6634 for ac_exec_ext in '' $ac_executable_extensions; do 6635 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 6636 as_fn_executable_p "$ac_path_lt_DD" || continue 6637if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6638 cmp -s conftest.i conftest.out \ 6639 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 6640fi 6641 $ac_path_lt_DD_found && break 3 6642 done 6643 done 6644 done 6645IFS=$as_save_IFS 6646 if test -z "$ac_cv_path_lt_DD"; then 6647 : 6648 fi 6649else 6650 ac_cv_path_lt_DD=$lt_DD 6651fi 6652 6653rm -f conftest.i conftest2.i conftest.out 6654fi 6655{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 6656$as_echo "$ac_cv_path_lt_DD" >&6; } 6657 6658 6659{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 6660$as_echo_n "checking how to truncate binary pipes... " >&6; } 6661if ${lt_cv_truncate_bin+:} false; then : 6662 $as_echo_n "(cached) " >&6 6663else 6664 printf 0123456789abcdef0123456789abcdef >conftest.i 6665cat conftest.i conftest.i >conftest2.i 6666lt_cv_truncate_bin= 6667if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6668 cmp -s conftest.i conftest.out \ 6669 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 6670fi 6671rm -f conftest.i conftest2.i conftest.out 6672test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 6673fi 6674{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 6675$as_echo "$lt_cv_truncate_bin" >&6; } 6676 6677 6678 6679 6680 6681 6682 6683# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 6684func_cc_basename () 6685{ 6686 for cc_temp in $*""; do 6687 case $cc_temp in 6688 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 6689 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 6690 \-*) ;; 6691 *) break;; 6692 esac 6693 done 6694 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 6695} 6696 6697# Check whether --enable-libtool-lock was given. 6698if test "${enable_libtool_lock+set}" = set; then : 6699 enableval=$enable_libtool_lock; 6700fi 6701 6702test no = "$enable_libtool_lock" || enable_libtool_lock=yes 6703 6704# Some flags need to be propagated to the compiler or linker for good 6705# libtool support. 6706case $host in 6707ia64-*-hpux*) 6708 # Find out what ABI is being produced by ac_compile, and set mode 6709 # options accordingly. 6710 echo 'int i;' > conftest.$ac_ext 6711 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6712 (eval $ac_compile) 2>&5 6713 ac_status=$? 6714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6715 test $ac_status = 0; }; then 6716 case `/usr/bin/file conftest.$ac_objext` in 6717 *ELF-32*) 6718 HPUX_IA64_MODE=32 6719 ;; 6720 *ELF-64*) 6721 HPUX_IA64_MODE=64 6722 ;; 6723 esac 6724 fi 6725 rm -rf conftest* 6726 ;; 6727*-*-irix6*) 6728 # Find out what ABI is being produced by ac_compile, and set linker 6729 # options accordingly. 6730 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6731 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6732 (eval $ac_compile) 2>&5 6733 ac_status=$? 6734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6735 test $ac_status = 0; }; then 6736 if test yes = "$lt_cv_prog_gnu_ld"; then 6737 case `/usr/bin/file conftest.$ac_objext` in 6738 *32-bit*) 6739 LD="${LD-ld} -melf32bsmip" 6740 ;; 6741 *N32*) 6742 LD="${LD-ld} -melf32bmipn32" 6743 ;; 6744 *64-bit*) 6745 LD="${LD-ld} -melf64bmip" 6746 ;; 6747 esac 6748 else 6749 case `/usr/bin/file conftest.$ac_objext` in 6750 *32-bit*) 6751 LD="${LD-ld} -32" 6752 ;; 6753 *N32*) 6754 LD="${LD-ld} -n32" 6755 ;; 6756 *64-bit*) 6757 LD="${LD-ld} -64" 6758 ;; 6759 esac 6760 fi 6761 fi 6762 rm -rf conftest* 6763 ;; 6764 6765mips64*-*linux*) 6766 # Find out what ABI is being produced by ac_compile, and set linker 6767 # options accordingly. 6768 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6769 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6770 (eval $ac_compile) 2>&5 6771 ac_status=$? 6772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6773 test $ac_status = 0; }; then 6774 emul=elf 6775 case `/usr/bin/file conftest.$ac_objext` in 6776 *32-bit*) 6777 emul="${emul}32" 6778 ;; 6779 *64-bit*) 6780 emul="${emul}64" 6781 ;; 6782 esac 6783 case `/usr/bin/file conftest.$ac_objext` in 6784 *MSB*) 6785 emul="${emul}btsmip" 6786 ;; 6787 *LSB*) 6788 emul="${emul}ltsmip" 6789 ;; 6790 esac 6791 case `/usr/bin/file conftest.$ac_objext` in 6792 *N32*) 6793 emul="${emul}n32" 6794 ;; 6795 esac 6796 LD="${LD-ld} -m $emul" 6797 fi 6798 rm -rf conftest* 6799 ;; 6800 6801x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 6802s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6803 # Find out what ABI is being produced by ac_compile, and set linker 6804 # options accordingly. Note that the listed cases only cover the 6805 # situations where additional linker options are needed (such as when 6806 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 6807 # vice versa); the common cases where no linker options are needed do 6808 # not appear in the list. 6809 echo 'int i;' > conftest.$ac_ext 6810 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6811 (eval $ac_compile) 2>&5 6812 ac_status=$? 6813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6814 test $ac_status = 0; }; then 6815 case `/usr/bin/file conftest.o` in 6816 *32-bit*) 6817 case $host in 6818 x86_64-*kfreebsd*-gnu) 6819 LD="${LD-ld} -m elf_i386_fbsd" 6820 ;; 6821 x86_64-*linux*) 6822 case `/usr/bin/file conftest.o` in 6823 *x86-64*) 6824 LD="${LD-ld} -m elf32_x86_64" 6825 ;; 6826 *) 6827 LD="${LD-ld} -m elf_i386" 6828 ;; 6829 esac 6830 ;; 6831 powerpc64le-*linux*) 6832 LD="${LD-ld} -m elf32lppclinux" 6833 ;; 6834 powerpc64-*linux*) 6835 LD="${LD-ld} -m elf32ppclinux" 6836 ;; 6837 s390x-*linux*) 6838 LD="${LD-ld} -m elf_s390" 6839 ;; 6840 sparc64-*linux*) 6841 LD="${LD-ld} -m elf32_sparc" 6842 ;; 6843 esac 6844 ;; 6845 *64-bit*) 6846 case $host in 6847 x86_64-*kfreebsd*-gnu) 6848 LD="${LD-ld} -m elf_x86_64_fbsd" 6849 ;; 6850 x86_64-*linux*) 6851 LD="${LD-ld} -m elf_x86_64" 6852 ;; 6853 powerpcle-*linux*) 6854 LD="${LD-ld} -m elf64lppc" 6855 ;; 6856 powerpc-*linux*) 6857 LD="${LD-ld} -m elf64ppc" 6858 ;; 6859 s390*-*linux*|s390*-*tpf*) 6860 LD="${LD-ld} -m elf64_s390" 6861 ;; 6862 sparc*-*linux*) 6863 LD="${LD-ld} -m elf64_sparc" 6864 ;; 6865 esac 6866 ;; 6867 esac 6868 fi 6869 rm -rf conftest* 6870 ;; 6871 6872*-*-sco3.2v5*) 6873 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6874 SAVE_CFLAGS=$CFLAGS 6875 CFLAGS="$CFLAGS -belf" 6876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6877$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6878if ${lt_cv_cc_needs_belf+:} false; then : 6879 $as_echo_n "(cached) " >&6 6880else 6881 ac_ext=c 6882ac_cpp='$CPP $CPPFLAGS' 6883ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6884ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6885ac_compiler_gnu=$ac_cv_c_compiler_gnu 6886 6887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6888/* end confdefs.h. */ 6889 6890int 6891main () 6892{ 6893 6894 ; 6895 return 0; 6896} 6897_ACEOF 6898if ac_fn_c_try_link "$LINENO"; then : 6899 lt_cv_cc_needs_belf=yes 6900else 6901 lt_cv_cc_needs_belf=no 6902fi 6903rm -f core conftest.err conftest.$ac_objext \ 6904 conftest$ac_exeext conftest.$ac_ext 6905 ac_ext=c 6906ac_cpp='$CPP $CPPFLAGS' 6907ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6908ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6909ac_compiler_gnu=$ac_cv_c_compiler_gnu 6910 6911fi 6912{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6913$as_echo "$lt_cv_cc_needs_belf" >&6; } 6914 if test yes != "$lt_cv_cc_needs_belf"; then 6915 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6916 CFLAGS=$SAVE_CFLAGS 6917 fi 6918 ;; 6919*-*solaris*) 6920 # Find out what ABI is being produced by ac_compile, and set linker 6921 # options accordingly. 6922 echo 'int i;' > conftest.$ac_ext 6923 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6924 (eval $ac_compile) 2>&5 6925 ac_status=$? 6926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6927 test $ac_status = 0; }; then 6928 case `/usr/bin/file conftest.o` in 6929 *64-bit*) 6930 case $lt_cv_prog_gnu_ld in 6931 yes*) 6932 case $host in 6933 i?86-*-solaris*|x86_64-*-solaris*) 6934 LD="${LD-ld} -m elf_x86_64" 6935 ;; 6936 sparc*-*-solaris*) 6937 LD="${LD-ld} -m elf64_sparc" 6938 ;; 6939 esac 6940 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 6941 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 6942 LD=${LD-ld}_sol2 6943 fi 6944 ;; 6945 *) 6946 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6947 LD="${LD-ld} -64" 6948 fi 6949 ;; 6950 esac 6951 ;; 6952 esac 6953 fi 6954 rm -rf conftest* 6955 ;; 6956esac 6957 6958need_locks=$enable_libtool_lock 6959 6960if test -n "$ac_tool_prefix"; then 6961 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 6962set dummy ${ac_tool_prefix}mt; ac_word=$2 6963{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6964$as_echo_n "checking for $ac_word... " >&6; } 6965if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 6966 $as_echo_n "(cached) " >&6 6967else 6968 if test -n "$MANIFEST_TOOL"; then 6969 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 6970else 6971as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6972for as_dir in $PATH 6973do 6974 IFS=$as_save_IFS 6975 test -z "$as_dir" && as_dir=. 6976 for ac_exec_ext in '' $ac_executable_extensions; do 6977 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6978 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 6979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6980 break 2 6981 fi 6982done 6983 done 6984IFS=$as_save_IFS 6985 6986fi 6987fi 6988MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 6989if test -n "$MANIFEST_TOOL"; then 6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 6991$as_echo "$MANIFEST_TOOL" >&6; } 6992else 6993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6994$as_echo "no" >&6; } 6995fi 6996 6997 6998fi 6999if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 7000 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 7001 # Extract the first word of "mt", so it can be a program name with args. 7002set dummy mt; ac_word=$2 7003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7004$as_echo_n "checking for $ac_word... " >&6; } 7005if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 7006 $as_echo_n "(cached) " >&6 7007else 7008 if test -n "$ac_ct_MANIFEST_TOOL"; then 7009 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 7010else 7011as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7012for as_dir in $PATH 7013do 7014 IFS=$as_save_IFS 7015 test -z "$as_dir" && as_dir=. 7016 for ac_exec_ext in '' $ac_executable_extensions; do 7017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7018 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 7019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7020 break 2 7021 fi 7022done 7023 done 7024IFS=$as_save_IFS 7025 7026fi 7027fi 7028ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 7029if test -n "$ac_ct_MANIFEST_TOOL"; then 7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 7031$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 7032else 7033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7034$as_echo "no" >&6; } 7035fi 7036 7037 if test "x$ac_ct_MANIFEST_TOOL" = x; then 7038 MANIFEST_TOOL=":" 7039 else 7040 case $cross_compiling:$ac_tool_warned in 7041yes:) 7042{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7043$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7044ac_tool_warned=yes ;; 7045esac 7046 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 7047 fi 7048else 7049 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 7050fi 7051 7052test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 7053{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 7054$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 7055if ${lt_cv_path_mainfest_tool+:} false; then : 7056 $as_echo_n "(cached) " >&6 7057else 7058 lt_cv_path_mainfest_tool=no 7059 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 7060 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 7061 cat conftest.err >&5 7062 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 7063 lt_cv_path_mainfest_tool=yes 7064 fi 7065 rm -f conftest* 7066fi 7067{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 7068$as_echo "$lt_cv_path_mainfest_tool" >&6; } 7069if test yes != "$lt_cv_path_mainfest_tool"; then 7070 MANIFEST_TOOL=: 7071fi 7072 7073 7074 7075 7076 7077 7078 case $host_os in 7079 rhapsody* | darwin*) 7080 if test -n "$ac_tool_prefix"; then 7081 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7082set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7084$as_echo_n "checking for $ac_word... " >&6; } 7085if ${ac_cv_prog_DSYMUTIL+:} false; then : 7086 $as_echo_n "(cached) " >&6 7087else 7088 if test -n "$DSYMUTIL"; then 7089 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7090else 7091as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7092for as_dir in $PATH 7093do 7094 IFS=$as_save_IFS 7095 test -z "$as_dir" && as_dir=. 7096 for ac_exec_ext in '' $ac_executable_extensions; do 7097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7098 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7100 break 2 7101 fi 7102done 7103 done 7104IFS=$as_save_IFS 7105 7106fi 7107fi 7108DSYMUTIL=$ac_cv_prog_DSYMUTIL 7109if test -n "$DSYMUTIL"; then 7110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 7111$as_echo "$DSYMUTIL" >&6; } 7112else 7113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7114$as_echo "no" >&6; } 7115fi 7116 7117 7118fi 7119if test -z "$ac_cv_prog_DSYMUTIL"; then 7120 ac_ct_DSYMUTIL=$DSYMUTIL 7121 # Extract the first word of "dsymutil", so it can be a program name with args. 7122set dummy dsymutil; ac_word=$2 7123{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7124$as_echo_n "checking for $ac_word... " >&6; } 7125if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 7126 $as_echo_n "(cached) " >&6 7127else 7128 if test -n "$ac_ct_DSYMUTIL"; then 7129 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7130else 7131as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7132for as_dir in $PATH 7133do 7134 IFS=$as_save_IFS 7135 test -z "$as_dir" && as_dir=. 7136 for ac_exec_ext in '' $ac_executable_extensions; do 7137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7138 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7140 break 2 7141 fi 7142done 7143 done 7144IFS=$as_save_IFS 7145 7146fi 7147fi 7148ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7149if test -n "$ac_ct_DSYMUTIL"; then 7150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 7151$as_echo "$ac_ct_DSYMUTIL" >&6; } 7152else 7153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7154$as_echo "no" >&6; } 7155fi 7156 7157 if test "x$ac_ct_DSYMUTIL" = x; then 7158 DSYMUTIL=":" 7159 else 7160 case $cross_compiling:$ac_tool_warned in 7161yes:) 7162{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7163$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7164ac_tool_warned=yes ;; 7165esac 7166 DSYMUTIL=$ac_ct_DSYMUTIL 7167 fi 7168else 7169 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7170fi 7171 7172 if test -n "$ac_tool_prefix"; then 7173 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7174set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7175{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7176$as_echo_n "checking for $ac_word... " >&6; } 7177if ${ac_cv_prog_NMEDIT+:} false; then : 7178 $as_echo_n "(cached) " >&6 7179else 7180 if test -n "$NMEDIT"; then 7181 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7182else 7183as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7184for as_dir in $PATH 7185do 7186 IFS=$as_save_IFS 7187 test -z "$as_dir" && as_dir=. 7188 for ac_exec_ext in '' $ac_executable_extensions; do 7189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7190 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7192 break 2 7193 fi 7194done 7195 done 7196IFS=$as_save_IFS 7197 7198fi 7199fi 7200NMEDIT=$ac_cv_prog_NMEDIT 7201if test -n "$NMEDIT"; then 7202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 7203$as_echo "$NMEDIT" >&6; } 7204else 7205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7206$as_echo "no" >&6; } 7207fi 7208 7209 7210fi 7211if test -z "$ac_cv_prog_NMEDIT"; then 7212 ac_ct_NMEDIT=$NMEDIT 7213 # Extract the first word of "nmedit", so it can be a program name with args. 7214set dummy nmedit; ac_word=$2 7215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7216$as_echo_n "checking for $ac_word... " >&6; } 7217if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 7218 $as_echo_n "(cached) " >&6 7219else 7220 if test -n "$ac_ct_NMEDIT"; then 7221 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7222else 7223as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7224for as_dir in $PATH 7225do 7226 IFS=$as_save_IFS 7227 test -z "$as_dir" && as_dir=. 7228 for ac_exec_ext in '' $ac_executable_extensions; do 7229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7230 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7232 break 2 7233 fi 7234done 7235 done 7236IFS=$as_save_IFS 7237 7238fi 7239fi 7240ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7241if test -n "$ac_ct_NMEDIT"; then 7242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7243$as_echo "$ac_ct_NMEDIT" >&6; } 7244else 7245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7246$as_echo "no" >&6; } 7247fi 7248 7249 if test "x$ac_ct_NMEDIT" = x; then 7250 NMEDIT=":" 7251 else 7252 case $cross_compiling:$ac_tool_warned in 7253yes:) 7254{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7255$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7256ac_tool_warned=yes ;; 7257esac 7258 NMEDIT=$ac_ct_NMEDIT 7259 fi 7260else 7261 NMEDIT="$ac_cv_prog_NMEDIT" 7262fi 7263 7264 if test -n "$ac_tool_prefix"; then 7265 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7266set dummy ${ac_tool_prefix}lipo; ac_word=$2 7267{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7268$as_echo_n "checking for $ac_word... " >&6; } 7269if ${ac_cv_prog_LIPO+:} false; then : 7270 $as_echo_n "(cached) " >&6 7271else 7272 if test -n "$LIPO"; then 7273 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7274else 7275as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7276for as_dir in $PATH 7277do 7278 IFS=$as_save_IFS 7279 test -z "$as_dir" && as_dir=. 7280 for ac_exec_ext in '' $ac_executable_extensions; do 7281 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7282 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7284 break 2 7285 fi 7286done 7287 done 7288IFS=$as_save_IFS 7289 7290fi 7291fi 7292LIPO=$ac_cv_prog_LIPO 7293if test -n "$LIPO"; then 7294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7295$as_echo "$LIPO" >&6; } 7296else 7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7298$as_echo "no" >&6; } 7299fi 7300 7301 7302fi 7303if test -z "$ac_cv_prog_LIPO"; then 7304 ac_ct_LIPO=$LIPO 7305 # Extract the first word of "lipo", so it can be a program name with args. 7306set dummy lipo; ac_word=$2 7307{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7308$as_echo_n "checking for $ac_word... " >&6; } 7309if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 7310 $as_echo_n "(cached) " >&6 7311else 7312 if test -n "$ac_ct_LIPO"; then 7313 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7314else 7315as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7316for as_dir in $PATH 7317do 7318 IFS=$as_save_IFS 7319 test -z "$as_dir" && as_dir=. 7320 for ac_exec_ext in '' $ac_executable_extensions; do 7321 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7322 ac_cv_prog_ac_ct_LIPO="lipo" 7323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7324 break 2 7325 fi 7326done 7327 done 7328IFS=$as_save_IFS 7329 7330fi 7331fi 7332ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7333if test -n "$ac_ct_LIPO"; then 7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7335$as_echo "$ac_ct_LIPO" >&6; } 7336else 7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7338$as_echo "no" >&6; } 7339fi 7340 7341 if test "x$ac_ct_LIPO" = x; then 7342 LIPO=":" 7343 else 7344 case $cross_compiling:$ac_tool_warned in 7345yes:) 7346{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7347$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7348ac_tool_warned=yes ;; 7349esac 7350 LIPO=$ac_ct_LIPO 7351 fi 7352else 7353 LIPO="$ac_cv_prog_LIPO" 7354fi 7355 7356 if test -n "$ac_tool_prefix"; then 7357 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7358set dummy ${ac_tool_prefix}otool; ac_word=$2 7359{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7360$as_echo_n "checking for $ac_word... " >&6; } 7361if ${ac_cv_prog_OTOOL+:} false; then : 7362 $as_echo_n "(cached) " >&6 7363else 7364 if test -n "$OTOOL"; then 7365 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7366else 7367as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7368for as_dir in $PATH 7369do 7370 IFS=$as_save_IFS 7371 test -z "$as_dir" && as_dir=. 7372 for ac_exec_ext in '' $ac_executable_extensions; do 7373 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7374 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7376 break 2 7377 fi 7378done 7379 done 7380IFS=$as_save_IFS 7381 7382fi 7383fi 7384OTOOL=$ac_cv_prog_OTOOL 7385if test -n "$OTOOL"; then 7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7387$as_echo "$OTOOL" >&6; } 7388else 7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7390$as_echo "no" >&6; } 7391fi 7392 7393 7394fi 7395if test -z "$ac_cv_prog_OTOOL"; then 7396 ac_ct_OTOOL=$OTOOL 7397 # Extract the first word of "otool", so it can be a program name with args. 7398set dummy otool; ac_word=$2 7399{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7400$as_echo_n "checking for $ac_word... " >&6; } 7401if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 7402 $as_echo_n "(cached) " >&6 7403else 7404 if test -n "$ac_ct_OTOOL"; then 7405 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7406else 7407as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7408for as_dir in $PATH 7409do 7410 IFS=$as_save_IFS 7411 test -z "$as_dir" && as_dir=. 7412 for ac_exec_ext in '' $ac_executable_extensions; do 7413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7414 ac_cv_prog_ac_ct_OTOOL="otool" 7415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7416 break 2 7417 fi 7418done 7419 done 7420IFS=$as_save_IFS 7421 7422fi 7423fi 7424ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7425if test -n "$ac_ct_OTOOL"; then 7426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7427$as_echo "$ac_ct_OTOOL" >&6; } 7428else 7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7430$as_echo "no" >&6; } 7431fi 7432 7433 if test "x$ac_ct_OTOOL" = x; then 7434 OTOOL=":" 7435 else 7436 case $cross_compiling:$ac_tool_warned in 7437yes:) 7438{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7439$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7440ac_tool_warned=yes ;; 7441esac 7442 OTOOL=$ac_ct_OTOOL 7443 fi 7444else 7445 OTOOL="$ac_cv_prog_OTOOL" 7446fi 7447 7448 if test -n "$ac_tool_prefix"; then 7449 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7450set dummy ${ac_tool_prefix}otool64; ac_word=$2 7451{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7452$as_echo_n "checking for $ac_word... " >&6; } 7453if ${ac_cv_prog_OTOOL64+:} false; then : 7454 $as_echo_n "(cached) " >&6 7455else 7456 if test -n "$OTOOL64"; then 7457 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7458else 7459as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7460for as_dir in $PATH 7461do 7462 IFS=$as_save_IFS 7463 test -z "$as_dir" && as_dir=. 7464 for ac_exec_ext in '' $ac_executable_extensions; do 7465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7466 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7468 break 2 7469 fi 7470done 7471 done 7472IFS=$as_save_IFS 7473 7474fi 7475fi 7476OTOOL64=$ac_cv_prog_OTOOL64 7477if test -n "$OTOOL64"; then 7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7479$as_echo "$OTOOL64" >&6; } 7480else 7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7482$as_echo "no" >&6; } 7483fi 7484 7485 7486fi 7487if test -z "$ac_cv_prog_OTOOL64"; then 7488 ac_ct_OTOOL64=$OTOOL64 7489 # Extract the first word of "otool64", so it can be a program name with args. 7490set dummy otool64; ac_word=$2 7491{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7492$as_echo_n "checking for $ac_word... " >&6; } 7493if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 7494 $as_echo_n "(cached) " >&6 7495else 7496 if test -n "$ac_ct_OTOOL64"; then 7497 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7498else 7499as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7500for as_dir in $PATH 7501do 7502 IFS=$as_save_IFS 7503 test -z "$as_dir" && as_dir=. 7504 for ac_exec_ext in '' $ac_executable_extensions; do 7505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7506 ac_cv_prog_ac_ct_OTOOL64="otool64" 7507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7508 break 2 7509 fi 7510done 7511 done 7512IFS=$as_save_IFS 7513 7514fi 7515fi 7516ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7517if test -n "$ac_ct_OTOOL64"; then 7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7519$as_echo "$ac_ct_OTOOL64" >&6; } 7520else 7521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7522$as_echo "no" >&6; } 7523fi 7524 7525 if test "x$ac_ct_OTOOL64" = x; then 7526 OTOOL64=":" 7527 else 7528 case $cross_compiling:$ac_tool_warned in 7529yes:) 7530{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7531$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7532ac_tool_warned=yes ;; 7533esac 7534 OTOOL64=$ac_ct_OTOOL64 7535 fi 7536else 7537 OTOOL64="$ac_cv_prog_OTOOL64" 7538fi 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7567$as_echo_n "checking for -single_module linker flag... " >&6; } 7568if ${lt_cv_apple_cc_single_mod+:} false; then : 7569 $as_echo_n "(cached) " >&6 7570else 7571 lt_cv_apple_cc_single_mod=no 7572 if test -z "$LT_MULTI_MODULE"; then 7573 # By default we will add the -single_module flag. You can override 7574 # by either setting the environment variable LT_MULTI_MODULE 7575 # non-empty at configure time, or by adding -multi_module to the 7576 # link flags. 7577 rm -rf libconftest.dylib* 7578 echo "int foo(void){return 1;}" > conftest.c 7579 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7580-dynamiclib -Wl,-single_module conftest.c" >&5 7581 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7582 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7583 _lt_result=$? 7584 # If there is a non-empty error log, and "single_module" 7585 # appears in it, assume the flag caused a linker warning 7586 if test -s conftest.err && $GREP single_module conftest.err; then 7587 cat conftest.err >&5 7588 # Otherwise, if the output was created with a 0 exit code from 7589 # the compiler, it worked. 7590 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 7591 lt_cv_apple_cc_single_mod=yes 7592 else 7593 cat conftest.err >&5 7594 fi 7595 rm -rf libconftest.dylib* 7596 rm -f conftest.* 7597 fi 7598fi 7599{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7600$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7601 7602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7603$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7604if ${lt_cv_ld_exported_symbols_list+:} false; then : 7605 $as_echo_n "(cached) " >&6 7606else 7607 lt_cv_ld_exported_symbols_list=no 7608 save_LDFLAGS=$LDFLAGS 7609 echo "_main" > conftest.sym 7610 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7612/* end confdefs.h. */ 7613 7614int 7615main () 7616{ 7617 7618 ; 7619 return 0; 7620} 7621_ACEOF 7622if ac_fn_c_try_link "$LINENO"; then : 7623 lt_cv_ld_exported_symbols_list=yes 7624else 7625 lt_cv_ld_exported_symbols_list=no 7626fi 7627rm -f core conftest.err conftest.$ac_objext \ 7628 conftest$ac_exeext conftest.$ac_ext 7629 LDFLAGS=$save_LDFLAGS 7630 7631fi 7632{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7633$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7634 7635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7636$as_echo_n "checking for -force_load linker flag... " >&6; } 7637if ${lt_cv_ld_force_load+:} false; then : 7638 $as_echo_n "(cached) " >&6 7639else 7640 lt_cv_ld_force_load=no 7641 cat > conftest.c << _LT_EOF 7642int forced_loaded() { return 2;} 7643_LT_EOF 7644 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7645 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7646 echo "$AR cru libconftest.a conftest.o" >&5 7647 $AR cru libconftest.a conftest.o 2>&5 7648 echo "$RANLIB libconftest.a" >&5 7649 $RANLIB libconftest.a 2>&5 7650 cat > conftest.c << _LT_EOF 7651int main() { return 0;} 7652_LT_EOF 7653 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7654 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7655 _lt_result=$? 7656 if test -s conftest.err && $GREP force_load conftest.err; then 7657 cat conftest.err >&5 7658 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 7659 lt_cv_ld_force_load=yes 7660 else 7661 cat conftest.err >&5 7662 fi 7663 rm -f conftest.err libconftest.a conftest conftest.c 7664 rm -rf conftest.dSYM 7665 7666fi 7667{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7668$as_echo "$lt_cv_ld_force_load" >&6; } 7669 case $host_os in 7670 rhapsody* | darwin1.[012]) 7671 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 7672 darwin1.*) 7673 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7674 darwin*) # darwin 5.x on 7675 # if running on 10.5 or later, the deployment target defaults 7676 # to the OS version, if on x86, and 10.4, the deployment 7677 # target defaults to 10.4. Don't you love it? 7678 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7679 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7680 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7681 10.[012][,.]*) 7682 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7683 10.*) 7684 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7685 esac 7686 ;; 7687 esac 7688 if test yes = "$lt_cv_apple_cc_single_mod"; then 7689 _lt_dar_single_mod='$single_module' 7690 fi 7691 if test yes = "$lt_cv_ld_exported_symbols_list"; then 7692 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 7693 else 7694 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 7695 fi 7696 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 7697 _lt_dsymutil='~$DSYMUTIL $lib || :' 7698 else 7699 _lt_dsymutil= 7700 fi 7701 ;; 7702 esac 7703 7704# func_munge_path_list VARIABLE PATH 7705# ----------------------------------- 7706# VARIABLE is name of variable containing _space_ separated list of 7707# directories to be munged by the contents of PATH, which is string 7708# having a format: 7709# "DIR[:DIR]:" 7710# string "DIR[ DIR]" will be prepended to VARIABLE 7711# ":DIR[:DIR]" 7712# string "DIR[ DIR]" will be appended to VARIABLE 7713# "DIRP[:DIRP]::[DIRA:]DIRA" 7714# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 7715# "DIRA[ DIRA]" will be appended to VARIABLE 7716# "DIR[:DIR]" 7717# VARIABLE will be replaced by "DIR[ DIR]" 7718func_munge_path_list () 7719{ 7720 case x$2 in 7721 x) 7722 ;; 7723 *:) 7724 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 7725 ;; 7726 x:*) 7727 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 7728 ;; 7729 *::*) 7730 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 7731 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 7732 ;; 7733 *) 7734 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 7735 ;; 7736 esac 7737} 7738 7739ac_ext=c 7740ac_cpp='$CPP $CPPFLAGS' 7741ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7742ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7743ac_compiler_gnu=$ac_cv_c_compiler_gnu 7744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7745$as_echo_n "checking how to run the C preprocessor... " >&6; } 7746# On Suns, sometimes $CPP names a directory. 7747if test -n "$CPP" && test -d "$CPP"; then 7748 CPP= 7749fi 7750if test -z "$CPP"; then 7751 if ${ac_cv_prog_CPP+:} false; then : 7752 $as_echo_n "(cached) " >&6 7753else 7754 # Double quotes because CPP needs to be expanded 7755 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 7756 do 7757 ac_preproc_ok=false 7758for ac_c_preproc_warn_flag in '' yes 7759do 7760 # Use a header file that comes with gcc, so configuring glibc 7761 # with a fresh cross-compiler works. 7762 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7763 # <limits.h> exists even on freestanding compilers. 7764 # On the NeXT, cc -E runs the code through the compiler's parser, 7765 # not just through cpp. "Syntax error" is here to catch this case. 7766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7767/* end confdefs.h. */ 7768#ifdef __STDC__ 7769# include <limits.h> 7770#else 7771# include <assert.h> 7772#endif 7773 Syntax error 7774_ACEOF 7775if ac_fn_c_try_cpp "$LINENO"; then : 7776 7777else 7778 # Broken: fails on valid input. 7779continue 7780fi 7781rm -f conftest.err conftest.i conftest.$ac_ext 7782 7783 # OK, works on sane cases. Now check whether nonexistent headers 7784 # can be detected and how. 7785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7786/* end confdefs.h. */ 7787#include <ac_nonexistent.h> 7788_ACEOF 7789if ac_fn_c_try_cpp "$LINENO"; then : 7790 # Broken: success on invalid input. 7791continue 7792else 7793 # Passes both tests. 7794ac_preproc_ok=: 7795break 7796fi 7797rm -f conftest.err conftest.i conftest.$ac_ext 7798 7799done 7800# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7801rm -f conftest.i conftest.err conftest.$ac_ext 7802if $ac_preproc_ok; then : 7803 break 7804fi 7805 7806 done 7807 ac_cv_prog_CPP=$CPP 7808 7809fi 7810 CPP=$ac_cv_prog_CPP 7811else 7812 ac_cv_prog_CPP=$CPP 7813fi 7814{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7815$as_echo "$CPP" >&6; } 7816ac_preproc_ok=false 7817for ac_c_preproc_warn_flag in '' yes 7818do 7819 # Use a header file that comes with gcc, so configuring glibc 7820 # with a fresh cross-compiler works. 7821 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7822 # <limits.h> exists even on freestanding compilers. 7823 # On the NeXT, cc -E runs the code through the compiler's parser, 7824 # not just through cpp. "Syntax error" is here to catch this case. 7825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7826/* end confdefs.h. */ 7827#ifdef __STDC__ 7828# include <limits.h> 7829#else 7830# include <assert.h> 7831#endif 7832 Syntax error 7833_ACEOF 7834if ac_fn_c_try_cpp "$LINENO"; then : 7835 7836else 7837 # Broken: fails on valid input. 7838continue 7839fi 7840rm -f conftest.err conftest.i conftest.$ac_ext 7841 7842 # OK, works on sane cases. Now check whether nonexistent headers 7843 # can be detected and how. 7844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7845/* end confdefs.h. */ 7846#include <ac_nonexistent.h> 7847_ACEOF 7848if ac_fn_c_try_cpp "$LINENO"; then : 7849 # Broken: success on invalid input. 7850continue 7851else 7852 # Passes both tests. 7853ac_preproc_ok=: 7854break 7855fi 7856rm -f conftest.err conftest.i conftest.$ac_ext 7857 7858done 7859# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7860rm -f conftest.i conftest.err conftest.$ac_ext 7861if $ac_preproc_ok; then : 7862 7863else 7864 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7865$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7866as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7867See \`config.log' for more details" "$LINENO" 5; } 7868fi 7869 7870ac_ext=c 7871ac_cpp='$CPP $CPPFLAGS' 7872ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7873ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7874ac_compiler_gnu=$ac_cv_c_compiler_gnu 7875 7876 7877{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7878$as_echo_n "checking for ANSI C header files... " >&6; } 7879if ${ac_cv_header_stdc+:} false; then : 7880 $as_echo_n "(cached) " >&6 7881else 7882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7883/* end confdefs.h. */ 7884#include <stdlib.h> 7885#include <stdarg.h> 7886#include <string.h> 7887#include <float.h> 7888 7889int 7890main () 7891{ 7892 7893 ; 7894 return 0; 7895} 7896_ACEOF 7897if ac_fn_c_try_compile "$LINENO"; then : 7898 ac_cv_header_stdc=yes 7899else 7900 ac_cv_header_stdc=no 7901fi 7902rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7903 7904if test $ac_cv_header_stdc = yes; then 7905 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7907/* end confdefs.h. */ 7908#include <string.h> 7909 7910_ACEOF 7911if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7912 $EGREP "memchr" >/dev/null 2>&1; then : 7913 7914else 7915 ac_cv_header_stdc=no 7916fi 7917rm -f conftest* 7918 7919fi 7920 7921if test $ac_cv_header_stdc = yes; then 7922 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7924/* end confdefs.h. */ 7925#include <stdlib.h> 7926 7927_ACEOF 7928if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7929 $EGREP "free" >/dev/null 2>&1; then : 7930 7931else 7932 ac_cv_header_stdc=no 7933fi 7934rm -f conftest* 7935 7936fi 7937 7938if test $ac_cv_header_stdc = yes; then 7939 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7940 if test "$cross_compiling" = yes; then : 7941 : 7942else 7943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7944/* end confdefs.h. */ 7945#include <ctype.h> 7946#include <stdlib.h> 7947#if ((' ' & 0x0FF) == 0x020) 7948# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7949# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7950#else 7951# define ISLOWER(c) \ 7952 (('a' <= (c) && (c) <= 'i') \ 7953 || ('j' <= (c) && (c) <= 'r') \ 7954 || ('s' <= (c) && (c) <= 'z')) 7955# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7956#endif 7957 7958#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7959int 7960main () 7961{ 7962 int i; 7963 for (i = 0; i < 256; i++) 7964 if (XOR (islower (i), ISLOWER (i)) 7965 || toupper (i) != TOUPPER (i)) 7966 return 2; 7967 return 0; 7968} 7969_ACEOF 7970if ac_fn_c_try_run "$LINENO"; then : 7971 7972else 7973 ac_cv_header_stdc=no 7974fi 7975rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7976 conftest.$ac_objext conftest.beam conftest.$ac_ext 7977fi 7978 7979fi 7980fi 7981{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7982$as_echo "$ac_cv_header_stdc" >&6; } 7983if test $ac_cv_header_stdc = yes; then 7984 7985$as_echo "#define STDC_HEADERS 1" >>confdefs.h 7986 7987fi 7988 7989# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7990for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7991 inttypes.h stdint.h unistd.h 7992do : 7993 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7994ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7995" 7996if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7997 cat >>confdefs.h <<_ACEOF 7998#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7999_ACEOF 8000 8001fi 8002 8003done 8004 8005 8006for ac_header in dlfcn.h 8007do : 8008 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 8009" 8010if test "x$ac_cv_header_dlfcn_h" = xyes; then : 8011 cat >>confdefs.h <<_ACEOF 8012#define HAVE_DLFCN_H 1 8013_ACEOF 8014 8015fi 8016 8017done 8018 8019 8020 8021 8022 8023# Set options 8024 8025 8026 8027 enable_dlopen=no 8028 8029 8030 enable_win32_dll=no 8031 8032 8033 # Check whether --enable-shared was given. 8034if test "${enable_shared+set}" = set; then : 8035 enableval=$enable_shared; p=${PACKAGE-default} 8036 case $enableval in 8037 yes) enable_shared=yes ;; 8038 no) enable_shared=no ;; 8039 *) 8040 enable_shared=no 8041 # Look at the argument we got. We use all the common list separators. 8042 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8043 for pkg in $enableval; do 8044 IFS=$lt_save_ifs 8045 if test "X$pkg" = "X$p"; then 8046 enable_shared=yes 8047 fi 8048 done 8049 IFS=$lt_save_ifs 8050 ;; 8051 esac 8052else 8053 enable_shared=yes 8054fi 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 # Check whether --enable-static was given. 8065if test "${enable_static+set}" = set; then : 8066 enableval=$enable_static; p=${PACKAGE-default} 8067 case $enableval in 8068 yes) enable_static=yes ;; 8069 no) enable_static=no ;; 8070 *) 8071 enable_static=no 8072 # Look at the argument we got. We use all the common list separators. 8073 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8074 for pkg in $enableval; do 8075 IFS=$lt_save_ifs 8076 if test "X$pkg" = "X$p"; then 8077 enable_static=yes 8078 fi 8079 done 8080 IFS=$lt_save_ifs 8081 ;; 8082 esac 8083else 8084 enable_static=yes 8085fi 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096# Check whether --with-pic was given. 8097if test "${with_pic+set}" = set; then : 8098 withval=$with_pic; lt_p=${PACKAGE-default} 8099 case $withval in 8100 yes|no) pic_mode=$withval ;; 8101 *) 8102 pic_mode=default 8103 # Look at the argument we got. We use all the common list separators. 8104 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8105 for lt_pkg in $withval; do 8106 IFS=$lt_save_ifs 8107 if test "X$lt_pkg" = "X$lt_p"; then 8108 pic_mode=yes 8109 fi 8110 done 8111 IFS=$lt_save_ifs 8112 ;; 8113 esac 8114else 8115 pic_mode=default 8116fi 8117 8118 8119 8120 8121 8122 8123 8124 8125 # Check whether --enable-fast-install was given. 8126if test "${enable_fast_install+set}" = set; then : 8127 enableval=$enable_fast_install; p=${PACKAGE-default} 8128 case $enableval in 8129 yes) enable_fast_install=yes ;; 8130 no) enable_fast_install=no ;; 8131 *) 8132 enable_fast_install=no 8133 # Look at the argument we got. We use all the common list separators. 8134 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8135 for pkg in $enableval; do 8136 IFS=$lt_save_ifs 8137 if test "X$pkg" = "X$p"; then 8138 enable_fast_install=yes 8139 fi 8140 done 8141 IFS=$lt_save_ifs 8142 ;; 8143 esac 8144else 8145 enable_fast_install=yes 8146fi 8147 8148 8149 8150 8151 8152 8153 8154 8155 shared_archive_member_spec= 8156case $host,$enable_shared in 8157power*-*-aix[5-9]*,yes) 8158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 8159$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 8160 8161# Check whether --with-aix-soname was given. 8162if test "${with_aix_soname+set}" = set; then : 8163 withval=$with_aix_soname; case $withval in 8164 aix|svr4|both) 8165 ;; 8166 *) 8167 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 8168 ;; 8169 esac 8170 lt_cv_with_aix_soname=$with_aix_soname 8171else 8172 if ${lt_cv_with_aix_soname+:} false; then : 8173 $as_echo_n "(cached) " >&6 8174else 8175 lt_cv_with_aix_soname=aix 8176fi 8177 8178 with_aix_soname=$lt_cv_with_aix_soname 8179fi 8180 8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 8182$as_echo "$with_aix_soname" >&6; } 8183 if test aix != "$with_aix_soname"; then 8184 # For the AIX way of multilib, we name the shared archive member 8185 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 8186 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 8187 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 8188 # the AIX toolchain works better with OBJECT_MODE set (default 32). 8189 if test 64 = "${OBJECT_MODE-32}"; then 8190 shared_archive_member_spec=shr_64 8191 else 8192 shared_archive_member_spec=shr 8193 fi 8194 fi 8195 ;; 8196*) 8197 with_aix_soname=aix 8198 ;; 8199esac 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210# This can be used to rebuild libtool when needed 8211LIBTOOL_DEPS=$ltmain 8212 8213# Always use our own libtool. 8214LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245test -z "$LN_S" && LN_S="ln -s" 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260if test -n "${ZSH_VERSION+set}"; then 8261 setopt NO_GLOB_SUBST 8262fi 8263 8264{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8265$as_echo_n "checking for objdir... " >&6; } 8266if ${lt_cv_objdir+:} false; then : 8267 $as_echo_n "(cached) " >&6 8268else 8269 rm -f .libs 2>/dev/null 8270mkdir .libs 2>/dev/null 8271if test -d .libs; then 8272 lt_cv_objdir=.libs 8273else 8274 # MS-DOS does not allow filenames that begin with a dot. 8275 lt_cv_objdir=_libs 8276fi 8277rmdir .libs 2>/dev/null 8278fi 8279{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 8280$as_echo "$lt_cv_objdir" >&6; } 8281objdir=$lt_cv_objdir 8282 8283 8284 8285 8286 8287cat >>confdefs.h <<_ACEOF 8288#define LT_OBJDIR "$lt_cv_objdir/" 8289_ACEOF 8290 8291 8292 8293 8294case $host_os in 8295aix3*) 8296 # AIX sometimes has problems with the GCC collect2 program. For some 8297 # reason, if we set the COLLECT_NAMES environment variable, the problems 8298 # vanish in a puff of smoke. 8299 if test set != "${COLLECT_NAMES+set}"; then 8300 COLLECT_NAMES= 8301 export COLLECT_NAMES 8302 fi 8303 ;; 8304esac 8305 8306# Global variables: 8307ofile=libtool 8308can_build_shared=yes 8309 8310# All known linkers require a '.a' archive for static linking (except MSVC, 8311# which needs '.lib'). 8312libext=a 8313 8314with_gnu_ld=$lt_cv_prog_gnu_ld 8315 8316old_CC=$CC 8317old_CFLAGS=$CFLAGS 8318 8319# Set sane defaults for various variables 8320test -z "$CC" && CC=cc 8321test -z "$LTCC" && LTCC=$CC 8322test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 8323test -z "$LD" && LD=ld 8324test -z "$ac_objext" && ac_objext=o 8325 8326func_cc_basename $compiler 8327cc_basename=$func_cc_basename_result 8328 8329 8330# Only perform the check for file, if the check method requires it 8331test -z "$MAGIC_CMD" && MAGIC_CMD=file 8332case $deplibs_check_method in 8333file_magic*) 8334 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8336$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8337if ${lt_cv_path_MAGIC_CMD+:} false; then : 8338 $as_echo_n "(cached) " >&6 8339else 8340 case $MAGIC_CMD in 8341[\\/*] | ?:[\\/]*) 8342 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8343 ;; 8344*) 8345 lt_save_MAGIC_CMD=$MAGIC_CMD 8346 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8347 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8348 for ac_dir in $ac_dummy; do 8349 IFS=$lt_save_ifs 8350 test -z "$ac_dir" && ac_dir=. 8351 if test -f "$ac_dir/${ac_tool_prefix}file"; then 8352 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 8353 if test -n "$file_magic_test_file"; then 8354 case $deplibs_check_method in 8355 "file_magic "*) 8356 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8357 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8358 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8359 $EGREP "$file_magic_regex" > /dev/null; then 8360 : 8361 else 8362 cat <<_LT_EOF 1>&2 8363 8364*** Warning: the command libtool uses to detect shared libraries, 8365*** $file_magic_cmd, produces output that libtool cannot recognize. 8366*** The result is that libtool may fail to recognize shared libraries 8367*** as such. This will affect the creation of libtool libraries that 8368*** depend on shared libraries, but programs linked with such libtool 8369*** libraries will work regardless of this problem. Nevertheless, you 8370*** may want to report the problem to your system manager and/or to 8371*** bug-libtool@gnu.org 8372 8373_LT_EOF 8374 fi ;; 8375 esac 8376 fi 8377 break 8378 fi 8379 done 8380 IFS=$lt_save_ifs 8381 MAGIC_CMD=$lt_save_MAGIC_CMD 8382 ;; 8383esac 8384fi 8385 8386MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8387if test -n "$MAGIC_CMD"; then 8388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8389$as_echo "$MAGIC_CMD" >&6; } 8390else 8391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8392$as_echo "no" >&6; } 8393fi 8394 8395 8396 8397 8398 8399if test -z "$lt_cv_path_MAGIC_CMD"; then 8400 if test -n "$ac_tool_prefix"; then 8401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8402$as_echo_n "checking for file... " >&6; } 8403if ${lt_cv_path_MAGIC_CMD+:} false; then : 8404 $as_echo_n "(cached) " >&6 8405else 8406 case $MAGIC_CMD in 8407[\\/*] | ?:[\\/]*) 8408 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8409 ;; 8410*) 8411 lt_save_MAGIC_CMD=$MAGIC_CMD 8412 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8413 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8414 for ac_dir in $ac_dummy; do 8415 IFS=$lt_save_ifs 8416 test -z "$ac_dir" && ac_dir=. 8417 if test -f "$ac_dir/file"; then 8418 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 8419 if test -n "$file_magic_test_file"; then 8420 case $deplibs_check_method in 8421 "file_magic "*) 8422 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8423 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8424 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8425 $EGREP "$file_magic_regex" > /dev/null; then 8426 : 8427 else 8428 cat <<_LT_EOF 1>&2 8429 8430*** Warning: the command libtool uses to detect shared libraries, 8431*** $file_magic_cmd, produces output that libtool cannot recognize. 8432*** The result is that libtool may fail to recognize shared libraries 8433*** as such. This will affect the creation of libtool libraries that 8434*** depend on shared libraries, but programs linked with such libtool 8435*** libraries will work regardless of this problem. Nevertheless, you 8436*** may want to report the problem to your system manager and/or to 8437*** bug-libtool@gnu.org 8438 8439_LT_EOF 8440 fi ;; 8441 esac 8442 fi 8443 break 8444 fi 8445 done 8446 IFS=$lt_save_ifs 8447 MAGIC_CMD=$lt_save_MAGIC_CMD 8448 ;; 8449esac 8450fi 8451 8452MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8453if test -n "$MAGIC_CMD"; then 8454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8455$as_echo "$MAGIC_CMD" >&6; } 8456else 8457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8458$as_echo "no" >&6; } 8459fi 8460 8461 8462 else 8463 MAGIC_CMD=: 8464 fi 8465fi 8466 8467 fi 8468 ;; 8469esac 8470 8471# Use C for the default configuration in the libtool script 8472 8473lt_save_CC=$CC 8474ac_ext=c 8475ac_cpp='$CPP $CPPFLAGS' 8476ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8477ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8478ac_compiler_gnu=$ac_cv_c_compiler_gnu 8479 8480 8481# Source file extension for C test sources. 8482ac_ext=c 8483 8484# Object file extension for compiled C test sources. 8485objext=o 8486objext=$objext 8487 8488# Code to be used in simple compile tests 8489lt_simple_compile_test_code="int some_variable = 0;" 8490 8491# Code to be used in simple link tests 8492lt_simple_link_test_code='int main(){return(0);}' 8493 8494 8495 8496 8497 8498 8499 8500# If no C compiler was specified, use CC. 8501LTCC=${LTCC-"$CC"} 8502 8503# If no C compiler flags were specified, use CFLAGS. 8504LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8505 8506# Allow CC to be a program name with arguments. 8507compiler=$CC 8508 8509# Save the default compiler, since it gets overwritten when the other 8510# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8511compiler_DEFAULT=$CC 8512 8513# save warnings/boilerplate of simple test code 8514ac_outfile=conftest.$ac_objext 8515echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8516eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8517_lt_compiler_boilerplate=`cat conftest.err` 8518$RM conftest* 8519 8520ac_outfile=conftest.$ac_objext 8521echo "$lt_simple_link_test_code" >conftest.$ac_ext 8522eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8523_lt_linker_boilerplate=`cat conftest.err` 8524$RM -r conftest* 8525 8526 8527if test -n "$compiler"; then 8528 8529lt_prog_compiler_no_builtin_flag= 8530 8531if test yes = "$GCC"; then 8532 case $cc_basename in 8533 nvcc*) 8534 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 8535 *) 8536 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8537 esac 8538 8539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8540$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8541if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 8542 $as_echo_n "(cached) " >&6 8543else 8544 lt_cv_prog_compiler_rtti_exceptions=no 8545 ac_outfile=conftest.$ac_objext 8546 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8547 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 8548 # Insert the option either (1) after the last *FLAGS variable, or 8549 # (2) before a word containing "conftest.", or (3) at the end. 8550 # Note that $ac_compile itself does not contain backslashes and begins 8551 # with a dollar sign (not a hyphen), so the echo should work correctly. 8552 # The option is referenced via a variable to avoid confusing sed. 8553 lt_compile=`echo "$ac_compile" | $SED \ 8554 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8555 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8556 -e 's:$: $lt_compiler_flag:'` 8557 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8558 (eval "$lt_compile" 2>conftest.err) 8559 ac_status=$? 8560 cat conftest.err >&5 8561 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8562 if (exit $ac_status) && test -s "$ac_outfile"; then 8563 # The compiler can only warn and ignore the option if not recognized 8564 # So say no if there are warnings other than the usual output. 8565 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8566 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8567 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8568 lt_cv_prog_compiler_rtti_exceptions=yes 8569 fi 8570 fi 8571 $RM conftest* 8572 8573fi 8574{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8575$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8576 8577if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 8578 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8579else 8580 : 8581fi 8582 8583fi 8584 8585 8586 8587 8588 8589 8590 lt_prog_compiler_wl= 8591lt_prog_compiler_pic= 8592lt_prog_compiler_static= 8593 8594 8595 if test yes = "$GCC"; then 8596 lt_prog_compiler_wl='-Wl,' 8597 lt_prog_compiler_static='-static' 8598 8599 case $host_os in 8600 aix*) 8601 # All AIX code is PIC. 8602 if test ia64 = "$host_cpu"; then 8603 # AIX 5 now supports IA64 processor 8604 lt_prog_compiler_static='-Bstatic' 8605 fi 8606 lt_prog_compiler_pic='-fPIC' 8607 ;; 8608 8609 amigaos*) 8610 case $host_cpu in 8611 powerpc) 8612 # see comment about AmigaOS4 .so support 8613 lt_prog_compiler_pic='-fPIC' 8614 ;; 8615 m68k) 8616 # FIXME: we need at least 68020 code to build shared libraries, but 8617 # adding the '-m68020' flag to GCC prevents building anything better, 8618 # like '-m68040'. 8619 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8620 ;; 8621 esac 8622 ;; 8623 8624 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8625 # PIC is the default for these OSes. 8626 ;; 8627 8628 mingw* | cygwin* | pw32* | os2* | cegcc*) 8629 # This hack is so that the source file can tell whether it is being 8630 # built for inclusion in a dll (and should export symbols for example). 8631 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8632 # (--disable-auto-import) libraries 8633 lt_prog_compiler_pic='-DDLL_EXPORT' 8634 case $host_os in 8635 os2*) 8636 lt_prog_compiler_static='$wl-static' 8637 ;; 8638 esac 8639 ;; 8640 8641 darwin* | rhapsody*) 8642 # PIC is the default on this platform 8643 # Common symbols not allowed in MH_DYLIB files 8644 lt_prog_compiler_pic='-fno-common' 8645 ;; 8646 8647 haiku*) 8648 # PIC is the default for Haiku. 8649 # The "-static" flag exists, but is broken. 8650 lt_prog_compiler_static= 8651 ;; 8652 8653 hpux*) 8654 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8655 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8656 # sets the default TLS model and affects inlining. 8657 case $host_cpu in 8658 hppa*64*) 8659 # +Z the default 8660 ;; 8661 *) 8662 lt_prog_compiler_pic='-fPIC' 8663 ;; 8664 esac 8665 ;; 8666 8667 interix[3-9]*) 8668 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8669 # Instead, we relocate shared libraries at runtime. 8670 ;; 8671 8672 msdosdjgpp*) 8673 # Just because we use GCC doesn't mean we suddenly get shared libraries 8674 # on systems that don't support them. 8675 lt_prog_compiler_can_build_shared=no 8676 enable_shared=no 8677 ;; 8678 8679 *nto* | *qnx*) 8680 # QNX uses GNU C++, but need to define -shared option too, otherwise 8681 # it will coredump. 8682 lt_prog_compiler_pic='-fPIC -shared' 8683 ;; 8684 8685 sysv4*MP*) 8686 if test -d /usr/nec; then 8687 lt_prog_compiler_pic=-Kconform_pic 8688 fi 8689 ;; 8690 8691 *) 8692 lt_prog_compiler_pic='-fPIC' 8693 ;; 8694 esac 8695 8696 case $cc_basename in 8697 nvcc*) # Cuda Compiler Driver 2.2 8698 lt_prog_compiler_wl='-Xlinker ' 8699 if test -n "$lt_prog_compiler_pic"; then 8700 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 8701 fi 8702 ;; 8703 esac 8704 else 8705 # PORTME Check for flag to pass linker flags through the system compiler. 8706 case $host_os in 8707 aix*) 8708 lt_prog_compiler_wl='-Wl,' 8709 if test ia64 = "$host_cpu"; then 8710 # AIX 5 now supports IA64 processor 8711 lt_prog_compiler_static='-Bstatic' 8712 else 8713 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8714 fi 8715 ;; 8716 8717 darwin* | rhapsody*) 8718 # PIC is the default on this platform 8719 # Common symbols not allowed in MH_DYLIB files 8720 lt_prog_compiler_pic='-fno-common' 8721 case $cc_basename in 8722 nagfor*) 8723 # NAG Fortran compiler 8724 lt_prog_compiler_wl='-Wl,-Wl,,' 8725 lt_prog_compiler_pic='-PIC' 8726 lt_prog_compiler_static='-Bstatic' 8727 ;; 8728 esac 8729 ;; 8730 8731 mingw* | cygwin* | pw32* | os2* | cegcc*) 8732 # This hack is so that the source file can tell whether it is being 8733 # built for inclusion in a dll (and should export symbols for example). 8734 lt_prog_compiler_pic='-DDLL_EXPORT' 8735 case $host_os in 8736 os2*) 8737 lt_prog_compiler_static='$wl-static' 8738 ;; 8739 esac 8740 ;; 8741 8742 hpux9* | hpux10* | hpux11*) 8743 lt_prog_compiler_wl='-Wl,' 8744 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8745 # not for PA HP-UX. 8746 case $host_cpu in 8747 hppa*64*|ia64*) 8748 # +Z the default 8749 ;; 8750 *) 8751 lt_prog_compiler_pic='+Z' 8752 ;; 8753 esac 8754 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8755 lt_prog_compiler_static='$wl-a ${wl}archive' 8756 ;; 8757 8758 irix5* | irix6* | nonstopux*) 8759 lt_prog_compiler_wl='-Wl,' 8760 # PIC (with -KPIC) is the default. 8761 lt_prog_compiler_static='-non_shared' 8762 ;; 8763 8764 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 8765 case $cc_basename in 8766 # old Intel for x86_64, which still supported -KPIC. 8767 ecc*) 8768 lt_prog_compiler_wl='-Wl,' 8769 lt_prog_compiler_pic='-KPIC' 8770 lt_prog_compiler_static='-static' 8771 ;; 8772 # icc used to be incompatible with GCC. 8773 # ICC 10 doesn't accept -KPIC any more. 8774 icc* | ifort*) 8775 lt_prog_compiler_wl='-Wl,' 8776 lt_prog_compiler_pic='-fPIC' 8777 lt_prog_compiler_static='-static' 8778 ;; 8779 # Lahey Fortran 8.1. 8780 lf95*) 8781 lt_prog_compiler_wl='-Wl,' 8782 lt_prog_compiler_pic='--shared' 8783 lt_prog_compiler_static='--static' 8784 ;; 8785 nagfor*) 8786 # NAG Fortran compiler 8787 lt_prog_compiler_wl='-Wl,-Wl,,' 8788 lt_prog_compiler_pic='-PIC' 8789 lt_prog_compiler_static='-Bstatic' 8790 ;; 8791 tcc*) 8792 # Fabrice Bellard et al's Tiny C Compiler 8793 lt_prog_compiler_wl='-Wl,' 8794 lt_prog_compiler_pic='-fPIC' 8795 lt_prog_compiler_static='-static' 8796 ;; 8797 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8798 # Portland Group compilers (*not* the Pentium gcc compiler, 8799 # which looks to be a dead project) 8800 lt_prog_compiler_wl='-Wl,' 8801 lt_prog_compiler_pic='-fpic' 8802 lt_prog_compiler_static='-Bstatic' 8803 ;; 8804 ccc*) 8805 lt_prog_compiler_wl='-Wl,' 8806 # All Alpha code is PIC. 8807 lt_prog_compiler_static='-non_shared' 8808 ;; 8809 xl* | bgxl* | bgf* | mpixl*) 8810 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8811 lt_prog_compiler_wl='-Wl,' 8812 lt_prog_compiler_pic='-qpic' 8813 lt_prog_compiler_static='-qstaticlink' 8814 ;; 8815 *) 8816 case `$CC -V 2>&1 | sed 5q` in 8817 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 8818 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8819 lt_prog_compiler_pic='-KPIC' 8820 lt_prog_compiler_static='-Bstatic' 8821 lt_prog_compiler_wl='' 8822 ;; 8823 *Sun\ F* | *Sun*Fortran*) 8824 lt_prog_compiler_pic='-KPIC' 8825 lt_prog_compiler_static='-Bstatic' 8826 lt_prog_compiler_wl='-Qoption ld ' 8827 ;; 8828 *Sun\ C*) 8829 # Sun C 5.9 8830 lt_prog_compiler_pic='-KPIC' 8831 lt_prog_compiler_static='-Bstatic' 8832 lt_prog_compiler_wl='-Wl,' 8833 ;; 8834 *Intel*\ [CF]*Compiler*) 8835 lt_prog_compiler_wl='-Wl,' 8836 lt_prog_compiler_pic='-fPIC' 8837 lt_prog_compiler_static='-static' 8838 ;; 8839 *Portland\ Group*) 8840 lt_prog_compiler_wl='-Wl,' 8841 lt_prog_compiler_pic='-fpic' 8842 lt_prog_compiler_static='-Bstatic' 8843 ;; 8844 esac 8845 ;; 8846 esac 8847 ;; 8848 8849 newsos6) 8850 lt_prog_compiler_pic='-KPIC' 8851 lt_prog_compiler_static='-Bstatic' 8852 ;; 8853 8854 *nto* | *qnx*) 8855 # QNX uses GNU C++, but need to define -shared option too, otherwise 8856 # it will coredump. 8857 lt_prog_compiler_pic='-fPIC -shared' 8858 ;; 8859 8860 osf3* | osf4* | osf5*) 8861 lt_prog_compiler_wl='-Wl,' 8862 # All OSF/1 code is PIC. 8863 lt_prog_compiler_static='-non_shared' 8864 ;; 8865 8866 rdos*) 8867 lt_prog_compiler_static='-non_shared' 8868 ;; 8869 8870 solaris*) 8871 lt_prog_compiler_pic='-KPIC' 8872 lt_prog_compiler_static='-Bstatic' 8873 case $cc_basename in 8874 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 8875 lt_prog_compiler_wl='-Qoption ld ';; 8876 *) 8877 lt_prog_compiler_wl='-Wl,';; 8878 esac 8879 ;; 8880 8881 sunos4*) 8882 lt_prog_compiler_wl='-Qoption ld ' 8883 lt_prog_compiler_pic='-PIC' 8884 lt_prog_compiler_static='-Bstatic' 8885 ;; 8886 8887 sysv4 | sysv4.2uw2* | sysv4.3*) 8888 lt_prog_compiler_wl='-Wl,' 8889 lt_prog_compiler_pic='-KPIC' 8890 lt_prog_compiler_static='-Bstatic' 8891 ;; 8892 8893 sysv4*MP*) 8894 if test -d /usr/nec; then 8895 lt_prog_compiler_pic='-Kconform_pic' 8896 lt_prog_compiler_static='-Bstatic' 8897 fi 8898 ;; 8899 8900 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8901 lt_prog_compiler_wl='-Wl,' 8902 lt_prog_compiler_pic='-KPIC' 8903 lt_prog_compiler_static='-Bstatic' 8904 ;; 8905 8906 unicos*) 8907 lt_prog_compiler_wl='-Wl,' 8908 lt_prog_compiler_can_build_shared=no 8909 ;; 8910 8911 uts4*) 8912 lt_prog_compiler_pic='-pic' 8913 lt_prog_compiler_static='-Bstatic' 8914 ;; 8915 8916 *) 8917 lt_prog_compiler_can_build_shared=no 8918 ;; 8919 esac 8920 fi 8921 8922case $host_os in 8923 # For platforms that do not support PIC, -DPIC is meaningless: 8924 *djgpp*) 8925 lt_prog_compiler_pic= 8926 ;; 8927 *) 8928 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8929 ;; 8930esac 8931 8932{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 8933$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8934if ${lt_cv_prog_compiler_pic+:} false; then : 8935 $as_echo_n "(cached) " >&6 8936else 8937 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 8938fi 8939{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 8940$as_echo "$lt_cv_prog_compiler_pic" >&6; } 8941lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 8942 8943# 8944# Check to make sure the PIC flag actually works. 8945# 8946if test -n "$lt_prog_compiler_pic"; then 8947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8948$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8949if ${lt_cv_prog_compiler_pic_works+:} false; then : 8950 $as_echo_n "(cached) " >&6 8951else 8952 lt_cv_prog_compiler_pic_works=no 8953 ac_outfile=conftest.$ac_objext 8954 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8955 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 8956 # Insert the option either (1) after the last *FLAGS variable, or 8957 # (2) before a word containing "conftest.", or (3) at the end. 8958 # Note that $ac_compile itself does not contain backslashes and begins 8959 # with a dollar sign (not a hyphen), so the echo should work correctly. 8960 # The option is referenced via a variable to avoid confusing sed. 8961 lt_compile=`echo "$ac_compile" | $SED \ 8962 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8963 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8964 -e 's:$: $lt_compiler_flag:'` 8965 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8966 (eval "$lt_compile" 2>conftest.err) 8967 ac_status=$? 8968 cat conftest.err >&5 8969 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8970 if (exit $ac_status) && test -s "$ac_outfile"; then 8971 # The compiler can only warn and ignore the option if not recognized 8972 # So say no if there are warnings other than the usual output. 8973 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8974 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8975 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8976 lt_cv_prog_compiler_pic_works=yes 8977 fi 8978 fi 8979 $RM conftest* 8980 8981fi 8982{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8983$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8984 8985if test yes = "$lt_cv_prog_compiler_pic_works"; then 8986 case $lt_prog_compiler_pic in 8987 "" | " "*) ;; 8988 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8989 esac 8990else 8991 lt_prog_compiler_pic= 8992 lt_prog_compiler_can_build_shared=no 8993fi 8994 8995fi 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007# 9008# Check to make sure the static flag actually works. 9009# 9010wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 9011{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 9012$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 9013if ${lt_cv_prog_compiler_static_works+:} false; then : 9014 $as_echo_n "(cached) " >&6 9015else 9016 lt_cv_prog_compiler_static_works=no 9017 save_LDFLAGS=$LDFLAGS 9018 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 9019 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9020 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9021 # The linker can only warn and ignore the option if not recognized 9022 # So say no if there are warnings 9023 if test -s conftest.err; then 9024 # Append any errors to the config.log. 9025 cat conftest.err 1>&5 9026 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9027 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9028 if diff conftest.exp conftest.er2 >/dev/null; then 9029 lt_cv_prog_compiler_static_works=yes 9030 fi 9031 else 9032 lt_cv_prog_compiler_static_works=yes 9033 fi 9034 fi 9035 $RM -r conftest* 9036 LDFLAGS=$save_LDFLAGS 9037 9038fi 9039{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 9040$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 9041 9042if test yes = "$lt_cv_prog_compiler_static_works"; then 9043 : 9044else 9045 lt_prog_compiler_static= 9046fi 9047 9048 9049 9050 9051 9052 9053 9054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9055$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9056if ${lt_cv_prog_compiler_c_o+:} false; then : 9057 $as_echo_n "(cached) " >&6 9058else 9059 lt_cv_prog_compiler_c_o=no 9060 $RM -r conftest 2>/dev/null 9061 mkdir conftest 9062 cd conftest 9063 mkdir out 9064 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9065 9066 lt_compiler_flag="-o out/conftest2.$ac_objext" 9067 # Insert the option either (1) after the last *FLAGS variable, or 9068 # (2) before a word containing "conftest.", or (3) at the end. 9069 # Note that $ac_compile itself does not contain backslashes and begins 9070 # with a dollar sign (not a hyphen), so the echo should work correctly. 9071 lt_compile=`echo "$ac_compile" | $SED \ 9072 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9073 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9074 -e 's:$: $lt_compiler_flag:'` 9075 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9076 (eval "$lt_compile" 2>out/conftest.err) 9077 ac_status=$? 9078 cat out/conftest.err >&5 9079 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9080 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9081 then 9082 # The compiler can only warn and ignore the option if not recognized 9083 # So say no if there are warnings 9084 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9085 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9086 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9087 lt_cv_prog_compiler_c_o=yes 9088 fi 9089 fi 9090 chmod u+w . 2>&5 9091 $RM conftest* 9092 # SGI C++ compiler will create directory out/ii_files/ for 9093 # template instantiation 9094 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9095 $RM out/* && rmdir out 9096 cd .. 9097 $RM -r conftest 9098 $RM conftest* 9099 9100fi 9101{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9102$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9103 9104 9105 9106 9107 9108 9109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9110$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9111if ${lt_cv_prog_compiler_c_o+:} false; then : 9112 $as_echo_n "(cached) " >&6 9113else 9114 lt_cv_prog_compiler_c_o=no 9115 $RM -r conftest 2>/dev/null 9116 mkdir conftest 9117 cd conftest 9118 mkdir out 9119 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9120 9121 lt_compiler_flag="-o out/conftest2.$ac_objext" 9122 # Insert the option either (1) after the last *FLAGS variable, or 9123 # (2) before a word containing "conftest.", or (3) at the end. 9124 # Note that $ac_compile itself does not contain backslashes and begins 9125 # with a dollar sign (not a hyphen), so the echo should work correctly. 9126 lt_compile=`echo "$ac_compile" | $SED \ 9127 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9128 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9129 -e 's:$: $lt_compiler_flag:'` 9130 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9131 (eval "$lt_compile" 2>out/conftest.err) 9132 ac_status=$? 9133 cat out/conftest.err >&5 9134 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9135 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9136 then 9137 # The compiler can only warn and ignore the option if not recognized 9138 # So say no if there are warnings 9139 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9140 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9141 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9142 lt_cv_prog_compiler_c_o=yes 9143 fi 9144 fi 9145 chmod u+w . 2>&5 9146 $RM conftest* 9147 # SGI C++ compiler will create directory out/ii_files/ for 9148 # template instantiation 9149 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9150 $RM out/* && rmdir out 9151 cd .. 9152 $RM -r conftest 9153 $RM conftest* 9154 9155fi 9156{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9157$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9158 9159 9160 9161 9162hard_links=nottested 9163if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 9164 # do not overwrite the value of need_locks provided by the user 9165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 9166$as_echo_n "checking if we can lock with hard links... " >&6; } 9167 hard_links=yes 9168 $RM conftest* 9169 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9170 touch conftest.a 9171 ln conftest.a conftest.b 2>&5 || hard_links=no 9172 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 9174$as_echo "$hard_links" >&6; } 9175 if test no = "$hard_links"; then 9176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 9177$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 9178 need_locks=warn 9179 fi 9180else 9181 need_locks=no 9182fi 9183 9184 9185 9186 9187 9188 9189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9190$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9191 9192 runpath_var= 9193 allow_undefined_flag= 9194 always_export_symbols=no 9195 archive_cmds= 9196 archive_expsym_cmds= 9197 compiler_needs_object=no 9198 enable_shared_with_static_runtimes=no 9199 export_dynamic_flag_spec= 9200 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9201 hardcode_automatic=no 9202 hardcode_direct=no 9203 hardcode_direct_absolute=no 9204 hardcode_libdir_flag_spec= 9205 hardcode_libdir_separator= 9206 hardcode_minus_L=no 9207 hardcode_shlibpath_var=unsupported 9208 inherit_rpath=no 9209 link_all_deplibs=unknown 9210 module_cmds= 9211 module_expsym_cmds= 9212 old_archive_from_new_cmds= 9213 old_archive_from_expsyms_cmds= 9214 thread_safe_flag_spec= 9215 whole_archive_flag_spec= 9216 # include_expsyms should be a list of space-separated symbols to be *always* 9217 # included in the symbol list 9218 include_expsyms= 9219 # exclude_expsyms can be an extended regexp of symbols to exclude 9220 # it will be wrapped by ' (' and ')$', so one must not match beginning or 9221 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 9222 # as well as any symbol that contains 'd'. 9223 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9224 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9225 # platforms (ab)use it in PIC code, but their linkers get confused if 9226 # the symbol is explicitly referenced. Since portable code cannot 9227 # rely on this symbol name, it's probably fine to never include it in 9228 # preloaded symbol tables. 9229 # Exclude shared library initialization/finalization symbols. 9230 extract_expsyms_cmds= 9231 9232 case $host_os in 9233 cygwin* | mingw* | pw32* | cegcc*) 9234 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9235 # When not using gcc, we currently assume that we are using 9236 # Microsoft Visual C++. 9237 if test yes != "$GCC"; then 9238 with_gnu_ld=no 9239 fi 9240 ;; 9241 interix*) 9242 # we just hope/assume this is gcc and not c89 (= MSVC++) 9243 with_gnu_ld=yes 9244 ;; 9245 openbsd* | bitrig*) 9246 with_gnu_ld=no 9247 ;; 9248 esac 9249 9250 ld_shlibs=yes 9251 9252 # On some targets, GNU ld is compatible enough with the native linker 9253 # that we're better off using the native interface for both. 9254 lt_use_gnu_ld_interface=no 9255 if test yes = "$with_gnu_ld"; then 9256 case $host_os in 9257 aix*) 9258 # The AIX port of GNU ld has always aspired to compatibility 9259 # with the native linker. However, as the warning in the GNU ld 9260 # block says, versions before 2.19.5* couldn't really create working 9261 # shared libraries, regardless of the interface used. 9262 case `$LD -v 2>&1` in 9263 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 9264 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 9265 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 9266 *) 9267 lt_use_gnu_ld_interface=yes 9268 ;; 9269 esac 9270 ;; 9271 *) 9272 lt_use_gnu_ld_interface=yes 9273 ;; 9274 esac 9275 fi 9276 9277 if test yes = "$lt_use_gnu_ld_interface"; then 9278 # If archive_cmds runs LD, not CC, wlarc should be empty 9279 wlarc='$wl' 9280 9281 # Set some defaults for GNU ld with shared library support. These 9282 # are reset later if shared libraries are not supported. Putting them 9283 # here allows them to be overridden if necessary. 9284 runpath_var=LD_RUN_PATH 9285 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9286 export_dynamic_flag_spec='$wl--export-dynamic' 9287 # ancient GNU ld didn't support --whole-archive et. al. 9288 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9289 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 9290 else 9291 whole_archive_flag_spec= 9292 fi 9293 supports_anon_versioning=no 9294 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 9295 *GNU\ gold*) supports_anon_versioning=yes ;; 9296 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 9297 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 9298 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 9299 *\ 2.11.*) ;; # other 2.11 versions 9300 *) supports_anon_versioning=yes ;; 9301 esac 9302 9303 # See if GNU ld supports shared libraries. 9304 case $host_os in 9305 aix[3-9]*) 9306 # On AIX/PPC, the GNU linker is very broken 9307 if test ia64 != "$host_cpu"; then 9308 ld_shlibs=no 9309 cat <<_LT_EOF 1>&2 9310 9311*** Warning: the GNU linker, at least up to release 2.19, is reported 9312*** to be unable to reliably create shared libraries on AIX. 9313*** Therefore, libtool is disabling shared libraries support. If you 9314*** really care for shared libraries, you may want to install binutils 9315*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 9316*** You will then need to restart the configuration process. 9317 9318_LT_EOF 9319 fi 9320 ;; 9321 9322 amigaos*) 9323 case $host_cpu in 9324 powerpc) 9325 # see comment about AmigaOS4 .so support 9326 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9327 archive_expsym_cmds='' 9328 ;; 9329 m68k) 9330 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)' 9331 hardcode_libdir_flag_spec='-L$libdir' 9332 hardcode_minus_L=yes 9333 ;; 9334 esac 9335 ;; 9336 9337 beos*) 9338 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9339 allow_undefined_flag=unsupported 9340 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 9341 # support --undefined. This deserves some investigation. FIXME 9342 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9343 else 9344 ld_shlibs=no 9345 fi 9346 ;; 9347 9348 cygwin* | mingw* | pw32* | cegcc*) 9349 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9350 # as there is no search path for DLLs. 9351 hardcode_libdir_flag_spec='-L$libdir' 9352 export_dynamic_flag_spec='$wl--export-all-symbols' 9353 allow_undefined_flag=unsupported 9354 always_export_symbols=no 9355 enable_shared_with_static_runtimes=yes 9356 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' 9357 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 9358 9359 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9360 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9361 # If the export-symbols file already is a .def file, use it as 9362 # is; otherwise, prepend EXPORTS... 9363 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 9364 cp $export_symbols $output_objdir/$soname.def; 9365 else 9366 echo EXPORTS > $output_objdir/$soname.def; 9367 cat $export_symbols >> $output_objdir/$soname.def; 9368 fi~ 9369 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9370 else 9371 ld_shlibs=no 9372 fi 9373 ;; 9374 9375 haiku*) 9376 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9377 link_all_deplibs=yes 9378 ;; 9379 9380 os2*) 9381 hardcode_libdir_flag_spec='-L$libdir' 9382 hardcode_minus_L=yes 9383 allow_undefined_flag=unsupported 9384 shrext_cmds=.dll 9385 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9386 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9387 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9388 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9389 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 9390 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9391 emximp -o $lib $output_objdir/$libname.def' 9392 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9393 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9394 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9395 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9396 prefix_cmds="$SED"~ 9397 if test EXPORTS = "`$SED 1q $export_symbols`"; then 9398 prefix_cmds="$prefix_cmds -e 1d"; 9399 fi~ 9400 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 9401 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 9402 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9403 emximp -o $lib $output_objdir/$libname.def' 9404 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 9405 enable_shared_with_static_runtimes=yes 9406 ;; 9407 9408 interix[3-9]*) 9409 hardcode_direct=no 9410 hardcode_shlibpath_var=no 9411 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 9412 export_dynamic_flag_spec='$wl-E' 9413 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9414 # Instead, shared libraries are loaded at an image base (0x10000000 by 9415 # default) and relocated if they conflict, which is a slow very memory 9416 # consuming and fragmenting process. To avoid this, we pick a random, 9417 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9418 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9419 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9420 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' 9421 ;; 9422 9423 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9424 tmp_diet=no 9425 if test linux-dietlibc = "$host_os"; then 9426 case $cc_basename in 9427 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9428 esac 9429 fi 9430 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9431 && test no = "$tmp_diet" 9432 then 9433 tmp_addflag=' $pic_flag' 9434 tmp_sharedflag='-shared' 9435 case $cc_basename,$host_cpu in 9436 pgcc*) # Portland Group C compiler 9437 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' 9438 tmp_addflag=' $pic_flag' 9439 ;; 9440 pgf77* | pgf90* | pgf95* | pgfortran*) 9441 # Portland Group f77 and f90 compilers 9442 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' 9443 tmp_addflag=' $pic_flag -Mnomain' ;; 9444 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9445 tmp_addflag=' -i_dynamic' ;; 9446 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9447 tmp_addflag=' -i_dynamic -nofor_main' ;; 9448 ifc* | ifort*) # Intel Fortran compiler 9449 tmp_addflag=' -nofor_main' ;; 9450 lf95*) # Lahey Fortran 8.1 9451 whole_archive_flag_spec= 9452 tmp_sharedflag='--shared' ;; 9453 nagfor*) # NAGFOR 5.3 9454 tmp_sharedflag='-Wl,-shared' ;; 9455 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9456 tmp_sharedflag='-qmkshrobj' 9457 tmp_addflag= ;; 9458 nvcc*) # Cuda Compiler Driver 2.2 9459 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' 9460 compiler_needs_object=yes 9461 ;; 9462 esac 9463 case `$CC -V 2>&1 | sed 5q` in 9464 *Sun\ C*) # Sun C 5.9 9465 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' 9466 compiler_needs_object=yes 9467 tmp_sharedflag='-G' ;; 9468 *Sun\ F*) # Sun Fortran 8.3 9469 tmp_sharedflag='-G' ;; 9470 esac 9471 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9472 9473 if test yes = "$supports_anon_versioning"; then 9474 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9475 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9476 echo "local: *; };" >> $output_objdir/$libname.ver~ 9477 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 9478 fi 9479 9480 case $cc_basename in 9481 tcc*) 9482 export_dynamic_flag_spec='-rdynamic' 9483 ;; 9484 xlf* | bgf* | bgxlf* | mpixlf*) 9485 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9486 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9487 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9488 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 9489 if test yes = "$supports_anon_versioning"; then 9490 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9491 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9492 echo "local: *; };" >> $output_objdir/$libname.ver~ 9493 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9494 fi 9495 ;; 9496 esac 9497 else 9498 ld_shlibs=no 9499 fi 9500 ;; 9501 9502 netbsd*) 9503 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9504 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9505 wlarc= 9506 else 9507 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9508 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9509 fi 9510 ;; 9511 9512 solaris*) 9513 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9514 ld_shlibs=no 9515 cat <<_LT_EOF 1>&2 9516 9517*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9518*** create shared libraries on Solaris systems. Therefore, libtool 9519*** is disabling shared libraries support. We urge you to upgrade GNU 9520*** binutils to release 2.9.1 or newer. Another option is to modify 9521*** your PATH or compiler configuration so that the native linker is 9522*** used, and then restart. 9523 9524_LT_EOF 9525 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9526 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9527 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9528 else 9529 ld_shlibs=no 9530 fi 9531 ;; 9532 9533 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9534 case `$LD -v 2>&1` in 9535 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9536 ld_shlibs=no 9537 cat <<_LT_EOF 1>&2 9538 9539*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 9540*** reliably create shared libraries on SCO systems. Therefore, libtool 9541*** is disabling shared libraries support. We urge you to upgrade GNU 9542*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9543*** your PATH or compiler configuration so that the native linker is 9544*** used, and then restart. 9545 9546_LT_EOF 9547 ;; 9548 *) 9549 # For security reasons, it is highly recommended that you always 9550 # use absolute paths for naming shared libraries, and exclude the 9551 # DT_RUNPATH tag from executables and libraries. But doing so 9552 # requires that you compile everything twice, which is a pain. 9553 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9554 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9555 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9556 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9557 else 9558 ld_shlibs=no 9559 fi 9560 ;; 9561 esac 9562 ;; 9563 9564 sunos4*) 9565 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9566 wlarc= 9567 hardcode_direct=yes 9568 hardcode_shlibpath_var=no 9569 ;; 9570 9571 *) 9572 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9573 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9574 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9575 else 9576 ld_shlibs=no 9577 fi 9578 ;; 9579 esac 9580 9581 if test no = "$ld_shlibs"; then 9582 runpath_var= 9583 hardcode_libdir_flag_spec= 9584 export_dynamic_flag_spec= 9585 whole_archive_flag_spec= 9586 fi 9587 else 9588 # PORTME fill in a description of your system's linker (not GNU ld) 9589 case $host_os in 9590 aix3*) 9591 allow_undefined_flag=unsupported 9592 always_export_symbols=yes 9593 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' 9594 # Note: this linker hardcodes the directories in LIBPATH if there 9595 # are no directories specified by -L. 9596 hardcode_minus_L=yes 9597 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 9598 # Neither direct hardcoding nor static linking is supported with a 9599 # broken collect2. 9600 hardcode_direct=unsupported 9601 fi 9602 ;; 9603 9604 aix[4-9]*) 9605 if test ia64 = "$host_cpu"; then 9606 # On IA64, the linker does run time linking by default, so we don't 9607 # have to do anything special. 9608 aix_use_runtimelinking=no 9609 exp_sym_flag='-Bexport' 9610 no_entry_flag= 9611 else 9612 # If we're using GNU nm, then we don't want the "-C" option. 9613 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 9614 # Without the "-l" option, or with the "-B" option, AIX nm treats 9615 # weak defined symbols like other global defined symbols, whereas 9616 # GNU nm marks them as "W". 9617 # While the 'weak' keyword is ignored in the Export File, we need 9618 # it in the Import File for the 'aix-soname' feature, so we have 9619 # to replace the "-B" option with "-P" for AIX nm. 9620 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9621 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' 9622 else 9623 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' 9624 fi 9625 aix_use_runtimelinking=no 9626 9627 # Test if we are trying to use run time linking or normal 9628 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9629 # have runtime linking enabled, and use it for executables. 9630 # For shared libraries, we enable/disable runtime linking 9631 # depending on the kind of the shared library created - 9632 # when "with_aix_soname,aix_use_runtimelinking" is: 9633 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 9634 # "aix,yes" lib.so shared, rtl:yes, for executables 9635 # lib.a static archive 9636 # "both,no" lib.so.V(shr.o) shared, rtl:yes 9637 # lib.a(lib.so.V) shared, rtl:no, for executables 9638 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 9639 # lib.a(lib.so.V) shared, rtl:no 9640 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 9641 # lib.a static archive 9642 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9643 for ld_flag in $LDFLAGS; do 9644 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 9645 aix_use_runtimelinking=yes 9646 break 9647 fi 9648 done 9649 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 9650 # With aix-soname=svr4, we create the lib.so.V shared archives only, 9651 # so we don't have lib.a shared libs to link our executables. 9652 # We have to force runtime linking in this case. 9653 aix_use_runtimelinking=yes 9654 LDFLAGS="$LDFLAGS -Wl,-brtl" 9655 fi 9656 ;; 9657 esac 9658 9659 exp_sym_flag='-bexport' 9660 no_entry_flag='-bnoentry' 9661 fi 9662 9663 # When large executables or shared objects are built, AIX ld can 9664 # have problems creating the table of contents. If linking a library 9665 # or program results in "error TOC overflow" add -mminimal-toc to 9666 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9667 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9668 9669 archive_cmds='' 9670 hardcode_direct=yes 9671 hardcode_direct_absolute=yes 9672 hardcode_libdir_separator=':' 9673 link_all_deplibs=yes 9674 file_list_spec='$wl-f,' 9675 case $with_aix_soname,$aix_use_runtimelinking in 9676 aix,*) ;; # traditional, no import file 9677 svr4,* | *,yes) # use import file 9678 # The Import File defines what to hardcode. 9679 hardcode_direct=no 9680 hardcode_direct_absolute=no 9681 ;; 9682 esac 9683 9684 if test yes = "$GCC"; then 9685 case $host_os in aix4.[012]|aix4.[012].*) 9686 # We only want to do this on AIX 4.2 and lower, the check 9687 # below for broken collect2 doesn't work under 4.3+ 9688 collect2name=`$CC -print-prog-name=collect2` 9689 if test -f "$collect2name" && 9690 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9691 then 9692 # We have reworked collect2 9693 : 9694 else 9695 # We have old collect2 9696 hardcode_direct=unsupported 9697 # It fails to find uninstalled libraries when the uninstalled 9698 # path is not listed in the libpath. Setting hardcode_minus_L 9699 # to unsupported forces relinking 9700 hardcode_minus_L=yes 9701 hardcode_libdir_flag_spec='-L$libdir' 9702 hardcode_libdir_separator= 9703 fi 9704 ;; 9705 esac 9706 shared_flag='-shared' 9707 if test yes = "$aix_use_runtimelinking"; then 9708 shared_flag="$shared_flag "'$wl-G' 9709 fi 9710 # Need to ensure runtime linking is disabled for the traditional 9711 # shared library, or the linker may eventually find shared libraries 9712 # /with/ Import File - we do not want to mix them. 9713 shared_flag_aix='-shared' 9714 shared_flag_svr4='-shared $wl-G' 9715 else 9716 # not using gcc 9717 if test ia64 = "$host_cpu"; then 9718 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9719 # chokes on -Wl,-G. The following line is correct: 9720 shared_flag='-G' 9721 else 9722 if test yes = "$aix_use_runtimelinking"; then 9723 shared_flag='$wl-G' 9724 else 9725 shared_flag='$wl-bM:SRE' 9726 fi 9727 shared_flag_aix='$wl-bM:SRE' 9728 shared_flag_svr4='$wl-G' 9729 fi 9730 fi 9731 9732 export_dynamic_flag_spec='$wl-bexpall' 9733 # It seems that -bexpall does not export symbols beginning with 9734 # underscore (_), so it is better to generate a list of symbols to export. 9735 always_export_symbols=yes 9736 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 9737 # Warning - without using the other runtime loading flags (-brtl), 9738 # -berok will link without error, but may produce a broken library. 9739 allow_undefined_flag='-berok' 9740 # Determine the default libpath from the value encoded in an 9741 # empty executable. 9742 if test set = "${lt_cv_aix_libpath+set}"; then 9743 aix_libpath=$lt_cv_aix_libpath 9744else 9745 if ${lt_cv_aix_libpath_+:} false; then : 9746 $as_echo_n "(cached) " >&6 9747else 9748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9749/* end confdefs.h. */ 9750 9751int 9752main () 9753{ 9754 9755 ; 9756 return 0; 9757} 9758_ACEOF 9759if ac_fn_c_try_link "$LINENO"; then : 9760 9761 lt_aix_libpath_sed=' 9762 /Import File Strings/,/^$/ { 9763 /^0/ { 9764 s/^0 *\([^ ]*\) *$/\1/ 9765 p 9766 } 9767 }' 9768 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9769 # Check for a 64-bit object if we didn't find anything. 9770 if test -z "$lt_cv_aix_libpath_"; then 9771 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9772 fi 9773fi 9774rm -f core conftest.err conftest.$ac_objext \ 9775 conftest$ac_exeext conftest.$ac_ext 9776 if test -z "$lt_cv_aix_libpath_"; then 9777 lt_cv_aix_libpath_=/usr/lib:/lib 9778 fi 9779 9780fi 9781 9782 aix_libpath=$lt_cv_aix_libpath_ 9783fi 9784 9785 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 9786 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 9787 else 9788 if test ia64 = "$host_cpu"; then 9789 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 9790 allow_undefined_flag="-z nodefs" 9791 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" 9792 else 9793 # Determine the default libpath from the value encoded in an 9794 # empty executable. 9795 if test set = "${lt_cv_aix_libpath+set}"; then 9796 aix_libpath=$lt_cv_aix_libpath 9797else 9798 if ${lt_cv_aix_libpath_+:} false; then : 9799 $as_echo_n "(cached) " >&6 9800else 9801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9802/* end confdefs.h. */ 9803 9804int 9805main () 9806{ 9807 9808 ; 9809 return 0; 9810} 9811_ACEOF 9812if ac_fn_c_try_link "$LINENO"; then : 9813 9814 lt_aix_libpath_sed=' 9815 /Import File Strings/,/^$/ { 9816 /^0/ { 9817 s/^0 *\([^ ]*\) *$/\1/ 9818 p 9819 } 9820 }' 9821 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9822 # Check for a 64-bit object if we didn't find anything. 9823 if test -z "$lt_cv_aix_libpath_"; then 9824 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9825 fi 9826fi 9827rm -f core conftest.err conftest.$ac_objext \ 9828 conftest$ac_exeext conftest.$ac_ext 9829 if test -z "$lt_cv_aix_libpath_"; then 9830 lt_cv_aix_libpath_=/usr/lib:/lib 9831 fi 9832 9833fi 9834 9835 aix_libpath=$lt_cv_aix_libpath_ 9836fi 9837 9838 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 9839 # Warning - without using the other run time loading flags, 9840 # -berok will link without error, but may produce a broken library. 9841 no_undefined_flag=' $wl-bernotok' 9842 allow_undefined_flag=' $wl-berok' 9843 if test yes = "$with_gnu_ld"; then 9844 # We only use this code for GNU lds that support --whole-archive. 9845 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 9846 else 9847 # Exported symbols can be pulled into shared objects from archives 9848 whole_archive_flag_spec='$convenience' 9849 fi 9850 archive_cmds_need_lc=yes 9851 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 9852 # -brtl affects multiple linker settings, -berok does not and is overridden later 9853 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 9854 if test svr4 != "$with_aix_soname"; then 9855 # This is similar to how AIX traditionally builds its shared libraries. 9856 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' 9857 fi 9858 if test aix != "$with_aix_soname"; then 9859 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' 9860 else 9861 # used by -dlpreopen to get the symbols 9862 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 9863 fi 9864 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 9865 fi 9866 fi 9867 ;; 9868 9869 amigaos*) 9870 case $host_cpu in 9871 powerpc) 9872 # see comment about AmigaOS4 .so support 9873 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9874 archive_expsym_cmds='' 9875 ;; 9876 m68k) 9877 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)' 9878 hardcode_libdir_flag_spec='-L$libdir' 9879 hardcode_minus_L=yes 9880 ;; 9881 esac 9882 ;; 9883 9884 bsdi[45]*) 9885 export_dynamic_flag_spec=-rdynamic 9886 ;; 9887 9888 cygwin* | mingw* | pw32* | cegcc*) 9889 # When not using gcc, we currently assume that we are using 9890 # Microsoft Visual C++. 9891 # hardcode_libdir_flag_spec is actually meaningless, as there is 9892 # no search path for DLLs. 9893 case $cc_basename in 9894 cl*) 9895 # Native MSVC 9896 hardcode_libdir_flag_spec=' ' 9897 allow_undefined_flag=unsupported 9898 always_export_symbols=yes 9899 file_list_spec='@' 9900 # Tell ltmain to make .lib files, not .a files. 9901 libext=lib 9902 # Tell ltmain to make .dll files, not .so files. 9903 shrext_cmds=.dll 9904 # FIXME: Setting linknames here is a bad hack. 9905 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 9906 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 9907 cp "$export_symbols" "$output_objdir/$soname.def"; 9908 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 9909 else 9910 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 9911 fi~ 9912 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 9913 linknames=' 9914 # The linker will not automatically build a static lib if we build a DLL. 9915 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 9916 enable_shared_with_static_runtimes=yes 9917 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 9918 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9919 # Don't use ranlib 9920 old_postinstall_cmds='chmod 644 $oldlib' 9921 postlink_cmds='lt_outputfile="@OUTPUT@"~ 9922 lt_tool_outputfile="@TOOL_OUTPUT@"~ 9923 case $lt_outputfile in 9924 *.exe|*.EXE) ;; 9925 *) 9926 lt_outputfile=$lt_outputfile.exe 9927 lt_tool_outputfile=$lt_tool_outputfile.exe 9928 ;; 9929 esac~ 9930 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 9931 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 9932 $RM "$lt_outputfile.manifest"; 9933 fi' 9934 ;; 9935 *) 9936 # Assume MSVC wrapper 9937 hardcode_libdir_flag_spec=' ' 9938 allow_undefined_flag=unsupported 9939 # Tell ltmain to make .lib files, not .a files. 9940 libext=lib 9941 # Tell ltmain to make .dll files, not .so files. 9942 shrext_cmds=.dll 9943 # FIXME: Setting linknames here is a bad hack. 9944 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 9945 # The linker will automatically build a .lib file if we build a DLL. 9946 old_archive_from_new_cmds='true' 9947 # FIXME: Should let the user specify the lib program. 9948 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9949 enable_shared_with_static_runtimes=yes 9950 ;; 9951 esac 9952 ;; 9953 9954 darwin* | rhapsody*) 9955 9956 9957 archive_cmds_need_lc=no 9958 hardcode_direct=no 9959 hardcode_automatic=yes 9960 hardcode_shlibpath_var=unsupported 9961 if test yes = "$lt_cv_ld_force_load"; then 9962 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\"`' 9963 9964 else 9965 whole_archive_flag_spec='' 9966 fi 9967 link_all_deplibs=yes 9968 allow_undefined_flag=$_lt_dar_allow_undefined 9969 case $cc_basename in 9970 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 9971 *) _lt_dar_can_shared=$GCC ;; 9972 esac 9973 if test yes = "$_lt_dar_can_shared"; then 9974 output_verbose_link_cmd=func_echo_all 9975 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 9976 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 9977 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" 9978 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" 9979 9980 else 9981 ld_shlibs=no 9982 fi 9983 9984 ;; 9985 9986 dgux*) 9987 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9988 hardcode_libdir_flag_spec='-L$libdir' 9989 hardcode_shlibpath_var=no 9990 ;; 9991 9992 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9993 # support. Future versions do this automatically, but an explicit c++rt0.o 9994 # does not break anything, and helps significantly (at the cost of a little 9995 # extra space). 9996 freebsd2.2*) 9997 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9998 hardcode_libdir_flag_spec='-R$libdir' 9999 hardcode_direct=yes 10000 hardcode_shlibpath_var=no 10001 ;; 10002 10003 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 10004 freebsd2.*) 10005 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10006 hardcode_direct=yes 10007 hardcode_minus_L=yes 10008 hardcode_shlibpath_var=no 10009 ;; 10010 10011 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 10012 freebsd* | dragonfly*) 10013 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10014 hardcode_libdir_flag_spec='-R$libdir' 10015 hardcode_direct=yes 10016 hardcode_shlibpath_var=no 10017 ;; 10018 10019 hpux9*) 10020 if test yes = "$GCC"; then 10021 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' 10022 else 10023 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' 10024 fi 10025 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10026 hardcode_libdir_separator=: 10027 hardcode_direct=yes 10028 10029 # hardcode_minus_L: Not really in the search PATH, 10030 # but as the default location of the library. 10031 hardcode_minus_L=yes 10032 export_dynamic_flag_spec='$wl-E' 10033 ;; 10034 10035 hpux10*) 10036 if test yes,no = "$GCC,$with_gnu_ld"; then 10037 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10038 else 10039 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10040 fi 10041 if test no = "$with_gnu_ld"; then 10042 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10043 hardcode_libdir_separator=: 10044 hardcode_direct=yes 10045 hardcode_direct_absolute=yes 10046 export_dynamic_flag_spec='$wl-E' 10047 # hardcode_minus_L: Not really in the search PATH, 10048 # but as the default location of the library. 10049 hardcode_minus_L=yes 10050 fi 10051 ;; 10052 10053 hpux11*) 10054 if test yes,no = "$GCC,$with_gnu_ld"; then 10055 case $host_cpu in 10056 hppa*64*) 10057 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10058 ;; 10059 ia64*) 10060 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10061 ;; 10062 *) 10063 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10064 ;; 10065 esac 10066 else 10067 case $host_cpu in 10068 hppa*64*) 10069 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10070 ;; 10071 ia64*) 10072 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10073 ;; 10074 *) 10075 10076 # Older versions of the 11.00 compiler do not understand -b yet 10077 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 10078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 10079$as_echo_n "checking if $CC understands -b... " >&6; } 10080if ${lt_cv_prog_compiler__b+:} false; then : 10081 $as_echo_n "(cached) " >&6 10082else 10083 lt_cv_prog_compiler__b=no 10084 save_LDFLAGS=$LDFLAGS 10085 LDFLAGS="$LDFLAGS -b" 10086 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10087 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10088 # The linker can only warn and ignore the option if not recognized 10089 # So say no if there are warnings 10090 if test -s conftest.err; then 10091 # Append any errors to the config.log. 10092 cat conftest.err 1>&5 10093 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10094 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10095 if diff conftest.exp conftest.er2 >/dev/null; then 10096 lt_cv_prog_compiler__b=yes 10097 fi 10098 else 10099 lt_cv_prog_compiler__b=yes 10100 fi 10101 fi 10102 $RM -r conftest* 10103 LDFLAGS=$save_LDFLAGS 10104 10105fi 10106{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 10107$as_echo "$lt_cv_prog_compiler__b" >&6; } 10108 10109if test yes = "$lt_cv_prog_compiler__b"; then 10110 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10111else 10112 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10113fi 10114 10115 ;; 10116 esac 10117 fi 10118 if test no = "$with_gnu_ld"; then 10119 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10120 hardcode_libdir_separator=: 10121 10122 case $host_cpu in 10123 hppa*64*|ia64*) 10124 hardcode_direct=no 10125 hardcode_shlibpath_var=no 10126 ;; 10127 *) 10128 hardcode_direct=yes 10129 hardcode_direct_absolute=yes 10130 export_dynamic_flag_spec='$wl-E' 10131 10132 # hardcode_minus_L: Not really in the search PATH, 10133 # but as the default location of the library. 10134 hardcode_minus_L=yes 10135 ;; 10136 esac 10137 fi 10138 ;; 10139 10140 irix5* | irix6* | nonstopux*) 10141 if test yes = "$GCC"; then 10142 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' 10143 # Try to use the -exported_symbol ld option, if it does not 10144 # work, assume that -exports_file does not work either and 10145 # implicitly export all symbols. 10146 # This should be the same for all languages, so no per-tag cache variable. 10147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 10148$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 10149if ${lt_cv_irix_exported_symbol+:} false; then : 10150 $as_echo_n "(cached) " >&6 10151else 10152 save_LDFLAGS=$LDFLAGS 10153 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 10154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10155/* end confdefs.h. */ 10156int foo (void) { return 0; } 10157_ACEOF 10158if ac_fn_c_try_link "$LINENO"; then : 10159 lt_cv_irix_exported_symbol=yes 10160else 10161 lt_cv_irix_exported_symbol=no 10162fi 10163rm -f core conftest.err conftest.$ac_objext \ 10164 conftest$ac_exeext conftest.$ac_ext 10165 LDFLAGS=$save_LDFLAGS 10166fi 10167{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 10168$as_echo "$lt_cv_irix_exported_symbol" >&6; } 10169 if test yes = "$lt_cv_irix_exported_symbol"; then 10170 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' 10171 fi 10172 else 10173 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' 10174 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' 10175 fi 10176 archive_cmds_need_lc='no' 10177 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10178 hardcode_libdir_separator=: 10179 inherit_rpath=yes 10180 link_all_deplibs=yes 10181 ;; 10182 10183 linux*) 10184 case $cc_basename in 10185 tcc*) 10186 # Fabrice Bellard et al's Tiny C Compiler 10187 ld_shlibs=yes 10188 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10189 ;; 10190 esac 10191 ;; 10192 10193 netbsd*) 10194 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10195 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 10196 else 10197 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 10198 fi 10199 hardcode_libdir_flag_spec='-R$libdir' 10200 hardcode_direct=yes 10201 hardcode_shlibpath_var=no 10202 ;; 10203 10204 newsos6) 10205 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10206 hardcode_direct=yes 10207 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10208 hardcode_libdir_separator=: 10209 hardcode_shlibpath_var=no 10210 ;; 10211 10212 *nto* | *qnx*) 10213 ;; 10214 10215 openbsd* | bitrig*) 10216 if test -f /usr/libexec/ld.so; then 10217 hardcode_direct=yes 10218 hardcode_shlibpath_var=no 10219 hardcode_direct_absolute=yes 10220 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 10221 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10222 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 10223 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10224 export_dynamic_flag_spec='$wl-E' 10225 else 10226 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10227 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10228 fi 10229 else 10230 ld_shlibs=no 10231 fi 10232 ;; 10233 10234 os2*) 10235 hardcode_libdir_flag_spec='-L$libdir' 10236 hardcode_minus_L=yes 10237 allow_undefined_flag=unsupported 10238 shrext_cmds=.dll 10239 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10240 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10241 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10242 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10243 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10244 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10245 emximp -o $lib $output_objdir/$libname.def' 10246 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10247 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10248 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10249 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10250 prefix_cmds="$SED"~ 10251 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10252 prefix_cmds="$prefix_cmds -e 1d"; 10253 fi~ 10254 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10255 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10256 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10257 emximp -o $lib $output_objdir/$libname.def' 10258 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10259 enable_shared_with_static_runtimes=yes 10260 ;; 10261 10262 osf3*) 10263 if test yes = "$GCC"; then 10264 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10265 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' 10266 else 10267 allow_undefined_flag=' -expect_unresolved \*' 10268 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' 10269 fi 10270 archive_cmds_need_lc='no' 10271 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10272 hardcode_libdir_separator=: 10273 ;; 10274 10275 osf4* | osf5*) # as osf3* with the addition of -msym flag 10276 if test yes = "$GCC"; then 10277 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10278 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' 10279 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10280 else 10281 allow_undefined_flag=' -expect_unresolved \*' 10282 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' 10283 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~ 10284 $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' 10285 10286 # Both c and cxx compiler support -rpath directly 10287 hardcode_libdir_flag_spec='-rpath $libdir' 10288 fi 10289 archive_cmds_need_lc='no' 10290 hardcode_libdir_separator=: 10291 ;; 10292 10293 solaris*) 10294 no_undefined_flag=' -z defs' 10295 if test yes = "$GCC"; then 10296 wlarc='$wl' 10297 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10298 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10299 $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' 10300 else 10301 case `$CC -V 2>&1` in 10302 *"Compilers 5.0"*) 10303 wlarc='' 10304 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 10305 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10306 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10307 ;; 10308 *) 10309 wlarc='$wl' 10310 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10311 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10312 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10313 ;; 10314 esac 10315 fi 10316 hardcode_libdir_flag_spec='-R$libdir' 10317 hardcode_shlibpath_var=no 10318 case $host_os in 10319 solaris2.[0-5] | solaris2.[0-5].*) ;; 10320 *) 10321 # The compiler driver will combine and reorder linker options, 10322 # but understands '-z linker_flag'. GCC discards it without '$wl', 10323 # but is careful enough not to reorder. 10324 # Supported since Solaris 2.6 (maybe 2.5.1?) 10325 if test yes = "$GCC"; then 10326 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 10327 else 10328 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10329 fi 10330 ;; 10331 esac 10332 link_all_deplibs=yes 10333 ;; 10334 10335 sunos4*) 10336 if test sequent = "$host_vendor"; then 10337 # Use $CC to link under sequent, because it throws in some extra .o 10338 # files that make .init and .fini sections work. 10339 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10340 else 10341 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10342 fi 10343 hardcode_libdir_flag_spec='-L$libdir' 10344 hardcode_direct=yes 10345 hardcode_minus_L=yes 10346 hardcode_shlibpath_var=no 10347 ;; 10348 10349 sysv4) 10350 case $host_vendor in 10351 sni) 10352 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10353 hardcode_direct=yes # is this really true??? 10354 ;; 10355 siemens) 10356 ## LD is ld it makes a PLAMLIB 10357 ## CC just makes a GrossModule. 10358 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10359 reload_cmds='$CC -r -o $output$reload_objs' 10360 hardcode_direct=no 10361 ;; 10362 motorola) 10363 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10364 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10365 ;; 10366 esac 10367 runpath_var='LD_RUN_PATH' 10368 hardcode_shlibpath_var=no 10369 ;; 10370 10371 sysv4.3*) 10372 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10373 hardcode_shlibpath_var=no 10374 export_dynamic_flag_spec='-Bexport' 10375 ;; 10376 10377 sysv4*MP*) 10378 if test -d /usr/nec; then 10379 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10380 hardcode_shlibpath_var=no 10381 runpath_var=LD_RUN_PATH 10382 hardcode_runpath_var=yes 10383 ld_shlibs=yes 10384 fi 10385 ;; 10386 10387 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10388 no_undefined_flag='$wl-z,text' 10389 archive_cmds_need_lc=no 10390 hardcode_shlibpath_var=no 10391 runpath_var='LD_RUN_PATH' 10392 10393 if test yes = "$GCC"; then 10394 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10395 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10396 else 10397 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10398 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10399 fi 10400 ;; 10401 10402 sysv5* | sco3.2v5* | sco5v6*) 10403 # Note: We CANNOT use -z defs as we might desire, because we do not 10404 # link with -lc, and that would cause any symbols used from libc to 10405 # always be unresolved, which means just about no library would 10406 # ever link correctly. If we're not using GNU ld we use -z text 10407 # though, which does catch some bad symbols but isn't as heavy-handed 10408 # as -z defs. 10409 no_undefined_flag='$wl-z,text' 10410 allow_undefined_flag='$wl-z,nodefs' 10411 archive_cmds_need_lc=no 10412 hardcode_shlibpath_var=no 10413 hardcode_libdir_flag_spec='$wl-R,$libdir' 10414 hardcode_libdir_separator=':' 10415 link_all_deplibs=yes 10416 export_dynamic_flag_spec='$wl-Bexport' 10417 runpath_var='LD_RUN_PATH' 10418 10419 if test yes = "$GCC"; then 10420 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10421 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10422 else 10423 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10424 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10425 fi 10426 ;; 10427 10428 uts4*) 10429 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10430 hardcode_libdir_flag_spec='-L$libdir' 10431 hardcode_shlibpath_var=no 10432 ;; 10433 10434 *) 10435 ld_shlibs=no 10436 ;; 10437 esac 10438 10439 if test sni = "$host_vendor"; then 10440 case $host in 10441 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10442 export_dynamic_flag_spec='$wl-Blargedynsym' 10443 ;; 10444 esac 10445 fi 10446 fi 10447 10448{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 10449$as_echo "$ld_shlibs" >&6; } 10450test no = "$ld_shlibs" && can_build_shared=no 10451 10452with_gnu_ld=$with_gnu_ld 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468# 10469# Do we need to explicitly link libc? 10470# 10471case "x$archive_cmds_need_lc" in 10472x|xyes) 10473 # Assume -lc should be added 10474 archive_cmds_need_lc=yes 10475 10476 if test yes,yes = "$GCC,$enable_shared"; then 10477 case $archive_cmds in 10478 *'~'*) 10479 # FIXME: we may have to deal with multi-command sequences. 10480 ;; 10481 '$CC '*) 10482 # Test whether the compiler implicitly links with -lc since on some 10483 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10484 # to ld, don't add -lc before -lgcc. 10485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10486$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10487if ${lt_cv_archive_cmds_need_lc+:} false; then : 10488 $as_echo_n "(cached) " >&6 10489else 10490 $RM conftest* 10491 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10492 10493 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10494 (eval $ac_compile) 2>&5 10495 ac_status=$? 10496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10497 test $ac_status = 0; } 2>conftest.err; then 10498 soname=conftest 10499 lib=conftest 10500 libobjs=conftest.$ac_objext 10501 deplibs= 10502 wl=$lt_prog_compiler_wl 10503 pic_flag=$lt_prog_compiler_pic 10504 compiler_flags=-v 10505 linker_flags=-v 10506 verstring= 10507 output_objdir=. 10508 libname=conftest 10509 lt_save_allow_undefined_flag=$allow_undefined_flag 10510 allow_undefined_flag= 10511 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10512 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10513 ac_status=$? 10514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10515 test $ac_status = 0; } 10516 then 10517 lt_cv_archive_cmds_need_lc=no 10518 else 10519 lt_cv_archive_cmds_need_lc=yes 10520 fi 10521 allow_undefined_flag=$lt_save_allow_undefined_flag 10522 else 10523 cat conftest.err 1>&5 10524 fi 10525 $RM conftest* 10526 10527fi 10528{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 10529$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 10530 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 10531 ;; 10532 esac 10533 fi 10534 ;; 10535esac 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10689$as_echo_n "checking dynamic linker characteristics... " >&6; } 10690 10691if test yes = "$GCC"; then 10692 case $host_os in 10693 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 10694 *) lt_awk_arg='/^libraries:/' ;; 10695 esac 10696 case $host_os in 10697 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 10698 *) lt_sed_strip_eq='s|=/|/|g' ;; 10699 esac 10700 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 10701 case $lt_search_path_spec in 10702 *\;*) 10703 # if the path contains ";" then we assume it to be the separator 10704 # otherwise default to the standard path separator (i.e. ":") - it is 10705 # assumed that no part of a normal pathname contains ";" but that should 10706 # okay in the real world where ";" in dirpaths is itself problematic. 10707 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 10708 ;; 10709 *) 10710 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 10711 ;; 10712 esac 10713 # Ok, now we have the path, separated by spaces, we can step through it 10714 # and add multilib dir if necessary... 10715 lt_tmp_lt_search_path_spec= 10716 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10717 # ...but if some path component already ends with the multilib dir we assume 10718 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 10719 case "$lt_multi_os_dir; $lt_search_path_spec " in 10720 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 10721 lt_multi_os_dir= 10722 ;; 10723 esac 10724 for lt_sys_path in $lt_search_path_spec; do 10725 if test -d "$lt_sys_path$lt_multi_os_dir"; then 10726 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 10727 elif test -n "$lt_multi_os_dir"; then 10728 test -d "$lt_sys_path" && \ 10729 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10730 fi 10731 done 10732 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 10733BEGIN {RS = " "; FS = "/|\n";} { 10734 lt_foo = ""; 10735 lt_count = 0; 10736 for (lt_i = NF; lt_i > 0; lt_i--) { 10737 if ($lt_i != "" && $lt_i != ".") { 10738 if ($lt_i == "..") { 10739 lt_count++; 10740 } else { 10741 if (lt_count == 0) { 10742 lt_foo = "/" $lt_i lt_foo; 10743 } else { 10744 lt_count--; 10745 } 10746 } 10747 } 10748 } 10749 if (lt_foo != "") { lt_freq[lt_foo]++; } 10750 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10751}'` 10752 # AWK program above erroneously prepends '/' to C:/dos/paths 10753 # for these hosts. 10754 case $host_os in 10755 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 10756 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 10757 esac 10758 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 10759else 10760 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10761fi 10762library_names_spec= 10763libname_spec='lib$name' 10764soname_spec= 10765shrext_cmds=.so 10766postinstall_cmds= 10767postuninstall_cmds= 10768finish_cmds= 10769finish_eval= 10770shlibpath_var= 10771shlibpath_overrides_runpath=unknown 10772version_type=none 10773dynamic_linker="$host_os ld.so" 10774sys_lib_dlsearch_path_spec="/lib /usr/lib" 10775need_lib_prefix=unknown 10776hardcode_into_libs=no 10777 10778# when you set need_version to no, make sure it does not cause -set_version 10779# flags to be left without arguments 10780need_version=unknown 10781 10782 10783 10784case $host_os in 10785aix3*) 10786 version_type=linux # correct to gnu/linux during the next big refactor 10787 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 10788 shlibpath_var=LIBPATH 10789 10790 # AIX 3 has no versioning support, so we append a major version to the name. 10791 soname_spec='$libname$release$shared_ext$major' 10792 ;; 10793 10794aix[4-9]*) 10795 version_type=linux # correct to gnu/linux during the next big refactor 10796 need_lib_prefix=no 10797 need_version=no 10798 hardcode_into_libs=yes 10799 if test ia64 = "$host_cpu"; then 10800 # AIX 5 supports IA64 10801 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 10802 shlibpath_var=LD_LIBRARY_PATH 10803 else 10804 # With GCC up to 2.95.x, collect2 would create an import file 10805 # for dependence libraries. The import file would start with 10806 # the line '#! .'. This would cause the generated library to 10807 # depend on '.', always an invalid library. This was fixed in 10808 # development snapshots of GCC prior to 3.0. 10809 case $host_os in 10810 aix4 | aix4.[01] | aix4.[01].*) 10811 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10812 echo ' yes ' 10813 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 10814 : 10815 else 10816 can_build_shared=no 10817 fi 10818 ;; 10819 esac 10820 # Using Import Files as archive members, it is possible to support 10821 # filename-based versioning of shared library archives on AIX. While 10822 # this would work for both with and without runtime linking, it will 10823 # prevent static linking of such archives. So we do filename-based 10824 # shared library versioning with .so extension only, which is used 10825 # when both runtime linking and shared linking is enabled. 10826 # Unfortunately, runtime linking may impact performance, so we do 10827 # not want this to be the default eventually. Also, we use the 10828 # versioned .so libs for executables only if there is the -brtl 10829 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 10830 # To allow for filename-based versioning support, we need to create 10831 # libNAME.so.V as an archive file, containing: 10832 # *) an Import File, referring to the versioned filename of the 10833 # archive as well as the shared archive member, telling the 10834 # bitwidth (32 or 64) of that shared object, and providing the 10835 # list of exported symbols of that shared object, eventually 10836 # decorated with the 'weak' keyword 10837 # *) the shared object with the F_LOADONLY flag set, to really avoid 10838 # it being seen by the linker. 10839 # At run time we better use the real file rather than another symlink, 10840 # but for link time we create the symlink libNAME.so -> libNAME.so.V 10841 10842 case $with_aix_soname,$aix_use_runtimelinking in 10843 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 10844 # soname into executable. Probably we can add versioning support to 10845 # collect2, so additional links can be useful in future. 10846 aix,yes) # traditional libtool 10847 dynamic_linker='AIX unversionable lib.so' 10848 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10849 # instead of lib<name>.a to let people know that these are not 10850 # typical AIX shared libraries. 10851 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10852 ;; 10853 aix,no) # traditional AIX only 10854 dynamic_linker='AIX lib.a(lib.so.V)' 10855 # We preserve .a as extension for shared libraries through AIX4.2 10856 # and later when we are not doing run time linking. 10857 library_names_spec='$libname$release.a $libname.a' 10858 soname_spec='$libname$release$shared_ext$major' 10859 ;; 10860 svr4,*) # full svr4 only 10861 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 10862 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 10863 # We do not specify a path in Import Files, so LIBPATH fires. 10864 shlibpath_overrides_runpath=yes 10865 ;; 10866 *,yes) # both, prefer svr4 10867 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 10868 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 10869 # unpreferred sharedlib libNAME.a needs extra handling 10870 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"' 10871 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"' 10872 # We do not specify a path in Import Files, so LIBPATH fires. 10873 shlibpath_overrides_runpath=yes 10874 ;; 10875 *,no) # both, prefer aix 10876 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 10877 library_names_spec='$libname$release.a $libname.a' 10878 soname_spec='$libname$release$shared_ext$major' 10879 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 10880 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)' 10881 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"' 10882 ;; 10883 esac 10884 shlibpath_var=LIBPATH 10885 fi 10886 ;; 10887 10888amigaos*) 10889 case $host_cpu in 10890 powerpc) 10891 # Since July 2007 AmigaOS4 officially supports .so libraries. 10892 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 10893 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10894 ;; 10895 m68k) 10896 library_names_spec='$libname.ixlibrary $libname.a' 10897 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10898 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' 10899 ;; 10900 esac 10901 ;; 10902 10903beos*) 10904 library_names_spec='$libname$shared_ext' 10905 dynamic_linker="$host_os ld.so" 10906 shlibpath_var=LIBRARY_PATH 10907 ;; 10908 10909bsdi[45]*) 10910 version_type=linux # correct to gnu/linux during the next big refactor 10911 need_version=no 10912 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10913 soname_spec='$libname$release$shared_ext$major' 10914 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 10915 shlibpath_var=LD_LIBRARY_PATH 10916 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 10917 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 10918 # the default ld.so.conf also contains /usr/contrib/lib and 10919 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 10920 # libtool to hard-code these into programs 10921 ;; 10922 10923cygwin* | mingw* | pw32* | cegcc*) 10924 version_type=windows 10925 shrext_cmds=.dll 10926 need_version=no 10927 need_lib_prefix=no 10928 10929 case $GCC,$cc_basename in 10930 yes,*) 10931 # gcc 10932 library_names_spec='$libname.dll.a' 10933 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10934 postinstall_cmds='base_file=`basename \$file`~ 10935 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 10936 dldir=$destdir/`dirname \$dlpath`~ 10937 test -d \$dldir || mkdir -p \$dldir~ 10938 $install_prog $dir/$dlname \$dldir/$dlname~ 10939 chmod a+x \$dldir/$dlname~ 10940 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10941 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10942 fi' 10943 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10944 dlpath=$dir/\$dldll~ 10945 $RM \$dlpath' 10946 shlibpath_overrides_runpath=yes 10947 10948 case $host_os in 10949 cygwin*) 10950 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10951 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10952 10953 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 10954 ;; 10955 mingw* | cegcc*) 10956 # MinGW DLLs use traditional 'lib' prefix 10957 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10958 ;; 10959 pw32*) 10960 # pw32 DLLs use 'pw' prefix rather than 'lib' 10961 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10962 ;; 10963 esac 10964 dynamic_linker='Win32 ld.exe' 10965 ;; 10966 10967 *,cl*) 10968 # Native MSVC 10969 libname_spec='$name' 10970 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10971 library_names_spec='$libname.dll.lib' 10972 10973 case $build_os in 10974 mingw*) 10975 sys_lib_search_path_spec= 10976 lt_save_ifs=$IFS 10977 IFS=';' 10978 for lt_path in $LIB 10979 do 10980 IFS=$lt_save_ifs 10981 # Let DOS variable expansion print the short 8.3 style file name. 10982 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 10983 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 10984 done 10985 IFS=$lt_save_ifs 10986 # Convert to MSYS style. 10987 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 10988 ;; 10989 cygwin*) 10990 # Convert to unix form, then to dos form, then back to unix form 10991 # but this time dos style (no spaces!) so that the unix form looks 10992 # like /cygdrive/c/PROGRA~1:/cygdr... 10993 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 10994 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 10995 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10996 ;; 10997 *) 10998 sys_lib_search_path_spec=$LIB 10999 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 11000 # It is most probably a Windows format PATH. 11001 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 11002 else 11003 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11004 fi 11005 # FIXME: find the short name or the path components, as spaces are 11006 # common. (e.g. "Program Files" -> "PROGRA~1") 11007 ;; 11008 esac 11009 11010 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11011 postinstall_cmds='base_file=`basename \$file`~ 11012 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11013 dldir=$destdir/`dirname \$dlpath`~ 11014 test -d \$dldir || mkdir -p \$dldir~ 11015 $install_prog $dir/$dlname \$dldir/$dlname' 11016 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11017 dlpath=$dir/\$dldll~ 11018 $RM \$dlpath' 11019 shlibpath_overrides_runpath=yes 11020 dynamic_linker='Win32 link.exe' 11021 ;; 11022 11023 *) 11024 # Assume MSVC wrapper 11025 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 11026 dynamic_linker='Win32 ld.exe' 11027 ;; 11028 esac 11029 # FIXME: first we should search . and the directory the executable is in 11030 shlibpath_var=PATH 11031 ;; 11032 11033darwin* | rhapsody*) 11034 dynamic_linker="$host_os dyld" 11035 version_type=darwin 11036 need_lib_prefix=no 11037 need_version=no 11038 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 11039 soname_spec='$libname$release$major$shared_ext' 11040 shlibpath_overrides_runpath=yes 11041 shlibpath_var=DYLD_LIBRARY_PATH 11042 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 11043 11044 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 11045 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 11046 ;; 11047 11048dgux*) 11049 version_type=linux # correct to gnu/linux during the next big refactor 11050 need_lib_prefix=no 11051 need_version=no 11052 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11053 soname_spec='$libname$release$shared_ext$major' 11054 shlibpath_var=LD_LIBRARY_PATH 11055 ;; 11056 11057freebsd* | dragonfly*) 11058 # DragonFly does not have aout. When/if they implement a new 11059 # versioning mechanism, adjust this. 11060 if test -x /usr/bin/objformat; then 11061 objformat=`/usr/bin/objformat` 11062 else 11063 case $host_os in 11064 freebsd[23].*) objformat=aout ;; 11065 *) objformat=elf ;; 11066 esac 11067 fi 11068 version_type=freebsd-$objformat 11069 case $version_type in 11070 freebsd-elf*) 11071 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11072 soname_spec='$libname$release$shared_ext$major' 11073 need_version=no 11074 need_lib_prefix=no 11075 ;; 11076 freebsd-*) 11077 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11078 need_version=yes 11079 ;; 11080 esac 11081 shlibpath_var=LD_LIBRARY_PATH 11082 case $host_os in 11083 freebsd2.*) 11084 shlibpath_overrides_runpath=yes 11085 ;; 11086 freebsd3.[01]* | freebsdelf3.[01]*) 11087 shlibpath_overrides_runpath=yes 11088 hardcode_into_libs=yes 11089 ;; 11090 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 11091 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 11092 shlibpath_overrides_runpath=no 11093 hardcode_into_libs=yes 11094 ;; 11095 *) # from 4.6 on, and DragonFly 11096 shlibpath_overrides_runpath=yes 11097 hardcode_into_libs=yes 11098 ;; 11099 esac 11100 ;; 11101 11102haiku*) 11103 version_type=linux # correct to gnu/linux during the next big refactor 11104 need_lib_prefix=no 11105 need_version=no 11106 dynamic_linker="$host_os runtime_loader" 11107 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11108 soname_spec='$libname$release$shared_ext$major' 11109 shlibpath_var=LIBRARY_PATH 11110 shlibpath_overrides_runpath=no 11111 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 11112 hardcode_into_libs=yes 11113 ;; 11114 11115hpux9* | hpux10* | hpux11*) 11116 # Give a soname corresponding to the major version so that dld.sl refuses to 11117 # link against other versions. 11118 version_type=sunos 11119 need_lib_prefix=no 11120 need_version=no 11121 case $host_cpu in 11122 ia64*) 11123 shrext_cmds='.so' 11124 hardcode_into_libs=yes 11125 dynamic_linker="$host_os dld.so" 11126 shlibpath_var=LD_LIBRARY_PATH 11127 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11128 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11129 soname_spec='$libname$release$shared_ext$major' 11130 if test 32 = "$HPUX_IA64_MODE"; then 11131 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 11132 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 11133 else 11134 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 11135 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 11136 fi 11137 ;; 11138 hppa*64*) 11139 shrext_cmds='.sl' 11140 hardcode_into_libs=yes 11141 dynamic_linker="$host_os dld.sl" 11142 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 11143 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11144 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11145 soname_spec='$libname$release$shared_ext$major' 11146 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 11147 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11148 ;; 11149 *) 11150 shrext_cmds='.sl' 11151 dynamic_linker="$host_os dld.sl" 11152 shlibpath_var=SHLIB_PATH 11153 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 11154 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11155 soname_spec='$libname$release$shared_ext$major' 11156 ;; 11157 esac 11158 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 11159 postinstall_cmds='chmod 555 $lib' 11160 # or fails outright, so override atomically: 11161 install_override_mode=555 11162 ;; 11163 11164interix[3-9]*) 11165 version_type=linux # correct to gnu/linux during the next big refactor 11166 need_lib_prefix=no 11167 need_version=no 11168 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11169 soname_spec='$libname$release$shared_ext$major' 11170 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 11171 shlibpath_var=LD_LIBRARY_PATH 11172 shlibpath_overrides_runpath=no 11173 hardcode_into_libs=yes 11174 ;; 11175 11176irix5* | irix6* | nonstopux*) 11177 case $host_os in 11178 nonstopux*) version_type=nonstopux ;; 11179 *) 11180 if test yes = "$lt_cv_prog_gnu_ld"; then 11181 version_type=linux # correct to gnu/linux during the next big refactor 11182 else 11183 version_type=irix 11184 fi ;; 11185 esac 11186 need_lib_prefix=no 11187 need_version=no 11188 soname_spec='$libname$release$shared_ext$major' 11189 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 11190 case $host_os in 11191 irix5* | nonstopux*) 11192 libsuff= shlibsuff= 11193 ;; 11194 *) 11195 case $LD in # libtool.m4 will add one of these switches to LD 11196 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 11197 libsuff= shlibsuff= libmagic=32-bit;; 11198 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 11199 libsuff=32 shlibsuff=N32 libmagic=N32;; 11200 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 11201 libsuff=64 shlibsuff=64 libmagic=64-bit;; 11202 *) libsuff= shlibsuff= libmagic=never-match;; 11203 esac 11204 ;; 11205 esac 11206 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 11207 shlibpath_overrides_runpath=no 11208 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 11209 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 11210 hardcode_into_libs=yes 11211 ;; 11212 11213# No shared lib support for Linux oldld, aout, or coff. 11214linux*oldld* | linux*aout* | linux*coff*) 11215 dynamic_linker=no 11216 ;; 11217 11218linux*android*) 11219 version_type=none # Android doesn't support versioned libraries. 11220 need_lib_prefix=no 11221 need_version=no 11222 library_names_spec='$libname$release$shared_ext' 11223 soname_spec='$libname$release$shared_ext' 11224 finish_cmds= 11225 shlibpath_var=LD_LIBRARY_PATH 11226 shlibpath_overrides_runpath=yes 11227 11228 # This implies no fast_install, which is unacceptable. 11229 # Some rework will be needed to allow for fast_install 11230 # before this can be enabled. 11231 hardcode_into_libs=yes 11232 11233 dynamic_linker='Android linker' 11234 # Don't embed -rpath directories since the linker doesn't support them. 11235 hardcode_libdir_flag_spec='-L$libdir' 11236 ;; 11237 11238# This must be glibc/ELF. 11239linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 11240 version_type=linux # correct to gnu/linux during the next big refactor 11241 need_lib_prefix=no 11242 need_version=no 11243 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11244 soname_spec='$libname$release$shared_ext$major' 11245 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 11246 shlibpath_var=LD_LIBRARY_PATH 11247 shlibpath_overrides_runpath=no 11248 11249 # Some binutils ld are patched to set DT_RUNPATH 11250 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 11251 $as_echo_n "(cached) " >&6 11252else 11253 lt_cv_shlibpath_overrides_runpath=no 11254 save_LDFLAGS=$LDFLAGS 11255 save_libdir=$libdir 11256 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 11257 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 11258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11259/* end confdefs.h. */ 11260 11261int 11262main () 11263{ 11264 11265 ; 11266 return 0; 11267} 11268_ACEOF 11269if ac_fn_c_try_link "$LINENO"; then : 11270 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 11271 lt_cv_shlibpath_overrides_runpath=yes 11272fi 11273fi 11274rm -f core conftest.err conftest.$ac_objext \ 11275 conftest$ac_exeext conftest.$ac_ext 11276 LDFLAGS=$save_LDFLAGS 11277 libdir=$save_libdir 11278 11279fi 11280 11281 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 11282 11283 # This implies no fast_install, which is unacceptable. 11284 # Some rework will be needed to allow for fast_install 11285 # before this can be enabled. 11286 hardcode_into_libs=yes 11287 11288 # Add ABI-specific directories to the system library path. 11289 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 11290 11291 # Ideally, we could use ldconfig to report *all* directores which are 11292 # searched for libraries, however this is still not possible. Aside from not 11293 # being certain /sbin/ldconfig is available, command 11294 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 11295 # even though it is searched at run-time. Try to do the best guess by 11296 # appending ld.so.conf contents (and includes) to the search path. 11297 if test -f /etc/ld.so.conf; then 11298 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' ' '` 11299 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 11300 fi 11301 11302 # We used to test for /lib/ld.so.1 and disable shared libraries on 11303 # powerpc, because MkLinux only supported shared libraries with the 11304 # GNU dynamic linker. Since this was broken with cross compilers, 11305 # most powerpc-linux boxes support dynamic linking these days and 11306 # people can always --disable-shared, the test was removed, and we 11307 # assume the GNU/Linux dynamic linker is in use. 11308 dynamic_linker='GNU/Linux ld.so' 11309 ;; 11310 11311netbsd*) 11312 version_type=sunos 11313 need_lib_prefix=no 11314 need_version=no 11315 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11316 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11317 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11318 dynamic_linker='NetBSD (a.out) ld.so' 11319 else 11320 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11321 soname_spec='$libname$release$shared_ext$major' 11322 dynamic_linker='NetBSD ld.elf_so' 11323 fi 11324 shlibpath_var=LD_LIBRARY_PATH 11325 shlibpath_overrides_runpath=yes 11326 hardcode_into_libs=yes 11327 ;; 11328 11329newsos6) 11330 version_type=linux # correct to gnu/linux during the next big refactor 11331 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11332 shlibpath_var=LD_LIBRARY_PATH 11333 shlibpath_overrides_runpath=yes 11334 ;; 11335 11336*nto* | *qnx*) 11337 version_type=qnx 11338 need_lib_prefix=no 11339 need_version=no 11340 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11341 soname_spec='$libname$release$shared_ext$major' 11342 shlibpath_var=LD_LIBRARY_PATH 11343 shlibpath_overrides_runpath=no 11344 hardcode_into_libs=yes 11345 dynamic_linker='ldqnx.so' 11346 ;; 11347 11348openbsd* | bitrig*) 11349 version_type=sunos 11350 sys_lib_dlsearch_path_spec=/usr/lib 11351 need_lib_prefix=no 11352 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 11353 need_version=no 11354 else 11355 need_version=yes 11356 fi 11357 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11358 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11359 shlibpath_var=LD_LIBRARY_PATH 11360 shlibpath_overrides_runpath=yes 11361 ;; 11362 11363os2*) 11364 libname_spec='$name' 11365 version_type=windows 11366 shrext_cmds=.dll 11367 need_version=no 11368 need_lib_prefix=no 11369 # OS/2 can only load a DLL with a base name of 8 characters or less. 11370 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 11371 v=$($ECHO $release$versuffix | tr -d .-); 11372 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 11373 $ECHO $n$v`$shared_ext' 11374 library_names_spec='${libname}_dll.$libext' 11375 dynamic_linker='OS/2 ld.exe' 11376 shlibpath_var=BEGINLIBPATH 11377 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11378 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11379 postinstall_cmds='base_file=`basename \$file`~ 11380 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 11381 dldir=$destdir/`dirname \$dlpath`~ 11382 test -d \$dldir || mkdir -p \$dldir~ 11383 $install_prog $dir/$dlname \$dldir/$dlname~ 11384 chmod a+x \$dldir/$dlname~ 11385 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11386 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11387 fi' 11388 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 11389 dlpath=$dir/\$dldll~ 11390 $RM \$dlpath' 11391 ;; 11392 11393osf3* | osf4* | osf5*) 11394 version_type=osf 11395 need_lib_prefix=no 11396 need_version=no 11397 soname_spec='$libname$release$shared_ext$major' 11398 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11399 shlibpath_var=LD_LIBRARY_PATH 11400 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11401 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11402 ;; 11403 11404rdos*) 11405 dynamic_linker=no 11406 ;; 11407 11408solaris*) 11409 version_type=linux # correct to gnu/linux during the next big refactor 11410 need_lib_prefix=no 11411 need_version=no 11412 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11413 soname_spec='$libname$release$shared_ext$major' 11414 shlibpath_var=LD_LIBRARY_PATH 11415 shlibpath_overrides_runpath=yes 11416 hardcode_into_libs=yes 11417 # ldd complains unless libraries are executable 11418 postinstall_cmds='chmod +x $lib' 11419 ;; 11420 11421sunos4*) 11422 version_type=sunos 11423 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11424 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11425 shlibpath_var=LD_LIBRARY_PATH 11426 shlibpath_overrides_runpath=yes 11427 if test yes = "$with_gnu_ld"; then 11428 need_lib_prefix=no 11429 fi 11430 need_version=yes 11431 ;; 11432 11433sysv4 | sysv4.3*) 11434 version_type=linux # correct to gnu/linux during the next big refactor 11435 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11436 soname_spec='$libname$release$shared_ext$major' 11437 shlibpath_var=LD_LIBRARY_PATH 11438 case $host_vendor in 11439 sni) 11440 shlibpath_overrides_runpath=no 11441 need_lib_prefix=no 11442 runpath_var=LD_RUN_PATH 11443 ;; 11444 siemens) 11445 need_lib_prefix=no 11446 ;; 11447 motorola) 11448 need_lib_prefix=no 11449 need_version=no 11450 shlibpath_overrides_runpath=no 11451 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11452 ;; 11453 esac 11454 ;; 11455 11456sysv4*MP*) 11457 if test -d /usr/nec; then 11458 version_type=linux # correct to gnu/linux during the next big refactor 11459 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 11460 soname_spec='$libname$shared_ext.$major' 11461 shlibpath_var=LD_LIBRARY_PATH 11462 fi 11463 ;; 11464 11465sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11466 version_type=sco 11467 need_lib_prefix=no 11468 need_version=no 11469 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 11470 soname_spec='$libname$release$shared_ext$major' 11471 shlibpath_var=LD_LIBRARY_PATH 11472 shlibpath_overrides_runpath=yes 11473 hardcode_into_libs=yes 11474 if test yes = "$with_gnu_ld"; then 11475 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11476 else 11477 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11478 case $host_os in 11479 sco3.2v5*) 11480 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11481 ;; 11482 esac 11483 fi 11484 sys_lib_dlsearch_path_spec='/usr/lib' 11485 ;; 11486 11487tpf*) 11488 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11489 version_type=linux # correct to gnu/linux during the next big refactor 11490 need_lib_prefix=no 11491 need_version=no 11492 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11493 shlibpath_var=LD_LIBRARY_PATH 11494 shlibpath_overrides_runpath=no 11495 hardcode_into_libs=yes 11496 ;; 11497 11498uts4*) 11499 version_type=linux # correct to gnu/linux during the next big refactor 11500 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11501 soname_spec='$libname$release$shared_ext$major' 11502 shlibpath_var=LD_LIBRARY_PATH 11503 ;; 11504 11505*) 11506 dynamic_linker=no 11507 ;; 11508esac 11509{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 11510$as_echo "$dynamic_linker" >&6; } 11511test no = "$dynamic_linker" && can_build_shared=no 11512 11513variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11514if test yes = "$GCC"; then 11515 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11516fi 11517 11518if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 11519 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 11520fi 11521 11522if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 11523 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 11524fi 11525 11526# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 11527configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 11528 11529# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 11530func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 11531 11532# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 11533configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 11534 11535 11536 11537 11538 11539 11540 11541 11542 11543 11544 11545 11546 11547 11548 11549 11550 11551 11552 11553 11554 11555 11556 11557 11558 11559 11560 11561 11562 11563 11564 11565 11566 11567 11568 11569 11570 11571 11572 11573 11574 11575 11576 11577 11578 11579 11580 11581 11582 11583 11584 11585 11586 11587 11588 11589 11590 11591 11592 11593 11594 11595 11596 11597 11598 11599 11600 11601 11602 11603 11604 11605 11606 11607 11608 11609 11610 11611 11612 11613 11614 11615 11616 11617 11618 11619 11620 11621 11622 11623 11624 11625 11626 11627 11628 11629 11630 11631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11632$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11633hardcode_action= 11634if test -n "$hardcode_libdir_flag_spec" || 11635 test -n "$runpath_var" || 11636 test yes = "$hardcode_automatic"; then 11637 11638 # We can hardcode non-existent directories. 11639 if test no != "$hardcode_direct" && 11640 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11641 # have to relink, otherwise we might link with an installed library 11642 # when we should be linking with a yet-to-be-installed one 11643 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 11644 test no != "$hardcode_minus_L"; then 11645 # Linking always hardcodes the temporary library directory. 11646 hardcode_action=relink 11647 else 11648 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11649 hardcode_action=immediate 11650 fi 11651else 11652 # We cannot hardcode anything, or else we can only hardcode existing 11653 # directories. 11654 hardcode_action=unsupported 11655fi 11656{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 11657$as_echo "$hardcode_action" >&6; } 11658 11659if test relink = "$hardcode_action" || 11660 test yes = "$inherit_rpath"; then 11661 # Fast installation is not supported 11662 enable_fast_install=no 11663elif test yes = "$shlibpath_overrides_runpath" || 11664 test no = "$enable_shared"; then 11665 # Fast installation is not necessary 11666 enable_fast_install=needless 11667fi 11668 11669 11670 11671 11672 11673 11674 if test yes != "$enable_dlopen"; then 11675 enable_dlopen=unknown 11676 enable_dlopen_self=unknown 11677 enable_dlopen_self_static=unknown 11678else 11679 lt_cv_dlopen=no 11680 lt_cv_dlopen_libs= 11681 11682 case $host_os in 11683 beos*) 11684 lt_cv_dlopen=load_add_on 11685 lt_cv_dlopen_libs= 11686 lt_cv_dlopen_self=yes 11687 ;; 11688 11689 mingw* | pw32* | cegcc*) 11690 lt_cv_dlopen=LoadLibrary 11691 lt_cv_dlopen_libs= 11692 ;; 11693 11694 cygwin*) 11695 lt_cv_dlopen=dlopen 11696 lt_cv_dlopen_libs= 11697 ;; 11698 11699 darwin*) 11700 # if libdl is installed we need to link against it 11701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11702$as_echo_n "checking for dlopen in -ldl... " >&6; } 11703if ${ac_cv_lib_dl_dlopen+:} false; then : 11704 $as_echo_n "(cached) " >&6 11705else 11706 ac_check_lib_save_LIBS=$LIBS 11707LIBS="-ldl $LIBS" 11708cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11709/* end confdefs.h. */ 11710 11711/* Override any GCC internal prototype to avoid an error. 11712 Use char because int might match the return type of a GCC 11713 builtin and then its argument prototype would still apply. */ 11714#ifdef __cplusplus 11715extern "C" 11716#endif 11717char dlopen (); 11718int 11719main () 11720{ 11721return dlopen (); 11722 ; 11723 return 0; 11724} 11725_ACEOF 11726if ac_fn_c_try_link "$LINENO"; then : 11727 ac_cv_lib_dl_dlopen=yes 11728else 11729 ac_cv_lib_dl_dlopen=no 11730fi 11731rm -f core conftest.err conftest.$ac_objext \ 11732 conftest$ac_exeext conftest.$ac_ext 11733LIBS=$ac_check_lib_save_LIBS 11734fi 11735{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11736$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11737if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11738 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 11739else 11740 11741 lt_cv_dlopen=dyld 11742 lt_cv_dlopen_libs= 11743 lt_cv_dlopen_self=yes 11744 11745fi 11746 11747 ;; 11748 11749 tpf*) 11750 # Don't try to run any link tests for TPF. We know it's impossible 11751 # because TPF is a cross-compiler, and we know how we open DSOs. 11752 lt_cv_dlopen=dlopen 11753 lt_cv_dlopen_libs= 11754 lt_cv_dlopen_self=no 11755 ;; 11756 11757 *) 11758 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11759if test "x$ac_cv_func_shl_load" = xyes; then : 11760 lt_cv_dlopen=shl_load 11761else 11762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11763$as_echo_n "checking for shl_load in -ldld... " >&6; } 11764if ${ac_cv_lib_dld_shl_load+:} false; then : 11765 $as_echo_n "(cached) " >&6 11766else 11767 ac_check_lib_save_LIBS=$LIBS 11768LIBS="-ldld $LIBS" 11769cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11770/* end confdefs.h. */ 11771 11772/* Override any GCC internal prototype to avoid an error. 11773 Use char because int might match the return type of a GCC 11774 builtin and then its argument prototype would still apply. */ 11775#ifdef __cplusplus 11776extern "C" 11777#endif 11778char shl_load (); 11779int 11780main () 11781{ 11782return shl_load (); 11783 ; 11784 return 0; 11785} 11786_ACEOF 11787if ac_fn_c_try_link "$LINENO"; then : 11788 ac_cv_lib_dld_shl_load=yes 11789else 11790 ac_cv_lib_dld_shl_load=no 11791fi 11792rm -f core conftest.err conftest.$ac_objext \ 11793 conftest$ac_exeext conftest.$ac_ext 11794LIBS=$ac_check_lib_save_LIBS 11795fi 11796{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11797$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11798if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 11799 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 11800else 11801 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11802if test "x$ac_cv_func_dlopen" = xyes; then : 11803 lt_cv_dlopen=dlopen 11804else 11805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11806$as_echo_n "checking for dlopen in -ldl... " >&6; } 11807if ${ac_cv_lib_dl_dlopen+:} false; then : 11808 $as_echo_n "(cached) " >&6 11809else 11810 ac_check_lib_save_LIBS=$LIBS 11811LIBS="-ldl $LIBS" 11812cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11813/* end confdefs.h. */ 11814 11815/* Override any GCC internal prototype to avoid an error. 11816 Use char because int might match the return type of a GCC 11817 builtin and then its argument prototype would still apply. */ 11818#ifdef __cplusplus 11819extern "C" 11820#endif 11821char dlopen (); 11822int 11823main () 11824{ 11825return dlopen (); 11826 ; 11827 return 0; 11828} 11829_ACEOF 11830if ac_fn_c_try_link "$LINENO"; then : 11831 ac_cv_lib_dl_dlopen=yes 11832else 11833 ac_cv_lib_dl_dlopen=no 11834fi 11835rm -f core conftest.err conftest.$ac_objext \ 11836 conftest$ac_exeext conftest.$ac_ext 11837LIBS=$ac_check_lib_save_LIBS 11838fi 11839{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11840$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11841if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11842 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 11843else 11844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11845$as_echo_n "checking for dlopen in -lsvld... " >&6; } 11846if ${ac_cv_lib_svld_dlopen+:} false; then : 11847 $as_echo_n "(cached) " >&6 11848else 11849 ac_check_lib_save_LIBS=$LIBS 11850LIBS="-lsvld $LIBS" 11851cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11852/* end confdefs.h. */ 11853 11854/* Override any GCC internal prototype to avoid an error. 11855 Use char because int might match the return type of a GCC 11856 builtin and then its argument prototype would still apply. */ 11857#ifdef __cplusplus 11858extern "C" 11859#endif 11860char dlopen (); 11861int 11862main () 11863{ 11864return dlopen (); 11865 ; 11866 return 0; 11867} 11868_ACEOF 11869if ac_fn_c_try_link "$LINENO"; then : 11870 ac_cv_lib_svld_dlopen=yes 11871else 11872 ac_cv_lib_svld_dlopen=no 11873fi 11874rm -f core conftest.err conftest.$ac_objext \ 11875 conftest$ac_exeext conftest.$ac_ext 11876LIBS=$ac_check_lib_save_LIBS 11877fi 11878{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 11879$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11880if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 11881 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 11882else 11883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 11884$as_echo_n "checking for dld_link in -ldld... " >&6; } 11885if ${ac_cv_lib_dld_dld_link+:} false; then : 11886 $as_echo_n "(cached) " >&6 11887else 11888 ac_check_lib_save_LIBS=$LIBS 11889LIBS="-ldld $LIBS" 11890cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11891/* end confdefs.h. */ 11892 11893/* Override any GCC internal prototype to avoid an error. 11894 Use char because int might match the return type of a GCC 11895 builtin and then its argument prototype would still apply. */ 11896#ifdef __cplusplus 11897extern "C" 11898#endif 11899char dld_link (); 11900int 11901main () 11902{ 11903return dld_link (); 11904 ; 11905 return 0; 11906} 11907_ACEOF 11908if ac_fn_c_try_link "$LINENO"; then : 11909 ac_cv_lib_dld_dld_link=yes 11910else 11911 ac_cv_lib_dld_dld_link=no 11912fi 11913rm -f core conftest.err conftest.$ac_objext \ 11914 conftest$ac_exeext conftest.$ac_ext 11915LIBS=$ac_check_lib_save_LIBS 11916fi 11917{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 11918$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11919if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 11920 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 11921fi 11922 11923 11924fi 11925 11926 11927fi 11928 11929 11930fi 11931 11932 11933fi 11934 11935 11936fi 11937 11938 ;; 11939 esac 11940 11941 if test no = "$lt_cv_dlopen"; then 11942 enable_dlopen=no 11943 else 11944 enable_dlopen=yes 11945 fi 11946 11947 case $lt_cv_dlopen in 11948 dlopen) 11949 save_CPPFLAGS=$CPPFLAGS 11950 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 11951 11952 save_LDFLAGS=$LDFLAGS 11953 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 11954 11955 save_LIBS=$LIBS 11956 LIBS="$lt_cv_dlopen_libs $LIBS" 11957 11958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 11959$as_echo_n "checking whether a program can dlopen itself... " >&6; } 11960if ${lt_cv_dlopen_self+:} false; then : 11961 $as_echo_n "(cached) " >&6 11962else 11963 if test yes = "$cross_compiling"; then : 11964 lt_cv_dlopen_self=cross 11965else 11966 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11967 lt_status=$lt_dlunknown 11968 cat > conftest.$ac_ext <<_LT_EOF 11969#line $LINENO "configure" 11970#include "confdefs.h" 11971 11972#if HAVE_DLFCN_H 11973#include <dlfcn.h> 11974#endif 11975 11976#include <stdio.h> 11977 11978#ifdef RTLD_GLOBAL 11979# define LT_DLGLOBAL RTLD_GLOBAL 11980#else 11981# ifdef DL_GLOBAL 11982# define LT_DLGLOBAL DL_GLOBAL 11983# else 11984# define LT_DLGLOBAL 0 11985# endif 11986#endif 11987 11988/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11989 find out it does not work in some platform. */ 11990#ifndef LT_DLLAZY_OR_NOW 11991# ifdef RTLD_LAZY 11992# define LT_DLLAZY_OR_NOW RTLD_LAZY 11993# else 11994# ifdef DL_LAZY 11995# define LT_DLLAZY_OR_NOW DL_LAZY 11996# else 11997# ifdef RTLD_NOW 11998# define LT_DLLAZY_OR_NOW RTLD_NOW 11999# else 12000# ifdef DL_NOW 12001# define LT_DLLAZY_OR_NOW DL_NOW 12002# else 12003# define LT_DLLAZY_OR_NOW 0 12004# endif 12005# endif 12006# endif 12007# endif 12008#endif 12009 12010/* When -fvisibility=hidden is used, assume the code has been annotated 12011 correspondingly for the symbols needed. */ 12012#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12013int fnord () __attribute__((visibility("default"))); 12014#endif 12015 12016int fnord () { return 42; } 12017int main () 12018{ 12019 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12020 int status = $lt_dlunknown; 12021 12022 if (self) 12023 { 12024 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12025 else 12026 { 12027 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12028 else puts (dlerror ()); 12029 } 12030 /* dlclose (self); */ 12031 } 12032 else 12033 puts (dlerror ()); 12034 12035 return status; 12036} 12037_LT_EOF 12038 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12039 (eval $ac_link) 2>&5 12040 ac_status=$? 12041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12042 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12043 (./conftest; exit; ) >&5 2>/dev/null 12044 lt_status=$? 12045 case x$lt_status in 12046 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 12047 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 12048 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 12049 esac 12050 else : 12051 # compilation failed 12052 lt_cv_dlopen_self=no 12053 fi 12054fi 12055rm -fr conftest* 12056 12057 12058fi 12059{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 12060$as_echo "$lt_cv_dlopen_self" >&6; } 12061 12062 if test yes = "$lt_cv_dlopen_self"; then 12063 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 12064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 12065$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 12066if ${lt_cv_dlopen_self_static+:} false; then : 12067 $as_echo_n "(cached) " >&6 12068else 12069 if test yes = "$cross_compiling"; then : 12070 lt_cv_dlopen_self_static=cross 12071else 12072 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12073 lt_status=$lt_dlunknown 12074 cat > conftest.$ac_ext <<_LT_EOF 12075#line $LINENO "configure" 12076#include "confdefs.h" 12077 12078#if HAVE_DLFCN_H 12079#include <dlfcn.h> 12080#endif 12081 12082#include <stdio.h> 12083 12084#ifdef RTLD_GLOBAL 12085# define LT_DLGLOBAL RTLD_GLOBAL 12086#else 12087# ifdef DL_GLOBAL 12088# define LT_DLGLOBAL DL_GLOBAL 12089# else 12090# define LT_DLGLOBAL 0 12091# endif 12092#endif 12093 12094/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12095 find out it does not work in some platform. */ 12096#ifndef LT_DLLAZY_OR_NOW 12097# ifdef RTLD_LAZY 12098# define LT_DLLAZY_OR_NOW RTLD_LAZY 12099# else 12100# ifdef DL_LAZY 12101# define LT_DLLAZY_OR_NOW DL_LAZY 12102# else 12103# ifdef RTLD_NOW 12104# define LT_DLLAZY_OR_NOW RTLD_NOW 12105# else 12106# ifdef DL_NOW 12107# define LT_DLLAZY_OR_NOW DL_NOW 12108# else 12109# define LT_DLLAZY_OR_NOW 0 12110# endif 12111# endif 12112# endif 12113# endif 12114#endif 12115 12116/* When -fvisibility=hidden is used, assume the code has been annotated 12117 correspondingly for the symbols needed. */ 12118#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12119int fnord () __attribute__((visibility("default"))); 12120#endif 12121 12122int fnord () { return 42; } 12123int main () 12124{ 12125 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12126 int status = $lt_dlunknown; 12127 12128 if (self) 12129 { 12130 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12131 else 12132 { 12133 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12134 else puts (dlerror ()); 12135 } 12136 /* dlclose (self); */ 12137 } 12138 else 12139 puts (dlerror ()); 12140 12141 return status; 12142} 12143_LT_EOF 12144 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12145 (eval $ac_link) 2>&5 12146 ac_status=$? 12147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12148 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12149 (./conftest; exit; ) >&5 2>/dev/null 12150 lt_status=$? 12151 case x$lt_status in 12152 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 12153 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 12154 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 12155 esac 12156 else : 12157 # compilation failed 12158 lt_cv_dlopen_self_static=no 12159 fi 12160fi 12161rm -fr conftest* 12162 12163 12164fi 12165{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 12166$as_echo "$lt_cv_dlopen_self_static" >&6; } 12167 fi 12168 12169 CPPFLAGS=$save_CPPFLAGS 12170 LDFLAGS=$save_LDFLAGS 12171 LIBS=$save_LIBS 12172 ;; 12173 esac 12174 12175 case $lt_cv_dlopen_self in 12176 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 12177 *) enable_dlopen_self=unknown ;; 12178 esac 12179 12180 case $lt_cv_dlopen_self_static in 12181 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 12182 *) enable_dlopen_self_static=unknown ;; 12183 esac 12184fi 12185 12186 12187 12188 12189 12190 12191 12192 12193 12194 12195 12196 12197 12198 12199 12200 12201 12202striplib= 12203old_striplib= 12204{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 12205$as_echo_n "checking whether stripping libraries is possible... " >&6; } 12206if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 12207 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 12208 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 12209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12210$as_echo "yes" >&6; } 12211else 12212# FIXME - insert some real tests, host_os isn't really good enough 12213 case $host_os in 12214 darwin*) 12215 if test -n "$STRIP"; then 12216 striplib="$STRIP -x" 12217 old_striplib="$STRIP -S" 12218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12219$as_echo "yes" >&6; } 12220 else 12221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12222$as_echo "no" >&6; } 12223 fi 12224 ;; 12225 *) 12226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12227$as_echo "no" >&6; } 12228 ;; 12229 esac 12230fi 12231 12232 12233 12234 12235 12236 12237 12238 12239 12240 12241 12242 12243 # Report what library types will actually be built 12244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 12245$as_echo_n "checking if libtool supports shared libraries... " >&6; } 12246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 12247$as_echo "$can_build_shared" >&6; } 12248 12249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 12250$as_echo_n "checking whether to build shared libraries... " >&6; } 12251 test no = "$can_build_shared" && enable_shared=no 12252 12253 # On AIX, shared libraries and static libraries use the same namespace, and 12254 # are all built from PIC. 12255 case $host_os in 12256 aix3*) 12257 test yes = "$enable_shared" && enable_static=no 12258 if test -n "$RANLIB"; then 12259 archive_cmds="$archive_cmds~\$RANLIB \$lib" 12260 postinstall_cmds='$RANLIB $lib' 12261 fi 12262 ;; 12263 12264 aix[4-9]*) 12265 if test ia64 != "$host_cpu"; then 12266 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 12267 yes,aix,yes) ;; # shared object as lib.so file only 12268 yes,svr4,*) ;; # shared object as lib.so archive member only 12269 yes,*) enable_static=no ;; # shared object in lib.a archive as well 12270 esac 12271 fi 12272 ;; 12273 esac 12274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 12275$as_echo "$enable_shared" >&6; } 12276 12277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 12278$as_echo_n "checking whether to build static libraries... " >&6; } 12279 # Make sure either enable_shared or enable_static is yes. 12280 test yes = "$enable_shared" || enable_static=yes 12281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 12282$as_echo "$enable_static" >&6; } 12283 12284 12285 12286 12287fi 12288ac_ext=c 12289ac_cpp='$CPP $CPPFLAGS' 12290ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12291ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12292ac_compiler_gnu=$ac_cv_c_compiler_gnu 12293 12294CC=$lt_save_CC 12295 12296 12297 12298 12299 12300 12301 12302 12303 12304 12305 12306 12307 12308 12309 12310 ac_config_commands="$ac_config_commands libtool" 12311 12312 12313 12314 12315# Only expand once: 12316 12317 12318 12319if test "$GCC" = yes 12320then 12321 CFLAGS="-Wall $CFLAGS" 12322fi 12323CFLAGS="$CFLAGS -I$srcdir/.. -I.." 12324 12325 12326 12327for ac_header in sys/types.h stdint.h 12328do : 12329 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12330ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 12331if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 12332 cat >>confdefs.h <<_ACEOF 12333#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12334_ACEOF 12335 12336fi 12337 12338done 12339 12340 12341 12342# Check whether --with-int32 was given. 12343if test "${with_int32+set}" = set; then : 12344 withval=$with_int32; int32="$withval" 12345else 12346 12347 12348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint32_t" >&5 12349$as_echo_n "checking for uint32_t... " >&6; } 12350 12351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12352/* end confdefs.h. */ 12353 12354#if HAVE_SYS_TYPES_H 12355#include <sys/types.h> 12356#endif 12357#if HAVE_STDINT_H 12358#include <stdint.h> 12359#endif 12360uint32_t i; 12361 12362int 12363main () 12364{ 12365 12366 12367 ; 12368 return 0; 12369} 12370_ACEOF 12371if ac_fn_c_try_compile "$LINENO"; then : 12372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12373$as_echo "yes" >&6; } ; int32="uint32_t" 12374else 12375 12376 12377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12378$as_echo "no" >&6; } 12379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for u_int_32_t" >&5 12380$as_echo_n "checking for u_int_32_t... " >&6; } 12381 12382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12383/* end confdefs.h. */ 12384 12385#if HAVE_SYS_TYPES_H 12386#include <sys/types.h> 12387#endif 12388#if HAVE_STDINT_H 12389#include <stdint.h> 12390#endif 12391u_int32_t i; 12392 12393int 12394main () 12395{ 12396 12397 12398 ; 12399 return 0; 12400} 12401_ACEOF 12402if ac_fn_c_try_compile "$LINENO"; then : 12403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12404$as_echo "yes" >&6; }; int32="u_int32_t" 12405else 12406 12407 12408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12409$as_echo "no" >&6; } 12410 12411 # The cast to long int works around a bug in the HP C Compiler 12412# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 12413# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 12414# This bug is HP SR number 8606223364. 12415{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned" >&5 12416$as_echo_n "checking size of unsigned... " >&6; } 12417if ${ac_cv_sizeof_unsigned+:} false; then : 12418 $as_echo_n "(cached) " >&6 12419else 12420 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned))" "ac_cv_sizeof_unsigned" "$ac_includes_default"; then : 12421 12422else 12423 if test "$ac_cv_type_unsigned" = yes; then 12424 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12425$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12426as_fn_error 77 "cannot compute sizeof (unsigned) 12427See \`config.log' for more details" "$LINENO" 5; } 12428 else 12429 ac_cv_sizeof_unsigned=0 12430 fi 12431fi 12432 12433fi 12434{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned" >&5 12435$as_echo "$ac_cv_sizeof_unsigned" >&6; } 12436 12437 12438 12439cat >>confdefs.h <<_ACEOF 12440#define SIZEOF_UNSIGNED $ac_cv_sizeof_unsigned 12441_ACEOF 12442 12443 12444 if test "$ac_cv_sizeof_unsigned" != 4 12445 then 12446 # The cast to long int works around a bug in the HP C Compiler 12447# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 12448# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 12449# This bug is HP SR number 8606223364. 12450{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5 12451$as_echo_n "checking size of unsigned long... " >&6; } 12452if ${ac_cv_sizeof_unsigned_long+:} false; then : 12453 $as_echo_n "(cached) " >&6 12454else 12455 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then : 12456 12457else 12458 if test "$ac_cv_type_unsigned_long" = yes; then 12459 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12460$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12461as_fn_error 77 "cannot compute sizeof (unsigned long) 12462See \`config.log' for more details" "$LINENO" 5; } 12463 else 12464 ac_cv_sizeof_unsigned_long=0 12465 fi 12466fi 12467 12468fi 12469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5 12470$as_echo "$ac_cv_sizeof_unsigned_long" >&6; } 12471 12472 12473 12474cat >>confdefs.h <<_ACEOF 12475#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long 12476_ACEOF 12477 12478 12479 if test "$ac_cv_sizeof_unsigned_long" != 4 12480 then 12481 # The cast to long int works around a bug in the HP C Compiler 12482# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 12483# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 12484# This bug is HP SR number 8606223364. 12485{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned short" >&5 12486$as_echo_n "checking size of unsigned short... " >&6; } 12487if ${ac_cv_sizeof_unsigned_short+:} false; then : 12488 $as_echo_n "(cached) " >&6 12489else 12490 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned short))" "ac_cv_sizeof_unsigned_short" "$ac_includes_default"; then : 12491 12492else 12493 if test "$ac_cv_type_unsigned_short" = yes; then 12494 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12495$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12496as_fn_error 77 "cannot compute sizeof (unsigned short) 12497See \`config.log' for more details" "$LINENO" 5; } 12498 else 12499 ac_cv_sizeof_unsigned_short=0 12500 fi 12501fi 12502 12503fi 12504{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_short" >&5 12505$as_echo "$ac_cv_sizeof_unsigned_short" >&6; } 12506 12507 12508 12509cat >>confdefs.h <<_ACEOF 12510#define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short 12511_ACEOF 12512 12513 12514 if test "$ac_cv_sizeof_unsigned_short" != 4 12515 then 12516 as_fn_error $? "--with-int32 option is required" "$LINENO" 5 12517 fi 12518 int32="unsigned short" 12519 else 12520 int32="unsigned long" 12521 fi 12522 else 12523 int32="unsigned" 12524 fi 12525 12526fi 12527rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12528 12529fi 12530rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12531 12532 12533fi 12534 12535UINT32="$int32" 12536 12537 12538cat >>confdefs.h <<_ACEOF 12539#define SHA1_WORD $UINT32 12540_ACEOF 12541 12542 12543 12544# Check whether --with-int64 was given. 12545if test "${with_int64+set}" = set; then : 12546 withval=$with_int64; int64="$withval" 12547else 12548 12549 12550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint64_t" >&5 12551$as_echo_n "checking for uint64_t... " >&6; } 12552 12553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12554/* end confdefs.h. */ 12555 12556#if HAVE_SYS_TYPES_H 12557#include <sys/types.h> 12558#endif 12559#if HAVE_STDINT_H 12560#include <stdint.h> 12561#endif 12562uint64_t i; 12563 12564int 12565main () 12566{ 12567 12568 12569 ; 12570 return 0; 12571} 12572_ACEOF 12573if ac_fn_c_try_compile "$LINENO"; then : 12574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12575$as_echo "yes" >&6; } ; int64="uint64_t" 12576else 12577 12578 12579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12580$as_echo "no" >&6; } 12581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for u_int_64_t" >&5 12582$as_echo_n "checking for u_int_64_t... " >&6; } 12583 12584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12585/* end confdefs.h. */ 12586 12587#if HAVE_SYS_TYPES_H 12588#include <sys/types.h> 12589#endif 12590#if HAVE_STDINT_H 12591#include <stdint.h> 12592#endif 12593u_int64_t i; 12594 12595int 12596main () 12597{ 12598 12599 12600 ; 12601 return 0; 12602} 12603_ACEOF 12604if ac_fn_c_try_compile "$LINENO"; then : 12605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12606$as_echo "yes" >&6; }; int64="u_int64_t" 12607else 12608 12609 12610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12611$as_echo "no" >&6; } 12612 12613 # The cast to long int works around a bug in the HP C Compiler 12614# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 12615# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 12616# This bug is HP SR number 8606223364. 12617{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned" >&5 12618$as_echo_n "checking size of unsigned... " >&6; } 12619if ${ac_cv_sizeof_unsigned+:} false; then : 12620 $as_echo_n "(cached) " >&6 12621else 12622 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned))" "ac_cv_sizeof_unsigned" "$ac_includes_default"; then : 12623 12624else 12625 if test "$ac_cv_type_unsigned" = yes; then 12626 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12627$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12628as_fn_error 77 "cannot compute sizeof (unsigned) 12629See \`config.log' for more details" "$LINENO" 5; } 12630 else 12631 ac_cv_sizeof_unsigned=0 12632 fi 12633fi 12634 12635fi 12636{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned" >&5 12637$as_echo "$ac_cv_sizeof_unsigned" >&6; } 12638 12639 12640 12641cat >>confdefs.h <<_ACEOF 12642#define SIZEOF_UNSIGNED $ac_cv_sizeof_unsigned 12643_ACEOF 12644 12645 12646 if test "$ac_cv_sizeof_unsigned" != 8 12647 then 12648 # The cast to long int works around a bug in the HP C Compiler 12649# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 12650# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 12651# This bug is HP SR number 8606223364. 12652{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5 12653$as_echo_n "checking size of unsigned long... " >&6; } 12654if ${ac_cv_sizeof_unsigned_long+:} false; then : 12655 $as_echo_n "(cached) " >&6 12656else 12657 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then : 12658 12659else 12660 if test "$ac_cv_type_unsigned_long" = yes; then 12661 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12662$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12663as_fn_error 77 "cannot compute sizeof (unsigned long) 12664See \`config.log' for more details" "$LINENO" 5; } 12665 else 12666 ac_cv_sizeof_unsigned_long=0 12667 fi 12668fi 12669 12670fi 12671{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5 12672$as_echo "$ac_cv_sizeof_unsigned_long" >&6; } 12673 12674 12675 12676cat >>confdefs.h <<_ACEOF 12677#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long 12678_ACEOF 12679 12680 12681 if test "$ac_cv_sizeof_unsigned_long" != 8 12682 then 12683 # The cast to long int works around a bug in the HP C Compiler 12684# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 12685# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 12686# This bug is HP SR number 8606223364. 12687{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long long" >&5 12688$as_echo_n "checking size of unsigned long long... " >&6; } 12689if ${ac_cv_sizeof_unsigned_long_long+:} false; then : 12690 $as_echo_n "(cached) " >&6 12691else 12692 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long long))" "ac_cv_sizeof_unsigned_long_long" "$ac_includes_default"; then : 12693 12694else 12695 if test "$ac_cv_type_unsigned_long_long" = yes; then 12696 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12697$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12698as_fn_error 77 "cannot compute sizeof (unsigned long long) 12699See \`config.log' for more details" "$LINENO" 5; } 12700 else 12701 ac_cv_sizeof_unsigned_long_long=0 12702 fi 12703fi 12704 12705fi 12706{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long_long" >&5 12707$as_echo "$ac_cv_sizeof_unsigned_long_long" >&6; } 12708 12709 12710 12711cat >>confdefs.h <<_ACEOF 12712#define SIZEOF_UNSIGNED_LONG_LONG $ac_cv_sizeof_unsigned_long_long 12713_ACEOF 12714 12715 12716 if test "$ac_cv_sizeof_unsigned_long_long" != 8 12717 then 12718 # The cast to long int works around a bug in the HP C Compiler 12719# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 12720# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 12721# This bug is HP SR number 8606223364. 12722{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned short" >&5 12723$as_echo_n "checking size of unsigned short... " >&6; } 12724if ${ac_cv_sizeof_unsigned_short+:} false; then : 12725 $as_echo_n "(cached) " >&6 12726else 12727 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned short))" "ac_cv_sizeof_unsigned_short" "$ac_includes_default"; then : 12728 12729else 12730 if test "$ac_cv_type_unsigned_short" = yes; then 12731 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12732$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12733as_fn_error 77 "cannot compute sizeof (unsigned short) 12734See \`config.log' for more details" "$LINENO" 5; } 12735 else 12736 ac_cv_sizeof_unsigned_short=0 12737 fi 12738fi 12739 12740fi 12741{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_short" >&5 12742$as_echo "$ac_cv_sizeof_unsigned_short" >&6; } 12743 12744 12745 12746cat >>confdefs.h <<_ACEOF 12747#define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short 12748_ACEOF 12749 12750 12751 if test "$ac_cv_sizeof_unsigned_short" != 8 12752 then 12753 as_fn_error $? "--with-int64 option is required" "$LINENO" 5 12754 fi 12755 int64="unsigned short" 12756 else 12757 int64="unsigned long long" 12758 fi 12759 else 12760 int64="unsigned long" 12761 fi 12762 else 12763 int64="unsigned" 12764 fi 12765 12766fi 12767rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12768 12769fi 12770rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12771 12772 12773fi 12774 12775UINT64="$int64" 12776 12777 12778cat >>confdefs.h <<_ACEOF 12779#define SHA512_WORD $UINT64 12780_ACEOF 12781 12782{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 12783$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 12784if ${ac_cv_c_const+:} false; then : 12785 $as_echo_n "(cached) " >&6 12786else 12787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12788/* end confdefs.h. */ 12789 12790int 12791main () 12792{ 12793 12794#ifndef __cplusplus 12795 /* Ultrix mips cc rejects this sort of thing. */ 12796 typedef int charset[2]; 12797 const charset cs = { 0, 0 }; 12798 /* SunOS 4.1.1 cc rejects this. */ 12799 char const *const *pcpcc; 12800 char **ppc; 12801 /* NEC SVR4.0.2 mips cc rejects this. */ 12802 struct point {int x, y;}; 12803 static struct point const zero = {0,0}; 12804 /* AIX XL C 1.02.0.0 rejects this. 12805 It does not let you subtract one const X* pointer from another in 12806 an arm of an if-expression whose if-part is not a constant 12807 expression */ 12808 const char *g = "string"; 12809 pcpcc = &g + (g ? g-g : 0); 12810 /* HPUX 7.0 cc rejects these. */ 12811 ++pcpcc; 12812 ppc = (char**) pcpcc; 12813 pcpcc = (char const *const *) ppc; 12814 { /* SCO 3.2v4 cc rejects this sort of thing. */ 12815 char tx; 12816 char *t = &tx; 12817 char const *s = 0 ? (char *) 0 : (char const *) 0; 12818 12819 *t++ = 0; 12820 if (s) return 0; 12821 } 12822 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 12823 int x[] = {25, 17}; 12824 const int *foo = &x[0]; 12825 ++foo; 12826 } 12827 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 12828 typedef const int *iptr; 12829 iptr p = 0; 12830 ++p; 12831 } 12832 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 12833 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 12834 struct s { int j; const int *ap[3]; } bx; 12835 struct s *b = &bx; b->j = 5; 12836 } 12837 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 12838 const int foo = 10; 12839 if (!foo) return 0; 12840 } 12841 return !cs[0] && !zero.x; 12842#endif 12843 12844 ; 12845 return 0; 12846} 12847_ACEOF 12848if ac_fn_c_try_compile "$LINENO"; then : 12849 ac_cv_c_const=yes 12850else 12851 ac_cv_c_const=no 12852fi 12853rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12854fi 12855{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 12856$as_echo "$ac_cv_c_const" >&6; } 12857if test $ac_cv_c_const = no; then 12858 12859$as_echo "#define const /**/" >>confdefs.h 12860 12861fi 12862 12863# Check whether --enable-largefile was given. 12864if test "${enable_largefile+set}" = set; then : 12865 enableval=$enable_largefile; 12866fi 12867 12868if test "$enable_largefile" != no; then 12869 12870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 12871$as_echo_n "checking for special C compiler options needed for large files... " >&6; } 12872if ${ac_cv_sys_largefile_CC+:} false; then : 12873 $as_echo_n "(cached) " >&6 12874else 12875 ac_cv_sys_largefile_CC=no 12876 if test "$GCC" != yes; then 12877 ac_save_CC=$CC 12878 while :; do 12879 # IRIX 6.2 and later do not support large files by default, 12880 # so use the C compiler's -n32 option if that helps. 12881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12882/* end confdefs.h. */ 12883#include <sys/types.h> 12884 /* Check that off_t can represent 2**63 - 1 correctly. 12885 We can't simply define LARGE_OFF_T to be 9223372036854775807, 12886 since some C++ compilers masquerading as C compilers 12887 incorrectly reject 9223372036854775807. */ 12888#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 12889 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 12890 && LARGE_OFF_T % 2147483647 == 1) 12891 ? 1 : -1]; 12892int 12893main () 12894{ 12895 12896 ; 12897 return 0; 12898} 12899_ACEOF 12900 if ac_fn_c_try_compile "$LINENO"; then : 12901 break 12902fi 12903rm -f core conftest.err conftest.$ac_objext 12904 CC="$CC -n32" 12905 if ac_fn_c_try_compile "$LINENO"; then : 12906 ac_cv_sys_largefile_CC=' -n32'; break 12907fi 12908rm -f core conftest.err conftest.$ac_objext 12909 break 12910 done 12911 CC=$ac_save_CC 12912 rm -f conftest.$ac_ext 12913 fi 12914fi 12915{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 12916$as_echo "$ac_cv_sys_largefile_CC" >&6; } 12917 if test "$ac_cv_sys_largefile_CC" != no; then 12918 CC=$CC$ac_cv_sys_largefile_CC 12919 fi 12920 12921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 12922$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 12923if ${ac_cv_sys_file_offset_bits+:} false; then : 12924 $as_echo_n "(cached) " >&6 12925else 12926 while :; do 12927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12928/* end confdefs.h. */ 12929#include <sys/types.h> 12930 /* Check that off_t can represent 2**63 - 1 correctly. 12931 We can't simply define LARGE_OFF_T to be 9223372036854775807, 12932 since some C++ compilers masquerading as C compilers 12933 incorrectly reject 9223372036854775807. */ 12934#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 12935 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 12936 && LARGE_OFF_T % 2147483647 == 1) 12937 ? 1 : -1]; 12938int 12939main () 12940{ 12941 12942 ; 12943 return 0; 12944} 12945_ACEOF 12946if ac_fn_c_try_compile "$LINENO"; then : 12947 ac_cv_sys_file_offset_bits=no; break 12948fi 12949rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12951/* end confdefs.h. */ 12952#define _FILE_OFFSET_BITS 64 12953#include <sys/types.h> 12954 /* Check that off_t can represent 2**63 - 1 correctly. 12955 We can't simply define LARGE_OFF_T to be 9223372036854775807, 12956 since some C++ compilers masquerading as C compilers 12957 incorrectly reject 9223372036854775807. */ 12958#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 12959 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 12960 && LARGE_OFF_T % 2147483647 == 1) 12961 ? 1 : -1]; 12962int 12963main () 12964{ 12965 12966 ; 12967 return 0; 12968} 12969_ACEOF 12970if ac_fn_c_try_compile "$LINENO"; then : 12971 ac_cv_sys_file_offset_bits=64; break 12972fi 12973rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12974 ac_cv_sys_file_offset_bits=unknown 12975 break 12976done 12977fi 12978{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 12979$as_echo "$ac_cv_sys_file_offset_bits" >&6; } 12980case $ac_cv_sys_file_offset_bits in #( 12981 no | unknown) ;; 12982 *) 12983cat >>confdefs.h <<_ACEOF 12984#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 12985_ACEOF 12986;; 12987esac 12988rm -rf conftest* 12989 if test $ac_cv_sys_file_offset_bits = unknown; then 12990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 12991$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 12992if ${ac_cv_sys_large_files+:} false; then : 12993 $as_echo_n "(cached) " >&6 12994else 12995 while :; do 12996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12997/* end confdefs.h. */ 12998#include <sys/types.h> 12999 /* Check that off_t can represent 2**63 - 1 correctly. 13000 We can't simply define LARGE_OFF_T to be 9223372036854775807, 13001 since some C++ compilers masquerading as C compilers 13002 incorrectly reject 9223372036854775807. */ 13003#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 13004 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 13005 && LARGE_OFF_T % 2147483647 == 1) 13006 ? 1 : -1]; 13007int 13008main () 13009{ 13010 13011 ; 13012 return 0; 13013} 13014_ACEOF 13015if ac_fn_c_try_compile "$LINENO"; then : 13016 ac_cv_sys_large_files=no; break 13017fi 13018rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13020/* end confdefs.h. */ 13021#define _LARGE_FILES 1 13022#include <sys/types.h> 13023 /* Check that off_t can represent 2**63 - 1 correctly. 13024 We can't simply define LARGE_OFF_T to be 9223372036854775807, 13025 since some C++ compilers masquerading as C compilers 13026 incorrectly reject 9223372036854775807. */ 13027#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 13028 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 13029 && LARGE_OFF_T % 2147483647 == 1) 13030 ? 1 : -1]; 13031int 13032main () 13033{ 13034 13035 ; 13036 return 0; 13037} 13038_ACEOF 13039if ac_fn_c_try_compile "$LINENO"; then : 13040 ac_cv_sys_large_files=1; break 13041fi 13042rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13043 ac_cv_sys_large_files=unknown 13044 break 13045done 13046fi 13047{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 13048$as_echo "$ac_cv_sys_large_files" >&6; } 13049case $ac_cv_sys_large_files in #( 13050 no | unknown) ;; 13051 *) 13052cat >>confdefs.h <<_ACEOF 13053#define _LARGE_FILES $ac_cv_sys_large_files 13054_ACEOF 13055;; 13056esac 13057rm -rf conftest* 13058 fi 13059 13060 13061fi 13062 13063 13064{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 13065$as_echo_n "checking for ANSI C header files... " >&6; } 13066if ${ac_cv_header_stdc+:} false; then : 13067 $as_echo_n "(cached) " >&6 13068else 13069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13070/* end confdefs.h. */ 13071#include <stdlib.h> 13072#include <stdarg.h> 13073#include <string.h> 13074#include <float.h> 13075 13076int 13077main () 13078{ 13079 13080 ; 13081 return 0; 13082} 13083_ACEOF 13084if ac_fn_c_try_compile "$LINENO"; then : 13085 ac_cv_header_stdc=yes 13086else 13087 ac_cv_header_stdc=no 13088fi 13089rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13090 13091if test $ac_cv_header_stdc = yes; then 13092 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 13093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13094/* end confdefs.h. */ 13095#include <string.h> 13096 13097_ACEOF 13098if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 13099 $EGREP "memchr" >/dev/null 2>&1; then : 13100 13101else 13102 ac_cv_header_stdc=no 13103fi 13104rm -f conftest* 13105 13106fi 13107 13108if test $ac_cv_header_stdc = yes; then 13109 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 13110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13111/* end confdefs.h. */ 13112#include <stdlib.h> 13113 13114_ACEOF 13115if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 13116 $EGREP "free" >/dev/null 2>&1; then : 13117 13118else 13119 ac_cv_header_stdc=no 13120fi 13121rm -f conftest* 13122 13123fi 13124 13125if test $ac_cv_header_stdc = yes; then 13126 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 13127 if test "$cross_compiling" = yes; then : 13128 : 13129else 13130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13131/* end confdefs.h. */ 13132#include <ctype.h> 13133#include <stdlib.h> 13134#if ((' ' & 0x0FF) == 0x020) 13135# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 13136# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 13137#else 13138# define ISLOWER(c) \ 13139 (('a' <= (c) && (c) <= 'i') \ 13140 || ('j' <= (c) && (c) <= 'r') \ 13141 || ('s' <= (c) && (c) <= 'z')) 13142# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 13143#endif 13144 13145#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 13146int 13147main () 13148{ 13149 int i; 13150 for (i = 0; i < 256; i++) 13151 if (XOR (islower (i), ISLOWER (i)) 13152 || toupper (i) != TOUPPER (i)) 13153 return 2; 13154 return 0; 13155} 13156_ACEOF 13157if ac_fn_c_try_run "$LINENO"; then : 13158 13159else 13160 ac_cv_header_stdc=no 13161fi 13162rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 13163 conftest.$ac_objext conftest.beam conftest.$ac_ext 13164fi 13165 13166fi 13167fi 13168{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 13169$as_echo "$ac_cv_header_stdc" >&6; } 13170if test $ac_cv_header_stdc = yes; then 13171 13172$as_echo "#define STDC_HEADERS 1" >>confdefs.h 13173 13174fi 13175 13176 13177ac_config_files="$ac_config_files Makefile" 13178 13179cat >confcache <<\_ACEOF 13180# This file is a shell script that caches the results of configure 13181# tests run on this system so they can be shared between configure 13182# scripts and configure runs, see configure's option --config-cache. 13183# It is not useful on other systems. If it contains results you don't 13184# want to keep, you may remove or edit it. 13185# 13186# config.status only pays attention to the cache file if you give it 13187# the --recheck option to rerun configure. 13188# 13189# `ac_cv_env_foo' variables (set or unset) will be overridden when 13190# loading this file, other *unset* `ac_cv_foo' will be assigned the 13191# following values. 13192 13193_ACEOF 13194 13195# The following way of writing the cache mishandles newlines in values, 13196# but we know of no workaround that is simple, portable, and efficient. 13197# So, we kill variables containing newlines. 13198# Ultrix sh set writes to stderr and can't be redirected directly, 13199# and sets the high bit in the cache file unless we assign to the vars. 13200( 13201 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 13202 eval ac_val=\$$ac_var 13203 case $ac_val in #( 13204 *${as_nl}*) 13205 case $ac_var in #( 13206 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 13207$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 13208 esac 13209 case $ac_var in #( 13210 _ | IFS | as_nl) ;; #( 13211 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 13212 *) { eval $ac_var=; unset $ac_var;} ;; 13213 esac ;; 13214 esac 13215 done 13216 13217 (set) 2>&1 | 13218 case $as_nl`(ac_space=' '; set) 2>&1` in #( 13219 *${as_nl}ac_space=\ *) 13220 # `set' does not quote correctly, so add quotes: double-quote 13221 # substitution turns \\\\ into \\, and sed turns \\ into \. 13222 sed -n \ 13223 "s/'/'\\\\''/g; 13224 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 13225 ;; #( 13226 *) 13227 # `set' quotes correctly as required by POSIX, so do not add quotes. 13228 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 13229 ;; 13230 esac | 13231 sort 13232) | 13233 sed ' 13234 /^ac_cv_env_/b end 13235 t clear 13236 :clear 13237 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 13238 t end 13239 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 13240 :end' >>confcache 13241if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 13242 if test -w "$cache_file"; then 13243 if test "x$cache_file" != "x/dev/null"; then 13244 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 13245$as_echo "$as_me: updating cache $cache_file" >&6;} 13246 if test ! -f "$cache_file" || test -h "$cache_file"; then 13247 cat confcache >"$cache_file" 13248 else 13249 case $cache_file in #( 13250 */* | ?:*) 13251 mv -f confcache "$cache_file"$$ && 13252 mv -f "$cache_file"$$ "$cache_file" ;; #( 13253 *) 13254 mv -f confcache "$cache_file" ;; 13255 esac 13256 fi 13257 fi 13258 else 13259 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 13260$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 13261 fi 13262fi 13263rm -f confcache 13264 13265test "x$prefix" = xNONE && prefix=$ac_default_prefix 13266# Let make expand exec_prefix. 13267test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 13268 13269DEFS=-DHAVE_CONFIG_H 13270 13271ac_libobjs= 13272ac_ltlibobjs= 13273U= 13274for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 13275 # 1. Remove the extension, and $U if already installed. 13276 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 13277 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 13278 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 13279 # will be set to the directory where LIBOBJS objects are built. 13280 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 13281 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 13282done 13283LIBOBJS=$ac_libobjs 13284 13285LTLIBOBJS=$ac_ltlibobjs 13286 13287 13288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 13289$as_echo_n "checking that generated files are newer than configure... " >&6; } 13290 if test -n "$am_sleep_pid"; then 13291 # Hide warnings about reused PIDs. 13292 wait $am_sleep_pid 2>/dev/null 13293 fi 13294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 13295$as_echo "done" >&6; } 13296 if test -n "$EXEEXT"; then 13297 am__EXEEXT_TRUE= 13298 am__EXEEXT_FALSE='#' 13299else 13300 am__EXEEXT_TRUE='#' 13301 am__EXEEXT_FALSE= 13302fi 13303 13304if test -z "${HMACC_TRUE}" && test -z "${HMACC_FALSE}"; then 13305 as_fn_error $? "conditional \"HMACC\" was never defined. 13306Usually this means the macro was only invoked conditionally." "$LINENO" 5 13307fi 13308if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 13309 as_fn_error $? "conditional \"AMDEP\" was never defined. 13310Usually this means the macro was only invoked conditionally." "$LINENO" 5 13311fi 13312if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 13313 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 13314Usually this means the macro was only invoked conditionally." "$LINENO" 5 13315fi 13316 13317: "${CONFIG_STATUS=./config.status}" 13318ac_write_fail=0 13319ac_clean_files_save=$ac_clean_files 13320ac_clean_files="$ac_clean_files $CONFIG_STATUS" 13321{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 13322$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 13323as_write_fail=0 13324cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 13325#! $SHELL 13326# Generated by $as_me. 13327# Run this file to recreate the current configuration. 13328# Compiler output produced by configure, useful for debugging 13329# configure, is in config.log if it exists. 13330 13331debug=false 13332ac_cs_recheck=false 13333ac_cs_silent=false 13334 13335SHELL=\${CONFIG_SHELL-$SHELL} 13336export SHELL 13337_ASEOF 13338cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 13339## -------------------- ## 13340## M4sh Initialization. ## 13341## -------------------- ## 13342 13343# Be more Bourne compatible 13344DUALCASE=1; export DUALCASE # for MKS sh 13345if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 13346 emulate sh 13347 NULLCMD=: 13348 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 13349 # is contrary to our usage. Disable this feature. 13350 alias -g '${1+"$@"}'='"$@"' 13351 setopt NO_GLOB_SUBST 13352else 13353 case `(set -o) 2>/dev/null` in #( 13354 *posix*) : 13355 set -o posix ;; #( 13356 *) : 13357 ;; 13358esac 13359fi 13360 13361 13362as_nl=' 13363' 13364export as_nl 13365# Printing a long string crashes Solaris 7 /usr/bin/printf. 13366as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 13367as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 13368as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 13369# Prefer a ksh shell builtin over an external printf program on Solaris, 13370# but without wasting forks for bash or zsh. 13371if test -z "$BASH_VERSION$ZSH_VERSION" \ 13372 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 13373 as_echo='print -r --' 13374 as_echo_n='print -rn --' 13375elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 13376 as_echo='printf %s\n' 13377 as_echo_n='printf %s' 13378else 13379 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 13380 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 13381 as_echo_n='/usr/ucb/echo -n' 13382 else 13383 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 13384 as_echo_n_body='eval 13385 arg=$1; 13386 case $arg in #( 13387 *"$as_nl"*) 13388 expr "X$arg" : "X\\(.*\\)$as_nl"; 13389 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 13390 esac; 13391 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 13392 ' 13393 export as_echo_n_body 13394 as_echo_n='sh -c $as_echo_n_body as_echo' 13395 fi 13396 export as_echo_body 13397 as_echo='sh -c $as_echo_body as_echo' 13398fi 13399 13400# The user is always right. 13401if test "${PATH_SEPARATOR+set}" != set; then 13402 PATH_SEPARATOR=: 13403 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 13404 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 13405 PATH_SEPARATOR=';' 13406 } 13407fi 13408 13409 13410# IFS 13411# We need space, tab and new line, in precisely that order. Quoting is 13412# there to prevent editors from complaining about space-tab. 13413# (If _AS_PATH_WALK were called with IFS unset, it would disable word 13414# splitting by setting IFS to empty value.) 13415IFS=" "" $as_nl" 13416 13417# Find who we are. Look in the path if we contain no directory separator. 13418as_myself= 13419case $0 in #(( 13420 *[\\/]* ) as_myself=$0 ;; 13421 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13422for as_dir in $PATH 13423do 13424 IFS=$as_save_IFS 13425 test -z "$as_dir" && as_dir=. 13426 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 13427 done 13428IFS=$as_save_IFS 13429 13430 ;; 13431esac 13432# We did not find ourselves, most probably we were run as `sh COMMAND' 13433# in which case we are not to be found in the path. 13434if test "x$as_myself" = x; then 13435 as_myself=$0 13436fi 13437if test ! -f "$as_myself"; then 13438 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 13439 exit 1 13440fi 13441 13442# Unset variables that we do not need and which cause bugs (e.g. in 13443# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 13444# suppresses any "Segmentation fault" message there. '((' could 13445# trigger a bug in pdksh 5.2.14. 13446for as_var in BASH_ENV ENV MAIL MAILPATH 13447do eval test x\${$as_var+set} = xset \ 13448 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 13449done 13450PS1='$ ' 13451PS2='> ' 13452PS4='+ ' 13453 13454# NLS nuisances. 13455LC_ALL=C 13456export LC_ALL 13457LANGUAGE=C 13458export LANGUAGE 13459 13460# CDPATH. 13461(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13462 13463 13464# as_fn_error STATUS ERROR [LINENO LOG_FD] 13465# ---------------------------------------- 13466# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 13467# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 13468# script with STATUS, using 1 if that was 0. 13469as_fn_error () 13470{ 13471 as_status=$1; test $as_status -eq 0 && as_status=1 13472 if test "$4"; then 13473 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 13474 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 13475 fi 13476 $as_echo "$as_me: error: $2" >&2 13477 as_fn_exit $as_status 13478} # as_fn_error 13479 13480 13481# as_fn_set_status STATUS 13482# ----------------------- 13483# Set $? to STATUS, without forking. 13484as_fn_set_status () 13485{ 13486 return $1 13487} # as_fn_set_status 13488 13489# as_fn_exit STATUS 13490# ----------------- 13491# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 13492as_fn_exit () 13493{ 13494 set +e 13495 as_fn_set_status $1 13496 exit $1 13497} # as_fn_exit 13498 13499# as_fn_unset VAR 13500# --------------- 13501# Portably unset VAR. 13502as_fn_unset () 13503{ 13504 { eval $1=; unset $1;} 13505} 13506as_unset=as_fn_unset 13507# as_fn_append VAR VALUE 13508# ---------------------- 13509# Append the text in VALUE to the end of the definition contained in VAR. Take 13510# advantage of any shell optimizations that allow amortized linear growth over 13511# repeated appends, instead of the typical quadratic growth present in naive 13512# implementations. 13513if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 13514 eval 'as_fn_append () 13515 { 13516 eval $1+=\$2 13517 }' 13518else 13519 as_fn_append () 13520 { 13521 eval $1=\$$1\$2 13522 } 13523fi # as_fn_append 13524 13525# as_fn_arith ARG... 13526# ------------------ 13527# Perform arithmetic evaluation on the ARGs, and store the result in the 13528# global $as_val. Take advantage of shells that can avoid forks. The arguments 13529# must be portable across $(()) and expr. 13530if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 13531 eval 'as_fn_arith () 13532 { 13533 as_val=$(( $* )) 13534 }' 13535else 13536 as_fn_arith () 13537 { 13538 as_val=`expr "$@" || test $? -eq 1` 13539 } 13540fi # as_fn_arith 13541 13542 13543if expr a : '\(a\)' >/dev/null 2>&1 && 13544 test "X`expr 00001 : '.*\(...\)'`" = X001; then 13545 as_expr=expr 13546else 13547 as_expr=false 13548fi 13549 13550if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 13551 as_basename=basename 13552else 13553 as_basename=false 13554fi 13555 13556if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 13557 as_dirname=dirname 13558else 13559 as_dirname=false 13560fi 13561 13562as_me=`$as_basename -- "$0" || 13563$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 13564 X"$0" : 'X\(//\)$' \| \ 13565 X"$0" : 'X\(/\)' \| . 2>/dev/null || 13566$as_echo X/"$0" | 13567 sed '/^.*\/\([^/][^/]*\)\/*$/{ 13568 s//\1/ 13569 q 13570 } 13571 /^X\/\(\/\/\)$/{ 13572 s//\1/ 13573 q 13574 } 13575 /^X\/\(\/\).*/{ 13576 s//\1/ 13577 q 13578 } 13579 s/.*/./; q'` 13580 13581# Avoid depending upon Character Ranges. 13582as_cr_letters='abcdefghijklmnopqrstuvwxyz' 13583as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 13584as_cr_Letters=$as_cr_letters$as_cr_LETTERS 13585as_cr_digits='0123456789' 13586as_cr_alnum=$as_cr_Letters$as_cr_digits 13587 13588ECHO_C= ECHO_N= ECHO_T= 13589case `echo -n x` in #((((( 13590-n*) 13591 case `echo 'xy\c'` in 13592 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 13593 xy) ECHO_C='\c';; 13594 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 13595 ECHO_T=' ';; 13596 esac;; 13597*) 13598 ECHO_N='-n';; 13599esac 13600 13601rm -f conf$$ conf$$.exe conf$$.file 13602if test -d conf$$.dir; then 13603 rm -f conf$$.dir/conf$$.file 13604else 13605 rm -f conf$$.dir 13606 mkdir conf$$.dir 2>/dev/null 13607fi 13608if (echo >conf$$.file) 2>/dev/null; then 13609 if ln -s conf$$.file conf$$ 2>/dev/null; then 13610 as_ln_s='ln -s' 13611 # ... but there are two gotchas: 13612 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 13613 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 13614 # In both cases, we have to default to `cp -pR'. 13615 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 13616 as_ln_s='cp -pR' 13617 elif ln conf$$.file conf$$ 2>/dev/null; then 13618 as_ln_s=ln 13619 else 13620 as_ln_s='cp -pR' 13621 fi 13622else 13623 as_ln_s='cp -pR' 13624fi 13625rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 13626rmdir conf$$.dir 2>/dev/null 13627 13628 13629# as_fn_mkdir_p 13630# ------------- 13631# Create "$as_dir" as a directory, including parents if necessary. 13632as_fn_mkdir_p () 13633{ 13634 13635 case $as_dir in #( 13636 -*) as_dir=./$as_dir;; 13637 esac 13638 test -d "$as_dir" || eval $as_mkdir_p || { 13639 as_dirs= 13640 while :; do 13641 case $as_dir in #( 13642 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 13643 *) as_qdir=$as_dir;; 13644 esac 13645 as_dirs="'$as_qdir' $as_dirs" 13646 as_dir=`$as_dirname -- "$as_dir" || 13647$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13648 X"$as_dir" : 'X\(//\)[^/]' \| \ 13649 X"$as_dir" : 'X\(//\)$' \| \ 13650 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 13651$as_echo X"$as_dir" | 13652 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13653 s//\1/ 13654 q 13655 } 13656 /^X\(\/\/\)[^/].*/{ 13657 s//\1/ 13658 q 13659 } 13660 /^X\(\/\/\)$/{ 13661 s//\1/ 13662 q 13663 } 13664 /^X\(\/\).*/{ 13665 s//\1/ 13666 q 13667 } 13668 s/.*/./; q'` 13669 test -d "$as_dir" && break 13670 done 13671 test -z "$as_dirs" || eval "mkdir $as_dirs" 13672 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 13673 13674 13675} # as_fn_mkdir_p 13676if mkdir -p . 2>/dev/null; then 13677 as_mkdir_p='mkdir -p "$as_dir"' 13678else 13679 test -d ./-p && rmdir ./-p 13680 as_mkdir_p=false 13681fi 13682 13683 13684# as_fn_executable_p FILE 13685# ----------------------- 13686# Test if FILE is an executable regular file. 13687as_fn_executable_p () 13688{ 13689 test -f "$1" && test -x "$1" 13690} # as_fn_executable_p 13691as_test_x='test -x' 13692as_executable_p=as_fn_executable_p 13693 13694# Sed expression to map a string onto a valid CPP name. 13695as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 13696 13697# Sed expression to map a string onto a valid variable name. 13698as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 13699 13700 13701exec 6>&1 13702## ----------------------------------- ## 13703## Main body of $CONFIG_STATUS script. ## 13704## ----------------------------------- ## 13705_ASEOF 13706test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 13707 13708cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13709# Save the log message, to keep $0 and so on meaningful, and to 13710# report actual input values of CONFIG_FILES etc. instead of their 13711# values after options handling. 13712ac_log=" 13713This file was extended by libsha1 $as_me 1.21, which was 13714generated by GNU Autoconf 2.69. Invocation command line was 13715 13716 CONFIG_FILES = $CONFIG_FILES 13717 CONFIG_HEADERS = $CONFIG_HEADERS 13718 CONFIG_LINKS = $CONFIG_LINKS 13719 CONFIG_COMMANDS = $CONFIG_COMMANDS 13720 $ $0 $@ 13721 13722on `(hostname || uname -n) 2>/dev/null | sed 1q` 13723" 13724 13725_ACEOF 13726 13727case $ac_config_files in *" 13728"*) set x $ac_config_files; shift; ac_config_files=$*;; 13729esac 13730 13731case $ac_config_headers in *" 13732"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 13733esac 13734 13735 13736cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13737# Files that config.status was made for. 13738config_files="$ac_config_files" 13739config_headers="$ac_config_headers" 13740config_commands="$ac_config_commands" 13741 13742_ACEOF 13743 13744cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13745ac_cs_usage="\ 13746\`$as_me' instantiates files and other configuration actions 13747from templates according to the current configuration. Unless the files 13748and actions are specified as TAGs, all are instantiated by default. 13749 13750Usage: $0 [OPTION]... [TAG]... 13751 13752 -h, --help print this help, then exit 13753 -V, --version print version number and configuration settings, then exit 13754 --config print configuration, then exit 13755 -q, --quiet, --silent 13756 do not print progress messages 13757 -d, --debug don't remove temporary files 13758 --recheck update $as_me by reconfiguring in the same conditions 13759 --file=FILE[:TEMPLATE] 13760 instantiate the configuration file FILE 13761 --header=FILE[:TEMPLATE] 13762 instantiate the configuration header FILE 13763 13764Configuration files: 13765$config_files 13766 13767Configuration headers: 13768$config_headers 13769 13770Configuration commands: 13771$config_commands 13772 13773Report bugs to <courier-users@lists.sourceforge.net>." 13774 13775_ACEOF 13776cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13777ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 13778ac_cs_version="\\ 13779libsha1 config.status 1.21 13780configured by $0, generated by GNU Autoconf 2.69, 13781 with options \\"\$ac_cs_config\\" 13782 13783Copyright (C) 2012 Free Software Foundation, Inc. 13784This config.status script is free software; the Free Software Foundation 13785gives unlimited permission to copy, distribute and modify it." 13786 13787ac_pwd='$ac_pwd' 13788srcdir='$srcdir' 13789INSTALL='$INSTALL' 13790MKDIR_P='$MKDIR_P' 13791AWK='$AWK' 13792test -n "\$AWK" || AWK=awk 13793_ACEOF 13794 13795cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13796# The default lists apply if the user does not specify any file. 13797ac_need_defaults=: 13798while test $# != 0 13799do 13800 case $1 in 13801 --*=?*) 13802 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13803 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 13804 ac_shift=: 13805 ;; 13806 --*=) 13807 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13808 ac_optarg= 13809 ac_shift=: 13810 ;; 13811 *) 13812 ac_option=$1 13813 ac_optarg=$2 13814 ac_shift=shift 13815 ;; 13816 esac 13817 13818 case $ac_option in 13819 # Handling of the options. 13820 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 13821 ac_cs_recheck=: ;; 13822 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 13823 $as_echo "$ac_cs_version"; exit ;; 13824 --config | --confi | --conf | --con | --co | --c ) 13825 $as_echo "$ac_cs_config"; exit ;; 13826 --debug | --debu | --deb | --de | --d | -d ) 13827 debug=: ;; 13828 --file | --fil | --fi | --f ) 13829 $ac_shift 13830 case $ac_optarg in 13831 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 13832 '') as_fn_error $? "missing file argument" ;; 13833 esac 13834 as_fn_append CONFIG_FILES " '$ac_optarg'" 13835 ac_need_defaults=false;; 13836 --header | --heade | --head | --hea ) 13837 $ac_shift 13838 case $ac_optarg in 13839 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 13840 esac 13841 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 13842 ac_need_defaults=false;; 13843 --he | --h) 13844 # Conflict between --help and --header 13845 as_fn_error $? "ambiguous option: \`$1' 13846Try \`$0 --help' for more information.";; 13847 --help | --hel | -h ) 13848 $as_echo "$ac_cs_usage"; exit ;; 13849 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 13850 | -silent | --silent | --silen | --sile | --sil | --si | --s) 13851 ac_cs_silent=: ;; 13852 13853 # This is an error. 13854 -*) as_fn_error $? "unrecognized option: \`$1' 13855Try \`$0 --help' for more information." ;; 13856 13857 *) as_fn_append ac_config_targets " $1" 13858 ac_need_defaults=false ;; 13859 13860 esac 13861 shift 13862done 13863 13864ac_configure_extra_args= 13865 13866if $ac_cs_silent; then 13867 exec 6>/dev/null 13868 ac_configure_extra_args="$ac_configure_extra_args --silent" 13869fi 13870 13871_ACEOF 13872cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13873if \$ac_cs_recheck; then 13874 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 13875 shift 13876 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 13877 CONFIG_SHELL='$SHELL' 13878 export CONFIG_SHELL 13879 exec "\$@" 13880fi 13881 13882_ACEOF 13883cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13884exec 5>>config.log 13885{ 13886 echo 13887 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 13888## Running $as_me. ## 13889_ASBOX 13890 $as_echo "$ac_log" 13891} >&5 13892 13893_ACEOF 13894cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13895# 13896# INIT-COMMANDS 13897# 13898AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" 13899 13900 13901# The HP-UX ksh and POSIX shell print the target directory to stdout 13902# if CDPATH is set. 13903(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13904 13905sed_quote_subst='$sed_quote_subst' 13906double_quote_subst='$double_quote_subst' 13907delay_variable_subst='$delay_variable_subst' 13908macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 13909macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 13910enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 13911enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 13912pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 13913enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 13914shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 13915SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 13916ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 13917PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 13918host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 13919host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 13920host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 13921build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 13922build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 13923build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 13924SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 13925Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 13926GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 13927EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 13928FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 13929LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 13930NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 13931LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 13932max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 13933ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 13934exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 13935lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 13936lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 13937lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 13938lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 13939lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 13940reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 13941reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 13942OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 13943deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 13944file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 13945file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 13946want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 13947DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 13948sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 13949AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 13950AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 13951archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 13952STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 13953RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 13954old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 13955old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 13956old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 13957lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 13958CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 13959CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 13960compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 13961GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 13962lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 13963lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 13964lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 13965lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 13966lt_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"`' 13967lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 13968nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 13969lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 13970lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 13971objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 13972MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 13973lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 13974lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 13975lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 13976lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 13977lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 13978need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 13979MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 13980DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 13981NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 13982LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 13983OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 13984OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 13985libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 13986shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 13987extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 13988archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 13989enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 13990export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 13991whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 13992compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 13993old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 13994old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 13995archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 13996archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 13997module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 13998module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 13999with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 14000allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 14001no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 14002hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 14003hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 14004hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 14005hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 14006hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 14007hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 14008hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 14009inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 14010link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 14011always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 14012export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 14013exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 14014include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 14015prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 14016postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 14017file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 14018variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 14019need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 14020need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 14021version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 14022runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 14023shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 14024shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 14025libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 14026library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 14027soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 14028install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 14029postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 14030postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 14031finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 14032finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 14033hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 14034sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 14035configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 14036configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 14037hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 14038enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 14039enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 14040enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 14041old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 14042striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 14043 14044LTCC='$LTCC' 14045LTCFLAGS='$LTCFLAGS' 14046compiler='$compiler_DEFAULT' 14047 14048# A function that is used when there is no print builtin or printf. 14049func_fallback_echo () 14050{ 14051 eval 'cat <<_LTECHO_EOF 14052\$1 14053_LTECHO_EOF' 14054} 14055 14056# Quote evaled strings. 14057for var in SHELL \ 14058ECHO \ 14059PATH_SEPARATOR \ 14060SED \ 14061GREP \ 14062EGREP \ 14063FGREP \ 14064LD \ 14065NM \ 14066LN_S \ 14067lt_SP2NL \ 14068lt_NL2SP \ 14069reload_flag \ 14070OBJDUMP \ 14071deplibs_check_method \ 14072file_magic_cmd \ 14073file_magic_glob \ 14074want_nocaseglob \ 14075DLLTOOL \ 14076sharedlib_from_linklib_cmd \ 14077AR \ 14078AR_FLAGS \ 14079archiver_list_spec \ 14080STRIP \ 14081RANLIB \ 14082CC \ 14083CFLAGS \ 14084compiler \ 14085lt_cv_sys_global_symbol_pipe \ 14086lt_cv_sys_global_symbol_to_cdecl \ 14087lt_cv_sys_global_symbol_to_import \ 14088lt_cv_sys_global_symbol_to_c_name_address \ 14089lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 14090lt_cv_nm_interface \ 14091nm_file_list_spec \ 14092lt_cv_truncate_bin \ 14093lt_prog_compiler_no_builtin_flag \ 14094lt_prog_compiler_pic \ 14095lt_prog_compiler_wl \ 14096lt_prog_compiler_static \ 14097lt_cv_prog_compiler_c_o \ 14098need_locks \ 14099MANIFEST_TOOL \ 14100DSYMUTIL \ 14101NMEDIT \ 14102LIPO \ 14103OTOOL \ 14104OTOOL64 \ 14105shrext_cmds \ 14106export_dynamic_flag_spec \ 14107whole_archive_flag_spec \ 14108compiler_needs_object \ 14109with_gnu_ld \ 14110allow_undefined_flag \ 14111no_undefined_flag \ 14112hardcode_libdir_flag_spec \ 14113hardcode_libdir_separator \ 14114exclude_expsyms \ 14115include_expsyms \ 14116file_list_spec \ 14117variables_saved_for_relink \ 14118libname_spec \ 14119library_names_spec \ 14120soname_spec \ 14121install_override_mode \ 14122finish_eval \ 14123old_striplib \ 14124striplib; do 14125 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 14126 *[\\\\\\\`\\"\\\$]*) 14127 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 14128 ;; 14129 *) 14130 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 14131 ;; 14132 esac 14133done 14134 14135# Double-quote double-evaled strings. 14136for var in reload_cmds \ 14137old_postinstall_cmds \ 14138old_postuninstall_cmds \ 14139old_archive_cmds \ 14140extract_expsyms_cmds \ 14141old_archive_from_new_cmds \ 14142old_archive_from_expsyms_cmds \ 14143archive_cmds \ 14144archive_expsym_cmds \ 14145module_cmds \ 14146module_expsym_cmds \ 14147export_symbols_cmds \ 14148prelink_cmds \ 14149postlink_cmds \ 14150postinstall_cmds \ 14151postuninstall_cmds \ 14152finish_cmds \ 14153sys_lib_search_path_spec \ 14154configure_time_dlsearch_path \ 14155configure_time_lt_sys_library_path; do 14156 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 14157 *[\\\\\\\`\\"\\\$]*) 14158 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 14159 ;; 14160 *) 14161 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 14162 ;; 14163 esac 14164done 14165 14166ac_aux_dir='$ac_aux_dir' 14167 14168# See if we are running on zsh, and set the options that allow our 14169# commands through without removal of \ escapes INIT. 14170if test -n "\${ZSH_VERSION+set}"; then 14171 setopt NO_GLOB_SUBST 14172fi 14173 14174 14175 PACKAGE='$PACKAGE' 14176 VERSION='$VERSION' 14177 RM='$RM' 14178 ofile='$ofile' 14179 14180 14181 14182 14183_ACEOF 14184 14185cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14186 14187# Handling of arguments. 14188for ac_config_target in $ac_config_targets 14189do 14190 case $ac_config_target in 14191 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 14192 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 14193 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 14194 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 14195 14196 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 14197 esac 14198done 14199 14200 14201# If the user did not use the arguments to specify the items to instantiate, 14202# then the envvar interface is used. Set only those that are not. 14203# We use the long form for the default assignment because of an extremely 14204# bizarre bug on SunOS 4.1.3. 14205if $ac_need_defaults; then 14206 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 14207 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 14208 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 14209fi 14210 14211# Have a temporary directory for convenience. Make it in the build tree 14212# simply because there is no reason against having it here, and in addition, 14213# creating and moving files from /tmp can sometimes cause problems. 14214# Hook for its removal unless debugging. 14215# Note that there is a small window in which the directory will not be cleaned: 14216# after its creation but before its name has been assigned to `$tmp'. 14217$debug || 14218{ 14219 tmp= ac_tmp= 14220 trap 'exit_status=$? 14221 : "${ac_tmp:=$tmp}" 14222 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 14223' 0 14224 trap 'as_fn_exit 1' 1 2 13 15 14225} 14226# Create a (secure) tmp directory for tmp files. 14227 14228{ 14229 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 14230 test -d "$tmp" 14231} || 14232{ 14233 tmp=./conf$$-$RANDOM 14234 (umask 077 && mkdir "$tmp") 14235} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 14236ac_tmp=$tmp 14237 14238# Set up the scripts for CONFIG_FILES section. 14239# No need to generate them if there are no CONFIG_FILES. 14240# This happens for instance with `./config.status config.h'. 14241if test -n "$CONFIG_FILES"; then 14242 14243 14244ac_cr=`echo X | tr X '\015'` 14245# On cygwin, bash can eat \r inside `` if the user requested igncr. 14246# But we know of no other shell where ac_cr would be empty at this 14247# point, so we can use a bashism as a fallback. 14248if test "x$ac_cr" = x; then 14249 eval ac_cr=\$\'\\r\' 14250fi 14251ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 14252if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 14253 ac_cs_awk_cr='\\r' 14254else 14255 ac_cs_awk_cr=$ac_cr 14256fi 14257 14258echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 14259_ACEOF 14260 14261 14262{ 14263 echo "cat >conf$$subs.awk <<_ACEOF" && 14264 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 14265 echo "_ACEOF" 14266} >conf$$subs.sh || 14267 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 14268ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 14269ac_delim='%!_!# ' 14270for ac_last_try in false false false false false :; do 14271 . ./conf$$subs.sh || 14272 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 14273 14274 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 14275 if test $ac_delim_n = $ac_delim_num; then 14276 break 14277 elif $ac_last_try; then 14278 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 14279 else 14280 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14281 fi 14282done 14283rm -f conf$$subs.sh 14284 14285cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14286cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 14287_ACEOF 14288sed -n ' 14289h 14290s/^/S["/; s/!.*/"]=/ 14291p 14292g 14293s/^[^!]*!// 14294:repl 14295t repl 14296s/'"$ac_delim"'$// 14297t delim 14298:nl 14299h 14300s/\(.\{148\}\)..*/\1/ 14301t more1 14302s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 14303p 14304n 14305b repl 14306:more1 14307s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 14308p 14309g 14310s/.\{148\}// 14311t nl 14312:delim 14313h 14314s/\(.\{148\}\)..*/\1/ 14315t more2 14316s/["\\]/\\&/g; s/^/"/; s/$/"/ 14317p 14318b 14319:more2 14320s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 14321p 14322g 14323s/.\{148\}// 14324t delim 14325' <conf$$subs.awk | sed ' 14326/^[^""]/{ 14327 N 14328 s/\n// 14329} 14330' >>$CONFIG_STATUS || ac_write_fail=1 14331rm -f conf$$subs.awk 14332cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14333_ACAWK 14334cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 14335 for (key in S) S_is_set[key] = 1 14336 FS = "" 14337 14338} 14339{ 14340 line = $ 0 14341 nfields = split(line, field, "@") 14342 substed = 0 14343 len = length(field[1]) 14344 for (i = 2; i < nfields; i++) { 14345 key = field[i] 14346 keylen = length(key) 14347 if (S_is_set[key]) { 14348 value = S[key] 14349 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 14350 len += length(value) + length(field[++i]) 14351 substed = 1 14352 } else 14353 len += 1 + keylen 14354 } 14355 14356 print line 14357} 14358 14359_ACAWK 14360_ACEOF 14361cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14362if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 14363 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 14364else 14365 cat 14366fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 14367 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 14368_ACEOF 14369 14370# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 14371# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 14372# trailing colons and then remove the whole line if VPATH becomes empty 14373# (actually we leave an empty line to preserve line numbers). 14374if test "x$srcdir" = x.; then 14375 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 14376h 14377s/// 14378s/^/:/ 14379s/[ ]*$/:/ 14380s/:\$(srcdir):/:/g 14381s/:\${srcdir}:/:/g 14382s/:@srcdir@:/:/g 14383s/^:*// 14384s/:*$// 14385x 14386s/\(=[ ]*\).*/\1/ 14387G 14388s/\n// 14389s/^[^=]*=[ ]*$// 14390}' 14391fi 14392 14393cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14394fi # test -n "$CONFIG_FILES" 14395 14396# Set up the scripts for CONFIG_HEADERS section. 14397# No need to generate them if there are no CONFIG_HEADERS. 14398# This happens for instance with `./config.status Makefile'. 14399if test -n "$CONFIG_HEADERS"; then 14400cat >"$ac_tmp/defines.awk" <<\_ACAWK || 14401BEGIN { 14402_ACEOF 14403 14404# Transform confdefs.h into an awk script `defines.awk', embedded as 14405# here-document in config.status, that substitutes the proper values into 14406# config.h.in to produce config.h. 14407 14408# Create a delimiter string that does not exist in confdefs.h, to ease 14409# handling of long lines. 14410ac_delim='%!_!# ' 14411for ac_last_try in false false :; do 14412 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 14413 if test -z "$ac_tt"; then 14414 break 14415 elif $ac_last_try; then 14416 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 14417 else 14418 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14419 fi 14420done 14421 14422# For the awk script, D is an array of macro values keyed by name, 14423# likewise P contains macro parameters if any. Preserve backslash 14424# newline sequences. 14425 14426ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 14427sed -n ' 14428s/.\{148\}/&'"$ac_delim"'/g 14429t rset 14430:rset 14431s/^[ ]*#[ ]*define[ ][ ]*/ / 14432t def 14433d 14434:def 14435s/\\$// 14436t bsnl 14437s/["\\]/\\&/g 14438s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 14439D["\1"]=" \3"/p 14440s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 14441d 14442:bsnl 14443s/["\\]/\\&/g 14444s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 14445D["\1"]=" \3\\\\\\n"\\/p 14446t cont 14447s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 14448t cont 14449d 14450:cont 14451n 14452s/.\{148\}/&'"$ac_delim"'/g 14453t clear 14454:clear 14455s/\\$// 14456t bsnlc 14457s/["\\]/\\&/g; s/^/"/; s/$/"/p 14458d 14459:bsnlc 14460s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 14461b cont 14462' <confdefs.h | sed ' 14463s/'"$ac_delim"'/"\\\ 14464"/g' >>$CONFIG_STATUS || ac_write_fail=1 14465 14466cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14467 for (key in D) D_is_set[key] = 1 14468 FS = "" 14469} 14470/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 14471 line = \$ 0 14472 split(line, arg, " ") 14473 if (arg[1] == "#") { 14474 defundef = arg[2] 14475 mac1 = arg[3] 14476 } else { 14477 defundef = substr(arg[1], 2) 14478 mac1 = arg[2] 14479 } 14480 split(mac1, mac2, "(") #) 14481 macro = mac2[1] 14482 prefix = substr(line, 1, index(line, defundef) - 1) 14483 if (D_is_set[macro]) { 14484 # Preserve the white space surrounding the "#". 14485 print prefix "define", macro P[macro] D[macro] 14486 next 14487 } else { 14488 # Replace #undef with comments. This is necessary, for example, 14489 # in the case of _POSIX_SOURCE, which is predefined and required 14490 # on some systems where configure will not decide to define it. 14491 if (defundef == "undef") { 14492 print "/*", prefix defundef, macro, "*/" 14493 next 14494 } 14495 } 14496} 14497{ print } 14498_ACAWK 14499_ACEOF 14500cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14501 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 14502fi # test -n "$CONFIG_HEADERS" 14503 14504 14505eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 14506shift 14507for ac_tag 14508do 14509 case $ac_tag in 14510 :[FHLC]) ac_mode=$ac_tag; continue;; 14511 esac 14512 case $ac_mode$ac_tag in 14513 :[FHL]*:*);; 14514 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 14515 :[FH]-) ac_tag=-:-;; 14516 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 14517 esac 14518 ac_save_IFS=$IFS 14519 IFS=: 14520 set x $ac_tag 14521 IFS=$ac_save_IFS 14522 shift 14523 ac_file=$1 14524 shift 14525 14526 case $ac_mode in 14527 :L) ac_source=$1;; 14528 :[FH]) 14529 ac_file_inputs= 14530 for ac_f 14531 do 14532 case $ac_f in 14533 -) ac_f="$ac_tmp/stdin";; 14534 *) # Look for the file first in the build tree, then in the source tree 14535 # (if the path is not absolute). The absolute path cannot be DOS-style, 14536 # because $ac_f cannot contain `:'. 14537 test -f "$ac_f" || 14538 case $ac_f in 14539 [\\/$]*) false;; 14540 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 14541 esac || 14542 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 14543 esac 14544 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 14545 as_fn_append ac_file_inputs " '$ac_f'" 14546 done 14547 14548 # Let's still pretend it is `configure' which instantiates (i.e., don't 14549 # use $as_me), people would be surprised to read: 14550 # /* config.h. Generated by config.status. */ 14551 configure_input='Generated from '` 14552 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 14553 `' by configure.' 14554 if test x"$ac_file" != x-; then 14555 configure_input="$ac_file. $configure_input" 14556 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 14557$as_echo "$as_me: creating $ac_file" >&6;} 14558 fi 14559 # Neutralize special characters interpreted by sed in replacement strings. 14560 case $configure_input in #( 14561 *\&* | *\|* | *\\* ) 14562 ac_sed_conf_input=`$as_echo "$configure_input" | 14563 sed 's/[\\\\&|]/\\\\&/g'`;; #( 14564 *) ac_sed_conf_input=$configure_input;; 14565 esac 14566 14567 case $ac_tag in 14568 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 14569 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 14570 esac 14571 ;; 14572 esac 14573 14574 ac_dir=`$as_dirname -- "$ac_file" || 14575$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14576 X"$ac_file" : 'X\(//\)[^/]' \| \ 14577 X"$ac_file" : 'X\(//\)$' \| \ 14578 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 14579$as_echo X"$ac_file" | 14580 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14581 s//\1/ 14582 q 14583 } 14584 /^X\(\/\/\)[^/].*/{ 14585 s//\1/ 14586 q 14587 } 14588 /^X\(\/\/\)$/{ 14589 s//\1/ 14590 q 14591 } 14592 /^X\(\/\).*/{ 14593 s//\1/ 14594 q 14595 } 14596 s/.*/./; q'` 14597 as_dir="$ac_dir"; as_fn_mkdir_p 14598 ac_builddir=. 14599 14600case "$ac_dir" in 14601.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 14602*) 14603 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 14604 # A ".." for each directory in $ac_dir_suffix. 14605 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 14606 case $ac_top_builddir_sub in 14607 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 14608 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 14609 esac ;; 14610esac 14611ac_abs_top_builddir=$ac_pwd 14612ac_abs_builddir=$ac_pwd$ac_dir_suffix 14613# for backward compatibility: 14614ac_top_builddir=$ac_top_build_prefix 14615 14616case $srcdir in 14617 .) # We are building in place. 14618 ac_srcdir=. 14619 ac_top_srcdir=$ac_top_builddir_sub 14620 ac_abs_top_srcdir=$ac_pwd ;; 14621 [\\/]* | ?:[\\/]* ) # Absolute name. 14622 ac_srcdir=$srcdir$ac_dir_suffix; 14623 ac_top_srcdir=$srcdir 14624 ac_abs_top_srcdir=$srcdir ;; 14625 *) # Relative name. 14626 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 14627 ac_top_srcdir=$ac_top_build_prefix$srcdir 14628 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 14629esac 14630ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 14631 14632 14633 case $ac_mode in 14634 :F) 14635 # 14636 # CONFIG_FILE 14637 # 14638 14639 case $INSTALL in 14640 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 14641 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 14642 esac 14643 ac_MKDIR_P=$MKDIR_P 14644 case $MKDIR_P in 14645 [\\/$]* | ?:[\\/]* ) ;; 14646 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 14647 esac 14648_ACEOF 14649 14650cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14651# If the template does not know about datarootdir, expand it. 14652# FIXME: This hack should be removed a few years after 2.60. 14653ac_datarootdir_hack=; ac_datarootdir_seen= 14654ac_sed_dataroot=' 14655/datarootdir/ { 14656 p 14657 q 14658} 14659/@datadir@/p 14660/@docdir@/p 14661/@infodir@/p 14662/@localedir@/p 14663/@mandir@/p' 14664case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 14665*datarootdir*) ac_datarootdir_seen=yes;; 14666*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 14667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 14668$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 14669_ACEOF 14670cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14671 ac_datarootdir_hack=' 14672 s&@datadir@&$datadir&g 14673 s&@docdir@&$docdir&g 14674 s&@infodir@&$infodir&g 14675 s&@localedir@&$localedir&g 14676 s&@mandir@&$mandir&g 14677 s&\\\${datarootdir}&$datarootdir&g' ;; 14678esac 14679_ACEOF 14680 14681# Neutralize VPATH when `$srcdir' = `.'. 14682# Shell code in configure.ac might set extrasub. 14683# FIXME: do we really want to maintain this feature? 14684cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14685ac_sed_extra="$ac_vpsub 14686$extrasub 14687_ACEOF 14688cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14689:t 14690/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 14691s|@configure_input@|$ac_sed_conf_input|;t t 14692s&@top_builddir@&$ac_top_builddir_sub&;t t 14693s&@top_build_prefix@&$ac_top_build_prefix&;t t 14694s&@srcdir@&$ac_srcdir&;t t 14695s&@abs_srcdir@&$ac_abs_srcdir&;t t 14696s&@top_srcdir@&$ac_top_srcdir&;t t 14697s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 14698s&@builddir@&$ac_builddir&;t t 14699s&@abs_builddir@&$ac_abs_builddir&;t t 14700s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 14701s&@INSTALL@&$ac_INSTALL&;t t 14702s&@MKDIR_P@&$ac_MKDIR_P&;t t 14703$ac_datarootdir_hack 14704" 14705eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 14706 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14707 14708test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 14709 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 14710 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 14711 "$ac_tmp/out"`; test -z "$ac_out"; } && 14712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14713which seems to be undefined. Please make sure it is defined" >&5 14714$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14715which seems to be undefined. Please make sure it is defined" >&2;} 14716 14717 rm -f "$ac_tmp/stdin" 14718 case $ac_file in 14719 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 14720 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 14721 esac \ 14722 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14723 ;; 14724 :H) 14725 # 14726 # CONFIG_HEADER 14727 # 14728 if test x"$ac_file" != x-; then 14729 { 14730 $as_echo "/* $configure_input */" \ 14731 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 14732 } >"$ac_tmp/config.h" \ 14733 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14734 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 14735 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 14736$as_echo "$as_me: $ac_file is unchanged" >&6;} 14737 else 14738 rm -f "$ac_file" 14739 mv "$ac_tmp/config.h" "$ac_file" \ 14740 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 14741 fi 14742 else 14743 $as_echo "/* $configure_input */" \ 14744 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 14745 || as_fn_error $? "could not create -" "$LINENO" 5 14746 fi 14747# Compute "$ac_file"'s index in $config_headers. 14748_am_arg="$ac_file" 14749_am_stamp_count=1 14750for _am_header in $config_headers :; do 14751 case $_am_header in 14752 $_am_arg | $_am_arg:* ) 14753 break ;; 14754 * ) 14755 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 14756 esac 14757done 14758echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 14759$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14760 X"$_am_arg" : 'X\(//\)[^/]' \| \ 14761 X"$_am_arg" : 'X\(//\)$' \| \ 14762 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 14763$as_echo X"$_am_arg" | 14764 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14765 s//\1/ 14766 q 14767 } 14768 /^X\(\/\/\)[^/].*/{ 14769 s//\1/ 14770 q 14771 } 14772 /^X\(\/\/\)$/{ 14773 s//\1/ 14774 q 14775 } 14776 /^X\(\/\).*/{ 14777 s//\1/ 14778 q 14779 } 14780 s/.*/./; q'`/stamp-h$_am_stamp_count 14781 ;; 14782 14783 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 14784$as_echo "$as_me: executing $ac_file commands" >&6;} 14785 ;; 14786 esac 14787 14788 14789 case $ac_file$ac_mode in 14790 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 14791 # Older Autoconf quotes --file arguments for eval, but not when files 14792 # are listed without --file. Let's play safe and only enable the eval 14793 # if we detect the quoting. 14794 # TODO: see whether this extra hack can be removed once we start 14795 # requiring Autoconf 2.70 or later. 14796 case $CONFIG_FILES in #( 14797 *\'*) : 14798 eval set x "$CONFIG_FILES" ;; #( 14799 *) : 14800 set x $CONFIG_FILES ;; #( 14801 *) : 14802 ;; 14803esac 14804 shift 14805 # Used to flag and report bootstrapping failures. 14806 am_rc=0 14807 for am_mf 14808 do 14809 # Strip MF so we end up with the name of the file. 14810 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` 14811 # Check whether this is an Automake generated Makefile which includes 14812 # dependency-tracking related rules and includes. 14813 # Grep'ing the whole file directly is not great: AIX grep has a line 14814 # limit of 2048, but all sed's we know have understand at least 4000. 14815 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ 14816 || continue 14817 am_dirpart=`$as_dirname -- "$am_mf" || 14818$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14819 X"$am_mf" : 'X\(//\)[^/]' \| \ 14820 X"$am_mf" : 'X\(//\)$' \| \ 14821 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 14822$as_echo X"$am_mf" | 14823 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14824 s//\1/ 14825 q 14826 } 14827 /^X\(\/\/\)[^/].*/{ 14828 s//\1/ 14829 q 14830 } 14831 /^X\(\/\/\)$/{ 14832 s//\1/ 14833 q 14834 } 14835 /^X\(\/\).*/{ 14836 s//\1/ 14837 q 14838 } 14839 s/.*/./; q'` 14840 am_filepart=`$as_basename -- "$am_mf" || 14841$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ 14842 X"$am_mf" : 'X\(//\)$' \| \ 14843 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 14844$as_echo X/"$am_mf" | 14845 sed '/^.*\/\([^/][^/]*\)\/*$/{ 14846 s//\1/ 14847 q 14848 } 14849 /^X\/\(\/\/\)$/{ 14850 s//\1/ 14851 q 14852 } 14853 /^X\/\(\/\).*/{ 14854 s//\1/ 14855 q 14856 } 14857 s/.*/./; q'` 14858 { echo "$as_me:$LINENO: cd "$am_dirpart" \ 14859 && sed -e '/# am--include-marker/d' "$am_filepart" \ 14860 | $MAKE -f - am--depfiles" >&5 14861 (cd "$am_dirpart" \ 14862 && sed -e '/# am--include-marker/d' "$am_filepart" \ 14863 | $MAKE -f - am--depfiles) >&5 2>&5 14864 ac_status=$? 14865 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14866 (exit $ac_status); } || am_rc=$? 14867 done 14868 if test $am_rc -ne 0; then 14869 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 14870$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 14871as_fn_error $? "Something went wrong bootstrapping makefile fragments 14872 for automatic dependency tracking. If GNU make was not used, consider 14873 re-running the configure script with MAKE=\"gmake\" (or whatever is 14874 necessary). You can also try re-running configure with the 14875 '--disable-dependency-tracking' option to at least be able to build 14876 the package (albeit without support for automatic dependency tracking). 14877See \`config.log' for more details" "$LINENO" 5; } 14878 fi 14879 { am_dirpart=; unset am_dirpart;} 14880 { am_filepart=; unset am_filepart;} 14881 { am_mf=; unset am_mf;} 14882 { am_rc=; unset am_rc;} 14883 rm -f conftest-deps.mk 14884} 14885 ;; 14886 "libtool":C) 14887 14888 # See if we are running on zsh, and set the options that allow our 14889 # commands through without removal of \ escapes. 14890 if test -n "${ZSH_VERSION+set}"; then 14891 setopt NO_GLOB_SUBST 14892 fi 14893 14894 cfgfile=${ofile}T 14895 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 14896 $RM "$cfgfile" 14897 14898 cat <<_LT_EOF >> "$cfgfile" 14899#! $SHELL 14900# Generated automatically by $as_me ($PACKAGE) $VERSION 14901# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 14902# NOTE: Changes made to this file will be lost: look at ltmain.sh. 14903 14904# Provide generalized library-building support services. 14905# Written by Gordon Matzigkeit, 1996 14906 14907# Copyright (C) 2014 Free Software Foundation, Inc. 14908# This is free software; see the source for copying conditions. There is NO 14909# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 14910 14911# GNU Libtool is free software; you can redistribute it and/or modify 14912# it under the terms of the GNU General Public License as published by 14913# the Free Software Foundation; either version 2 of of the License, or 14914# (at your option) any later version. 14915# 14916# As a special exception to the GNU General Public License, if you 14917# distribute this file as part of a program or library that is built 14918# using GNU Libtool, you may include this file under the same 14919# distribution terms that you use for the rest of that program. 14920# 14921# GNU Libtool is distributed in the hope that it will be useful, but 14922# WITHOUT ANY WARRANTY; without even the implied warranty of 14923# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14924# GNU General Public License for more details. 14925# 14926# You should have received a copy of the GNU General Public License 14927# along with this program. If not, see <http://www.gnu.org/licenses/>. 14928 14929 14930# The names of the tagged configurations supported by this script. 14931available_tags='' 14932 14933# Configured defaults for sys_lib_dlsearch_path munging. 14934: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 14935 14936# ### BEGIN LIBTOOL CONFIG 14937 14938# Which release of libtool.m4 was used? 14939macro_version=$macro_version 14940macro_revision=$macro_revision 14941 14942# Whether or not to build shared libraries. 14943build_libtool_libs=$enable_shared 14944 14945# Whether or not to build static libraries. 14946build_old_libs=$enable_static 14947 14948# What type of objects to build. 14949pic_mode=$pic_mode 14950 14951# Whether or not to optimize for fast installation. 14952fast_install=$enable_fast_install 14953 14954# Shared archive member basename,for filename based shared library versioning on AIX. 14955shared_archive_member_spec=$shared_archive_member_spec 14956 14957# Shell to use when invoking shell scripts. 14958SHELL=$lt_SHELL 14959 14960# An echo program that protects backslashes. 14961ECHO=$lt_ECHO 14962 14963# The PATH separator for the build system. 14964PATH_SEPARATOR=$lt_PATH_SEPARATOR 14965 14966# The host system. 14967host_alias=$host_alias 14968host=$host 14969host_os=$host_os 14970 14971# The build system. 14972build_alias=$build_alias 14973build=$build 14974build_os=$build_os 14975 14976# A sed program that does not truncate output. 14977SED=$lt_SED 14978 14979# Sed that helps us avoid accidentally triggering echo(1) options like -n. 14980Xsed="\$SED -e 1s/^X//" 14981 14982# A grep program that handles long lines. 14983GREP=$lt_GREP 14984 14985# An ERE matcher. 14986EGREP=$lt_EGREP 14987 14988# A literal string matcher. 14989FGREP=$lt_FGREP 14990 14991# A BSD- or MS-compatible name lister. 14992NM=$lt_NM 14993 14994# Whether we need soft or hard links. 14995LN_S=$lt_LN_S 14996 14997# What is the maximum length of a command? 14998max_cmd_len=$max_cmd_len 14999 15000# Object file suffix (normally "o"). 15001objext=$ac_objext 15002 15003# Executable file suffix (normally ""). 15004exeext=$exeext 15005 15006# whether the shell understands "unset". 15007lt_unset=$lt_unset 15008 15009# turn spaces into newlines. 15010SP2NL=$lt_lt_SP2NL 15011 15012# turn newlines into spaces. 15013NL2SP=$lt_lt_NL2SP 15014 15015# convert \$build file names to \$host format. 15016to_host_file_cmd=$lt_cv_to_host_file_cmd 15017 15018# convert \$build files to toolchain format. 15019to_tool_file_cmd=$lt_cv_to_tool_file_cmd 15020 15021# An object symbol dumper. 15022OBJDUMP=$lt_OBJDUMP 15023 15024# Method to check whether dependent libraries are shared objects. 15025deplibs_check_method=$lt_deplibs_check_method 15026 15027# Command to use when deplibs_check_method = "file_magic". 15028file_magic_cmd=$lt_file_magic_cmd 15029 15030# How to find potential files when deplibs_check_method = "file_magic". 15031file_magic_glob=$lt_file_magic_glob 15032 15033# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 15034want_nocaseglob=$lt_want_nocaseglob 15035 15036# DLL creation program. 15037DLLTOOL=$lt_DLLTOOL 15038 15039# Command to associate shared and link libraries. 15040sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 15041 15042# The archiver. 15043AR=$lt_AR 15044 15045# Flags to create an archive. 15046AR_FLAGS=$lt_AR_FLAGS 15047 15048# How to feed a file listing to the archiver. 15049archiver_list_spec=$lt_archiver_list_spec 15050 15051# A symbol stripping program. 15052STRIP=$lt_STRIP 15053 15054# Commands used to install an old-style archive. 15055RANLIB=$lt_RANLIB 15056old_postinstall_cmds=$lt_old_postinstall_cmds 15057old_postuninstall_cmds=$lt_old_postuninstall_cmds 15058 15059# Whether to use a lock for old archive extraction. 15060lock_old_archive_extraction=$lock_old_archive_extraction 15061 15062# A C compiler. 15063LTCC=$lt_CC 15064 15065# LTCC compiler flags. 15066LTCFLAGS=$lt_CFLAGS 15067 15068# Take the output of nm and produce a listing of raw symbols and C names. 15069global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 15070 15071# Transform the output of nm in a proper C declaration. 15072global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 15073 15074# Transform the output of nm into a list of symbols to manually relocate. 15075global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 15076 15077# Transform the output of nm in a C name address pair. 15078global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 15079 15080# Transform the output of nm in a C name address pair when lib prefix is needed. 15081global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 15082 15083# The name lister interface. 15084nm_interface=$lt_lt_cv_nm_interface 15085 15086# Specify filename containing input files for \$NM. 15087nm_file_list_spec=$lt_nm_file_list_spec 15088 15089# The root where to search for dependent libraries,and where our libraries should be installed. 15090lt_sysroot=$lt_sysroot 15091 15092# Command to truncate a binary pipe. 15093lt_truncate_bin=$lt_lt_cv_truncate_bin 15094 15095# The name of the directory that contains temporary libtool files. 15096objdir=$objdir 15097 15098# Used to examine libraries when file_magic_cmd begins with "file". 15099MAGIC_CMD=$MAGIC_CMD 15100 15101# Must we lock files when doing compilation? 15102need_locks=$lt_need_locks 15103 15104# Manifest tool. 15105MANIFEST_TOOL=$lt_MANIFEST_TOOL 15106 15107# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 15108DSYMUTIL=$lt_DSYMUTIL 15109 15110# Tool to change global to local symbols on Mac OS X. 15111NMEDIT=$lt_NMEDIT 15112 15113# Tool to manipulate fat objects and archives on Mac OS X. 15114LIPO=$lt_LIPO 15115 15116# ldd/readelf like tool for Mach-O binaries on Mac OS X. 15117OTOOL=$lt_OTOOL 15118 15119# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 15120OTOOL64=$lt_OTOOL64 15121 15122# Old archive suffix (normally "a"). 15123libext=$libext 15124 15125# Shared library suffix (normally ".so"). 15126shrext_cmds=$lt_shrext_cmds 15127 15128# The commands to extract the exported symbol list from a shared archive. 15129extract_expsyms_cmds=$lt_extract_expsyms_cmds 15130 15131# Variables whose values should be saved in libtool wrapper scripts and 15132# restored at link time. 15133variables_saved_for_relink=$lt_variables_saved_for_relink 15134 15135# Do we need the "lib" prefix for modules? 15136need_lib_prefix=$need_lib_prefix 15137 15138# Do we need a version for libraries? 15139need_version=$need_version 15140 15141# Library versioning type. 15142version_type=$version_type 15143 15144# Shared library runtime path variable. 15145runpath_var=$runpath_var 15146 15147# Shared library path variable. 15148shlibpath_var=$shlibpath_var 15149 15150# Is shlibpath searched before the hard-coded library search path? 15151shlibpath_overrides_runpath=$shlibpath_overrides_runpath 15152 15153# Format of library name prefix. 15154libname_spec=$lt_libname_spec 15155 15156# List of archive names. First name is the real one, the rest are links. 15157# The last name is the one that the linker finds with -lNAME 15158library_names_spec=$lt_library_names_spec 15159 15160# The coded name of the library, if different from the real name. 15161soname_spec=$lt_soname_spec 15162 15163# Permission mode override for installation of shared libraries. 15164install_override_mode=$lt_install_override_mode 15165 15166# Command to use after installation of a shared archive. 15167postinstall_cmds=$lt_postinstall_cmds 15168 15169# Command to use after uninstallation of a shared archive. 15170postuninstall_cmds=$lt_postuninstall_cmds 15171 15172# Commands used to finish a libtool library installation in a directory. 15173finish_cmds=$lt_finish_cmds 15174 15175# As "finish_cmds", except a single script fragment to be evaled but 15176# not shown. 15177finish_eval=$lt_finish_eval 15178 15179# Whether we should hardcode library paths into libraries. 15180hardcode_into_libs=$hardcode_into_libs 15181 15182# Compile-time system search path for libraries. 15183sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 15184 15185# Detected run-time system search path for libraries. 15186sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 15187 15188# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 15189configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 15190 15191# Whether dlopen is supported. 15192dlopen_support=$enable_dlopen 15193 15194# Whether dlopen of programs is supported. 15195dlopen_self=$enable_dlopen_self 15196 15197# Whether dlopen of statically linked programs is supported. 15198dlopen_self_static=$enable_dlopen_self_static 15199 15200# Commands to strip libraries. 15201old_striplib=$lt_old_striplib 15202striplib=$lt_striplib 15203 15204 15205# The linker used to build libraries. 15206LD=$lt_LD 15207 15208# How to create reloadable object files. 15209reload_flag=$lt_reload_flag 15210reload_cmds=$lt_reload_cmds 15211 15212# Commands used to build an old-style archive. 15213old_archive_cmds=$lt_old_archive_cmds 15214 15215# A language specific compiler. 15216CC=$lt_compiler 15217 15218# Is the compiler the GNU compiler? 15219with_gcc=$GCC 15220 15221# Compiler flag to turn off builtin functions. 15222no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 15223 15224# Additional compiler flags for building library objects. 15225pic_flag=$lt_lt_prog_compiler_pic 15226 15227# How to pass a linker flag through the compiler. 15228wl=$lt_lt_prog_compiler_wl 15229 15230# Compiler flag to prevent dynamic linking. 15231link_static_flag=$lt_lt_prog_compiler_static 15232 15233# Does compiler simultaneously support -c and -o options? 15234compiler_c_o=$lt_lt_cv_prog_compiler_c_o 15235 15236# Whether or not to add -lc for building shared libraries. 15237build_libtool_need_lc=$archive_cmds_need_lc 15238 15239# Whether or not to disallow shared libs when runtime libs are static. 15240allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 15241 15242# Compiler flag to allow reflexive dlopens. 15243export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 15244 15245# Compiler flag to generate shared objects directly from archives. 15246whole_archive_flag_spec=$lt_whole_archive_flag_spec 15247 15248# Whether the compiler copes with passing no objects directly. 15249compiler_needs_object=$lt_compiler_needs_object 15250 15251# Create an old-style archive from a shared archive. 15252old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 15253 15254# Create a temporary old-style archive to link instead of a shared archive. 15255old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 15256 15257# Commands used to build a shared archive. 15258archive_cmds=$lt_archive_cmds 15259archive_expsym_cmds=$lt_archive_expsym_cmds 15260 15261# Commands used to build a loadable module if different from building 15262# a shared archive. 15263module_cmds=$lt_module_cmds 15264module_expsym_cmds=$lt_module_expsym_cmds 15265 15266# Whether we are building with GNU ld or not. 15267with_gnu_ld=$lt_with_gnu_ld 15268 15269# Flag that allows shared libraries with undefined symbols to be built. 15270allow_undefined_flag=$lt_allow_undefined_flag 15271 15272# Flag that enforces no undefined symbols. 15273no_undefined_flag=$lt_no_undefined_flag 15274 15275# Flag to hardcode \$libdir into a binary during linking. 15276# This must work even if \$libdir does not exist 15277hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 15278 15279# Whether we need a single "-rpath" flag with a separated argument. 15280hardcode_libdir_separator=$lt_hardcode_libdir_separator 15281 15282# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 15283# DIR into the resulting binary. 15284hardcode_direct=$hardcode_direct 15285 15286# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 15287# DIR into the resulting binary and the resulting library dependency is 15288# "absolute",i.e impossible to change by setting \$shlibpath_var if the 15289# library is relocated. 15290hardcode_direct_absolute=$hardcode_direct_absolute 15291 15292# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 15293# into the resulting binary. 15294hardcode_minus_L=$hardcode_minus_L 15295 15296# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 15297# into the resulting binary. 15298hardcode_shlibpath_var=$hardcode_shlibpath_var 15299 15300# Set to "yes" if building a shared library automatically hardcodes DIR 15301# into the library and all subsequent libraries and executables linked 15302# against it. 15303hardcode_automatic=$hardcode_automatic 15304 15305# Set to yes if linker adds runtime paths of dependent libraries 15306# to runtime path list. 15307inherit_rpath=$inherit_rpath 15308 15309# Whether libtool must link a program against all its dependency libraries. 15310link_all_deplibs=$link_all_deplibs 15311 15312# Set to "yes" if exported symbols are required. 15313always_export_symbols=$always_export_symbols 15314 15315# The commands to list exported symbols. 15316export_symbols_cmds=$lt_export_symbols_cmds 15317 15318# Symbols that should not be listed in the preloaded symbols. 15319exclude_expsyms=$lt_exclude_expsyms 15320 15321# Symbols that must always be exported. 15322include_expsyms=$lt_include_expsyms 15323 15324# Commands necessary for linking programs (against libraries) with templates. 15325prelink_cmds=$lt_prelink_cmds 15326 15327# Commands necessary for finishing linking programs. 15328postlink_cmds=$lt_postlink_cmds 15329 15330# Specify filename containing input files. 15331file_list_spec=$lt_file_list_spec 15332 15333# How to hardcode a shared library path into an executable. 15334hardcode_action=$hardcode_action 15335 15336# ### END LIBTOOL CONFIG 15337 15338_LT_EOF 15339 15340 cat <<'_LT_EOF' >> "$cfgfile" 15341 15342# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 15343 15344# func_munge_path_list VARIABLE PATH 15345# ----------------------------------- 15346# VARIABLE is name of variable containing _space_ separated list of 15347# directories to be munged by the contents of PATH, which is string 15348# having a format: 15349# "DIR[:DIR]:" 15350# string "DIR[ DIR]" will be prepended to VARIABLE 15351# ":DIR[:DIR]" 15352# string "DIR[ DIR]" will be appended to VARIABLE 15353# "DIRP[:DIRP]::[DIRA:]DIRA" 15354# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 15355# "DIRA[ DIRA]" will be appended to VARIABLE 15356# "DIR[:DIR]" 15357# VARIABLE will be replaced by "DIR[ DIR]" 15358func_munge_path_list () 15359{ 15360 case x$2 in 15361 x) 15362 ;; 15363 *:) 15364 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 15365 ;; 15366 x:*) 15367 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 15368 ;; 15369 *::*) 15370 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 15371 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 15372 ;; 15373 *) 15374 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 15375 ;; 15376 esac 15377} 15378 15379 15380# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 15381func_cc_basename () 15382{ 15383 for cc_temp in $*""; do 15384 case $cc_temp in 15385 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 15386 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 15387 \-*) ;; 15388 *) break;; 15389 esac 15390 done 15391 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 15392} 15393 15394 15395# ### END FUNCTIONS SHARED WITH CONFIGURE 15396 15397_LT_EOF 15398 15399 case $host_os in 15400 aix3*) 15401 cat <<\_LT_EOF >> "$cfgfile" 15402# AIX sometimes has problems with the GCC collect2 program. For some 15403# reason, if we set the COLLECT_NAMES environment variable, the problems 15404# vanish in a puff of smoke. 15405if test set != "${COLLECT_NAMES+set}"; then 15406 COLLECT_NAMES= 15407 export COLLECT_NAMES 15408fi 15409_LT_EOF 15410 ;; 15411 esac 15412 15413 15414ltmain=$ac_aux_dir/ltmain.sh 15415 15416 15417 # We use sed instead of cat because bash on DJGPP gets confused if 15418 # if finds mixed CR/LF and LF-only lines. Since sed operates in 15419 # text mode, it properly converts lines to CR/LF. This bash problem 15420 # is reportedly fixed, but why not run on old versions too? 15421 sed '$q' "$ltmain" >> "$cfgfile" \ 15422 || (rm -f "$cfgfile"; exit 1) 15423 15424 mv -f "$cfgfile" "$ofile" || 15425 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 15426 chmod +x "$ofile" 15427 15428 ;; 15429 15430 esac 15431done # for ac_tag 15432 15433 15434as_fn_exit 0 15435_ACEOF 15436ac_clean_files=$ac_clean_files_save 15437 15438test $ac_write_fail = 0 || 15439 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 15440 15441 15442# configure is writing to config.log, and then calls config.status. 15443# config.status does its own redirection, appending to config.log. 15444# Unfortunately, on DOS this fails, as config.log is still kept open 15445# by configure, so config.status won't be able to write to it; its 15446# output is simply discarded. So we exec the FD to /dev/null, 15447# effectively closing config.log, so it can be properly (re)opened and 15448# appended to by config.status. When coming back to configure, we 15449# need to make the FD available again. 15450if test "$no_create" != yes; then 15451 ac_cs_success=: 15452 ac_config_status_args= 15453 test "$silent" = yes && 15454 ac_config_status_args="$ac_config_status_args --quiet" 15455 exec 5>/dev/null 15456 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 15457 exec 5>>config.log 15458 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 15459 # would make configure fail if this is the last instruction. 15460 $ac_cs_success || as_fn_exit 1 15461fi 15462if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 15463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 15464$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 15465fi 15466 15467