1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for libfprint 0.7.0. 4# 5# 6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 7# 8# 9# This configure script is free software; the Free Software Foundation 10# gives unlimited permission to copy, distribute and modify it. 11## -------------------- ## 12## M4sh Initialization. ## 13## -------------------- ## 14 15# Be more Bourne compatible 16DUALCASE=1; export DUALCASE # for MKS sh 17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 emulate sh 19 NULLCMD=: 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 # is contrary to our usage. Disable this feature. 22 alias -g '${1+"$@"}'='"$@"' 23 setopt NO_GLOB_SUBST 24else 25 case `(set -o) 2>/dev/null` in #( 26 *posix*) : 27 set -o posix ;; #( 28 *) : 29 ;; 30esac 31fi 32 33 34as_nl=' 35' 36export as_nl 37# Printing a long string crashes Solaris 7 /usr/bin/printf. 38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 41# Prefer a ksh shell builtin over an external printf program on Solaris, 42# but without wasting forks for bash or zsh. 43if test -z "$BASH_VERSION$ZSH_VERSION" \ 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 45 as_echo='print -r --' 46 as_echo_n='print -rn --' 47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in #( 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70fi 71 72# The user is always right. 73if test "${PATH_SEPARATOR+set}" != set; then 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79fi 80 81 82# IFS 83# We need space, tab and new line, in precisely that order. Quoting is 84# there to prevent editors from complaining about space-tab. 85# (If _AS_PATH_WALK were called with IFS unset, it would disable word 86# splitting by setting IFS to empty value.) 87IFS=" "" $as_nl" 88 89# Find who we are. Look in the path if we contain no directory separator. 90as_myself= 91case $0 in #(( 92 *[\\/]* ) as_myself=$0 ;; 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 94for as_dir in $PATH 95do 96 IFS=$as_save_IFS 97 test -z "$as_dir" && as_dir=. 98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 99 done 100IFS=$as_save_IFS 101 102 ;; 103esac 104# We did not find ourselves, most probably we were run as `sh COMMAND' 105# in which case we are not to be found in the path. 106if test "x$as_myself" = x; then 107 as_myself=$0 108fi 109if test ! -f "$as_myself"; then 110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 111 exit 1 112fi 113 114# Unset variables that we do not need and which cause bugs (e.g. in 115# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 116# suppresses any "Segmentation fault" message there. '((' could 117# trigger a bug in pdksh 5.2.14. 118for as_var in BASH_ENV ENV MAIL MAILPATH 119do eval test x\${$as_var+set} = xset \ 120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 121done 122PS1='$ ' 123PS2='> ' 124PS4='+ ' 125 126# NLS nuisances. 127LC_ALL=C 128export LC_ALL 129LANGUAGE=C 130export LANGUAGE 131 132# CDPATH. 133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 134 135# Use a proper internal environment variable to ensure we don't fall 136 # into an infinite loop, continuously re-executing ourselves. 137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 138 _as_can_reexec=no; export _as_can_reexec; 139 # We cannot yet assume a decent shell, so we have to provide a 140# neutralization value for shells without unset; and this also 141# works around shells that cannot unset nonexistent variables. 142# Preserve -v and -x to the replacement shell. 143BASH_ENV=/dev/null 144ENV=/dev/null 145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 146case $- in # (((( 147 *v*x* | *x*v* ) as_opts=-vx ;; 148 *v* ) as_opts=-v ;; 149 *x* ) as_opts=-x ;; 150 * ) as_opts= ;; 151esac 152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 153# Admittedly, this is quite paranoid, since all the known shells bail 154# out after a failed `exec'. 155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 156as_fn_exit 255 157 fi 158 # We don't want this to propagate to other subprocesses. 159 { _as_can_reexec=; unset _as_can_reexec;} 160if test "x$CONFIG_SHELL" = x; then 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 162 emulate sh 163 NULLCMD=: 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 165 # is contrary to our usage. Disable this feature. 166 alias -g '\${1+\"\$@\"}'='\"\$@\"' 167 setopt NO_GLOB_SUBST 168else 169 case \`(set -o) 2>/dev/null\` in #( 170 *posix*) : 171 set -o posix ;; #( 172 *) : 173 ;; 174esac 175fi 176" 177 as_required="as_fn_return () { (exit \$1); } 178as_fn_success () { as_fn_return 0; } 179as_fn_failure () { as_fn_return 1; } 180as_fn_ret_success () { return 0; } 181as_fn_ret_failure () { return 1; } 182 183exitcode=0 184as_fn_success || { exitcode=1; echo as_fn_success failed.; } 185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 189 190else 191 exitcode=1; echo positional parameters were not saved. 192fi 193test x\$exitcode = x0 || exit 1 194test -x / || exit 1" 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 199 200 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 201 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 202 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 204 PATH=/empty FPATH=/empty; export PATH FPATH 205 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 206 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 207test \$(( 1 + 1 )) = 2 || exit 1" 208 if (eval "$as_required") 2>/dev/null; then : 209 as_have_required=yes 210else 211 as_have_required=no 212fi 213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 214 215else 216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 217as_found=false 218for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 219do 220 IFS=$as_save_IFS 221 test -z "$as_dir" && as_dir=. 222 as_found=: 223 case $as_dir in #( 224 /*) 225 for as_base in sh bash ksh sh5; do 226 # Try only shells that exist, to save several forks. 227 as_shell=$as_dir/$as_base 228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 230 CONFIG_SHELL=$as_shell as_have_required=yes 231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 break 2 233fi 234fi 235 done;; 236 esac 237 as_found=false 238done 239$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 241 CONFIG_SHELL=$SHELL as_have_required=yes 242fi; } 243IFS=$as_save_IFS 244 245 246 if test "x$CONFIG_SHELL" != x; then : 247 export CONFIG_SHELL 248 # We cannot yet assume a decent shell, so we have to provide a 249# neutralization value for shells without unset; and this also 250# works around shells that cannot unset nonexistent variables. 251# Preserve -v and -x to the replacement shell. 252BASH_ENV=/dev/null 253ENV=/dev/null 254(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 255case $- in # (((( 256 *v*x* | *x*v* ) as_opts=-vx ;; 257 *v* ) as_opts=-v ;; 258 *x* ) as_opts=-x ;; 259 * ) as_opts= ;; 260esac 261exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 262# Admittedly, this is quite paranoid, since all the known shells bail 263# out after a failed `exec'. 264$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 265exit 255 266fi 267 268 if test x$as_have_required = xno; then : 269 $as_echo "$0: This script requires a shell more modern than all" 270 $as_echo "$0: the shells that I found on your system." 271 if test x${ZSH_VERSION+set} = xset ; then 272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 273 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 274 else 275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 276$0: including any error possibly output before this 277$0: message. Then install a modern shell, or manually run 278$0: the script under such a shell if you do have one." 279 fi 280 exit 1 281fi 282fi 283fi 284SHELL=${CONFIG_SHELL-/bin/sh} 285export SHELL 286# Unset more variables known to interfere with behavior of common tools. 287CLICOLOR_FORCE= GREP_OPTIONS= 288unset CLICOLOR_FORCE GREP_OPTIONS 289 290## --------------------- ## 291## M4sh Shell Functions. ## 292## --------------------- ## 293# as_fn_unset VAR 294# --------------- 295# Portably unset VAR. 296as_fn_unset () 297{ 298 { eval $1=; unset $1;} 299} 300as_unset=as_fn_unset 301 302# as_fn_set_status STATUS 303# ----------------------- 304# Set $? to STATUS, without forking. 305as_fn_set_status () 306{ 307 return $1 308} # as_fn_set_status 309 310# as_fn_exit STATUS 311# ----------------- 312# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 313as_fn_exit () 314{ 315 set +e 316 as_fn_set_status $1 317 exit $1 318} # as_fn_exit 319 320# as_fn_mkdir_p 321# ------------- 322# Create "$as_dir" as a directory, including parents if necessary. 323as_fn_mkdir_p () 324{ 325 326 case $as_dir in #( 327 -*) as_dir=./$as_dir;; 328 esac 329 test -d "$as_dir" || eval $as_mkdir_p || { 330 as_dirs= 331 while :; do 332 case $as_dir in #( 333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 334 *) as_qdir=$as_dir;; 335 esac 336 as_dirs="'$as_qdir' $as_dirs" 337 as_dir=`$as_dirname -- "$as_dir" || 338$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 339 X"$as_dir" : 'X\(//\)[^/]' \| \ 340 X"$as_dir" : 'X\(//\)$' \| \ 341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 342$as_echo X"$as_dir" | 343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 344 s//\1/ 345 q 346 } 347 /^X\(\/\/\)[^/].*/{ 348 s//\1/ 349 q 350 } 351 /^X\(\/\/\)$/{ 352 s//\1/ 353 q 354 } 355 /^X\(\/\).*/{ 356 s//\1/ 357 q 358 } 359 s/.*/./; q'` 360 test -d "$as_dir" && break 361 done 362 test -z "$as_dirs" || eval "mkdir $as_dirs" 363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 364 365 366} # as_fn_mkdir_p 367 368# as_fn_executable_p FILE 369# ----------------------- 370# Test if FILE is an executable regular file. 371as_fn_executable_p () 372{ 373 test -f "$1" && test -x "$1" 374} # as_fn_executable_p 375# as_fn_append VAR VALUE 376# ---------------------- 377# Append the text in VALUE to the end of the definition contained in VAR. Take 378# advantage of any shell optimizations that allow amortized linear growth over 379# repeated appends, instead of the typical quadratic growth present in naive 380# implementations. 381if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 382 eval 'as_fn_append () 383 { 384 eval $1+=\$2 385 }' 386else 387 as_fn_append () 388 { 389 eval $1=\$$1\$2 390 } 391fi # as_fn_append 392 393# as_fn_arith ARG... 394# ------------------ 395# Perform arithmetic evaluation on the ARGs, and store the result in the 396# global $as_val. Take advantage of shells that can avoid forks. The arguments 397# must be portable across $(()) and expr. 398if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 399 eval 'as_fn_arith () 400 { 401 as_val=$(( $* )) 402 }' 403else 404 as_fn_arith () 405 { 406 as_val=`expr "$@" || test $? -eq 1` 407 } 408fi # as_fn_arith 409 410 411# as_fn_error STATUS ERROR [LINENO LOG_FD] 412# ---------------------------------------- 413# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 414# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 415# script with STATUS, using 1 if that was 0. 416as_fn_error () 417{ 418 as_status=$1; test $as_status -eq 0 && as_status=1 419 if test "$4"; then 420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 422 fi 423 $as_echo "$as_me: error: $2" >&2 424 as_fn_exit $as_status 425} # as_fn_error 426 427if expr a : '\(a\)' >/dev/null 2>&1 && 428 test "X`expr 00001 : '.*\(...\)'`" = X001; then 429 as_expr=expr 430else 431 as_expr=false 432fi 433 434if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 435 as_basename=basename 436else 437 as_basename=false 438fi 439 440if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 441 as_dirname=dirname 442else 443 as_dirname=false 444fi 445 446as_me=`$as_basename -- "$0" || 447$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 448 X"$0" : 'X\(//\)$' \| \ 449 X"$0" : 'X\(/\)' \| . 2>/dev/null || 450$as_echo X/"$0" | 451 sed '/^.*\/\([^/][^/]*\)\/*$/{ 452 s//\1/ 453 q 454 } 455 /^X\/\(\/\/\)$/{ 456 s//\1/ 457 q 458 } 459 /^X\/\(\/\).*/{ 460 s//\1/ 461 q 462 } 463 s/.*/./; q'` 464 465# Avoid depending upon Character Ranges. 466as_cr_letters='abcdefghijklmnopqrstuvwxyz' 467as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 468as_cr_Letters=$as_cr_letters$as_cr_LETTERS 469as_cr_digits='0123456789' 470as_cr_alnum=$as_cr_Letters$as_cr_digits 471 472 473 as_lineno_1=$LINENO as_lineno_1a=$LINENO 474 as_lineno_2=$LINENO as_lineno_2a=$LINENO 475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 478 sed -n ' 479 p 480 /[$]LINENO/= 481 ' <$as_myself | 482 sed ' 483 s/[$]LINENO.*/&-/ 484 t lineno 485 b 486 :lineno 487 N 488 :loop 489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 490 t loop 491 s/-\n.*// 492 ' >$as_me.lineno && 493 chmod +x "$as_me.lineno" || 494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 495 496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 497 # already done that, so ensure we don't try to do so again and fall 498 # in an infinite loop. This has already happened in practice. 499 _as_can_reexec=no; export _as_can_reexec 500 # Don't try to exec as it changes $[0], causing all sort of problems 501 # (the dirname of $[0] is not the place where we might find the 502 # original and so on. Autoconf is especially sensitive to this). 503 . "./$as_me.lineno" 504 # Exit status is that of the last command. 505 exit 506} 507 508ECHO_C= ECHO_N= ECHO_T= 509case `echo -n x` in #((((( 510-n*) 511 case `echo 'xy\c'` in 512 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 513 xy) ECHO_C='\c';; 514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 515 ECHO_T=' ';; 516 esac;; 517*) 518 ECHO_N='-n';; 519esac 520 521rm -f conf$$ conf$$.exe conf$$.file 522if test -d conf$$.dir; then 523 rm -f conf$$.dir/conf$$.file 524else 525 rm -f conf$$.dir 526 mkdir conf$$.dir 2>/dev/null 527fi 528if (echo >conf$$.file) 2>/dev/null; then 529 if ln -s conf$$.file conf$$ 2>/dev/null; then 530 as_ln_s='ln -s' 531 # ... but there are two gotchas: 532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 534 # In both cases, we have to default to `cp -pR'. 535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 536 as_ln_s='cp -pR' 537 elif ln conf$$.file conf$$ 2>/dev/null; then 538 as_ln_s=ln 539 else 540 as_ln_s='cp -pR' 541 fi 542else 543 as_ln_s='cp -pR' 544fi 545rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 546rmdir conf$$.dir 2>/dev/null 547 548if mkdir -p . 2>/dev/null; then 549 as_mkdir_p='mkdir -p "$as_dir"' 550else 551 test -d ./-p && rmdir ./-p 552 as_mkdir_p=false 553fi 554 555as_test_x='test -x' 556as_executable_p=as_fn_executable_p 557 558# Sed expression to map a string onto a valid CPP name. 559as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 560 561# Sed expression to map a string onto a valid variable name. 562as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 563 564SHELL=${CONFIG_SHELL-/bin/sh} 565 566 567test -n "$DJDIR" || exec 7<&0 </dev/null 568exec 6>&1 569 570# Name of the host. 571# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 572# so uname gets run too. 573ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 574 575# 576# Initializations. 577# 578ac_default_prefix=/usr/local 579ac_clean_files= 580ac_config_libobj_dir=. 581LIBOBJS= 582cross_compiling=no 583subdirs= 584MFLAGS= 585MAKEFLAGS= 586 587# Identity of this package. 588PACKAGE_NAME='libfprint' 589PACKAGE_TARNAME='libfprint' 590PACKAGE_VERSION='0.7.0' 591PACKAGE_STRING='libfprint 0.7.0' 592PACKAGE_BUGREPORT='' 593PACKAGE_URL='' 594 595ac_unique_file="libfprint/core.c" 596# Factoring default headers for most tests. 597ac_includes_default="\ 598#include <stdio.h> 599#ifdef HAVE_SYS_TYPES_H 600# include <sys/types.h> 601#endif 602#ifdef HAVE_SYS_STAT_H 603# include <sys/stat.h> 604#endif 605#ifdef STDC_HEADERS 606# include <stdlib.h> 607# include <stddef.h> 608#else 609# ifdef HAVE_STDLIB_H 610# include <stdlib.h> 611# endif 612#endif 613#ifdef HAVE_STRING_H 614# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 615# include <memory.h> 616# endif 617# include <string.h> 618#endif 619#ifdef HAVE_STRINGS_H 620# include <strings.h> 621#endif 622#ifdef HAVE_INTTYPES_H 623# include <inttypes.h> 624#endif 625#ifdef HAVE_STDINT_H 626# include <stdint.h> 627#endif 628#ifdef HAVE_UNISTD_H 629# include <unistd.h> 630#endif" 631 632ac_subst_vars='am__EXEEXT_FALSE 633am__EXEEXT_TRUE 634LTLIBOBJS 635LIBOBJS 636AM_CFLAGS 637XV_LIBS 638XV_CFLAGS 639BUILD_X11_EXAMPLES_FALSE 640BUILD_X11_EXAMPLES_TRUE 641BUILD_EXAMPLES_FALSE 642BUILD_EXAMPLES_TRUE 643REQUIRE_PIXMAN_FALSE 644REQUIRE_PIXMAN_TRUE 645IMAGING_LIBS 646IMAGING_CFLAGS 647udev_rulesdir 648ENABLE_UDEV_RULES_FALSE 649ENABLE_UDEV_RULES_TRUE 650GLIB_LIBS 651GLIB_CFLAGS 652CRYPTO_LIBS 653CRYPTO_CFLAGS 654LIBUSB_LIBS 655LIBUSB_CFLAGS 656PKG_CONFIG_LIBDIR 657PKG_CONFIG_PATH 658PKG_CONFIG 659ENABLE_VFS0050_FALSE 660ENABLE_VFS0050_TRUE 661ENABLE_ETES603_FALSE 662ENABLE_ETES603_TRUE 663ENABLE_UPEKTC_IMG_FALSE 664ENABLE_UPEKTC_IMG_TRUE 665ENABLE_VFS5011_FALSE 666ENABLE_VFS5011_TRUE 667ENABLE_VFS301_FALSE 668ENABLE_VFS301_TRUE 669ENABLE_VFS101_FALSE 670ENABLE_VFS101_TRUE 671REQUIRE_AES3K_FALSE 672REQUIRE_AES3K_TRUE 673REQUIRE_AESX660_FALSE 674REQUIRE_AESX660_TRUE 675REQUIRE_AESLIB_FALSE 676REQUIRE_AESLIB_TRUE 677ENABLE_AES4000_FALSE 678ENABLE_AES4000_TRUE 679ENABLE_AES3500_FALSE 680ENABLE_AES3500_TRUE 681ENABLE_AES2660_FALSE 682ENABLE_AES2660_TRUE 683ENABLE_AES2550_FALSE 684ENABLE_AES2550_TRUE 685ENABLE_AES2501_FALSE 686ENABLE_AES2501_TRUE 687ENABLE_AES1660_FALSE 688ENABLE_AES1660_TRUE 689ENABLE_AES1610_FALSE 690ENABLE_AES1610_TRUE 691ENABLE_FDU2000_FALSE 692ENABLE_FDU2000_TRUE 693ENABLE_URU4000_FALSE 694ENABLE_URU4000_TRUE 695ENABLE_VCOM5S_FALSE 696ENABLE_VCOM5S_TRUE 697ENABLE_UPEKSONLY_FALSE 698ENABLE_UPEKSONLY_TRUE 699ENABLE_UPEKTC_FALSE 700ENABLE_UPEKTC_TRUE 701ENABLE_UPEKE2_FALSE 702ENABLE_UPEKE2_TRUE 703ENABLE_UPEKTS_FALSE 704ENABLE_UPEKTS_TRUE 705lt_age 706lt_revision 707lt_major 708CXXCPP 709am__fastdepCXX_FALSE 710am__fastdepCXX_TRUE 711CXXDEPMODE 712ac_ct_CXX 713CXXFLAGS 714CXX 715CPP 716LT_SYS_LIBRARY_PATH 717OTOOL64 718OTOOL 719LIPO 720NMEDIT 721DSYMUTIL 722MANIFEST_TOOL 723RANLIB 724ac_ct_AR 725AR 726DLLTOOL 727OBJDUMP 728LN_S 729NM 730ac_ct_DUMPBIN 731DUMPBIN 732LD 733FGREP 734EGREP 735GREP 736SED 737host_os 738host_vendor 739host_cpu 740host 741build_os 742build_vendor 743build_cpu 744build 745LIBTOOL 746am__fastdepCC_FALSE 747am__fastdepCC_TRUE 748CCDEPMODE 749am__nodep 750AMDEPBACKSLASH 751AMDEP_FALSE 752AMDEP_TRUE 753am__quote 754am__include 755DEPDIR 756OBJEXT 757EXEEXT 758ac_ct_CC 759CPPFLAGS 760LDFLAGS 761CFLAGS 762CC 763AM_BACKSLASH 764AM_DEFAULT_VERBOSITY 765AM_DEFAULT_V 766AM_V 767am__untar 768am__tar 769AMTAR 770am__leading_dot 771SET_MAKE 772AWK 773mkdir_p 774MKDIR_P 775INSTALL_STRIP_PROGRAM 776STRIP 777install_sh 778MAKEINFO 779AUTOHEADER 780AUTOMAKE 781AUTOCONF 782ACLOCAL 783VERSION 784PACKAGE 785CYGPATH_W 786am__isrc 787INSTALL_DATA 788INSTALL_SCRIPT 789INSTALL_PROGRAM 790target_alias 791host_alias 792build_alias 793LIBS 794ECHO_T 795ECHO_N 796ECHO_C 797DEFS 798mandir 799localedir 800libdir 801psdir 802pdfdir 803dvidir 804htmldir 805infodir 806docdir 807oldincludedir 808includedir 809localstatedir 810sharedstatedir 811sysconfdir 812datadir 813datarootdir 814libexecdir 815sbindir 816bindir 817program_transform_name 818prefix 819exec_prefix 820PACKAGE_URL 821PACKAGE_BUGREPORT 822PACKAGE_STRING 823PACKAGE_VERSION 824PACKAGE_TARNAME 825PACKAGE_NAME 826PATH_SEPARATOR 827SHELL' 828ac_subst_files='' 829ac_user_opts=' 830enable_option_checking 831enable_silent_rules 832enable_dependency_tracking 833enable_shared 834enable_static 835with_pic 836enable_fast_install 837with_aix_soname 838with_gnu_ld 839with_sysroot 840enable_libtool_lock 841with_drivers 842enable_udev_rules 843with_udev_rules_dir 844enable_examples_build 845enable_x11_examples_build 846enable_log 847enable_debug_log 848' 849 ac_precious_vars='build_alias 850host_alias 851target_alias 852CC 853CFLAGS 854LDFLAGS 855LIBS 856CPPFLAGS 857LT_SYS_LIBRARY_PATH 858CPP 859CXX 860CXXFLAGS 861CCC 862CXXCPP 863PKG_CONFIG 864PKG_CONFIG_PATH 865PKG_CONFIG_LIBDIR 866LIBUSB_CFLAGS 867LIBUSB_LIBS 868CRYPTO_CFLAGS 869CRYPTO_LIBS 870GLIB_CFLAGS 871GLIB_LIBS 872IMAGING_CFLAGS 873IMAGING_LIBS' 874 875 876# Initialize some variables set by options. 877ac_init_help= 878ac_init_version=false 879ac_unrecognized_opts= 880ac_unrecognized_sep= 881# The variables have the same names as the options, with 882# dashes changed to underlines. 883cache_file=/dev/null 884exec_prefix=NONE 885no_create= 886no_recursion= 887prefix=NONE 888program_prefix=NONE 889program_suffix=NONE 890program_transform_name=s,x,x, 891silent= 892site= 893srcdir= 894verbose= 895x_includes=NONE 896x_libraries=NONE 897 898# Installation directory options. 899# These are left unexpanded so users can "make install exec_prefix=/foo" 900# and all the variables that are supposed to be based on exec_prefix 901# by default will actually change. 902# Use braces instead of parens because sh, perl, etc. also accept them. 903# (The list follows the same order as the GNU Coding Standards.) 904bindir='${exec_prefix}/bin' 905sbindir='${exec_prefix}/sbin' 906libexecdir='${exec_prefix}/libexec' 907datarootdir='${prefix}/share' 908datadir='${datarootdir}' 909sysconfdir='${prefix}/etc' 910sharedstatedir='${prefix}/com' 911localstatedir='${prefix}/var' 912includedir='${prefix}/include' 913oldincludedir='/usr/include' 914docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 915infodir='${datarootdir}/info' 916htmldir='${docdir}' 917dvidir='${docdir}' 918pdfdir='${docdir}' 919psdir='${docdir}' 920libdir='${exec_prefix}/lib' 921localedir='${datarootdir}/locale' 922mandir='${datarootdir}/man' 923 924ac_prev= 925ac_dashdash= 926for ac_option 927do 928 # If the previous option needs an argument, assign it. 929 if test -n "$ac_prev"; then 930 eval $ac_prev=\$ac_option 931 ac_prev= 932 continue 933 fi 934 935 case $ac_option in 936 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 937 *=) ac_optarg= ;; 938 *) ac_optarg=yes ;; 939 esac 940 941 # Accept the important Cygnus configure options, so we can diagnose typos. 942 943 case $ac_dashdash$ac_option in 944 --) 945 ac_dashdash=yes ;; 946 947 -bindir | --bindir | --bindi | --bind | --bin | --bi) 948 ac_prev=bindir ;; 949 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 950 bindir=$ac_optarg ;; 951 952 -build | --build | --buil | --bui | --bu) 953 ac_prev=build_alias ;; 954 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 955 build_alias=$ac_optarg ;; 956 957 -cache-file | --cache-file | --cache-fil | --cache-fi \ 958 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 959 ac_prev=cache_file ;; 960 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 961 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 962 cache_file=$ac_optarg ;; 963 964 --config-cache | -C) 965 cache_file=config.cache ;; 966 967 -datadir | --datadir | --datadi | --datad) 968 ac_prev=datadir ;; 969 -datadir=* | --datadir=* | --datadi=* | --datad=*) 970 datadir=$ac_optarg ;; 971 972 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 973 | --dataroo | --dataro | --datar) 974 ac_prev=datarootdir ;; 975 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 976 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 977 datarootdir=$ac_optarg ;; 978 979 -disable-* | --disable-*) 980 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 981 # Reject names that are not valid shell variable names. 982 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 983 as_fn_error $? "invalid feature name: $ac_useropt" 984 ac_useropt_orig=$ac_useropt 985 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 986 case $ac_user_opts in 987 *" 988"enable_$ac_useropt" 989"*) ;; 990 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 991 ac_unrecognized_sep=', ';; 992 esac 993 eval enable_$ac_useropt=no ;; 994 995 -docdir | --docdir | --docdi | --doc | --do) 996 ac_prev=docdir ;; 997 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 998 docdir=$ac_optarg ;; 999 1000 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1001 ac_prev=dvidir ;; 1002 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1003 dvidir=$ac_optarg ;; 1004 1005 -enable-* | --enable-*) 1006 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1007 # Reject names that are not valid shell variable names. 1008 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1009 as_fn_error $? "invalid feature name: $ac_useropt" 1010 ac_useropt_orig=$ac_useropt 1011 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1012 case $ac_user_opts in 1013 *" 1014"enable_$ac_useropt" 1015"*) ;; 1016 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1017 ac_unrecognized_sep=', ';; 1018 esac 1019 eval enable_$ac_useropt=\$ac_optarg ;; 1020 1021 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1022 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1023 | --exec | --exe | --ex) 1024 ac_prev=exec_prefix ;; 1025 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1026 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1027 | --exec=* | --exe=* | --ex=*) 1028 exec_prefix=$ac_optarg ;; 1029 1030 -gas | --gas | --ga | --g) 1031 # Obsolete; use --with-gas. 1032 with_gas=yes ;; 1033 1034 -help | --help | --hel | --he | -h) 1035 ac_init_help=long ;; 1036 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1037 ac_init_help=recursive ;; 1038 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1039 ac_init_help=short ;; 1040 1041 -host | --host | --hos | --ho) 1042 ac_prev=host_alias ;; 1043 -host=* | --host=* | --hos=* | --ho=*) 1044 host_alias=$ac_optarg ;; 1045 1046 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1047 ac_prev=htmldir ;; 1048 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1049 | --ht=*) 1050 htmldir=$ac_optarg ;; 1051 1052 -includedir | --includedir | --includedi | --included | --include \ 1053 | --includ | --inclu | --incl | --inc) 1054 ac_prev=includedir ;; 1055 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1056 | --includ=* | --inclu=* | --incl=* | --inc=*) 1057 includedir=$ac_optarg ;; 1058 1059 -infodir | --infodir | --infodi | --infod | --info | --inf) 1060 ac_prev=infodir ;; 1061 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1062 infodir=$ac_optarg ;; 1063 1064 -libdir | --libdir | --libdi | --libd) 1065 ac_prev=libdir ;; 1066 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1067 libdir=$ac_optarg ;; 1068 1069 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1070 | --libexe | --libex | --libe) 1071 ac_prev=libexecdir ;; 1072 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1073 | --libexe=* | --libex=* | --libe=*) 1074 libexecdir=$ac_optarg ;; 1075 1076 -localedir | --localedir | --localedi | --localed | --locale) 1077 ac_prev=localedir ;; 1078 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1079 localedir=$ac_optarg ;; 1080 1081 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1082 | --localstate | --localstat | --localsta | --localst | --locals) 1083 ac_prev=localstatedir ;; 1084 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1085 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1086 localstatedir=$ac_optarg ;; 1087 1088 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1089 ac_prev=mandir ;; 1090 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1091 mandir=$ac_optarg ;; 1092 1093 -nfp | --nfp | --nf) 1094 # Obsolete; use --without-fp. 1095 with_fp=no ;; 1096 1097 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1098 | --no-cr | --no-c | -n) 1099 no_create=yes ;; 1100 1101 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1102 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1103 no_recursion=yes ;; 1104 1105 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1106 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1107 | --oldin | --oldi | --old | --ol | --o) 1108 ac_prev=oldincludedir ;; 1109 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1110 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1111 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1112 oldincludedir=$ac_optarg ;; 1113 1114 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1115 ac_prev=prefix ;; 1116 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1117 prefix=$ac_optarg ;; 1118 1119 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1120 | --program-pre | --program-pr | --program-p) 1121 ac_prev=program_prefix ;; 1122 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1123 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1124 program_prefix=$ac_optarg ;; 1125 1126 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1127 | --program-suf | --program-su | --program-s) 1128 ac_prev=program_suffix ;; 1129 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1130 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1131 program_suffix=$ac_optarg ;; 1132 1133 -program-transform-name | --program-transform-name \ 1134 | --program-transform-nam | --program-transform-na \ 1135 | --program-transform-n | --program-transform- \ 1136 | --program-transform | --program-transfor \ 1137 | --program-transfo | --program-transf \ 1138 | --program-trans | --program-tran \ 1139 | --progr-tra | --program-tr | --program-t) 1140 ac_prev=program_transform_name ;; 1141 -program-transform-name=* | --program-transform-name=* \ 1142 | --program-transform-nam=* | --program-transform-na=* \ 1143 | --program-transform-n=* | --program-transform-=* \ 1144 | --program-transform=* | --program-transfor=* \ 1145 | --program-transfo=* | --program-transf=* \ 1146 | --program-trans=* | --program-tran=* \ 1147 | --progr-tra=* | --program-tr=* | --program-t=*) 1148 program_transform_name=$ac_optarg ;; 1149 1150 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1151 ac_prev=pdfdir ;; 1152 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1153 pdfdir=$ac_optarg ;; 1154 1155 -psdir | --psdir | --psdi | --psd | --ps) 1156 ac_prev=psdir ;; 1157 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1158 psdir=$ac_optarg ;; 1159 1160 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1161 | -silent | --silent | --silen | --sile | --sil) 1162 silent=yes ;; 1163 1164 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1165 ac_prev=sbindir ;; 1166 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1167 | --sbi=* | --sb=*) 1168 sbindir=$ac_optarg ;; 1169 1170 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1171 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1172 | --sharedst | --shareds | --shared | --share | --shar \ 1173 | --sha | --sh) 1174 ac_prev=sharedstatedir ;; 1175 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1176 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1177 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1178 | --sha=* | --sh=*) 1179 sharedstatedir=$ac_optarg ;; 1180 1181 -site | --site | --sit) 1182 ac_prev=site ;; 1183 -site=* | --site=* | --sit=*) 1184 site=$ac_optarg ;; 1185 1186 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1187 ac_prev=srcdir ;; 1188 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1189 srcdir=$ac_optarg ;; 1190 1191 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1192 | --syscon | --sysco | --sysc | --sys | --sy) 1193 ac_prev=sysconfdir ;; 1194 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1195 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1196 sysconfdir=$ac_optarg ;; 1197 1198 -target | --target | --targe | --targ | --tar | --ta | --t) 1199 ac_prev=target_alias ;; 1200 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1201 target_alias=$ac_optarg ;; 1202 1203 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1204 verbose=yes ;; 1205 1206 -version | --version | --versio | --versi | --vers | -V) 1207 ac_init_version=: ;; 1208 1209 -with-* | --with-*) 1210 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1211 # Reject names that are not valid shell variable names. 1212 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1213 as_fn_error $? "invalid package name: $ac_useropt" 1214 ac_useropt_orig=$ac_useropt 1215 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1216 case $ac_user_opts in 1217 *" 1218"with_$ac_useropt" 1219"*) ;; 1220 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1221 ac_unrecognized_sep=', ';; 1222 esac 1223 eval with_$ac_useropt=\$ac_optarg ;; 1224 1225 -without-* | --without-*) 1226 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1227 # Reject names that are not valid shell variable names. 1228 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1229 as_fn_error $? "invalid package name: $ac_useropt" 1230 ac_useropt_orig=$ac_useropt 1231 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1232 case $ac_user_opts in 1233 *" 1234"with_$ac_useropt" 1235"*) ;; 1236 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1237 ac_unrecognized_sep=', ';; 1238 esac 1239 eval with_$ac_useropt=no ;; 1240 1241 --x) 1242 # Obsolete; use --with-x. 1243 with_x=yes ;; 1244 1245 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1246 | --x-incl | --x-inc | --x-in | --x-i) 1247 ac_prev=x_includes ;; 1248 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1249 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1250 x_includes=$ac_optarg ;; 1251 1252 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1253 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1254 ac_prev=x_libraries ;; 1255 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1256 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1257 x_libraries=$ac_optarg ;; 1258 1259 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1260Try \`$0 --help' for more information" 1261 ;; 1262 1263 *=*) 1264 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1265 # Reject names that are not valid shell variable names. 1266 case $ac_envvar in #( 1267 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1268 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1269 esac 1270 eval $ac_envvar=\$ac_optarg 1271 export $ac_envvar ;; 1272 1273 *) 1274 # FIXME: should be removed in autoconf 3.0. 1275 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1276 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1277 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1278 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1279 ;; 1280 1281 esac 1282done 1283 1284if test -n "$ac_prev"; then 1285 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1286 as_fn_error $? "missing argument to $ac_option" 1287fi 1288 1289if test -n "$ac_unrecognized_opts"; then 1290 case $enable_option_checking in 1291 no) ;; 1292 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1293 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1294 esac 1295fi 1296 1297# Check all directory arguments for consistency. 1298for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1299 datadir sysconfdir sharedstatedir localstatedir includedir \ 1300 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1301 libdir localedir mandir 1302do 1303 eval ac_val=\$$ac_var 1304 # Remove trailing slashes. 1305 case $ac_val in 1306 */ ) 1307 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1308 eval $ac_var=\$ac_val;; 1309 esac 1310 # Be sure to have absolute directory names. 1311 case $ac_val in 1312 [\\/$]* | ?:[\\/]* ) continue;; 1313 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1314 esac 1315 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1316done 1317 1318# There might be people who depend on the old broken behavior: `$host' 1319# used to hold the argument of --host etc. 1320# FIXME: To remove some day. 1321build=$build_alias 1322host=$host_alias 1323target=$target_alias 1324 1325# FIXME: To remove some day. 1326if test "x$host_alias" != x; then 1327 if test "x$build_alias" = x; then 1328 cross_compiling=maybe 1329 elif test "x$build_alias" != "x$host_alias"; then 1330 cross_compiling=yes 1331 fi 1332fi 1333 1334ac_tool_prefix= 1335test -n "$host_alias" && ac_tool_prefix=$host_alias- 1336 1337test "$silent" = yes && exec 6>/dev/null 1338 1339 1340ac_pwd=`pwd` && test -n "$ac_pwd" && 1341ac_ls_di=`ls -di .` && 1342ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1343 as_fn_error $? "working directory cannot be determined" 1344test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1345 as_fn_error $? "pwd does not report name of working directory" 1346 1347 1348# Find the source files, if location was not specified. 1349if test -z "$srcdir"; then 1350 ac_srcdir_defaulted=yes 1351 # Try the directory containing this script, then the parent directory. 1352 ac_confdir=`$as_dirname -- "$as_myself" || 1353$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1354 X"$as_myself" : 'X\(//\)[^/]' \| \ 1355 X"$as_myself" : 'X\(//\)$' \| \ 1356 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1357$as_echo X"$as_myself" | 1358 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1359 s//\1/ 1360 q 1361 } 1362 /^X\(\/\/\)[^/].*/{ 1363 s//\1/ 1364 q 1365 } 1366 /^X\(\/\/\)$/{ 1367 s//\1/ 1368 q 1369 } 1370 /^X\(\/\).*/{ 1371 s//\1/ 1372 q 1373 } 1374 s/.*/./; q'` 1375 srcdir=$ac_confdir 1376 if test ! -r "$srcdir/$ac_unique_file"; then 1377 srcdir=.. 1378 fi 1379else 1380 ac_srcdir_defaulted=no 1381fi 1382if test ! -r "$srcdir/$ac_unique_file"; then 1383 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1384 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1385fi 1386ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1387ac_abs_confdir=`( 1388 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1389 pwd)` 1390# When building in place, set srcdir=. 1391if test "$ac_abs_confdir" = "$ac_pwd"; then 1392 srcdir=. 1393fi 1394# Remove unnecessary trailing slashes from srcdir. 1395# Double slashes in file names in object file debugging info 1396# mess up M-x gdb in Emacs. 1397case $srcdir in 1398*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1399esac 1400for ac_var in $ac_precious_vars; do 1401 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1402 eval ac_env_${ac_var}_value=\$${ac_var} 1403 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1404 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1405done 1406 1407# 1408# Report the --help message. 1409# 1410if test "$ac_init_help" = "long"; then 1411 # Omit some internal or obsolete options to make the list less imposing. 1412 # This message is too long to be a string in the A/UX 3.1 sh. 1413 cat <<_ACEOF 1414\`configure' configures libfprint 0.7.0 to adapt to many kinds of systems. 1415 1416Usage: $0 [OPTION]... [VAR=VALUE]... 1417 1418To assign environment variables (e.g., CC, CFLAGS...), specify them as 1419VAR=VALUE. See below for descriptions of some of the useful variables. 1420 1421Defaults for the options are specified in brackets. 1422 1423Configuration: 1424 -h, --help display this help and exit 1425 --help=short display options specific to this package 1426 --help=recursive display the short help of all the included packages 1427 -V, --version display version information and exit 1428 -q, --quiet, --silent do not print \`checking ...' messages 1429 --cache-file=FILE cache test results in FILE [disabled] 1430 -C, --config-cache alias for \`--cache-file=config.cache' 1431 -n, --no-create do not create output files 1432 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1433 1434Installation directories: 1435 --prefix=PREFIX install architecture-independent files in PREFIX 1436 [$ac_default_prefix] 1437 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1438 [PREFIX] 1439 1440By default, \`make install' will install all the files in 1441\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1442an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1443for instance \`--prefix=\$HOME'. 1444 1445For better control, use the options below. 1446 1447Fine tuning of the installation directories: 1448 --bindir=DIR user executables [EPREFIX/bin] 1449 --sbindir=DIR system admin executables [EPREFIX/sbin] 1450 --libexecdir=DIR program executables [EPREFIX/libexec] 1451 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1452 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1453 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1454 --libdir=DIR object code libraries [EPREFIX/lib] 1455 --includedir=DIR C header files [PREFIX/include] 1456 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1457 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1458 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1459 --infodir=DIR info documentation [DATAROOTDIR/info] 1460 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1461 --mandir=DIR man documentation [DATAROOTDIR/man] 1462 --docdir=DIR documentation root [DATAROOTDIR/doc/libfprint] 1463 --htmldir=DIR html documentation [DOCDIR] 1464 --dvidir=DIR dvi documentation [DOCDIR] 1465 --pdfdir=DIR pdf documentation [DOCDIR] 1466 --psdir=DIR ps documentation [DOCDIR] 1467_ACEOF 1468 1469 cat <<\_ACEOF 1470 1471Program names: 1472 --program-prefix=PREFIX prepend PREFIX to installed program names 1473 --program-suffix=SUFFIX append SUFFIX to installed program names 1474 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1475 1476System types: 1477 --build=BUILD configure for building on BUILD [guessed] 1478 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1479_ACEOF 1480fi 1481 1482if test -n "$ac_init_help"; then 1483 case $ac_init_help in 1484 short | recursive ) echo "Configuration of libfprint 0.7.0:";; 1485 esac 1486 cat <<\_ACEOF 1487 1488Optional Features: 1489 --disable-option-checking ignore unrecognized --enable/--with options 1490 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1491 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1492 --enable-silent-rules less verbose build output (undo: "make V=1") 1493 --disable-silent-rules verbose build output (undo: "make V=0") 1494 --enable-dependency-tracking 1495 do not reject slow dependency extractors 1496 --disable-dependency-tracking 1497 speeds up one-time build 1498 --enable-shared[=PKGS] build shared libraries [default=yes] 1499 --enable-static[=PKGS] build static libraries [default=yes] 1500 --enable-fast-install[=PKGS] 1501 optimize for fast installation [default=yes] 1502 --disable-libtool-lock avoid locking (might break parallel builds) 1503 --enable-udev-rules Update the udev rules 1504 --enable-examples-build build example applications (default n) 1505 --enable-x11-examples-build 1506 build X11 example applications (default n) 1507 --disable-log disable all logging 1508 --enable-debug-log enable debug logging (default n) 1509 1510Optional Packages: 1511 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1512 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1513 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1514 both] 1515 --with-aix-soname=aix|svr4|both 1516 shared library versioning (aka "SONAME") variant to 1517 provide on AIX, [default=aix]. 1518 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1519 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1520 compiler's sysroot if not specified). 1521 --with-drivers List of drivers to enable 1522 --with-udev-rules-dir=DIR 1523 Installation path for udev rules [auto] 1524 1525Some influential environment variables: 1526 CC C compiler command 1527 CFLAGS C compiler flags 1528 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1529 nonstandard directory <lib dir> 1530 LIBS libraries to pass to the linker, e.g. -l<library> 1531 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1532 you have headers in a nonstandard directory <include dir> 1533 LT_SYS_LIBRARY_PATH 1534 User-defined run-time library search path. 1535 CPP C preprocessor 1536 CXX C++ compiler command 1537 CXXFLAGS C++ compiler flags 1538 CXXCPP C++ preprocessor 1539 PKG_CONFIG path to pkg-config utility 1540 PKG_CONFIG_PATH 1541 directories to add to pkg-config's search path 1542 PKG_CONFIG_LIBDIR 1543 path overriding pkg-config's built-in search path 1544 LIBUSB_CFLAGS 1545 C compiler flags for LIBUSB, overriding pkg-config 1546 LIBUSB_LIBS linker flags for LIBUSB, overriding pkg-config 1547 CRYPTO_CFLAGS 1548 C compiler flags for CRYPTO, overriding pkg-config 1549 CRYPTO_LIBS linker flags for CRYPTO, overriding pkg-config 1550 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config 1551 GLIB_LIBS linker flags for GLIB, overriding pkg-config 1552 IMAGING_CFLAGS 1553 C compiler flags for IMAGING, overriding pkg-config 1554 IMAGING_LIBS 1555 linker flags for IMAGING, overriding pkg-config 1556 1557Use these variables to override the choices made by `configure' or to help 1558it to find libraries and programs with nonstandard names/locations. 1559 1560Report bugs to the package provider. 1561_ACEOF 1562ac_status=$? 1563fi 1564 1565if test "$ac_init_help" = "recursive"; then 1566 # If there are subdirs, report their specific --help. 1567 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1568 test -d "$ac_dir" || 1569 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1570 continue 1571 ac_builddir=. 1572 1573case "$ac_dir" in 1574.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1575*) 1576 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1577 # A ".." for each directory in $ac_dir_suffix. 1578 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1579 case $ac_top_builddir_sub in 1580 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1581 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1582 esac ;; 1583esac 1584ac_abs_top_builddir=$ac_pwd 1585ac_abs_builddir=$ac_pwd$ac_dir_suffix 1586# for backward compatibility: 1587ac_top_builddir=$ac_top_build_prefix 1588 1589case $srcdir in 1590 .) # We are building in place. 1591 ac_srcdir=. 1592 ac_top_srcdir=$ac_top_builddir_sub 1593 ac_abs_top_srcdir=$ac_pwd ;; 1594 [\\/]* | ?:[\\/]* ) # Absolute name. 1595 ac_srcdir=$srcdir$ac_dir_suffix; 1596 ac_top_srcdir=$srcdir 1597 ac_abs_top_srcdir=$srcdir ;; 1598 *) # Relative name. 1599 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1600 ac_top_srcdir=$ac_top_build_prefix$srcdir 1601 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1602esac 1603ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1604 1605 cd "$ac_dir" || { ac_status=$?; continue; } 1606 # Check for guested configure. 1607 if test -f "$ac_srcdir/configure.gnu"; then 1608 echo && 1609 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1610 elif test -f "$ac_srcdir/configure"; then 1611 echo && 1612 $SHELL "$ac_srcdir/configure" --help=recursive 1613 else 1614 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1615 fi || ac_status=$? 1616 cd "$ac_pwd" || { ac_status=$?; break; } 1617 done 1618fi 1619 1620test -n "$ac_init_help" && exit $ac_status 1621if $ac_init_version; then 1622 cat <<\_ACEOF 1623libfprint configure 0.7.0 1624generated by GNU Autoconf 2.69 1625 1626Copyright (C) 2012 Free Software Foundation, Inc. 1627This configure script is free software; the Free Software Foundation 1628gives unlimited permission to copy, distribute and modify it. 1629_ACEOF 1630 exit 1631fi 1632 1633## ------------------------ ## 1634## Autoconf initialization. ## 1635## ------------------------ ## 1636 1637# ac_fn_c_try_compile LINENO 1638# -------------------------- 1639# Try to compile conftest.$ac_ext, and return whether this succeeded. 1640ac_fn_c_try_compile () 1641{ 1642 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1643 rm -f conftest.$ac_objext 1644 if { { ac_try="$ac_compile" 1645case "(($ac_try" in 1646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1647 *) ac_try_echo=$ac_try;; 1648esac 1649eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1650$as_echo "$ac_try_echo"; } >&5 1651 (eval "$ac_compile") 2>conftest.err 1652 ac_status=$? 1653 if test -s conftest.err; then 1654 grep -v '^ *+' conftest.err >conftest.er1 1655 cat conftest.er1 >&5 1656 mv -f conftest.er1 conftest.err 1657 fi 1658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1659 test $ac_status = 0; } && { 1660 test -z "$ac_c_werror_flag" || 1661 test ! -s conftest.err 1662 } && test -s conftest.$ac_objext; then : 1663 ac_retval=0 1664else 1665 $as_echo "$as_me: failed program was:" >&5 1666sed 's/^/| /' conftest.$ac_ext >&5 1667 1668 ac_retval=1 1669fi 1670 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1671 as_fn_set_status $ac_retval 1672 1673} # ac_fn_c_try_compile 1674 1675# ac_fn_c_try_link LINENO 1676# ----------------------- 1677# Try to link conftest.$ac_ext, and return whether this succeeded. 1678ac_fn_c_try_link () 1679{ 1680 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1681 rm -f conftest.$ac_objext conftest$ac_exeext 1682 if { { ac_try="$ac_link" 1683case "(($ac_try" in 1684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1685 *) ac_try_echo=$ac_try;; 1686esac 1687eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1688$as_echo "$ac_try_echo"; } >&5 1689 (eval "$ac_link") 2>conftest.err 1690 ac_status=$? 1691 if test -s conftest.err; then 1692 grep -v '^ *+' conftest.err >conftest.er1 1693 cat conftest.er1 >&5 1694 mv -f conftest.er1 conftest.err 1695 fi 1696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1697 test $ac_status = 0; } && { 1698 test -z "$ac_c_werror_flag" || 1699 test ! -s conftest.err 1700 } && test -s conftest$ac_exeext && { 1701 test "$cross_compiling" = yes || 1702 test -x conftest$ac_exeext 1703 }; then : 1704 ac_retval=0 1705else 1706 $as_echo "$as_me: failed program was:" >&5 1707sed 's/^/| /' conftest.$ac_ext >&5 1708 1709 ac_retval=1 1710fi 1711 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1712 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1713 # interfere with the next link command; also delete a directory that is 1714 # left behind by Apple's compiler. We do this before executing the actions. 1715 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1716 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1717 as_fn_set_status $ac_retval 1718 1719} # ac_fn_c_try_link 1720 1721# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1722# ------------------------------------------------------- 1723# Tests whether HEADER exists and can be compiled using the include files in 1724# INCLUDES, setting the cache variable VAR accordingly. 1725ac_fn_c_check_header_compile () 1726{ 1727 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1729$as_echo_n "checking for $2... " >&6; } 1730if eval \${$3+:} false; then : 1731 $as_echo_n "(cached) " >&6 1732else 1733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1734/* end confdefs.h. */ 1735$4 1736#include <$2> 1737_ACEOF 1738if ac_fn_c_try_compile "$LINENO"; then : 1739 eval "$3=yes" 1740else 1741 eval "$3=no" 1742fi 1743rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1744fi 1745eval ac_res=\$$3 1746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1747$as_echo "$ac_res" >&6; } 1748 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1749 1750} # ac_fn_c_check_header_compile 1751 1752# ac_fn_c_try_cpp LINENO 1753# ---------------------- 1754# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1755ac_fn_c_try_cpp () 1756{ 1757 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1758 if { { ac_try="$ac_cpp conftest.$ac_ext" 1759case "(($ac_try" in 1760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1761 *) ac_try_echo=$ac_try;; 1762esac 1763eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1764$as_echo "$ac_try_echo"; } >&5 1765 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1766 ac_status=$? 1767 if test -s conftest.err; then 1768 grep -v '^ *+' conftest.err >conftest.er1 1769 cat conftest.er1 >&5 1770 mv -f conftest.er1 conftest.err 1771 fi 1772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1773 test $ac_status = 0; } > conftest.i && { 1774 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1775 test ! -s conftest.err 1776 }; then : 1777 ac_retval=0 1778else 1779 $as_echo "$as_me: failed program was:" >&5 1780sed 's/^/| /' conftest.$ac_ext >&5 1781 1782 ac_retval=1 1783fi 1784 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1785 as_fn_set_status $ac_retval 1786 1787} # ac_fn_c_try_cpp 1788 1789# ac_fn_c_try_run LINENO 1790# ---------------------- 1791# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1792# that executables *can* be run. 1793ac_fn_c_try_run () 1794{ 1795 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1796 if { { ac_try="$ac_link" 1797case "(($ac_try" in 1798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1799 *) ac_try_echo=$ac_try;; 1800esac 1801eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1802$as_echo "$ac_try_echo"; } >&5 1803 (eval "$ac_link") 2>&5 1804 ac_status=$? 1805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1806 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1807 { { case "(($ac_try" in 1808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1809 *) ac_try_echo=$ac_try;; 1810esac 1811eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1812$as_echo "$ac_try_echo"; } >&5 1813 (eval "$ac_try") 2>&5 1814 ac_status=$? 1815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1816 test $ac_status = 0; }; }; then : 1817 ac_retval=0 1818else 1819 $as_echo "$as_me: program exited with status $ac_status" >&5 1820 $as_echo "$as_me: failed program was:" >&5 1821sed 's/^/| /' conftest.$ac_ext >&5 1822 1823 ac_retval=$ac_status 1824fi 1825 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1826 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1827 as_fn_set_status $ac_retval 1828 1829} # ac_fn_c_try_run 1830 1831# ac_fn_c_check_func LINENO FUNC VAR 1832# ---------------------------------- 1833# Tests whether FUNC exists, setting the cache variable VAR accordingly 1834ac_fn_c_check_func () 1835{ 1836 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1838$as_echo_n "checking for $2... " >&6; } 1839if eval \${$3+:} false; then : 1840 $as_echo_n "(cached) " >&6 1841else 1842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1843/* end confdefs.h. */ 1844/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1845 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1846#define $2 innocuous_$2 1847 1848/* System header to define __stub macros and hopefully few prototypes, 1849 which can conflict with char $2 (); below. 1850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1851 <limits.h> exists even on freestanding compilers. */ 1852 1853#ifdef __STDC__ 1854# include <limits.h> 1855#else 1856# include <assert.h> 1857#endif 1858 1859#undef $2 1860 1861/* Override any GCC internal prototype to avoid an error. 1862 Use char because int might match the return type of a GCC 1863 builtin and then its argument prototype would still apply. */ 1864#ifdef __cplusplus 1865extern "C" 1866#endif 1867char $2 (); 1868/* The GNU C library defines this for functions which it implements 1869 to always fail with ENOSYS. Some functions are actually named 1870 something starting with __ and the normal name is an alias. */ 1871#if defined __stub_$2 || defined __stub___$2 1872choke me 1873#endif 1874 1875int 1876main () 1877{ 1878return $2 (); 1879 ; 1880 return 0; 1881} 1882_ACEOF 1883if ac_fn_c_try_link "$LINENO"; then : 1884 eval "$3=yes" 1885else 1886 eval "$3=no" 1887fi 1888rm -f core conftest.err conftest.$ac_objext \ 1889 conftest$ac_exeext conftest.$ac_ext 1890fi 1891eval ac_res=\$$3 1892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1893$as_echo "$ac_res" >&6; } 1894 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1895 1896} # ac_fn_c_check_func 1897 1898# ac_fn_cxx_try_compile LINENO 1899# ---------------------------- 1900# Try to compile conftest.$ac_ext, and return whether this succeeded. 1901ac_fn_cxx_try_compile () 1902{ 1903 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1904 rm -f conftest.$ac_objext 1905 if { { ac_try="$ac_compile" 1906case "(($ac_try" in 1907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1908 *) ac_try_echo=$ac_try;; 1909esac 1910eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1911$as_echo "$ac_try_echo"; } >&5 1912 (eval "$ac_compile") 2>conftest.err 1913 ac_status=$? 1914 if test -s conftest.err; then 1915 grep -v '^ *+' conftest.err >conftest.er1 1916 cat conftest.er1 >&5 1917 mv -f conftest.er1 conftest.err 1918 fi 1919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1920 test $ac_status = 0; } && { 1921 test -z "$ac_cxx_werror_flag" || 1922 test ! -s conftest.err 1923 } && test -s conftest.$ac_objext; then : 1924 ac_retval=0 1925else 1926 $as_echo "$as_me: failed program was:" >&5 1927sed 's/^/| /' conftest.$ac_ext >&5 1928 1929 ac_retval=1 1930fi 1931 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1932 as_fn_set_status $ac_retval 1933 1934} # ac_fn_cxx_try_compile 1935 1936# ac_fn_cxx_try_cpp LINENO 1937# ------------------------ 1938# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1939ac_fn_cxx_try_cpp () 1940{ 1941 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1942 if { { ac_try="$ac_cpp conftest.$ac_ext" 1943case "(($ac_try" in 1944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1945 *) ac_try_echo=$ac_try;; 1946esac 1947eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1948$as_echo "$ac_try_echo"; } >&5 1949 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1950 ac_status=$? 1951 if test -s conftest.err; then 1952 grep -v '^ *+' conftest.err >conftest.er1 1953 cat conftest.er1 >&5 1954 mv -f conftest.er1 conftest.err 1955 fi 1956 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1957 test $ac_status = 0; } > conftest.i && { 1958 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 1959 test ! -s conftest.err 1960 }; then : 1961 ac_retval=0 1962else 1963 $as_echo "$as_me: failed program was:" >&5 1964sed 's/^/| /' conftest.$ac_ext >&5 1965 1966 ac_retval=1 1967fi 1968 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1969 as_fn_set_status $ac_retval 1970 1971} # ac_fn_cxx_try_cpp 1972 1973# ac_fn_cxx_try_link LINENO 1974# ------------------------- 1975# Try to link conftest.$ac_ext, and return whether this succeeded. 1976ac_fn_cxx_try_link () 1977{ 1978 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1979 rm -f conftest.$ac_objext conftest$ac_exeext 1980 if { { ac_try="$ac_link" 1981case "(($ac_try" in 1982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1983 *) ac_try_echo=$ac_try;; 1984esac 1985eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1986$as_echo "$ac_try_echo"; } >&5 1987 (eval "$ac_link") 2>conftest.err 1988 ac_status=$? 1989 if test -s conftest.err; then 1990 grep -v '^ *+' conftest.err >conftest.er1 1991 cat conftest.er1 >&5 1992 mv -f conftest.er1 conftest.err 1993 fi 1994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1995 test $ac_status = 0; } && { 1996 test -z "$ac_cxx_werror_flag" || 1997 test ! -s conftest.err 1998 } && test -s conftest$ac_exeext && { 1999 test "$cross_compiling" = yes || 2000 test -x conftest$ac_exeext 2001 }; then : 2002 ac_retval=0 2003else 2004 $as_echo "$as_me: failed program was:" >&5 2005sed 's/^/| /' conftest.$ac_ext >&5 2006 2007 ac_retval=1 2008fi 2009 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2010 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2011 # interfere with the next link command; also delete a directory that is 2012 # left behind by Apple's compiler. We do this before executing the actions. 2013 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2014 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2015 as_fn_set_status $ac_retval 2016 2017} # ac_fn_cxx_try_link 2018cat >config.log <<_ACEOF 2019This file contains any messages produced by compilers while 2020running configure, to aid debugging if configure makes a mistake. 2021 2022It was created by libfprint $as_me 0.7.0, which was 2023generated by GNU Autoconf 2.69. Invocation command line was 2024 2025 $ $0 $@ 2026 2027_ACEOF 2028exec 5>>config.log 2029{ 2030cat <<_ASUNAME 2031## --------- ## 2032## Platform. ## 2033## --------- ## 2034 2035hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2036uname -m = `(uname -m) 2>/dev/null || echo unknown` 2037uname -r = `(uname -r) 2>/dev/null || echo unknown` 2038uname -s = `(uname -s) 2>/dev/null || echo unknown` 2039uname -v = `(uname -v) 2>/dev/null || echo unknown` 2040 2041/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2042/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2043 2044/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2045/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2046/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2047/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2048/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2049/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2050/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2051 2052_ASUNAME 2053 2054as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2055for as_dir in $PATH 2056do 2057 IFS=$as_save_IFS 2058 test -z "$as_dir" && as_dir=. 2059 $as_echo "PATH: $as_dir" 2060 done 2061IFS=$as_save_IFS 2062 2063} >&5 2064 2065cat >&5 <<_ACEOF 2066 2067 2068## ----------- ## 2069## Core tests. ## 2070## ----------- ## 2071 2072_ACEOF 2073 2074 2075# Keep a trace of the command line. 2076# Strip out --no-create and --no-recursion so they do not pile up. 2077# Strip out --silent because we don't want to record it for future runs. 2078# Also quote any args containing shell meta-characters. 2079# Make two passes to allow for proper duplicate-argument suppression. 2080ac_configure_args= 2081ac_configure_args0= 2082ac_configure_args1= 2083ac_must_keep_next=false 2084for ac_pass in 1 2 2085do 2086 for ac_arg 2087 do 2088 case $ac_arg in 2089 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2090 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2091 | -silent | --silent | --silen | --sile | --sil) 2092 continue ;; 2093 *\'*) 2094 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2095 esac 2096 case $ac_pass in 2097 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2098 2) 2099 as_fn_append ac_configure_args1 " '$ac_arg'" 2100 if test $ac_must_keep_next = true; then 2101 ac_must_keep_next=false # Got value, back to normal. 2102 else 2103 case $ac_arg in 2104 *=* | --config-cache | -C | -disable-* | --disable-* \ 2105 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2106 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2107 | -with-* | --with-* | -without-* | --without-* | --x) 2108 case "$ac_configure_args0 " in 2109 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2110 esac 2111 ;; 2112 -* ) ac_must_keep_next=true ;; 2113 esac 2114 fi 2115 as_fn_append ac_configure_args " '$ac_arg'" 2116 ;; 2117 esac 2118 done 2119done 2120{ ac_configure_args0=; unset ac_configure_args0;} 2121{ ac_configure_args1=; unset ac_configure_args1;} 2122 2123# When interrupted or exit'd, cleanup temporary files, and complete 2124# config.log. We remove comments because anyway the quotes in there 2125# would cause problems or look ugly. 2126# WARNING: Use '\'' to represent an apostrophe within the trap. 2127# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2128trap 'exit_status=$? 2129 # Save into config.log some information that might help in debugging. 2130 { 2131 echo 2132 2133 $as_echo "## ---------------- ## 2134## Cache variables. ## 2135## ---------------- ##" 2136 echo 2137 # The following way of writing the cache mishandles newlines in values, 2138( 2139 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2140 eval ac_val=\$$ac_var 2141 case $ac_val in #( 2142 *${as_nl}*) 2143 case $ac_var in #( 2144 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2145$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2146 esac 2147 case $ac_var in #( 2148 _ | IFS | as_nl) ;; #( 2149 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2150 *) { eval $ac_var=; unset $ac_var;} ;; 2151 esac ;; 2152 esac 2153 done 2154 (set) 2>&1 | 2155 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2156 *${as_nl}ac_space=\ *) 2157 sed -n \ 2158 "s/'\''/'\''\\\\'\'''\''/g; 2159 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2160 ;; #( 2161 *) 2162 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2163 ;; 2164 esac | 2165 sort 2166) 2167 echo 2168 2169 $as_echo "## ----------------- ## 2170## Output variables. ## 2171## ----------------- ##" 2172 echo 2173 for ac_var in $ac_subst_vars 2174 do 2175 eval ac_val=\$$ac_var 2176 case $ac_val in 2177 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2178 esac 2179 $as_echo "$ac_var='\''$ac_val'\''" 2180 done | sort 2181 echo 2182 2183 if test -n "$ac_subst_files"; then 2184 $as_echo "## ------------------- ## 2185## File substitutions. ## 2186## ------------------- ##" 2187 echo 2188 for ac_var in $ac_subst_files 2189 do 2190 eval ac_val=\$$ac_var 2191 case $ac_val in 2192 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2193 esac 2194 $as_echo "$ac_var='\''$ac_val'\''" 2195 done | sort 2196 echo 2197 fi 2198 2199 if test -s confdefs.h; then 2200 $as_echo "## ----------- ## 2201## confdefs.h. ## 2202## ----------- ##" 2203 echo 2204 cat confdefs.h 2205 echo 2206 fi 2207 test "$ac_signal" != 0 && 2208 $as_echo "$as_me: caught signal $ac_signal" 2209 $as_echo "$as_me: exit $exit_status" 2210 } >&5 2211 rm -f core *.core core.conftest.* && 2212 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2213 exit $exit_status 2214' 0 2215for ac_signal in 1 2 13 15; do 2216 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2217done 2218ac_signal=0 2219 2220# confdefs.h avoids OS command line length limits that DEFS can exceed. 2221rm -f -r conftest* confdefs.h 2222 2223$as_echo "/* confdefs.h */" > confdefs.h 2224 2225# Predefined preprocessor variables. 2226 2227cat >>confdefs.h <<_ACEOF 2228#define PACKAGE_NAME "$PACKAGE_NAME" 2229_ACEOF 2230 2231cat >>confdefs.h <<_ACEOF 2232#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2233_ACEOF 2234 2235cat >>confdefs.h <<_ACEOF 2236#define PACKAGE_VERSION "$PACKAGE_VERSION" 2237_ACEOF 2238 2239cat >>confdefs.h <<_ACEOF 2240#define PACKAGE_STRING "$PACKAGE_STRING" 2241_ACEOF 2242 2243cat >>confdefs.h <<_ACEOF 2244#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2245_ACEOF 2246 2247cat >>confdefs.h <<_ACEOF 2248#define PACKAGE_URL "$PACKAGE_URL" 2249_ACEOF 2250 2251 2252# Let the site file select an alternate cache file if it wants to. 2253# Prefer an explicitly selected file to automatically selected ones. 2254ac_site_file1=NONE 2255ac_site_file2=NONE 2256if test -n "$CONFIG_SITE"; then 2257 # We do not want a PATH search for config.site. 2258 case $CONFIG_SITE in #(( 2259 -*) ac_site_file1=./$CONFIG_SITE;; 2260 */*) ac_site_file1=$CONFIG_SITE;; 2261 *) ac_site_file1=./$CONFIG_SITE;; 2262 esac 2263elif test "x$prefix" != xNONE; then 2264 ac_site_file1=$prefix/share/config.site 2265 ac_site_file2=$prefix/etc/config.site 2266else 2267 ac_site_file1=$ac_default_prefix/share/config.site 2268 ac_site_file2=$ac_default_prefix/etc/config.site 2269fi 2270for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2271do 2272 test "x$ac_site_file" = xNONE && continue 2273 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2274 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2275$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2276 sed 's/^/| /' "$ac_site_file" >&5 2277 . "$ac_site_file" \ 2278 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2279$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2280as_fn_error $? "failed to load site script $ac_site_file 2281See \`config.log' for more details" "$LINENO" 5; } 2282 fi 2283done 2284 2285if test -r "$cache_file"; then 2286 # Some versions of bash will fail to source /dev/null (special files 2287 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2288 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2289 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2290$as_echo "$as_me: loading cache $cache_file" >&6;} 2291 case $cache_file in 2292 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2293 *) . "./$cache_file";; 2294 esac 2295 fi 2296else 2297 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2298$as_echo "$as_me: creating cache $cache_file" >&6;} 2299 >$cache_file 2300fi 2301 2302# Check that the precious variables saved in the cache have kept the same 2303# value. 2304ac_cache_corrupted=false 2305for ac_var in $ac_precious_vars; do 2306 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2307 eval ac_new_set=\$ac_env_${ac_var}_set 2308 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2309 eval ac_new_val=\$ac_env_${ac_var}_value 2310 case $ac_old_set,$ac_new_set in 2311 set,) 2312 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2313$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2314 ac_cache_corrupted=: ;; 2315 ,set) 2316 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2317$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2318 ac_cache_corrupted=: ;; 2319 ,);; 2320 *) 2321 if test "x$ac_old_val" != "x$ac_new_val"; then 2322 # differences in whitespace do not lead to failure. 2323 ac_old_val_w=`echo x $ac_old_val` 2324 ac_new_val_w=`echo x $ac_new_val` 2325 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2326 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2327$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2328 ac_cache_corrupted=: 2329 else 2330 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2331$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2332 eval $ac_var=\$ac_old_val 2333 fi 2334 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2335$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2336 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2337$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2338 fi;; 2339 esac 2340 # Pass precious variables to config.status. 2341 if test "$ac_new_set" = set; then 2342 case $ac_new_val in 2343 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2344 *) ac_arg=$ac_var=$ac_new_val ;; 2345 esac 2346 case " $ac_configure_args " in 2347 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2348 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2349 esac 2350 fi 2351done 2352if $ac_cache_corrupted; then 2353 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2354$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2355 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2356$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2357 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2358fi 2359## -------------------- ## 2360## Main body of script. ## 2361## -------------------- ## 2362 2363ac_ext=c 2364ac_cpp='$CPP $CPPFLAGS' 2365ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2366ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2367ac_compiler_gnu=$ac_cv_c_compiler_gnu 2368 2369 2370am__api_version='1.15' 2371 2372ac_aux_dir= 2373for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2374 if test -f "$ac_dir/install-sh"; then 2375 ac_aux_dir=$ac_dir 2376 ac_install_sh="$ac_aux_dir/install-sh -c" 2377 break 2378 elif test -f "$ac_dir/install.sh"; then 2379 ac_aux_dir=$ac_dir 2380 ac_install_sh="$ac_aux_dir/install.sh -c" 2381 break 2382 elif test -f "$ac_dir/shtool"; then 2383 ac_aux_dir=$ac_dir 2384 ac_install_sh="$ac_aux_dir/shtool install -c" 2385 break 2386 fi 2387done 2388if test -z "$ac_aux_dir"; then 2389 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2390fi 2391 2392# These three variables are undocumented and unsupported, 2393# and are intended to be withdrawn in a future Autoconf release. 2394# They can cause serious problems if a builder's source tree is in a directory 2395# whose full name contains unusual characters. 2396ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2397ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2398ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2399 2400 2401# Find a good install program. We prefer a C program (faster), 2402# so one script is as good as another. But avoid the broken or 2403# incompatible versions: 2404# SysV /etc/install, /usr/sbin/install 2405# SunOS /usr/etc/install 2406# IRIX /sbin/install 2407# AIX /bin/install 2408# AmigaOS /C/install, which installs bootblocks on floppy discs 2409# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2410# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2411# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2412# OS/2's system install, which has a completely different semantic 2413# ./install, which can be erroneously created by make from ./install.sh. 2414# Reject install programs that cannot install multiple files. 2415{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2416$as_echo_n "checking for a BSD-compatible install... " >&6; } 2417if test -z "$INSTALL"; then 2418if ${ac_cv_path_install+:} false; then : 2419 $as_echo_n "(cached) " >&6 2420else 2421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2422for as_dir in $PATH 2423do 2424 IFS=$as_save_IFS 2425 test -z "$as_dir" && as_dir=. 2426 # Account for people who put trailing slashes in PATH elements. 2427case $as_dir/ in #(( 2428 ./ | .// | /[cC]/* | \ 2429 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2430 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2431 /usr/ucb/* ) ;; 2432 *) 2433 # OSF1 and SCO ODT 3.0 have their own names for install. 2434 # Don't use installbsd from OSF since it installs stuff as root 2435 # by default. 2436 for ac_prog in ginstall scoinst install; do 2437 for ac_exec_ext in '' $ac_executable_extensions; do 2438 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2439 if test $ac_prog = install && 2440 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2441 # AIX install. It has an incompatible calling convention. 2442 : 2443 elif test $ac_prog = install && 2444 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2445 # program-specific install script used by HP pwplus--don't use. 2446 : 2447 else 2448 rm -rf conftest.one conftest.two conftest.dir 2449 echo one > conftest.one 2450 echo two > conftest.two 2451 mkdir conftest.dir 2452 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2453 test -s conftest.one && test -s conftest.two && 2454 test -s conftest.dir/conftest.one && 2455 test -s conftest.dir/conftest.two 2456 then 2457 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2458 break 3 2459 fi 2460 fi 2461 fi 2462 done 2463 done 2464 ;; 2465esac 2466 2467 done 2468IFS=$as_save_IFS 2469 2470rm -rf conftest.one conftest.two conftest.dir 2471 2472fi 2473 if test "${ac_cv_path_install+set}" = set; then 2474 INSTALL=$ac_cv_path_install 2475 else 2476 # As a last resort, use the slow shell script. Don't cache a 2477 # value for INSTALL within a source directory, because that will 2478 # break other packages using the cache if that directory is 2479 # removed, or if the value is a relative name. 2480 INSTALL=$ac_install_sh 2481 fi 2482fi 2483{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2484$as_echo "$INSTALL" >&6; } 2485 2486# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2487# It thinks the first close brace ends the variable substitution. 2488test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2489 2490test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2491 2492test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2493 2494{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2495$as_echo_n "checking whether build environment is sane... " >&6; } 2496# Reject unsafe characters in $srcdir or the absolute working directory 2497# name. Accept space and tab only in the latter. 2498am_lf=' 2499' 2500case `pwd` in 2501 *[\\\"\#\$\&\'\`$am_lf]*) 2502 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2503esac 2504case $srcdir in 2505 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2506 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2507esac 2508 2509# Do 'set' in a subshell so we don't clobber the current shell's 2510# arguments. Must try -L first in case configure is actually a 2511# symlink; some systems play weird games with the mod time of symlinks 2512# (eg FreeBSD returns the mod time of the symlink's containing 2513# directory). 2514if ( 2515 am_has_slept=no 2516 for am_try in 1 2; do 2517 echo "timestamp, slept: $am_has_slept" > conftest.file 2518 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2519 if test "$*" = "X"; then 2520 # -L didn't work. 2521 set X `ls -t "$srcdir/configure" conftest.file` 2522 fi 2523 if test "$*" != "X $srcdir/configure conftest.file" \ 2524 && test "$*" != "X conftest.file $srcdir/configure"; then 2525 2526 # If neither matched, then we have a broken ls. This can happen 2527 # if, for instance, CONFIG_SHELL is bash and it inherits a 2528 # broken ls alias from the environment. This has actually 2529 # happened. Such a system could not be considered "sane". 2530 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2531 alias in your environment" "$LINENO" 5 2532 fi 2533 if test "$2" = conftest.file || test $am_try -eq 2; then 2534 break 2535 fi 2536 # Just in case. 2537 sleep 1 2538 am_has_slept=yes 2539 done 2540 test "$2" = conftest.file 2541 ) 2542then 2543 # Ok. 2544 : 2545else 2546 as_fn_error $? "newly created file is older than distributed files! 2547Check your system clock" "$LINENO" 5 2548fi 2549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2550$as_echo "yes" >&6; } 2551# If we didn't sleep, we still need to ensure time stamps of config.status and 2552# generated files are strictly newer. 2553am_sleep_pid= 2554if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2555 ( sleep 1 ) & 2556 am_sleep_pid=$! 2557fi 2558 2559rm -f conftest.file 2560 2561test "$program_prefix" != NONE && 2562 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2563# Use a double $ so make ignores it. 2564test "$program_suffix" != NONE && 2565 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2566# Double any \ or $. 2567# By default was `s,x,x', remove it if useless. 2568ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2569program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2570 2571# Expand $ac_aux_dir to an absolute path. 2572am_aux_dir=`cd "$ac_aux_dir" && pwd` 2573 2574if test x"${MISSING+set}" != xset; then 2575 case $am_aux_dir in 2576 *\ * | *\ *) 2577 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2578 *) 2579 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2580 esac 2581fi 2582# Use eval to expand $SHELL 2583if eval "$MISSING --is-lightweight"; then 2584 am_missing_run="$MISSING " 2585else 2586 am_missing_run= 2587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2588$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2589fi 2590 2591if test x"${install_sh+set}" != xset; then 2592 case $am_aux_dir in 2593 *\ * | *\ *) 2594 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2595 *) 2596 install_sh="\${SHELL} $am_aux_dir/install-sh" 2597 esac 2598fi 2599 2600# Installed binaries are usually stripped using 'strip' when the user 2601# run "make install-strip". However 'strip' might not be the right 2602# tool to use in cross-compilation environments, therefore Automake 2603# will honor the 'STRIP' environment variable to overrule this program. 2604if test "$cross_compiling" != no; then 2605 if test -n "$ac_tool_prefix"; then 2606 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2607set dummy ${ac_tool_prefix}strip; ac_word=$2 2608{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2609$as_echo_n "checking for $ac_word... " >&6; } 2610if ${ac_cv_prog_STRIP+:} false; then : 2611 $as_echo_n "(cached) " >&6 2612else 2613 if test -n "$STRIP"; then 2614 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2615else 2616as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2617for as_dir in $PATH 2618do 2619 IFS=$as_save_IFS 2620 test -z "$as_dir" && as_dir=. 2621 for ac_exec_ext in '' $ac_executable_extensions; do 2622 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2623 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2625 break 2 2626 fi 2627done 2628 done 2629IFS=$as_save_IFS 2630 2631fi 2632fi 2633STRIP=$ac_cv_prog_STRIP 2634if test -n "$STRIP"; then 2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2636$as_echo "$STRIP" >&6; } 2637else 2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2639$as_echo "no" >&6; } 2640fi 2641 2642 2643fi 2644if test -z "$ac_cv_prog_STRIP"; then 2645 ac_ct_STRIP=$STRIP 2646 # Extract the first word of "strip", so it can be a program name with args. 2647set dummy strip; ac_word=$2 2648{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2649$as_echo_n "checking for $ac_word... " >&6; } 2650if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2651 $as_echo_n "(cached) " >&6 2652else 2653 if test -n "$ac_ct_STRIP"; then 2654 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2655else 2656as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2657for as_dir in $PATH 2658do 2659 IFS=$as_save_IFS 2660 test -z "$as_dir" && as_dir=. 2661 for ac_exec_ext in '' $ac_executable_extensions; do 2662 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2663 ac_cv_prog_ac_ct_STRIP="strip" 2664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2665 break 2 2666 fi 2667done 2668 done 2669IFS=$as_save_IFS 2670 2671fi 2672fi 2673ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2674if test -n "$ac_ct_STRIP"; then 2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2676$as_echo "$ac_ct_STRIP" >&6; } 2677else 2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2679$as_echo "no" >&6; } 2680fi 2681 2682 if test "x$ac_ct_STRIP" = x; then 2683 STRIP=":" 2684 else 2685 case $cross_compiling:$ac_tool_warned in 2686yes:) 2687{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2688$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2689ac_tool_warned=yes ;; 2690esac 2691 STRIP=$ac_ct_STRIP 2692 fi 2693else 2694 STRIP="$ac_cv_prog_STRIP" 2695fi 2696 2697fi 2698INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2699 2700{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2701$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2702if test -z "$MKDIR_P"; then 2703 if ${ac_cv_path_mkdir+:} false; then : 2704 $as_echo_n "(cached) " >&6 2705else 2706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2707for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2708do 2709 IFS=$as_save_IFS 2710 test -z "$as_dir" && as_dir=. 2711 for ac_prog in mkdir gmkdir; do 2712 for ac_exec_ext in '' $ac_executable_extensions; do 2713 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2714 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2715 'mkdir (GNU coreutils) '* | \ 2716 'mkdir (coreutils) '* | \ 2717 'mkdir (fileutils) '4.1*) 2718 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2719 break 3;; 2720 esac 2721 done 2722 done 2723 done 2724IFS=$as_save_IFS 2725 2726fi 2727 2728 test -d ./--version && rmdir ./--version 2729 if test "${ac_cv_path_mkdir+set}" = set; then 2730 MKDIR_P="$ac_cv_path_mkdir -p" 2731 else 2732 # As a last resort, use the slow shell script. Don't cache a 2733 # value for MKDIR_P within a source directory, because that will 2734 # break other packages using the cache if that directory is 2735 # removed, or if the value is a relative name. 2736 MKDIR_P="$ac_install_sh -d" 2737 fi 2738fi 2739{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2740$as_echo "$MKDIR_P" >&6; } 2741 2742for ac_prog in gawk mawk nawk awk 2743do 2744 # Extract the first word of "$ac_prog", so it can be a program name with args. 2745set dummy $ac_prog; ac_word=$2 2746{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2747$as_echo_n "checking for $ac_word... " >&6; } 2748if ${ac_cv_prog_AWK+:} false; then : 2749 $as_echo_n "(cached) " >&6 2750else 2751 if test -n "$AWK"; then 2752 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2753else 2754as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2755for as_dir in $PATH 2756do 2757 IFS=$as_save_IFS 2758 test -z "$as_dir" && as_dir=. 2759 for ac_exec_ext in '' $ac_executable_extensions; do 2760 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2761 ac_cv_prog_AWK="$ac_prog" 2762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2763 break 2 2764 fi 2765done 2766 done 2767IFS=$as_save_IFS 2768 2769fi 2770fi 2771AWK=$ac_cv_prog_AWK 2772if test -n "$AWK"; then 2773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2774$as_echo "$AWK" >&6; } 2775else 2776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2777$as_echo "no" >&6; } 2778fi 2779 2780 2781 test -n "$AWK" && break 2782done 2783 2784{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2785$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2786set x ${MAKE-make} 2787ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2788if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2789 $as_echo_n "(cached) " >&6 2790else 2791 cat >conftest.make <<\_ACEOF 2792SHELL = /bin/sh 2793all: 2794 @echo '@@@%%%=$(MAKE)=@@@%%%' 2795_ACEOF 2796# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2797case `${MAKE-make} -f conftest.make 2>/dev/null` in 2798 *@@@%%%=?*=@@@%%%*) 2799 eval ac_cv_prog_make_${ac_make}_set=yes;; 2800 *) 2801 eval ac_cv_prog_make_${ac_make}_set=no;; 2802esac 2803rm -f conftest.make 2804fi 2805if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2807$as_echo "yes" >&6; } 2808 SET_MAKE= 2809else 2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2811$as_echo "no" >&6; } 2812 SET_MAKE="MAKE=${MAKE-make}" 2813fi 2814 2815rm -rf .tst 2>/dev/null 2816mkdir .tst 2>/dev/null 2817if test -d .tst; then 2818 am__leading_dot=. 2819else 2820 am__leading_dot=_ 2821fi 2822rmdir .tst 2>/dev/null 2823 2824# Check whether --enable-silent-rules was given. 2825if test "${enable_silent_rules+set}" = set; then : 2826 enableval=$enable_silent_rules; 2827fi 2828 2829case $enable_silent_rules in # ((( 2830 yes) AM_DEFAULT_VERBOSITY=0;; 2831 no) AM_DEFAULT_VERBOSITY=1;; 2832 *) AM_DEFAULT_VERBOSITY=1;; 2833esac 2834am_make=${MAKE-make} 2835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2836$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2837if ${am_cv_make_support_nested_variables+:} false; then : 2838 $as_echo_n "(cached) " >&6 2839else 2840 if $as_echo 'TRUE=$(BAR$(V)) 2841BAR0=false 2842BAR1=true 2843V=1 2844am__doit: 2845 @$(TRUE) 2846.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2847 am_cv_make_support_nested_variables=yes 2848else 2849 am_cv_make_support_nested_variables=no 2850fi 2851fi 2852{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2853$as_echo "$am_cv_make_support_nested_variables" >&6; } 2854if test $am_cv_make_support_nested_variables = yes; then 2855 AM_V='$(V)' 2856 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2857else 2858 AM_V=$AM_DEFAULT_VERBOSITY 2859 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2860fi 2861AM_BACKSLASH='\' 2862 2863if test "`cd $srcdir && pwd`" != "`pwd`"; then 2864 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2865 # is not polluted with repeated "-I." 2866 am__isrc=' -I$(srcdir)' 2867 # test to see if srcdir already configured 2868 if test -f $srcdir/config.status; then 2869 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2870 fi 2871fi 2872 2873# test whether we have cygpath 2874if test -z "$CYGPATH_W"; then 2875 if (cygpath --version) >/dev/null 2>/dev/null; then 2876 CYGPATH_W='cygpath -w' 2877 else 2878 CYGPATH_W=echo 2879 fi 2880fi 2881 2882 2883# Define the identity of the package. 2884 PACKAGE='libfprint' 2885 VERSION='0.7.0' 2886 2887 2888cat >>confdefs.h <<_ACEOF 2889#define PACKAGE "$PACKAGE" 2890_ACEOF 2891 2892 2893cat >>confdefs.h <<_ACEOF 2894#define VERSION "$VERSION" 2895_ACEOF 2896 2897# Some tools Automake needs. 2898 2899ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2900 2901 2902AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2903 2904 2905AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2906 2907 2908AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2909 2910 2911MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2912 2913# For better backward compatibility. To be removed once Automake 1.9.x 2914# dies out for good. For more background, see: 2915# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2916# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2917mkdir_p='$(MKDIR_P)' 2918 2919# We need awk for the "check" target (and possibly the TAP driver). The 2920# system "awk" is bad on some platforms. 2921# Always define AMTAR for backward compatibility. Yes, it's still used 2922# in the wild :-( We should find a proper way to deprecate it ... 2923AMTAR='$${TAR-tar}' 2924 2925 2926# We'll loop over all known methods to create a tar archive until one works. 2927_am_tools='gnutar pax cpio none' 2928 2929am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2930 2931 2932 2933 2934 2935 2936# POSIX will say in a future version that running "rm -f" with no argument 2937# is OK; and we want to be able to make that assumption in our Makefile 2938# recipes. So use an aggressive probe to check that the usage we want is 2939# actually supported "in the wild" to an acceptable degree. 2940# See automake bug#10828. 2941# To make any issue more visible, cause the running configure to be aborted 2942# by default if the 'rm' program in use doesn't match our expectations; the 2943# user can still override this though. 2944if rm -f && rm -fr && rm -rf; then : OK; else 2945 cat >&2 <<'END' 2946Oops! 2947 2948Your 'rm' program seems unable to run without file operands specified 2949on the command line, even when the '-f' option is present. This is contrary 2950to the behaviour of most rm programs out there, and not conforming with 2951the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 2952 2953Please tell bug-automake@gnu.org about your system, including the value 2954of your $PATH and any error possibly output before this message. This 2955can help us improve future automake versions. 2956 2957END 2958 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 2959 echo 'Configuration will proceed anyway, since you have set the' >&2 2960 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 2961 echo >&2 2962 else 2963 cat >&2 <<'END' 2964Aborting the configuration process, to ensure you take notice of the issue. 2965 2966You can download and install GNU coreutils to get an 'rm' implementation 2967that behaves properly: <http://www.gnu.org/software/coreutils/>. 2968 2969If you want to complete the configuration process using your problematic 2970'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 2971to "yes", and re-run configure. 2972 2973END 2974 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 2975 fi 2976fi 2977 2978 2979 2980ac_config_headers="$ac_config_headers config.h" 2981 2982 2983# Enable silent build when available (Automake 1.11) 2984# Check whether --enable-silent-rules was given. 2985if test "${enable_silent_rules+set}" = set; then : 2986 enableval=$enable_silent_rules; 2987fi 2988 2989case $enable_silent_rules in # ((( 2990 yes) AM_DEFAULT_VERBOSITY=0;; 2991 no) AM_DEFAULT_VERBOSITY=1;; 2992 *) AM_DEFAULT_VERBOSITY=0;; 2993esac 2994am_make=${MAKE-make} 2995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2996$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2997if ${am_cv_make_support_nested_variables+:} false; then : 2998 $as_echo_n "(cached) " >&6 2999else 3000 if $as_echo 'TRUE=$(BAR$(V)) 3001BAR0=false 3002BAR1=true 3003V=1 3004am__doit: 3005 @$(TRUE) 3006.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3007 am_cv_make_support_nested_variables=yes 3008else 3009 am_cv_make_support_nested_variables=no 3010fi 3011fi 3012{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3013$as_echo "$am_cv_make_support_nested_variables" >&6; } 3014if test $am_cv_make_support_nested_variables = yes; then 3015 AM_V='$(V)' 3016 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3017else 3018 AM_V=$AM_DEFAULT_VERBOSITY 3019 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3020fi 3021AM_BACKSLASH='\' 3022 3023 3024 3025ac_ext=c 3026ac_cpp='$CPP $CPPFLAGS' 3027ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3028ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3029ac_compiler_gnu=$ac_cv_c_compiler_gnu 3030if test -n "$ac_tool_prefix"; then 3031 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3032set dummy ${ac_tool_prefix}gcc; ac_word=$2 3033{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3034$as_echo_n "checking for $ac_word... " >&6; } 3035if ${ac_cv_prog_CC+:} false; then : 3036 $as_echo_n "(cached) " >&6 3037else 3038 if test -n "$CC"; then 3039 ac_cv_prog_CC="$CC" # Let the user override the test. 3040else 3041as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3042for as_dir in $PATH 3043do 3044 IFS=$as_save_IFS 3045 test -z "$as_dir" && as_dir=. 3046 for ac_exec_ext in '' $ac_executable_extensions; do 3047 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3048 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3050 break 2 3051 fi 3052done 3053 done 3054IFS=$as_save_IFS 3055 3056fi 3057fi 3058CC=$ac_cv_prog_CC 3059if test -n "$CC"; then 3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3061$as_echo "$CC" >&6; } 3062else 3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3064$as_echo "no" >&6; } 3065fi 3066 3067 3068fi 3069if test -z "$ac_cv_prog_CC"; then 3070 ac_ct_CC=$CC 3071 # Extract the first word of "gcc", so it can be a program name with args. 3072set dummy gcc; ac_word=$2 3073{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3074$as_echo_n "checking for $ac_word... " >&6; } 3075if ${ac_cv_prog_ac_ct_CC+:} false; then : 3076 $as_echo_n "(cached) " >&6 3077else 3078 if test -n "$ac_ct_CC"; then 3079 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3080else 3081as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3082for as_dir in $PATH 3083do 3084 IFS=$as_save_IFS 3085 test -z "$as_dir" && as_dir=. 3086 for ac_exec_ext in '' $ac_executable_extensions; do 3087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3088 ac_cv_prog_ac_ct_CC="gcc" 3089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3090 break 2 3091 fi 3092done 3093 done 3094IFS=$as_save_IFS 3095 3096fi 3097fi 3098ac_ct_CC=$ac_cv_prog_ac_ct_CC 3099if test -n "$ac_ct_CC"; then 3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3101$as_echo "$ac_ct_CC" >&6; } 3102else 3103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3104$as_echo "no" >&6; } 3105fi 3106 3107 if test "x$ac_ct_CC" = x; then 3108 CC="" 3109 else 3110 case $cross_compiling:$ac_tool_warned in 3111yes:) 3112{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3113$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3114ac_tool_warned=yes ;; 3115esac 3116 CC=$ac_ct_CC 3117 fi 3118else 3119 CC="$ac_cv_prog_CC" 3120fi 3121 3122if test -z "$CC"; then 3123 if test -n "$ac_tool_prefix"; then 3124 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3125set dummy ${ac_tool_prefix}cc; ac_word=$2 3126{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3127$as_echo_n "checking for $ac_word... " >&6; } 3128if ${ac_cv_prog_CC+:} false; then : 3129 $as_echo_n "(cached) " >&6 3130else 3131 if test -n "$CC"; then 3132 ac_cv_prog_CC="$CC" # Let the user override the test. 3133else 3134as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3135for as_dir in $PATH 3136do 3137 IFS=$as_save_IFS 3138 test -z "$as_dir" && as_dir=. 3139 for ac_exec_ext in '' $ac_executable_extensions; do 3140 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3141 ac_cv_prog_CC="${ac_tool_prefix}cc" 3142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3143 break 2 3144 fi 3145done 3146 done 3147IFS=$as_save_IFS 3148 3149fi 3150fi 3151CC=$ac_cv_prog_CC 3152if test -n "$CC"; then 3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3154$as_echo "$CC" >&6; } 3155else 3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3157$as_echo "no" >&6; } 3158fi 3159 3160 3161 fi 3162fi 3163if test -z "$CC"; then 3164 # Extract the first word of "cc", so it can be a program name with args. 3165set dummy cc; ac_word=$2 3166{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3167$as_echo_n "checking for $ac_word... " >&6; } 3168if ${ac_cv_prog_CC+:} false; then : 3169 $as_echo_n "(cached) " >&6 3170else 3171 if test -n "$CC"; then 3172 ac_cv_prog_CC="$CC" # Let the user override the test. 3173else 3174 ac_prog_rejected=no 3175as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3176for as_dir in $PATH 3177do 3178 IFS=$as_save_IFS 3179 test -z "$as_dir" && as_dir=. 3180 for ac_exec_ext in '' $ac_executable_extensions; do 3181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3182 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3183 ac_prog_rejected=yes 3184 continue 3185 fi 3186 ac_cv_prog_CC="cc" 3187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3188 break 2 3189 fi 3190done 3191 done 3192IFS=$as_save_IFS 3193 3194if test $ac_prog_rejected = yes; then 3195 # We found a bogon in the path, so make sure we never use it. 3196 set dummy $ac_cv_prog_CC 3197 shift 3198 if test $# != 0; then 3199 # We chose a different compiler from the bogus one. 3200 # However, it has the same basename, so the bogon will be chosen 3201 # first if we set CC to just the basename; use the full file name. 3202 shift 3203 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3204 fi 3205fi 3206fi 3207fi 3208CC=$ac_cv_prog_CC 3209if test -n "$CC"; then 3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3211$as_echo "$CC" >&6; } 3212else 3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3214$as_echo "no" >&6; } 3215fi 3216 3217 3218fi 3219if test -z "$CC"; then 3220 if test -n "$ac_tool_prefix"; then 3221 for ac_prog in cl.exe 3222 do 3223 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3224set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3225{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3226$as_echo_n "checking for $ac_word... " >&6; } 3227if ${ac_cv_prog_CC+:} false; then : 3228 $as_echo_n "(cached) " >&6 3229else 3230 if test -n "$CC"; then 3231 ac_cv_prog_CC="$CC" # Let the user override the test. 3232else 3233as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3234for as_dir in $PATH 3235do 3236 IFS=$as_save_IFS 3237 test -z "$as_dir" && as_dir=. 3238 for ac_exec_ext in '' $ac_executable_extensions; do 3239 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3240 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3242 break 2 3243 fi 3244done 3245 done 3246IFS=$as_save_IFS 3247 3248fi 3249fi 3250CC=$ac_cv_prog_CC 3251if test -n "$CC"; then 3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3253$as_echo "$CC" >&6; } 3254else 3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3256$as_echo "no" >&6; } 3257fi 3258 3259 3260 test -n "$CC" && break 3261 done 3262fi 3263if test -z "$CC"; then 3264 ac_ct_CC=$CC 3265 for ac_prog in cl.exe 3266do 3267 # Extract the first word of "$ac_prog", so it can be a program name with args. 3268set dummy $ac_prog; ac_word=$2 3269{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3270$as_echo_n "checking for $ac_word... " >&6; } 3271if ${ac_cv_prog_ac_ct_CC+:} false; then : 3272 $as_echo_n "(cached) " >&6 3273else 3274 if test -n "$ac_ct_CC"; then 3275 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3276else 3277as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3278for as_dir in $PATH 3279do 3280 IFS=$as_save_IFS 3281 test -z "$as_dir" && as_dir=. 3282 for ac_exec_ext in '' $ac_executable_extensions; do 3283 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3284 ac_cv_prog_ac_ct_CC="$ac_prog" 3285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3286 break 2 3287 fi 3288done 3289 done 3290IFS=$as_save_IFS 3291 3292fi 3293fi 3294ac_ct_CC=$ac_cv_prog_ac_ct_CC 3295if test -n "$ac_ct_CC"; then 3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3297$as_echo "$ac_ct_CC" >&6; } 3298else 3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3300$as_echo "no" >&6; } 3301fi 3302 3303 3304 test -n "$ac_ct_CC" && break 3305done 3306 3307 if test "x$ac_ct_CC" = x; then 3308 CC="" 3309 else 3310 case $cross_compiling:$ac_tool_warned in 3311yes:) 3312{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3313$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3314ac_tool_warned=yes ;; 3315esac 3316 CC=$ac_ct_CC 3317 fi 3318fi 3319 3320fi 3321 3322 3323test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3324$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3325as_fn_error $? "no acceptable C compiler found in \$PATH 3326See \`config.log' for more details" "$LINENO" 5; } 3327 3328# Provide some information about the compiler. 3329$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3330set X $ac_compile 3331ac_compiler=$2 3332for ac_option in --version -v -V -qversion; do 3333 { { ac_try="$ac_compiler $ac_option >&5" 3334case "(($ac_try" in 3335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3336 *) ac_try_echo=$ac_try;; 3337esac 3338eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3339$as_echo "$ac_try_echo"; } >&5 3340 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3341 ac_status=$? 3342 if test -s conftest.err; then 3343 sed '10a\ 3344... rest of stderr output deleted ... 3345 10q' conftest.err >conftest.er1 3346 cat conftest.er1 >&5 3347 fi 3348 rm -f conftest.er1 conftest.err 3349 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3350 test $ac_status = 0; } 3351done 3352 3353cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3354/* end confdefs.h. */ 3355 3356int 3357main () 3358{ 3359 3360 ; 3361 return 0; 3362} 3363_ACEOF 3364ac_clean_files_save=$ac_clean_files 3365ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3366# Try to create an executable without -o first, disregard a.out. 3367# It will help us diagnose broken compilers, and finding out an intuition 3368# of exeext. 3369{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3370$as_echo_n "checking whether the C compiler works... " >&6; } 3371ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3372 3373# The possible output files: 3374ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3375 3376ac_rmfiles= 3377for ac_file in $ac_files 3378do 3379 case $ac_file in 3380 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3381 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3382 esac 3383done 3384rm -f $ac_rmfiles 3385 3386if { { ac_try="$ac_link_default" 3387case "(($ac_try" in 3388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3389 *) ac_try_echo=$ac_try;; 3390esac 3391eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3392$as_echo "$ac_try_echo"; } >&5 3393 (eval "$ac_link_default") 2>&5 3394 ac_status=$? 3395 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3396 test $ac_status = 0; }; then : 3397 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3398# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3399# in a Makefile. We should not override ac_cv_exeext if it was cached, 3400# so that the user can short-circuit this test for compilers unknown to 3401# Autoconf. 3402for ac_file in $ac_files '' 3403do 3404 test -f "$ac_file" || continue 3405 case $ac_file in 3406 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3407 ;; 3408 [ab].out ) 3409 # We found the default executable, but exeext='' is most 3410 # certainly right. 3411 break;; 3412 *.* ) 3413 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3414 then :; else 3415 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3416 fi 3417 # We set ac_cv_exeext here because the later test for it is not 3418 # safe: cross compilers may not add the suffix if given an `-o' 3419 # argument, so we may need to know it at that point already. 3420 # Even if this section looks crufty: it has the advantage of 3421 # actually working. 3422 break;; 3423 * ) 3424 break;; 3425 esac 3426done 3427test "$ac_cv_exeext" = no && ac_cv_exeext= 3428 3429else 3430 ac_file='' 3431fi 3432if test -z "$ac_file"; then : 3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3434$as_echo "no" >&6; } 3435$as_echo "$as_me: failed program was:" >&5 3436sed 's/^/| /' conftest.$ac_ext >&5 3437 3438{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3439$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3440as_fn_error 77 "C compiler cannot create executables 3441See \`config.log' for more details" "$LINENO" 5; } 3442else 3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3444$as_echo "yes" >&6; } 3445fi 3446{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3447$as_echo_n "checking for C compiler default output file name... " >&6; } 3448{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3449$as_echo "$ac_file" >&6; } 3450ac_exeext=$ac_cv_exeext 3451 3452rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3453ac_clean_files=$ac_clean_files_save 3454{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3455$as_echo_n "checking for suffix of executables... " >&6; } 3456if { { ac_try="$ac_link" 3457case "(($ac_try" in 3458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3459 *) ac_try_echo=$ac_try;; 3460esac 3461eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3462$as_echo "$ac_try_echo"; } >&5 3463 (eval "$ac_link") 2>&5 3464 ac_status=$? 3465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3466 test $ac_status = 0; }; then : 3467 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3468# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3469# work properly (i.e., refer to `conftest.exe'), while it won't with 3470# `rm'. 3471for ac_file in conftest.exe conftest conftest.*; do 3472 test -f "$ac_file" || continue 3473 case $ac_file in 3474 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3475 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3476 break;; 3477 * ) break;; 3478 esac 3479done 3480else 3481 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3482$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3483as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3484See \`config.log' for more details" "$LINENO" 5; } 3485fi 3486rm -f conftest conftest$ac_cv_exeext 3487{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3488$as_echo "$ac_cv_exeext" >&6; } 3489 3490rm -f conftest.$ac_ext 3491EXEEXT=$ac_cv_exeext 3492ac_exeext=$EXEEXT 3493cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3494/* end confdefs.h. */ 3495#include <stdio.h> 3496int 3497main () 3498{ 3499FILE *f = fopen ("conftest.out", "w"); 3500 return ferror (f) || fclose (f) != 0; 3501 3502 ; 3503 return 0; 3504} 3505_ACEOF 3506ac_clean_files="$ac_clean_files conftest.out" 3507# Check that the compiler produces executables we can run. If not, either 3508# the compiler is broken, or we cross compile. 3509{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3510$as_echo_n "checking whether we are cross compiling... " >&6; } 3511if test "$cross_compiling" != yes; then 3512 { { ac_try="$ac_link" 3513case "(($ac_try" in 3514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3515 *) ac_try_echo=$ac_try;; 3516esac 3517eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3518$as_echo "$ac_try_echo"; } >&5 3519 (eval "$ac_link") 2>&5 3520 ac_status=$? 3521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3522 test $ac_status = 0; } 3523 if { ac_try='./conftest$ac_cv_exeext' 3524 { { case "(($ac_try" in 3525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3526 *) ac_try_echo=$ac_try;; 3527esac 3528eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3529$as_echo "$ac_try_echo"; } >&5 3530 (eval "$ac_try") 2>&5 3531 ac_status=$? 3532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3533 test $ac_status = 0; }; }; then 3534 cross_compiling=no 3535 else 3536 if test "$cross_compiling" = maybe; then 3537 cross_compiling=yes 3538 else 3539 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3540$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3541as_fn_error $? "cannot run C compiled programs. 3542If you meant to cross compile, use \`--host'. 3543See \`config.log' for more details" "$LINENO" 5; } 3544 fi 3545 fi 3546fi 3547{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3548$as_echo "$cross_compiling" >&6; } 3549 3550rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3551ac_clean_files=$ac_clean_files_save 3552{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3553$as_echo_n "checking for suffix of object files... " >&6; } 3554if ${ac_cv_objext+:} false; then : 3555 $as_echo_n "(cached) " >&6 3556else 3557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3558/* end confdefs.h. */ 3559 3560int 3561main () 3562{ 3563 3564 ; 3565 return 0; 3566} 3567_ACEOF 3568rm -f conftest.o conftest.obj 3569if { { ac_try="$ac_compile" 3570case "(($ac_try" in 3571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3572 *) ac_try_echo=$ac_try;; 3573esac 3574eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3575$as_echo "$ac_try_echo"; } >&5 3576 (eval "$ac_compile") 2>&5 3577 ac_status=$? 3578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3579 test $ac_status = 0; }; then : 3580 for ac_file in conftest.o conftest.obj conftest.*; do 3581 test -f "$ac_file" || continue; 3582 case $ac_file in 3583 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3584 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3585 break;; 3586 esac 3587done 3588else 3589 $as_echo "$as_me: failed program was:" >&5 3590sed 's/^/| /' conftest.$ac_ext >&5 3591 3592{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3593$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3594as_fn_error $? "cannot compute suffix of object files: cannot compile 3595See \`config.log' for more details" "$LINENO" 5; } 3596fi 3597rm -f conftest.$ac_cv_objext conftest.$ac_ext 3598fi 3599{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3600$as_echo "$ac_cv_objext" >&6; } 3601OBJEXT=$ac_cv_objext 3602ac_objext=$OBJEXT 3603{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3604$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3605if ${ac_cv_c_compiler_gnu+:} false; then : 3606 $as_echo_n "(cached) " >&6 3607else 3608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3609/* end confdefs.h. */ 3610 3611int 3612main () 3613{ 3614#ifndef __GNUC__ 3615 choke me 3616#endif 3617 3618 ; 3619 return 0; 3620} 3621_ACEOF 3622if ac_fn_c_try_compile "$LINENO"; then : 3623 ac_compiler_gnu=yes 3624else 3625 ac_compiler_gnu=no 3626fi 3627rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3628ac_cv_c_compiler_gnu=$ac_compiler_gnu 3629 3630fi 3631{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3632$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3633if test $ac_compiler_gnu = yes; then 3634 GCC=yes 3635else 3636 GCC= 3637fi 3638ac_test_CFLAGS=${CFLAGS+set} 3639ac_save_CFLAGS=$CFLAGS 3640{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3641$as_echo_n "checking whether $CC accepts -g... " >&6; } 3642if ${ac_cv_prog_cc_g+:} false; then : 3643 $as_echo_n "(cached) " >&6 3644else 3645 ac_save_c_werror_flag=$ac_c_werror_flag 3646 ac_c_werror_flag=yes 3647 ac_cv_prog_cc_g=no 3648 CFLAGS="-g" 3649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3650/* end confdefs.h. */ 3651 3652int 3653main () 3654{ 3655 3656 ; 3657 return 0; 3658} 3659_ACEOF 3660if ac_fn_c_try_compile "$LINENO"; then : 3661 ac_cv_prog_cc_g=yes 3662else 3663 CFLAGS="" 3664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3665/* end confdefs.h. */ 3666 3667int 3668main () 3669{ 3670 3671 ; 3672 return 0; 3673} 3674_ACEOF 3675if ac_fn_c_try_compile "$LINENO"; then : 3676 3677else 3678 ac_c_werror_flag=$ac_save_c_werror_flag 3679 CFLAGS="-g" 3680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3681/* end confdefs.h. */ 3682 3683int 3684main () 3685{ 3686 3687 ; 3688 return 0; 3689} 3690_ACEOF 3691if ac_fn_c_try_compile "$LINENO"; then : 3692 ac_cv_prog_cc_g=yes 3693fi 3694rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3695fi 3696rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3697fi 3698rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3699 ac_c_werror_flag=$ac_save_c_werror_flag 3700fi 3701{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3702$as_echo "$ac_cv_prog_cc_g" >&6; } 3703if test "$ac_test_CFLAGS" = set; then 3704 CFLAGS=$ac_save_CFLAGS 3705elif test $ac_cv_prog_cc_g = yes; then 3706 if test "$GCC" = yes; then 3707 CFLAGS="-g -O2" 3708 else 3709 CFLAGS="-g" 3710 fi 3711else 3712 if test "$GCC" = yes; then 3713 CFLAGS="-O2" 3714 else 3715 CFLAGS= 3716 fi 3717fi 3718{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3719$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3720if ${ac_cv_prog_cc_c89+:} false; then : 3721 $as_echo_n "(cached) " >&6 3722else 3723 ac_cv_prog_cc_c89=no 3724ac_save_CC=$CC 3725cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3726/* end confdefs.h. */ 3727#include <stdarg.h> 3728#include <stdio.h> 3729struct stat; 3730/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3731struct buf { int x; }; 3732FILE * (*rcsopen) (struct buf *, struct stat *, int); 3733static char *e (p, i) 3734 char **p; 3735 int i; 3736{ 3737 return p[i]; 3738} 3739static char *f (char * (*g) (char **, int), char **p, ...) 3740{ 3741 char *s; 3742 va_list v; 3743 va_start (v,p); 3744 s = g (p, va_arg (v,int)); 3745 va_end (v); 3746 return s; 3747} 3748 3749/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3750 function prototypes and stuff, but not '\xHH' hex character constants. 3751 These don't provoke an error unfortunately, instead are silently treated 3752 as 'x'. The following induces an error, until -std is added to get 3753 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3754 array size at least. It's necessary to write '\x00'==0 to get something 3755 that's true only with -std. */ 3756int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3757 3758/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3759 inside strings and character constants. */ 3760#define FOO(x) 'x' 3761int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3762 3763int test (int i, double x); 3764struct s1 {int (*f) (int a);}; 3765struct s2 {int (*f) (double a);}; 3766int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3767int argc; 3768char **argv; 3769int 3770main () 3771{ 3772return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3773 ; 3774 return 0; 3775} 3776_ACEOF 3777for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3778 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3779do 3780 CC="$ac_save_CC $ac_arg" 3781 if ac_fn_c_try_compile "$LINENO"; then : 3782 ac_cv_prog_cc_c89=$ac_arg 3783fi 3784rm -f core conftest.err conftest.$ac_objext 3785 test "x$ac_cv_prog_cc_c89" != "xno" && break 3786done 3787rm -f conftest.$ac_ext 3788CC=$ac_save_CC 3789 3790fi 3791# AC_CACHE_VAL 3792case "x$ac_cv_prog_cc_c89" in 3793 x) 3794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3795$as_echo "none needed" >&6; } ;; 3796 xno) 3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3798$as_echo "unsupported" >&6; } ;; 3799 *) 3800 CC="$CC $ac_cv_prog_cc_c89" 3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3802$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3803esac 3804if test "x$ac_cv_prog_cc_c89" != xno; then : 3805 3806fi 3807 3808ac_ext=c 3809ac_cpp='$CPP $CPPFLAGS' 3810ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3811ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3812ac_compiler_gnu=$ac_cv_c_compiler_gnu 3813 3814ac_ext=c 3815ac_cpp='$CPP $CPPFLAGS' 3816ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3817ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3818ac_compiler_gnu=$ac_cv_c_compiler_gnu 3819{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3820$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 3821if ${am_cv_prog_cc_c_o+:} false; then : 3822 $as_echo_n "(cached) " >&6 3823else 3824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3825/* end confdefs.h. */ 3826 3827int 3828main () 3829{ 3830 3831 ; 3832 return 0; 3833} 3834_ACEOF 3835 # Make sure it works both with $CC and with simple cc. 3836 # Following AC_PROG_CC_C_O, we do the test twice because some 3837 # compilers refuse to overwrite an existing .o file with -o, 3838 # though they will create one. 3839 am_cv_prog_cc_c_o=yes 3840 for am_i in 1 2; do 3841 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 3842 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 3843 ac_status=$? 3844 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3845 (exit $ac_status); } \ 3846 && test -f conftest2.$ac_objext; then 3847 : OK 3848 else 3849 am_cv_prog_cc_c_o=no 3850 break 3851 fi 3852 done 3853 rm -f core conftest* 3854 unset am_i 3855fi 3856{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3857$as_echo "$am_cv_prog_cc_c_o" >&6; } 3858if test "$am_cv_prog_cc_c_o" != yes; then 3859 # Losing compiler, so override with the script. 3860 # FIXME: It is wrong to rewrite CC. 3861 # But if we don't then we get into trouble of one sort or another. 3862 # A longer-term fix would be to have automake use am__CC in this case, 3863 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3864 CC="$am_aux_dir/compile $CC" 3865fi 3866ac_ext=c 3867ac_cpp='$CPP $CPPFLAGS' 3868ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3869ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3870ac_compiler_gnu=$ac_cv_c_compiler_gnu 3871 3872DEPDIR="${am__leading_dot}deps" 3873 3874ac_config_commands="$ac_config_commands depfiles" 3875 3876 3877am_make=${MAKE-make} 3878cat > confinc << 'END' 3879am__doit: 3880 @echo this is the am__doit target 3881.PHONY: am__doit 3882END 3883# If we don't find an include directive, just comment out the code. 3884{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3885$as_echo_n "checking for style of include used by $am_make... " >&6; } 3886am__include="#" 3887am__quote= 3888_am_result=none 3889# First try GNU make style include. 3890echo "include confinc" > confmf 3891# Ignore all kinds of additional output from 'make'. 3892case `$am_make -s -f confmf 2> /dev/null` in #( 3893*the\ am__doit\ target*) 3894 am__include=include 3895 am__quote= 3896 _am_result=GNU 3897 ;; 3898esac 3899# Now try BSD make style include. 3900if test "$am__include" = "#"; then 3901 echo '.include "confinc"' > confmf 3902 case `$am_make -s -f confmf 2> /dev/null` in #( 3903 *the\ am__doit\ target*) 3904 am__include=.include 3905 am__quote="\"" 3906 _am_result=BSD 3907 ;; 3908 esac 3909fi 3910 3911 3912{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3913$as_echo "$_am_result" >&6; } 3914rm -f confinc confmf 3915 3916# Check whether --enable-dependency-tracking was given. 3917if test "${enable_dependency_tracking+set}" = set; then : 3918 enableval=$enable_dependency_tracking; 3919fi 3920 3921if test "x$enable_dependency_tracking" != xno; then 3922 am_depcomp="$ac_aux_dir/depcomp" 3923 AMDEPBACKSLASH='\' 3924 am__nodep='_no' 3925fi 3926 if test "x$enable_dependency_tracking" != xno; then 3927 AMDEP_TRUE= 3928 AMDEP_FALSE='#' 3929else 3930 AMDEP_TRUE='#' 3931 AMDEP_FALSE= 3932fi 3933 3934 3935 3936depcc="$CC" am_compiler_list= 3937 3938{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3939$as_echo_n "checking dependency style of $depcc... " >&6; } 3940if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3941 $as_echo_n "(cached) " >&6 3942else 3943 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3944 # We make a subdir and do the tests there. Otherwise we can end up 3945 # making bogus files that we don't know about and never remove. For 3946 # instance it was reported that on HP-UX the gcc test will end up 3947 # making a dummy file named 'D' -- because '-MD' means "put the output 3948 # in D". 3949 rm -rf conftest.dir 3950 mkdir conftest.dir 3951 # Copy depcomp to subdir because otherwise we won't find it if we're 3952 # using a relative directory. 3953 cp "$am_depcomp" conftest.dir 3954 cd conftest.dir 3955 # We will build objects and dependencies in a subdirectory because 3956 # it helps to detect inapplicable dependency modes. For instance 3957 # both Tru64's cc and ICC support -MD to output dependencies as a 3958 # side effect of compilation, but ICC will put the dependencies in 3959 # the current directory while Tru64 will put them in the object 3960 # directory. 3961 mkdir sub 3962 3963 am_cv_CC_dependencies_compiler_type=none 3964 if test "$am_compiler_list" = ""; then 3965 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3966 fi 3967 am__universal=false 3968 case " $depcc " in #( 3969 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3970 esac 3971 3972 for depmode in $am_compiler_list; do 3973 # Setup a source with many dependencies, because some compilers 3974 # like to wrap large dependency lists on column 80 (with \), and 3975 # we should not choose a depcomp mode which is confused by this. 3976 # 3977 # We need to recreate these files for each test, as the compiler may 3978 # overwrite some of them when testing with obscure command lines. 3979 # This happens at least with the AIX C compiler. 3980 : > sub/conftest.c 3981 for i in 1 2 3 4 5 6; do 3982 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3983 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 3984 # Solaris 10 /bin/sh. 3985 echo '/* dummy */' > sub/conftst$i.h 3986 done 3987 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3988 3989 # We check with '-c' and '-o' for the sake of the "dashmstdout" 3990 # mode. It turns out that the SunPro C++ compiler does not properly 3991 # handle '-M -o', and we need to detect this. Also, some Intel 3992 # versions had trouble with output in subdirs. 3993 am__obj=sub/conftest.${OBJEXT-o} 3994 am__minus_obj="-o $am__obj" 3995 case $depmode in 3996 gcc) 3997 # This depmode causes a compiler race in universal mode. 3998 test "$am__universal" = false || continue 3999 ;; 4000 nosideeffect) 4001 # After this tag, mechanisms are not by side-effect, so they'll 4002 # only be used when explicitly requested. 4003 if test "x$enable_dependency_tracking" = xyes; then 4004 continue 4005 else 4006 break 4007 fi 4008 ;; 4009 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4010 # This compiler won't grok '-c -o', but also, the minuso test has 4011 # not run yet. These depmodes are late enough in the game, and 4012 # so weak that their functioning should not be impacted. 4013 am__obj=conftest.${OBJEXT-o} 4014 am__minus_obj= 4015 ;; 4016 none) break ;; 4017 esac 4018 if depmode=$depmode \ 4019 source=sub/conftest.c object=$am__obj \ 4020 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4021 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4022 >/dev/null 2>conftest.err && 4023 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4024 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4025 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4026 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4027 # icc doesn't choke on unknown options, it will just issue warnings 4028 # or remarks (even with -Werror). So we grep stderr for any message 4029 # that says an option was ignored or not supported. 4030 # When given -MP, icc 7.0 and 7.1 complain thusly: 4031 # icc: Command line warning: ignoring option '-M'; no argument required 4032 # The diagnosis changed in icc 8.0: 4033 # icc: Command line remark: option '-MP' not supported 4034 if (grep 'ignoring option' conftest.err || 4035 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4036 am_cv_CC_dependencies_compiler_type=$depmode 4037 break 4038 fi 4039 fi 4040 done 4041 4042 cd .. 4043 rm -rf conftest.dir 4044else 4045 am_cv_CC_dependencies_compiler_type=none 4046fi 4047 4048fi 4049{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4050$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4051CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4052 4053 if 4054 test "x$enable_dependency_tracking" != xno \ 4055 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4056 am__fastdepCC_TRUE= 4057 am__fastdepCC_FALSE='#' 4058else 4059 am__fastdepCC_TRUE='#' 4060 am__fastdepCC_FALSE= 4061fi 4062 4063 4064case `pwd` in 4065 *\ * | *\ *) 4066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4067$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4068esac 4069 4070 4071 4072macro_version='2.4.6' 4073macro_revision='2.4.6' 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087ltmain=$ac_aux_dir/ltmain.sh 4088 4089# Make sure we can run config.sub. 4090$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4091 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4092 4093{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4094$as_echo_n "checking build system type... " >&6; } 4095if ${ac_cv_build+:} false; then : 4096 $as_echo_n "(cached) " >&6 4097else 4098 ac_build_alias=$build_alias 4099test "x$ac_build_alias" = x && 4100 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4101test "x$ac_build_alias" = x && 4102 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4103ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4104 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4105 4106fi 4107{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4108$as_echo "$ac_cv_build" >&6; } 4109case $ac_cv_build in 4110*-*-*) ;; 4111*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4112esac 4113build=$ac_cv_build 4114ac_save_IFS=$IFS; IFS='-' 4115set x $ac_cv_build 4116shift 4117build_cpu=$1 4118build_vendor=$2 4119shift; shift 4120# Remember, the first character of IFS is used to create $*, 4121# except with old shells: 4122build_os=$* 4123IFS=$ac_save_IFS 4124case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4125 4126 4127{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4128$as_echo_n "checking host system type... " >&6; } 4129if ${ac_cv_host+:} false; then : 4130 $as_echo_n "(cached) " >&6 4131else 4132 if test "x$host_alias" = x; then 4133 ac_cv_host=$ac_cv_build 4134else 4135 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4136 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4137fi 4138 4139fi 4140{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4141$as_echo "$ac_cv_host" >&6; } 4142case $ac_cv_host in 4143*-*-*) ;; 4144*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4145esac 4146host=$ac_cv_host 4147ac_save_IFS=$IFS; IFS='-' 4148set x $ac_cv_host 4149shift 4150host_cpu=$1 4151host_vendor=$2 4152shift; shift 4153# Remember, the first character of IFS is used to create $*, 4154# except with old shells: 4155host_os=$* 4156IFS=$ac_save_IFS 4157case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4158 4159 4160# Backslashify metacharacters that are still active within 4161# double-quoted strings. 4162sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 4163 4164# Same as above, but do not quote variable references. 4165double_quote_subst='s/\(["`\\]\)/\\\1/g' 4166 4167# Sed substitution to delay expansion of an escaped shell variable in a 4168# double_quote_subst'ed string. 4169delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 4170 4171# Sed substitution to delay expansion of an escaped single quote. 4172delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 4173 4174# Sed substitution to avoid accidental globbing in evaled expressions 4175no_glob_subst='s/\*/\\\*/g' 4176 4177ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4178ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 4179ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 4180 4181{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 4182$as_echo_n "checking how to print strings... " >&6; } 4183# Test print first, because it will be a builtin if present. 4184if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 4185 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 4186 ECHO='print -r --' 4187elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 4188 ECHO='printf %s\n' 4189else 4190 # Use this function as a fallback that always works. 4191 func_fallback_echo () 4192 { 4193 eval 'cat <<_LTECHO_EOF 4194$1 4195_LTECHO_EOF' 4196 } 4197 ECHO='func_fallback_echo' 4198fi 4199 4200# func_echo_all arg... 4201# Invoke $ECHO with all args, space-separated. 4202func_echo_all () 4203{ 4204 $ECHO "" 4205} 4206 4207case $ECHO in 4208 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 4209$as_echo "printf" >&6; } ;; 4210 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 4211$as_echo "print -r" >&6; } ;; 4212 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 4213$as_echo "cat" >&6; } ;; 4214esac 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4230$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4231if ${ac_cv_path_SED+:} false; then : 4232 $as_echo_n "(cached) " >&6 4233else 4234 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4235 for ac_i in 1 2 3 4 5 6 7; do 4236 ac_script="$ac_script$as_nl$ac_script" 4237 done 4238 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4239 { ac_script=; unset ac_script;} 4240 if test -z "$SED"; then 4241 ac_path_SED_found=false 4242 # Loop through the user's path and test for each of PROGNAME-LIST 4243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4244for as_dir in $PATH 4245do 4246 IFS=$as_save_IFS 4247 test -z "$as_dir" && as_dir=. 4248 for ac_prog in sed gsed; do 4249 for ac_exec_ext in '' $ac_executable_extensions; do 4250 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4251 as_fn_executable_p "$ac_path_SED" || continue 4252# Check for GNU ac_path_SED and select it if it is found. 4253 # Check for GNU $ac_path_SED 4254case `"$ac_path_SED" --version 2>&1` in 4255*GNU*) 4256 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4257*) 4258 ac_count=0 4259 $as_echo_n 0123456789 >"conftest.in" 4260 while : 4261 do 4262 cat "conftest.in" "conftest.in" >"conftest.tmp" 4263 mv "conftest.tmp" "conftest.in" 4264 cp "conftest.in" "conftest.nl" 4265 $as_echo '' >> "conftest.nl" 4266 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4267 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4268 as_fn_arith $ac_count + 1 && ac_count=$as_val 4269 if test $ac_count -gt ${ac_path_SED_max-0}; then 4270 # Best one so far, save it but keep looking for a better one 4271 ac_cv_path_SED="$ac_path_SED" 4272 ac_path_SED_max=$ac_count 4273 fi 4274 # 10*(2^10) chars as input seems more than enough 4275 test $ac_count -gt 10 && break 4276 done 4277 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4278esac 4279 4280 $ac_path_SED_found && break 3 4281 done 4282 done 4283 done 4284IFS=$as_save_IFS 4285 if test -z "$ac_cv_path_SED"; then 4286 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4287 fi 4288else 4289 ac_cv_path_SED=$SED 4290fi 4291 4292fi 4293{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4294$as_echo "$ac_cv_path_SED" >&6; } 4295 SED="$ac_cv_path_SED" 4296 rm -f conftest.sed 4297 4298test -z "$SED" && SED=sed 4299Xsed="$SED -e 1s/^X//" 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4312$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4313if ${ac_cv_path_GREP+:} false; then : 4314 $as_echo_n "(cached) " >&6 4315else 4316 if test -z "$GREP"; then 4317 ac_path_GREP_found=false 4318 # Loop through the user's path and test for each of PROGNAME-LIST 4319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4320for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4321do 4322 IFS=$as_save_IFS 4323 test -z "$as_dir" && as_dir=. 4324 for ac_prog in grep ggrep; do 4325 for ac_exec_ext in '' $ac_executable_extensions; do 4326 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4327 as_fn_executable_p "$ac_path_GREP" || continue 4328# Check for GNU ac_path_GREP and select it if it is found. 4329 # Check for GNU $ac_path_GREP 4330case `"$ac_path_GREP" --version 2>&1` in 4331*GNU*) 4332 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4333*) 4334 ac_count=0 4335 $as_echo_n 0123456789 >"conftest.in" 4336 while : 4337 do 4338 cat "conftest.in" "conftest.in" >"conftest.tmp" 4339 mv "conftest.tmp" "conftest.in" 4340 cp "conftest.in" "conftest.nl" 4341 $as_echo 'GREP' >> "conftest.nl" 4342 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4343 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4344 as_fn_arith $ac_count + 1 && ac_count=$as_val 4345 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4346 # Best one so far, save it but keep looking for a better one 4347 ac_cv_path_GREP="$ac_path_GREP" 4348 ac_path_GREP_max=$ac_count 4349 fi 4350 # 10*(2^10) chars as input seems more than enough 4351 test $ac_count -gt 10 && break 4352 done 4353 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4354esac 4355 4356 $ac_path_GREP_found && break 3 4357 done 4358 done 4359 done 4360IFS=$as_save_IFS 4361 if test -z "$ac_cv_path_GREP"; then 4362 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4363 fi 4364else 4365 ac_cv_path_GREP=$GREP 4366fi 4367 4368fi 4369{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4370$as_echo "$ac_cv_path_GREP" >&6; } 4371 GREP="$ac_cv_path_GREP" 4372 4373 4374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4375$as_echo_n "checking for egrep... " >&6; } 4376if ${ac_cv_path_EGREP+:} false; then : 4377 $as_echo_n "(cached) " >&6 4378else 4379 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4380 then ac_cv_path_EGREP="$GREP -E" 4381 else 4382 if test -z "$EGREP"; then 4383 ac_path_EGREP_found=false 4384 # Loop through the user's path and test for each of PROGNAME-LIST 4385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4386for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4387do 4388 IFS=$as_save_IFS 4389 test -z "$as_dir" && as_dir=. 4390 for ac_prog in egrep; do 4391 for ac_exec_ext in '' $ac_executable_extensions; do 4392 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4393 as_fn_executable_p "$ac_path_EGREP" || continue 4394# Check for GNU ac_path_EGREP and select it if it is found. 4395 # Check for GNU $ac_path_EGREP 4396case `"$ac_path_EGREP" --version 2>&1` in 4397*GNU*) 4398 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4399*) 4400 ac_count=0 4401 $as_echo_n 0123456789 >"conftest.in" 4402 while : 4403 do 4404 cat "conftest.in" "conftest.in" >"conftest.tmp" 4405 mv "conftest.tmp" "conftest.in" 4406 cp "conftest.in" "conftest.nl" 4407 $as_echo 'EGREP' >> "conftest.nl" 4408 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4409 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4410 as_fn_arith $ac_count + 1 && ac_count=$as_val 4411 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4412 # Best one so far, save it but keep looking for a better one 4413 ac_cv_path_EGREP="$ac_path_EGREP" 4414 ac_path_EGREP_max=$ac_count 4415 fi 4416 # 10*(2^10) chars as input seems more than enough 4417 test $ac_count -gt 10 && break 4418 done 4419 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4420esac 4421 4422 $ac_path_EGREP_found && break 3 4423 done 4424 done 4425 done 4426IFS=$as_save_IFS 4427 if test -z "$ac_cv_path_EGREP"; then 4428 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4429 fi 4430else 4431 ac_cv_path_EGREP=$EGREP 4432fi 4433 4434 fi 4435fi 4436{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4437$as_echo "$ac_cv_path_EGREP" >&6; } 4438 EGREP="$ac_cv_path_EGREP" 4439 4440 4441{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4442$as_echo_n "checking for fgrep... " >&6; } 4443if ${ac_cv_path_FGREP+:} false; then : 4444 $as_echo_n "(cached) " >&6 4445else 4446 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4447 then ac_cv_path_FGREP="$GREP -F" 4448 else 4449 if test -z "$FGREP"; then 4450 ac_path_FGREP_found=false 4451 # Loop through the user's path and test for each of PROGNAME-LIST 4452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4453for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4454do 4455 IFS=$as_save_IFS 4456 test -z "$as_dir" && as_dir=. 4457 for ac_prog in fgrep; do 4458 for ac_exec_ext in '' $ac_executable_extensions; do 4459 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4460 as_fn_executable_p "$ac_path_FGREP" || continue 4461# Check for GNU ac_path_FGREP and select it if it is found. 4462 # Check for GNU $ac_path_FGREP 4463case `"$ac_path_FGREP" --version 2>&1` in 4464*GNU*) 4465 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4466*) 4467 ac_count=0 4468 $as_echo_n 0123456789 >"conftest.in" 4469 while : 4470 do 4471 cat "conftest.in" "conftest.in" >"conftest.tmp" 4472 mv "conftest.tmp" "conftest.in" 4473 cp "conftest.in" "conftest.nl" 4474 $as_echo 'FGREP' >> "conftest.nl" 4475 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4476 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4477 as_fn_arith $ac_count + 1 && ac_count=$as_val 4478 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4479 # Best one so far, save it but keep looking for a better one 4480 ac_cv_path_FGREP="$ac_path_FGREP" 4481 ac_path_FGREP_max=$ac_count 4482 fi 4483 # 10*(2^10) chars as input seems more than enough 4484 test $ac_count -gt 10 && break 4485 done 4486 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4487esac 4488 4489 $ac_path_FGREP_found && break 3 4490 done 4491 done 4492 done 4493IFS=$as_save_IFS 4494 if test -z "$ac_cv_path_FGREP"; then 4495 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4496 fi 4497else 4498 ac_cv_path_FGREP=$FGREP 4499fi 4500 4501 fi 4502fi 4503{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4504$as_echo "$ac_cv_path_FGREP" >&6; } 4505 FGREP="$ac_cv_path_FGREP" 4506 4507 4508test -z "$GREP" && GREP=grep 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528# Check whether --with-gnu-ld was given. 4529if test "${with_gnu_ld+set}" = set; then : 4530 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 4531else 4532 with_gnu_ld=no 4533fi 4534 4535ac_prog=ld 4536if test yes = "$GCC"; then 4537 # Check if gcc -print-prog-name=ld gives a path. 4538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4539$as_echo_n "checking for ld used by $CC... " >&6; } 4540 case $host in 4541 *-*-mingw*) 4542 # gcc leaves a trailing carriage return, which upsets mingw 4543 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4544 *) 4545 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4546 esac 4547 case $ac_prog in 4548 # Accept absolute paths. 4549 [\\/]* | ?:[\\/]*) 4550 re_direlt='/[^/][^/]*/\.\./' 4551 # Canonicalize the pathname of ld 4552 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4553 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4554 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4555 done 4556 test -z "$LD" && LD=$ac_prog 4557 ;; 4558 "") 4559 # If it fails, then pretend we aren't using GCC. 4560 ac_prog=ld 4561 ;; 4562 *) 4563 # If it is relative, then search for the first ld in PATH. 4564 with_gnu_ld=unknown 4565 ;; 4566 esac 4567elif test yes = "$with_gnu_ld"; then 4568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4569$as_echo_n "checking for GNU ld... " >&6; } 4570else 4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4572$as_echo_n "checking for non-GNU ld... " >&6; } 4573fi 4574if ${lt_cv_path_LD+:} false; then : 4575 $as_echo_n "(cached) " >&6 4576else 4577 if test -z "$LD"; then 4578 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4579 for ac_dir in $PATH; do 4580 IFS=$lt_save_ifs 4581 test -z "$ac_dir" && ac_dir=. 4582 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4583 lt_cv_path_LD=$ac_dir/$ac_prog 4584 # Check to see if the program is GNU ld. I'd rather use --version, 4585 # but apparently some variants of GNU ld only accept -v. 4586 # Break only if it was the GNU/non-GNU ld that we prefer. 4587 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4588 *GNU* | *'with BFD'*) 4589 test no != "$with_gnu_ld" && break 4590 ;; 4591 *) 4592 test yes != "$with_gnu_ld" && break 4593 ;; 4594 esac 4595 fi 4596 done 4597 IFS=$lt_save_ifs 4598else 4599 lt_cv_path_LD=$LD # Let the user override the test with a path. 4600fi 4601fi 4602 4603LD=$lt_cv_path_LD 4604if test -n "$LD"; then 4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4606$as_echo "$LD" >&6; } 4607else 4608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4609$as_echo "no" >&6; } 4610fi 4611test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4612{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4613$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4614if ${lt_cv_prog_gnu_ld+:} false; then : 4615 $as_echo_n "(cached) " >&6 4616else 4617 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4618case `$LD -v 2>&1 </dev/null` in 4619*GNU* | *'with BFD'*) 4620 lt_cv_prog_gnu_ld=yes 4621 ;; 4622*) 4623 lt_cv_prog_gnu_ld=no 4624 ;; 4625esac 4626fi 4627{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4628$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4629with_gnu_ld=$lt_cv_prog_gnu_ld 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4640$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4641if ${lt_cv_path_NM+:} false; then : 4642 $as_echo_n "(cached) " >&6 4643else 4644 if test -n "$NM"; then 4645 # Let the user override the test. 4646 lt_cv_path_NM=$NM 4647else 4648 lt_nm_to_check=${ac_tool_prefix}nm 4649 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4650 lt_nm_to_check="$lt_nm_to_check nm" 4651 fi 4652 for lt_tmp_nm in $lt_nm_to_check; do 4653 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4654 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4655 IFS=$lt_save_ifs 4656 test -z "$ac_dir" && ac_dir=. 4657 tmp_nm=$ac_dir/$lt_tmp_nm 4658 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 4659 # Check to see if the nm accepts a BSD-compat flag. 4660 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 4661 # nm: unknown option "B" ignored 4662 # Tru64's nm complains that /dev/null is an invalid object file 4663 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 4664 case $build_os in 4665 mingw*) lt_bad_file=conftest.nm/nofile ;; 4666 *) lt_bad_file=/dev/null ;; 4667 esac 4668 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 4669 *$lt_bad_file* | *'Invalid file or object type'*) 4670 lt_cv_path_NM="$tmp_nm -B" 4671 break 2 4672 ;; 4673 *) 4674 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4675 */dev/null*) 4676 lt_cv_path_NM="$tmp_nm -p" 4677 break 2 4678 ;; 4679 *) 4680 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4681 continue # so that we can try to find one that supports BSD flags 4682 ;; 4683 esac 4684 ;; 4685 esac 4686 fi 4687 done 4688 IFS=$lt_save_ifs 4689 done 4690 : ${lt_cv_path_NM=no} 4691fi 4692fi 4693{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4694$as_echo "$lt_cv_path_NM" >&6; } 4695if test no != "$lt_cv_path_NM"; then 4696 NM=$lt_cv_path_NM 4697else 4698 # Didn't find any BSD compatible name lister, look for dumpbin. 4699 if test -n "$DUMPBIN"; then : 4700 # Let the user override the test. 4701 else 4702 if test -n "$ac_tool_prefix"; then 4703 for ac_prog in dumpbin "link -dump" 4704 do 4705 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4706set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4707{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4708$as_echo_n "checking for $ac_word... " >&6; } 4709if ${ac_cv_prog_DUMPBIN+:} false; then : 4710 $as_echo_n "(cached) " >&6 4711else 4712 if test -n "$DUMPBIN"; then 4713 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4714else 4715as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4716for as_dir in $PATH 4717do 4718 IFS=$as_save_IFS 4719 test -z "$as_dir" && as_dir=. 4720 for ac_exec_ext in '' $ac_executable_extensions; do 4721 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4722 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4724 break 2 4725 fi 4726done 4727 done 4728IFS=$as_save_IFS 4729 4730fi 4731fi 4732DUMPBIN=$ac_cv_prog_DUMPBIN 4733if test -n "$DUMPBIN"; then 4734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 4735$as_echo "$DUMPBIN" >&6; } 4736else 4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4738$as_echo "no" >&6; } 4739fi 4740 4741 4742 test -n "$DUMPBIN" && break 4743 done 4744fi 4745if test -z "$DUMPBIN"; then 4746 ac_ct_DUMPBIN=$DUMPBIN 4747 for ac_prog in dumpbin "link -dump" 4748do 4749 # Extract the first word of "$ac_prog", so it can be a program name with args. 4750set dummy $ac_prog; ac_word=$2 4751{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4752$as_echo_n "checking for $ac_word... " >&6; } 4753if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 4754 $as_echo_n "(cached) " >&6 4755else 4756 if test -n "$ac_ct_DUMPBIN"; then 4757 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4758else 4759as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4760for as_dir in $PATH 4761do 4762 IFS=$as_save_IFS 4763 test -z "$as_dir" && as_dir=. 4764 for ac_exec_ext in '' $ac_executable_extensions; do 4765 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4766 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4768 break 2 4769 fi 4770done 4771 done 4772IFS=$as_save_IFS 4773 4774fi 4775fi 4776ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4777if test -n "$ac_ct_DUMPBIN"; then 4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 4779$as_echo "$ac_ct_DUMPBIN" >&6; } 4780else 4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4782$as_echo "no" >&6; } 4783fi 4784 4785 4786 test -n "$ac_ct_DUMPBIN" && break 4787done 4788 4789 if test "x$ac_ct_DUMPBIN" = x; then 4790 DUMPBIN=":" 4791 else 4792 case $cross_compiling:$ac_tool_warned in 4793yes:) 4794{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4795$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4796ac_tool_warned=yes ;; 4797esac 4798 DUMPBIN=$ac_ct_DUMPBIN 4799 fi 4800fi 4801 4802 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 4803 *COFF*) 4804 DUMPBIN="$DUMPBIN -symbols -headers" 4805 ;; 4806 *) 4807 DUMPBIN=: 4808 ;; 4809 esac 4810 fi 4811 4812 if test : != "$DUMPBIN"; then 4813 NM=$DUMPBIN 4814 fi 4815fi 4816test -z "$NM" && NM=nm 4817 4818 4819 4820 4821 4822 4823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 4824$as_echo_n "checking the name lister ($NM) interface... " >&6; } 4825if ${lt_cv_nm_interface+:} false; then : 4826 $as_echo_n "(cached) " >&6 4827else 4828 lt_cv_nm_interface="BSD nm" 4829 echo "int some_variable = 0;" > conftest.$ac_ext 4830 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 4831 (eval "$ac_compile" 2>conftest.err) 4832 cat conftest.err >&5 4833 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4834 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4835 cat conftest.err >&5 4836 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 4837 cat conftest.out >&5 4838 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4839 lt_cv_nm_interface="MS dumpbin" 4840 fi 4841 rm -f conftest* 4842fi 4843{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 4844$as_echo "$lt_cv_nm_interface" >&6; } 4845 4846{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4847$as_echo_n "checking whether ln -s works... " >&6; } 4848LN_S=$as_ln_s 4849if test "$LN_S" = "ln -s"; then 4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4851$as_echo "yes" >&6; } 4852else 4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4854$as_echo "no, using $LN_S" >&6; } 4855fi 4856 4857# find the maximum length of command line arguments 4858{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 4859$as_echo_n "checking the maximum length of command line arguments... " >&6; } 4860if ${lt_cv_sys_max_cmd_len+:} false; then : 4861 $as_echo_n "(cached) " >&6 4862else 4863 i=0 4864 teststring=ABCD 4865 4866 case $build_os in 4867 msdosdjgpp*) 4868 # On DJGPP, this test can blow up pretty badly due to problems in libc 4869 # (any single argument exceeding 2000 bytes causes a buffer overrun 4870 # during glob expansion). Even if it were fixed, the result of this 4871 # check would be larger than it should be. 4872 lt_cv_sys_max_cmd_len=12288; # 12K is about right 4873 ;; 4874 4875 gnu*) 4876 # Under GNU Hurd, this test is not required because there is 4877 # no limit to the length of command line arguments. 4878 # Libtool will interpret -1 as no limit whatsoever 4879 lt_cv_sys_max_cmd_len=-1; 4880 ;; 4881 4882 cygwin* | mingw* | cegcc*) 4883 # On Win9x/ME, this test blows up -- it succeeds, but takes 4884 # about 5 minutes as the teststring grows exponentially. 4885 # Worse, since 9x/ME are not pre-emptively multitasking, 4886 # you end up with a "frozen" computer, even though with patience 4887 # the test eventually succeeds (with a max line length of 256k). 4888 # Instead, let's just punt: use the minimum linelength reported by 4889 # all of the supported platforms: 8192 (on NT/2K/XP). 4890 lt_cv_sys_max_cmd_len=8192; 4891 ;; 4892 4893 mint*) 4894 # On MiNT this can take a long time and run out of memory. 4895 lt_cv_sys_max_cmd_len=8192; 4896 ;; 4897 4898 amigaos*) 4899 # On AmigaOS with pdksh, this test takes hours, literally. 4900 # So we just punt and use a minimum line length of 8192. 4901 lt_cv_sys_max_cmd_len=8192; 4902 ;; 4903 4904 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 4905 # This has been around since 386BSD, at least. Likely further. 4906 if test -x /sbin/sysctl; then 4907 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 4908 elif test -x /usr/sbin/sysctl; then 4909 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 4910 else 4911 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 4912 fi 4913 # And add a safety zone 4914 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4915 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4916 ;; 4917 4918 interix*) 4919 # We know the value 262144 and hardcode it with a safety zone (like BSD) 4920 lt_cv_sys_max_cmd_len=196608 4921 ;; 4922 4923 os2*) 4924 # The test takes a long time on OS/2. 4925 lt_cv_sys_max_cmd_len=8192 4926 ;; 4927 4928 osf*) 4929 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 4930 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 4931 # nice to cause kernel panics so lets avoid the loop below. 4932 # First set a reasonable default. 4933 lt_cv_sys_max_cmd_len=16384 4934 # 4935 if test -x /sbin/sysconfig; then 4936 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 4937 *1*) lt_cv_sys_max_cmd_len=-1 ;; 4938 esac 4939 fi 4940 ;; 4941 sco3.2v5*) 4942 lt_cv_sys_max_cmd_len=102400 4943 ;; 4944 sysv5* | sco5v6* | sysv4.2uw2*) 4945 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 4946 if test -n "$kargmax"; then 4947 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 4948 else 4949 lt_cv_sys_max_cmd_len=32768 4950 fi 4951 ;; 4952 *) 4953 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 4954 if test -n "$lt_cv_sys_max_cmd_len" && \ 4955 test undefined != "$lt_cv_sys_max_cmd_len"; then 4956 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4957 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4958 else 4959 # Make teststring a little bigger before we do anything with it. 4960 # a 1K string should be a reasonable start. 4961 for i in 1 2 3 4 5 6 7 8; do 4962 teststring=$teststring$teststring 4963 done 4964 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 4965 # If test is not a shell built-in, we'll probably end up computing a 4966 # maximum length that is only half of the actual maximum length, but 4967 # we can't tell. 4968 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 4969 = "X$teststring$teststring"; } >/dev/null 2>&1 && 4970 test 17 != "$i" # 1/2 MB should be enough 4971 do 4972 i=`expr $i + 1` 4973 teststring=$teststring$teststring 4974 done 4975 # Only check the string length outside the loop. 4976 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 4977 teststring= 4978 # Add a significant safety factor because C++ compilers can tack on 4979 # massive amounts of additional arguments before passing them to the 4980 # linker. It appears as though 1/2 is a usable value. 4981 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 4982 fi 4983 ;; 4984 esac 4985 4986fi 4987 4988if test -n "$lt_cv_sys_max_cmd_len"; then 4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 4990$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 4991else 4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 4993$as_echo "none" >&6; } 4994fi 4995max_cmd_len=$lt_cv_sys_max_cmd_len 4996 4997 4998 4999 5000 5001 5002: ${CP="cp -f"} 5003: ${MV="mv -f"} 5004: ${RM="rm -f"} 5005 5006if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5007 lt_unset=unset 5008else 5009 lt_unset=false 5010fi 5011 5012 5013 5014 5015 5016# test EBCDIC or ASCII 5017case `echo X|tr X '\101'` in 5018 A) # ASCII based system 5019 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5020 lt_SP2NL='tr \040 \012' 5021 lt_NL2SP='tr \015\012 \040\040' 5022 ;; 5023 *) # EBCDIC based system 5024 lt_SP2NL='tr \100 \n' 5025 lt_NL2SP='tr \r\n \100\100' 5026 ;; 5027esac 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5038$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5039if ${lt_cv_to_host_file_cmd+:} false; then : 5040 $as_echo_n "(cached) " >&6 5041else 5042 case $host in 5043 *-*-mingw* ) 5044 case $build in 5045 *-*-mingw* ) # actually msys 5046 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5047 ;; 5048 *-*-cygwin* ) 5049 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5050 ;; 5051 * ) # otherwise, assume *nix 5052 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5053 ;; 5054 esac 5055 ;; 5056 *-*-cygwin* ) 5057 case $build in 5058 *-*-mingw* ) # actually msys 5059 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5060 ;; 5061 *-*-cygwin* ) 5062 lt_cv_to_host_file_cmd=func_convert_file_noop 5063 ;; 5064 * ) # otherwise, assume *nix 5065 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5066 ;; 5067 esac 5068 ;; 5069 * ) # unhandled hosts (and "normal" native builds) 5070 lt_cv_to_host_file_cmd=func_convert_file_noop 5071 ;; 5072esac 5073 5074fi 5075 5076to_host_file_cmd=$lt_cv_to_host_file_cmd 5077{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5078$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5079 5080 5081 5082 5083 5084{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5085$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5086if ${lt_cv_to_tool_file_cmd+:} false; then : 5087 $as_echo_n "(cached) " >&6 5088else 5089 #assume ordinary cross tools, or native build. 5090lt_cv_to_tool_file_cmd=func_convert_file_noop 5091case $host in 5092 *-*-mingw* ) 5093 case $build in 5094 *-*-mingw* ) # actually msys 5095 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5096 ;; 5097 esac 5098 ;; 5099esac 5100 5101fi 5102 5103to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5104{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5105$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5106 5107 5108 5109 5110 5111{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5112$as_echo_n "checking for $LD option to reload object files... " >&6; } 5113if ${lt_cv_ld_reload_flag+:} false; then : 5114 $as_echo_n "(cached) " >&6 5115else 5116 lt_cv_ld_reload_flag='-r' 5117fi 5118{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5119$as_echo "$lt_cv_ld_reload_flag" >&6; } 5120reload_flag=$lt_cv_ld_reload_flag 5121case $reload_flag in 5122"" | " "*) ;; 5123*) reload_flag=" $reload_flag" ;; 5124esac 5125reload_cmds='$LD$reload_flag -o $output$reload_objs' 5126case $host_os in 5127 cygwin* | mingw* | pw32* | cegcc*) 5128 if test yes != "$GCC"; then 5129 reload_cmds=false 5130 fi 5131 ;; 5132 darwin*) 5133 if test yes = "$GCC"; then 5134 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 5135 else 5136 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5137 fi 5138 ;; 5139esac 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149if test -n "$ac_tool_prefix"; then 5150 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5151set dummy ${ac_tool_prefix}objdump; ac_word=$2 5152{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5153$as_echo_n "checking for $ac_word... " >&6; } 5154if ${ac_cv_prog_OBJDUMP+:} false; then : 5155 $as_echo_n "(cached) " >&6 5156else 5157 if test -n "$OBJDUMP"; then 5158 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5159else 5160as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5161for as_dir in $PATH 5162do 5163 IFS=$as_save_IFS 5164 test -z "$as_dir" && as_dir=. 5165 for ac_exec_ext in '' $ac_executable_extensions; do 5166 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5167 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5169 break 2 5170 fi 5171done 5172 done 5173IFS=$as_save_IFS 5174 5175fi 5176fi 5177OBJDUMP=$ac_cv_prog_OBJDUMP 5178if test -n "$OBJDUMP"; then 5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5180$as_echo "$OBJDUMP" >&6; } 5181else 5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5183$as_echo "no" >&6; } 5184fi 5185 5186 5187fi 5188if test -z "$ac_cv_prog_OBJDUMP"; then 5189 ac_ct_OBJDUMP=$OBJDUMP 5190 # Extract the first word of "objdump", so it can be a program name with args. 5191set dummy objdump; ac_word=$2 5192{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5193$as_echo_n "checking for $ac_word... " >&6; } 5194if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5195 $as_echo_n "(cached) " >&6 5196else 5197 if test -n "$ac_ct_OBJDUMP"; then 5198 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5199else 5200as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5201for as_dir in $PATH 5202do 5203 IFS=$as_save_IFS 5204 test -z "$as_dir" && as_dir=. 5205 for ac_exec_ext in '' $ac_executable_extensions; do 5206 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5207 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5209 break 2 5210 fi 5211done 5212 done 5213IFS=$as_save_IFS 5214 5215fi 5216fi 5217ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5218if test -n "$ac_ct_OBJDUMP"; then 5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5220$as_echo "$ac_ct_OBJDUMP" >&6; } 5221else 5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5223$as_echo "no" >&6; } 5224fi 5225 5226 if test "x$ac_ct_OBJDUMP" = x; then 5227 OBJDUMP="false" 5228 else 5229 case $cross_compiling:$ac_tool_warned in 5230yes:) 5231{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5232$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5233ac_tool_warned=yes ;; 5234esac 5235 OBJDUMP=$ac_ct_OBJDUMP 5236 fi 5237else 5238 OBJDUMP="$ac_cv_prog_OBJDUMP" 5239fi 5240 5241test -z "$OBJDUMP" && OBJDUMP=objdump 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5252$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5253if ${lt_cv_deplibs_check_method+:} false; then : 5254 $as_echo_n "(cached) " >&6 5255else 5256 lt_cv_file_magic_cmd='$MAGIC_CMD' 5257lt_cv_file_magic_test_file= 5258lt_cv_deplibs_check_method='unknown' 5259# Need to set the preceding variable on all platforms that support 5260# interlibrary dependencies. 5261# 'none' -- dependencies not supported. 5262# 'unknown' -- same as none, but documents that we really don't know. 5263# 'pass_all' -- all dependencies passed with no checks. 5264# 'test_compile' -- check by making test program. 5265# 'file_magic [[regex]]' -- check by looking for files in library path 5266# that responds to the $file_magic_cmd with a given extended regex. 5267# If you have 'file' or equivalent on your system and you're not sure 5268# whether 'pass_all' will *always* work, you probably want this one. 5269 5270case $host_os in 5271aix[4-9]*) 5272 lt_cv_deplibs_check_method=pass_all 5273 ;; 5274 5275beos*) 5276 lt_cv_deplibs_check_method=pass_all 5277 ;; 5278 5279bsdi[45]*) 5280 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5281 lt_cv_file_magic_cmd='/usr/bin/file -L' 5282 lt_cv_file_magic_test_file=/shlib/libc.so 5283 ;; 5284 5285cygwin*) 5286 # func_win32_libid is a shell function defined in ltmain.sh 5287 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5288 lt_cv_file_magic_cmd='func_win32_libid' 5289 ;; 5290 5291mingw* | pw32*) 5292 # Base MSYS/MinGW do not provide the 'file' command needed by 5293 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5294 # unless we find 'file', for example because we are cross-compiling. 5295 if ( file / ) >/dev/null 2>&1; then 5296 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5297 lt_cv_file_magic_cmd='func_win32_libid' 5298 else 5299 # Keep this pattern in sync with the one in func_win32_libid. 5300 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5301 lt_cv_file_magic_cmd='$OBJDUMP -f' 5302 fi 5303 ;; 5304 5305cegcc*) 5306 # use the weaker test based on 'objdump'. See mingw*. 5307 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5308 lt_cv_file_magic_cmd='$OBJDUMP -f' 5309 ;; 5310 5311darwin* | rhapsody*) 5312 lt_cv_deplibs_check_method=pass_all 5313 ;; 5314 5315freebsd* | dragonfly*) 5316 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5317 case $host_cpu in 5318 i*86 ) 5319 # Not sure whether the presence of OpenBSD here was a mistake. 5320 # Let's accept both of them until this is cleared up. 5321 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5322 lt_cv_file_magic_cmd=/usr/bin/file 5323 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5324 ;; 5325 esac 5326 else 5327 lt_cv_deplibs_check_method=pass_all 5328 fi 5329 ;; 5330 5331haiku*) 5332 lt_cv_deplibs_check_method=pass_all 5333 ;; 5334 5335hpux10.20* | hpux11*) 5336 lt_cv_file_magic_cmd=/usr/bin/file 5337 case $host_cpu in 5338 ia64*) 5339 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5340 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5341 ;; 5342 hppa*64*) 5343 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]' 5344 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5345 ;; 5346 *) 5347 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5348 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5349 ;; 5350 esac 5351 ;; 5352 5353interix[3-9]*) 5354 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5355 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5356 ;; 5357 5358irix5* | irix6* | nonstopux*) 5359 case $LD in 5360 *-32|*"-32 ") libmagic=32-bit;; 5361 *-n32|*"-n32 ") libmagic=N32;; 5362 *-64|*"-64 ") libmagic=64-bit;; 5363 *) libmagic=never-match;; 5364 esac 5365 lt_cv_deplibs_check_method=pass_all 5366 ;; 5367 5368# This must be glibc/ELF. 5369linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 5370 lt_cv_deplibs_check_method=pass_all 5371 ;; 5372 5373netbsd*) 5374 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5375 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5376 else 5377 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5378 fi 5379 ;; 5380 5381newos6*) 5382 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5383 lt_cv_file_magic_cmd=/usr/bin/file 5384 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5385 ;; 5386 5387*nto* | *qnx*) 5388 lt_cv_deplibs_check_method=pass_all 5389 ;; 5390 5391openbsd* | bitrig*) 5392 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 5393 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5394 else 5395 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5396 fi 5397 ;; 5398 5399osf3* | osf4* | osf5*) 5400 lt_cv_deplibs_check_method=pass_all 5401 ;; 5402 5403rdos*) 5404 lt_cv_deplibs_check_method=pass_all 5405 ;; 5406 5407solaris*) 5408 lt_cv_deplibs_check_method=pass_all 5409 ;; 5410 5411sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5412 lt_cv_deplibs_check_method=pass_all 5413 ;; 5414 5415sysv4 | sysv4.3*) 5416 case $host_vendor in 5417 motorola) 5418 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]' 5419 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5420 ;; 5421 ncr) 5422 lt_cv_deplibs_check_method=pass_all 5423 ;; 5424 sequent) 5425 lt_cv_file_magic_cmd='/bin/file' 5426 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5427 ;; 5428 sni) 5429 lt_cv_file_magic_cmd='/bin/file' 5430 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5431 lt_cv_file_magic_test_file=/lib/libc.so 5432 ;; 5433 siemens) 5434 lt_cv_deplibs_check_method=pass_all 5435 ;; 5436 pc) 5437 lt_cv_deplibs_check_method=pass_all 5438 ;; 5439 esac 5440 ;; 5441 5442tpf*) 5443 lt_cv_deplibs_check_method=pass_all 5444 ;; 5445os2*) 5446 lt_cv_deplibs_check_method=pass_all 5447 ;; 5448esac 5449 5450fi 5451{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5452$as_echo "$lt_cv_deplibs_check_method" >&6; } 5453 5454file_magic_glob= 5455want_nocaseglob=no 5456if test "$build" = "$host"; then 5457 case $host_os in 5458 mingw* | pw32*) 5459 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 5460 want_nocaseglob=yes 5461 else 5462 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 5463 fi 5464 ;; 5465 esac 5466fi 5467 5468file_magic_cmd=$lt_cv_file_magic_cmd 5469deplibs_check_method=$lt_cv_deplibs_check_method 5470test -z "$deplibs_check_method" && deplibs_check_method=unknown 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493if test -n "$ac_tool_prefix"; then 5494 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5495set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5497$as_echo_n "checking for $ac_word... " >&6; } 5498if ${ac_cv_prog_DLLTOOL+:} false; then : 5499 $as_echo_n "(cached) " >&6 5500else 5501 if test -n "$DLLTOOL"; then 5502 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5503else 5504as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5505for as_dir in $PATH 5506do 5507 IFS=$as_save_IFS 5508 test -z "$as_dir" && as_dir=. 5509 for ac_exec_ext in '' $ac_executable_extensions; do 5510 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5511 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5513 break 2 5514 fi 5515done 5516 done 5517IFS=$as_save_IFS 5518 5519fi 5520fi 5521DLLTOOL=$ac_cv_prog_DLLTOOL 5522if test -n "$DLLTOOL"; then 5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5524$as_echo "$DLLTOOL" >&6; } 5525else 5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5527$as_echo "no" >&6; } 5528fi 5529 5530 5531fi 5532if test -z "$ac_cv_prog_DLLTOOL"; then 5533 ac_ct_DLLTOOL=$DLLTOOL 5534 # Extract the first word of "dlltool", so it can be a program name with args. 5535set dummy dlltool; ac_word=$2 5536{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5537$as_echo_n "checking for $ac_word... " >&6; } 5538if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5539 $as_echo_n "(cached) " >&6 5540else 5541 if test -n "$ac_ct_DLLTOOL"; then 5542 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5543else 5544as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5545for as_dir in $PATH 5546do 5547 IFS=$as_save_IFS 5548 test -z "$as_dir" && as_dir=. 5549 for ac_exec_ext in '' $ac_executable_extensions; do 5550 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5551 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5553 break 2 5554 fi 5555done 5556 done 5557IFS=$as_save_IFS 5558 5559fi 5560fi 5561ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5562if test -n "$ac_ct_DLLTOOL"; then 5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5564$as_echo "$ac_ct_DLLTOOL" >&6; } 5565else 5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5567$as_echo "no" >&6; } 5568fi 5569 5570 if test "x$ac_ct_DLLTOOL" = x; then 5571 DLLTOOL="false" 5572 else 5573 case $cross_compiling:$ac_tool_warned in 5574yes:) 5575{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5576$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5577ac_tool_warned=yes ;; 5578esac 5579 DLLTOOL=$ac_ct_DLLTOOL 5580 fi 5581else 5582 DLLTOOL="$ac_cv_prog_DLLTOOL" 5583fi 5584 5585test -z "$DLLTOOL" && DLLTOOL=dlltool 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5597$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5598if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 5599 $as_echo_n "(cached) " >&6 5600else 5601 lt_cv_sharedlib_from_linklib_cmd='unknown' 5602 5603case $host_os in 5604cygwin* | mingw* | pw32* | cegcc*) 5605 # two different shell functions defined in ltmain.sh; 5606 # decide which one to use based on capabilities of $DLLTOOL 5607 case `$DLLTOOL --help 2>&1` in 5608 *--identify-strict*) 5609 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 5610 ;; 5611 *) 5612 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 5613 ;; 5614 esac 5615 ;; 5616*) 5617 # fallback: assume linklib IS sharedlib 5618 lt_cv_sharedlib_from_linklib_cmd=$ECHO 5619 ;; 5620esac 5621 5622fi 5623{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 5624$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 5625sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 5626test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 5627 5628 5629 5630 5631 5632 5633 5634 5635if test -n "$ac_tool_prefix"; then 5636 for ac_prog in ar 5637 do 5638 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5639set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5640{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5641$as_echo_n "checking for $ac_word... " >&6; } 5642if ${ac_cv_prog_AR+:} false; then : 5643 $as_echo_n "(cached) " >&6 5644else 5645 if test -n "$AR"; then 5646 ac_cv_prog_AR="$AR" # Let the user override the test. 5647else 5648as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5649for as_dir in $PATH 5650do 5651 IFS=$as_save_IFS 5652 test -z "$as_dir" && as_dir=. 5653 for ac_exec_ext in '' $ac_executable_extensions; do 5654 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5655 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5657 break 2 5658 fi 5659done 5660 done 5661IFS=$as_save_IFS 5662 5663fi 5664fi 5665AR=$ac_cv_prog_AR 5666if test -n "$AR"; then 5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5668$as_echo "$AR" >&6; } 5669else 5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5671$as_echo "no" >&6; } 5672fi 5673 5674 5675 test -n "$AR" && break 5676 done 5677fi 5678if test -z "$AR"; then 5679 ac_ct_AR=$AR 5680 for ac_prog in ar 5681do 5682 # Extract the first word of "$ac_prog", so it can be a program name with args. 5683set dummy $ac_prog; ac_word=$2 5684{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5685$as_echo_n "checking for $ac_word... " >&6; } 5686if ${ac_cv_prog_ac_ct_AR+:} false; then : 5687 $as_echo_n "(cached) " >&6 5688else 5689 if test -n "$ac_ct_AR"; then 5690 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5691else 5692as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5693for as_dir in $PATH 5694do 5695 IFS=$as_save_IFS 5696 test -z "$as_dir" && as_dir=. 5697 for ac_exec_ext in '' $ac_executable_extensions; do 5698 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5699 ac_cv_prog_ac_ct_AR="$ac_prog" 5700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5701 break 2 5702 fi 5703done 5704 done 5705IFS=$as_save_IFS 5706 5707fi 5708fi 5709ac_ct_AR=$ac_cv_prog_ac_ct_AR 5710if test -n "$ac_ct_AR"; then 5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5712$as_echo "$ac_ct_AR" >&6; } 5713else 5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5715$as_echo "no" >&6; } 5716fi 5717 5718 5719 test -n "$ac_ct_AR" && break 5720done 5721 5722 if test "x$ac_ct_AR" = x; then 5723 AR="false" 5724 else 5725 case $cross_compiling:$ac_tool_warned in 5726yes:) 5727{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5728$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5729ac_tool_warned=yes ;; 5730esac 5731 AR=$ac_ct_AR 5732 fi 5733fi 5734 5735: ${AR=ar} 5736: ${AR_FLAGS=cru} 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 5749$as_echo_n "checking for archiver @FILE support... " >&6; } 5750if ${lt_cv_ar_at_file+:} false; then : 5751 $as_echo_n "(cached) " >&6 5752else 5753 lt_cv_ar_at_file=no 5754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5755/* end confdefs.h. */ 5756 5757int 5758main () 5759{ 5760 5761 ; 5762 return 0; 5763} 5764_ACEOF 5765if ac_fn_c_try_compile "$LINENO"; then : 5766 echo conftest.$ac_objext > conftest.lst 5767 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 5768 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5769 (eval $lt_ar_try) 2>&5 5770 ac_status=$? 5771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5772 test $ac_status = 0; } 5773 if test 0 -eq "$ac_status"; then 5774 # Ensure the archiver fails upon bogus file names. 5775 rm -f conftest.$ac_objext libconftest.a 5776 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5777 (eval $lt_ar_try) 2>&5 5778 ac_status=$? 5779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5780 test $ac_status = 0; } 5781 if test 0 -ne "$ac_status"; then 5782 lt_cv_ar_at_file=@ 5783 fi 5784 fi 5785 rm -f conftest.* libconftest.a 5786 5787fi 5788rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5789 5790fi 5791{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 5792$as_echo "$lt_cv_ar_at_file" >&6; } 5793 5794if test no = "$lt_cv_ar_at_file"; then 5795 archiver_list_spec= 5796else 5797 archiver_list_spec=$lt_cv_ar_at_file 5798fi 5799 5800 5801 5802 5803 5804 5805 5806if test -n "$ac_tool_prefix"; then 5807 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5808set dummy ${ac_tool_prefix}strip; ac_word=$2 5809{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5810$as_echo_n "checking for $ac_word... " >&6; } 5811if ${ac_cv_prog_STRIP+:} false; then : 5812 $as_echo_n "(cached) " >&6 5813else 5814 if test -n "$STRIP"; then 5815 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5816else 5817as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5818for as_dir in $PATH 5819do 5820 IFS=$as_save_IFS 5821 test -z "$as_dir" && as_dir=. 5822 for ac_exec_ext in '' $ac_executable_extensions; do 5823 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5824 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5826 break 2 5827 fi 5828done 5829 done 5830IFS=$as_save_IFS 5831 5832fi 5833fi 5834STRIP=$ac_cv_prog_STRIP 5835if test -n "$STRIP"; then 5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 5837$as_echo "$STRIP" >&6; } 5838else 5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5840$as_echo "no" >&6; } 5841fi 5842 5843 5844fi 5845if test -z "$ac_cv_prog_STRIP"; then 5846 ac_ct_STRIP=$STRIP 5847 # Extract the first word of "strip", so it can be a program name with args. 5848set dummy strip; ac_word=$2 5849{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5850$as_echo_n "checking for $ac_word... " >&6; } 5851if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 5852 $as_echo_n "(cached) " >&6 5853else 5854 if test -n "$ac_ct_STRIP"; then 5855 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5856else 5857as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5858for as_dir in $PATH 5859do 5860 IFS=$as_save_IFS 5861 test -z "$as_dir" && as_dir=. 5862 for ac_exec_ext in '' $ac_executable_extensions; do 5863 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5864 ac_cv_prog_ac_ct_STRIP="strip" 5865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5866 break 2 5867 fi 5868done 5869 done 5870IFS=$as_save_IFS 5871 5872fi 5873fi 5874ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5875if test -n "$ac_ct_STRIP"; then 5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 5877$as_echo "$ac_ct_STRIP" >&6; } 5878else 5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5880$as_echo "no" >&6; } 5881fi 5882 5883 if test "x$ac_ct_STRIP" = x; then 5884 STRIP=":" 5885 else 5886 case $cross_compiling:$ac_tool_warned in 5887yes:) 5888{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5889$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5890ac_tool_warned=yes ;; 5891esac 5892 STRIP=$ac_ct_STRIP 5893 fi 5894else 5895 STRIP="$ac_cv_prog_STRIP" 5896fi 5897 5898test -z "$STRIP" && STRIP=: 5899 5900 5901 5902 5903 5904 5905if test -n "$ac_tool_prefix"; then 5906 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5907set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5908{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5909$as_echo_n "checking for $ac_word... " >&6; } 5910if ${ac_cv_prog_RANLIB+:} false; then : 5911 $as_echo_n "(cached) " >&6 5912else 5913 if test -n "$RANLIB"; then 5914 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5915else 5916as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5917for as_dir in $PATH 5918do 5919 IFS=$as_save_IFS 5920 test -z "$as_dir" && as_dir=. 5921 for ac_exec_ext in '' $ac_executable_extensions; do 5922 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5923 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5925 break 2 5926 fi 5927done 5928 done 5929IFS=$as_save_IFS 5930 5931fi 5932fi 5933RANLIB=$ac_cv_prog_RANLIB 5934if test -n "$RANLIB"; then 5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 5936$as_echo "$RANLIB" >&6; } 5937else 5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5939$as_echo "no" >&6; } 5940fi 5941 5942 5943fi 5944if test -z "$ac_cv_prog_RANLIB"; then 5945 ac_ct_RANLIB=$RANLIB 5946 # Extract the first word of "ranlib", so it can be a program name with args. 5947set dummy ranlib; ac_word=$2 5948{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5949$as_echo_n "checking for $ac_word... " >&6; } 5950if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 5951 $as_echo_n "(cached) " >&6 5952else 5953 if test -n "$ac_ct_RANLIB"; then 5954 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5955else 5956as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5957for as_dir in $PATH 5958do 5959 IFS=$as_save_IFS 5960 test -z "$as_dir" && as_dir=. 5961 for ac_exec_ext in '' $ac_executable_extensions; do 5962 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5963 ac_cv_prog_ac_ct_RANLIB="ranlib" 5964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5965 break 2 5966 fi 5967done 5968 done 5969IFS=$as_save_IFS 5970 5971fi 5972fi 5973ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5974if test -n "$ac_ct_RANLIB"; then 5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 5976$as_echo "$ac_ct_RANLIB" >&6; } 5977else 5978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5979$as_echo "no" >&6; } 5980fi 5981 5982 if test "x$ac_ct_RANLIB" = x; then 5983 RANLIB=":" 5984 else 5985 case $cross_compiling:$ac_tool_warned in 5986yes:) 5987{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5988$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5989ac_tool_warned=yes ;; 5990esac 5991 RANLIB=$ac_ct_RANLIB 5992 fi 5993else 5994 RANLIB="$ac_cv_prog_RANLIB" 5995fi 5996 5997test -z "$RANLIB" && RANLIB=: 5998 5999 6000 6001 6002 6003 6004# Determine commands to create old-style static archives. 6005old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6006old_postinstall_cmds='chmod 644 $oldlib' 6007old_postuninstall_cmds= 6008 6009if test -n "$RANLIB"; then 6010 case $host_os in 6011 bitrig* | openbsd*) 6012 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 6013 ;; 6014 *) 6015 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 6016 ;; 6017 esac 6018 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 6019fi 6020 6021case $host_os in 6022 darwin*) 6023 lock_old_archive_extraction=yes ;; 6024 *) 6025 lock_old_archive_extraction=no ;; 6026esac 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066# If no C compiler was specified, use CC. 6067LTCC=${LTCC-"$CC"} 6068 6069# If no C compiler flags were specified, use CFLAGS. 6070LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6071 6072# Allow CC to be a program name with arguments. 6073compiler=$CC 6074 6075 6076# Check for command to grab the raw symbol name followed by C symbol from nm. 6077{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6078$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6079if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6080 $as_echo_n "(cached) " >&6 6081else 6082 6083# These are sane defaults that work on at least a few old systems. 6084# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6085 6086# Character class describing NM global symbol codes. 6087symcode='[BCDEGRST]' 6088 6089# Regexp to match symbols that can be accessed directly from C. 6090sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6091 6092# Define system-specific variables. 6093case $host_os in 6094aix*) 6095 symcode='[BCDT]' 6096 ;; 6097cygwin* | mingw* | pw32* | cegcc*) 6098 symcode='[ABCDGISTW]' 6099 ;; 6100hpux*) 6101 if test ia64 = "$host_cpu"; then 6102 symcode='[ABCDEGRST]' 6103 fi 6104 ;; 6105irix* | nonstopux*) 6106 symcode='[BCDEGRST]' 6107 ;; 6108osf*) 6109 symcode='[BCDEGQRST]' 6110 ;; 6111solaris*) 6112 symcode='[BDRT]' 6113 ;; 6114sco3.2v5*) 6115 symcode='[DT]' 6116 ;; 6117sysv4.2uw2*) 6118 symcode='[DT]' 6119 ;; 6120sysv5* | sco5v6* | unixware* | OpenUNIX*) 6121 symcode='[ABDT]' 6122 ;; 6123sysv4) 6124 symcode='[DFNSTU]' 6125 ;; 6126esac 6127 6128# If we're using GNU nm, then use its standard symbol codes. 6129case `$NM -V 2>&1` in 6130*GNU* | *'with BFD'*) 6131 symcode='[ABCDGIRSTW]' ;; 6132esac 6133 6134if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6135 # Gets list of data symbols to import. 6136 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 6137 # Adjust the below global symbol transforms to fixup imported variables. 6138 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 6139 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 6140 lt_c_name_lib_hook="\ 6141 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 6142 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 6143else 6144 # Disable hooks by default. 6145 lt_cv_sys_global_symbol_to_import= 6146 lt_cdecl_hook= 6147 lt_c_name_hook= 6148 lt_c_name_lib_hook= 6149fi 6150 6151# Transform an extracted symbol line into a proper C declaration. 6152# Some systems (esp. on ia64) link data and code symbols differently, 6153# so use this general approach. 6154lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 6155$lt_cdecl_hook\ 6156" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 6157" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 6158 6159# Transform an extracted symbol line into symbol name and symbol address 6160lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 6161$lt_c_name_hook\ 6162" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6163" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 6164 6165# Transform an extracted symbol line into symbol name with lib prefix and 6166# symbol address. 6167lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 6168$lt_c_name_lib_hook\ 6169" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6170" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 6171" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 6172 6173# Handle CRLF in mingw tool chain 6174opt_cr= 6175case $build_os in 6176mingw*) 6177 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6178 ;; 6179esac 6180 6181# Try without a prefix underscore, then with it. 6182for ac_symprfx in "" "_"; do 6183 6184 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6185 symxfrm="\\1 $ac_symprfx\\2 \\2" 6186 6187 # Write the raw and C identifiers. 6188 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6189 # Fake it for dumpbin and say T for any non-static function, 6190 # D for any global variable and I for any imported variable. 6191 # Also find C++ and __fastcall symbols from MSVC++, 6192 # which start with @ or ?. 6193 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6194" {last_section=section; section=\$ 3};"\ 6195" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6196" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6197" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 6198" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 6199" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 6200" \$ 0!~/External *\|/{next};"\ 6201" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6202" {if(hide[section]) next};"\ 6203" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 6204" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 6205" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 6206" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 6207" ' prfx=^$ac_symprfx" 6208 else 6209 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6210 fi 6211 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6212 6213 # Check to see that the pipe works correctly. 6214 pipe_works=no 6215 6216 rm -f conftest* 6217 cat > conftest.$ac_ext <<_LT_EOF 6218#ifdef __cplusplus 6219extern "C" { 6220#endif 6221char nm_test_var; 6222void nm_test_func(void); 6223void nm_test_func(void){} 6224#ifdef __cplusplus 6225} 6226#endif 6227int main(){nm_test_var='a';nm_test_func();return(0);} 6228_LT_EOF 6229 6230 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6231 (eval $ac_compile) 2>&5 6232 ac_status=$? 6233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6234 test $ac_status = 0; }; then 6235 # Now try to grab the symbols. 6236 nlist=conftest.nm 6237 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 6238 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 6239 ac_status=$? 6240 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6241 test $ac_status = 0; } && test -s "$nlist"; then 6242 # Try sorting and uniquifying the output. 6243 if sort "$nlist" | uniq > "$nlist"T; then 6244 mv -f "$nlist"T "$nlist" 6245 else 6246 rm -f "$nlist"T 6247 fi 6248 6249 # Make sure that we snagged all the symbols we need. 6250 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6251 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6252 cat <<_LT_EOF > conftest.$ac_ext 6253/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6254#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 6255/* DATA imports from DLLs on WIN32 can't be const, because runtime 6256 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6257# define LT_DLSYM_CONST 6258#elif defined __osf__ 6259/* This system does not cope well with relocations in const data. */ 6260# define LT_DLSYM_CONST 6261#else 6262# define LT_DLSYM_CONST const 6263#endif 6264 6265#ifdef __cplusplus 6266extern "C" { 6267#endif 6268 6269_LT_EOF 6270 # Now generate the symbol file. 6271 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6272 6273 cat <<_LT_EOF >> conftest.$ac_ext 6274 6275/* The mapping between symbol names and symbols. */ 6276LT_DLSYM_CONST struct { 6277 const char *name; 6278 void *address; 6279} 6280lt__PROGRAM__LTX_preloaded_symbols[] = 6281{ 6282 { "@PROGRAM@", (void *) 0 }, 6283_LT_EOF 6284 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6285 cat <<\_LT_EOF >> conftest.$ac_ext 6286 {0, (void *) 0} 6287}; 6288 6289/* This works around a problem in FreeBSD linker */ 6290#ifdef FREEBSD_WORKAROUND 6291static const void *lt_preloaded_setup() { 6292 return lt__PROGRAM__LTX_preloaded_symbols; 6293} 6294#endif 6295 6296#ifdef __cplusplus 6297} 6298#endif 6299_LT_EOF 6300 # Now try linking the two files. 6301 mv conftest.$ac_objext conftstm.$ac_objext 6302 lt_globsym_save_LIBS=$LIBS 6303 lt_globsym_save_CFLAGS=$CFLAGS 6304 LIBS=conftstm.$ac_objext 6305 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6306 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6307 (eval $ac_link) 2>&5 6308 ac_status=$? 6309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6310 test $ac_status = 0; } && test -s conftest$ac_exeext; then 6311 pipe_works=yes 6312 fi 6313 LIBS=$lt_globsym_save_LIBS 6314 CFLAGS=$lt_globsym_save_CFLAGS 6315 else 6316 echo "cannot find nm_test_func in $nlist" >&5 6317 fi 6318 else 6319 echo "cannot find nm_test_var in $nlist" >&5 6320 fi 6321 else 6322 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6323 fi 6324 else 6325 echo "$progname: failed program was:" >&5 6326 cat conftest.$ac_ext >&5 6327 fi 6328 rm -rf conftest* conftst* 6329 6330 # Do not use the global_symbol_pipe unless it works. 6331 if test yes = "$pipe_works"; then 6332 break 6333 else 6334 lt_cv_sys_global_symbol_pipe= 6335 fi 6336done 6337 6338fi 6339 6340if test -z "$lt_cv_sys_global_symbol_pipe"; then 6341 lt_cv_sys_global_symbol_to_cdecl= 6342fi 6343if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6345$as_echo "failed" >&6; } 6346else 6347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6348$as_echo "ok" >&6; } 6349fi 6350 6351# Response file support. 6352if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6353 nm_file_list_spec='@' 6354elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6355 nm_file_list_spec='@' 6356fi 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6395$as_echo_n "checking for sysroot... " >&6; } 6396 6397# Check whether --with-sysroot was given. 6398if test "${with_sysroot+set}" = set; then : 6399 withval=$with_sysroot; 6400else 6401 with_sysroot=no 6402fi 6403 6404 6405lt_sysroot= 6406case $with_sysroot in #( 6407 yes) 6408 if test yes = "$GCC"; then 6409 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6410 fi 6411 ;; #( 6412 /*) 6413 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6414 ;; #( 6415 no|'') 6416 ;; #( 6417 *) 6418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 6419$as_echo "$with_sysroot" >&6; } 6420 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6421 ;; 6422esac 6423 6424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6425$as_echo "${lt_sysroot:-no}" >&6; } 6426 6427 6428 6429 6430 6431{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 6432$as_echo_n "checking for a working dd... " >&6; } 6433if ${ac_cv_path_lt_DD+:} false; then : 6434 $as_echo_n "(cached) " >&6 6435else 6436 printf 0123456789abcdef0123456789abcdef >conftest.i 6437cat conftest.i conftest.i >conftest2.i 6438: ${lt_DD:=$DD} 6439if test -z "$lt_DD"; then 6440 ac_path_lt_DD_found=false 6441 # Loop through the user's path and test for each of PROGNAME-LIST 6442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6443for as_dir in $PATH 6444do 6445 IFS=$as_save_IFS 6446 test -z "$as_dir" && as_dir=. 6447 for ac_prog in dd; do 6448 for ac_exec_ext in '' $ac_executable_extensions; do 6449 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 6450 as_fn_executable_p "$ac_path_lt_DD" || continue 6451if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6452 cmp -s conftest.i conftest.out \ 6453 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 6454fi 6455 $ac_path_lt_DD_found && break 3 6456 done 6457 done 6458 done 6459IFS=$as_save_IFS 6460 if test -z "$ac_cv_path_lt_DD"; then 6461 : 6462 fi 6463else 6464 ac_cv_path_lt_DD=$lt_DD 6465fi 6466 6467rm -f conftest.i conftest2.i conftest.out 6468fi 6469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 6470$as_echo "$ac_cv_path_lt_DD" >&6; } 6471 6472 6473{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 6474$as_echo_n "checking how to truncate binary pipes... " >&6; } 6475if ${lt_cv_truncate_bin+:} false; then : 6476 $as_echo_n "(cached) " >&6 6477else 6478 printf 0123456789abcdef0123456789abcdef >conftest.i 6479cat conftest.i conftest.i >conftest2.i 6480lt_cv_truncate_bin= 6481if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 6482 cmp -s conftest.i conftest.out \ 6483 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 6484fi 6485rm -f conftest.i conftest2.i conftest.out 6486test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 6487fi 6488{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 6489$as_echo "$lt_cv_truncate_bin" >&6; } 6490 6491 6492 6493 6494 6495 6496 6497# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 6498func_cc_basename () 6499{ 6500 for cc_temp in $*""; do 6501 case $cc_temp in 6502 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 6503 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 6504 \-*) ;; 6505 *) break;; 6506 esac 6507 done 6508 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 6509} 6510 6511# Check whether --enable-libtool-lock was given. 6512if test "${enable_libtool_lock+set}" = set; then : 6513 enableval=$enable_libtool_lock; 6514fi 6515 6516test no = "$enable_libtool_lock" || enable_libtool_lock=yes 6517 6518# Some flags need to be propagated to the compiler or linker for good 6519# libtool support. 6520case $host in 6521ia64-*-hpux*) 6522 # Find out what ABI is being produced by ac_compile, and set mode 6523 # options accordingly. 6524 echo 'int i;' > conftest.$ac_ext 6525 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6526 (eval $ac_compile) 2>&5 6527 ac_status=$? 6528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6529 test $ac_status = 0; }; then 6530 case `/usr/bin/file conftest.$ac_objext` in 6531 *ELF-32*) 6532 HPUX_IA64_MODE=32 6533 ;; 6534 *ELF-64*) 6535 HPUX_IA64_MODE=64 6536 ;; 6537 esac 6538 fi 6539 rm -rf conftest* 6540 ;; 6541*-*-irix6*) 6542 # Find out what ABI is being produced by ac_compile, and set linker 6543 # options accordingly. 6544 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6545 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6546 (eval $ac_compile) 2>&5 6547 ac_status=$? 6548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6549 test $ac_status = 0; }; then 6550 if test yes = "$lt_cv_prog_gnu_ld"; then 6551 case `/usr/bin/file conftest.$ac_objext` in 6552 *32-bit*) 6553 LD="${LD-ld} -melf32bsmip" 6554 ;; 6555 *N32*) 6556 LD="${LD-ld} -melf32bmipn32" 6557 ;; 6558 *64-bit*) 6559 LD="${LD-ld} -melf64bmip" 6560 ;; 6561 esac 6562 else 6563 case `/usr/bin/file conftest.$ac_objext` in 6564 *32-bit*) 6565 LD="${LD-ld} -32" 6566 ;; 6567 *N32*) 6568 LD="${LD-ld} -n32" 6569 ;; 6570 *64-bit*) 6571 LD="${LD-ld} -64" 6572 ;; 6573 esac 6574 fi 6575 fi 6576 rm -rf conftest* 6577 ;; 6578 6579mips64*-*linux*) 6580 # Find out what ABI is being produced by ac_compile, and set linker 6581 # options accordingly. 6582 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6583 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6584 (eval $ac_compile) 2>&5 6585 ac_status=$? 6586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6587 test $ac_status = 0; }; then 6588 emul=elf 6589 case `/usr/bin/file conftest.$ac_objext` in 6590 *32-bit*) 6591 emul="${emul}32" 6592 ;; 6593 *64-bit*) 6594 emul="${emul}64" 6595 ;; 6596 esac 6597 case `/usr/bin/file conftest.$ac_objext` in 6598 *MSB*) 6599 emul="${emul}btsmip" 6600 ;; 6601 *LSB*) 6602 emul="${emul}ltsmip" 6603 ;; 6604 esac 6605 case `/usr/bin/file conftest.$ac_objext` in 6606 *N32*) 6607 emul="${emul}n32" 6608 ;; 6609 esac 6610 LD="${LD-ld} -m $emul" 6611 fi 6612 rm -rf conftest* 6613 ;; 6614 6615x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 6616s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6617 # Find out what ABI is being produced by ac_compile, and set linker 6618 # options accordingly. Note that the listed cases only cover the 6619 # situations where additional linker options are needed (such as when 6620 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 6621 # vice versa); the common cases where no linker options are needed do 6622 # not appear in the list. 6623 echo 'int i;' > conftest.$ac_ext 6624 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6625 (eval $ac_compile) 2>&5 6626 ac_status=$? 6627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6628 test $ac_status = 0; }; then 6629 case `/usr/bin/file conftest.o` in 6630 *32-bit*) 6631 case $host in 6632 x86_64-*kfreebsd*-gnu) 6633 LD="${LD-ld} -m elf_i386_fbsd" 6634 ;; 6635 x86_64-*linux*) 6636 case `/usr/bin/file conftest.o` in 6637 *x86-64*) 6638 LD="${LD-ld} -m elf32_x86_64" 6639 ;; 6640 *) 6641 LD="${LD-ld} -m elf_i386" 6642 ;; 6643 esac 6644 ;; 6645 powerpc64le-*linux*) 6646 LD="${LD-ld} -m elf32lppclinux" 6647 ;; 6648 powerpc64-*linux*) 6649 LD="${LD-ld} -m elf32ppclinux" 6650 ;; 6651 s390x-*linux*) 6652 LD="${LD-ld} -m elf_s390" 6653 ;; 6654 sparc64-*linux*) 6655 LD="${LD-ld} -m elf32_sparc" 6656 ;; 6657 esac 6658 ;; 6659 *64-bit*) 6660 case $host in 6661 x86_64-*kfreebsd*-gnu) 6662 LD="${LD-ld} -m elf_x86_64_fbsd" 6663 ;; 6664 x86_64-*linux*) 6665 LD="${LD-ld} -m elf_x86_64" 6666 ;; 6667 powerpcle-*linux*) 6668 LD="${LD-ld} -m elf64lppc" 6669 ;; 6670 powerpc-*linux*) 6671 LD="${LD-ld} -m elf64ppc" 6672 ;; 6673 s390*-*linux*|s390*-*tpf*) 6674 LD="${LD-ld} -m elf64_s390" 6675 ;; 6676 sparc*-*linux*) 6677 LD="${LD-ld} -m elf64_sparc" 6678 ;; 6679 esac 6680 ;; 6681 esac 6682 fi 6683 rm -rf conftest* 6684 ;; 6685 6686*-*-sco3.2v5*) 6687 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6688 SAVE_CFLAGS=$CFLAGS 6689 CFLAGS="$CFLAGS -belf" 6690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6691$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6692if ${lt_cv_cc_needs_belf+:} false; then : 6693 $as_echo_n "(cached) " >&6 6694else 6695 ac_ext=c 6696ac_cpp='$CPP $CPPFLAGS' 6697ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6698ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6699ac_compiler_gnu=$ac_cv_c_compiler_gnu 6700 6701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6702/* end confdefs.h. */ 6703 6704int 6705main () 6706{ 6707 6708 ; 6709 return 0; 6710} 6711_ACEOF 6712if ac_fn_c_try_link "$LINENO"; then : 6713 lt_cv_cc_needs_belf=yes 6714else 6715 lt_cv_cc_needs_belf=no 6716fi 6717rm -f core conftest.err conftest.$ac_objext \ 6718 conftest$ac_exeext conftest.$ac_ext 6719 ac_ext=c 6720ac_cpp='$CPP $CPPFLAGS' 6721ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6722ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6723ac_compiler_gnu=$ac_cv_c_compiler_gnu 6724 6725fi 6726{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6727$as_echo "$lt_cv_cc_needs_belf" >&6; } 6728 if test yes != "$lt_cv_cc_needs_belf"; then 6729 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6730 CFLAGS=$SAVE_CFLAGS 6731 fi 6732 ;; 6733*-*solaris*) 6734 # Find out what ABI is being produced by ac_compile, and set linker 6735 # options accordingly. 6736 echo 'int i;' > conftest.$ac_ext 6737 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6738 (eval $ac_compile) 2>&5 6739 ac_status=$? 6740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6741 test $ac_status = 0; }; then 6742 case `/usr/bin/file conftest.o` in 6743 *64-bit*) 6744 case $lt_cv_prog_gnu_ld in 6745 yes*) 6746 case $host in 6747 i?86-*-solaris*|x86_64-*-solaris*) 6748 LD="${LD-ld} -m elf_x86_64" 6749 ;; 6750 sparc*-*-solaris*) 6751 LD="${LD-ld} -m elf64_sparc" 6752 ;; 6753 esac 6754 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 6755 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 6756 LD=${LD-ld}_sol2 6757 fi 6758 ;; 6759 *) 6760 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6761 LD="${LD-ld} -64" 6762 fi 6763 ;; 6764 esac 6765 ;; 6766 esac 6767 fi 6768 rm -rf conftest* 6769 ;; 6770esac 6771 6772need_locks=$enable_libtool_lock 6773 6774if test -n "$ac_tool_prefix"; then 6775 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 6776set dummy ${ac_tool_prefix}mt; ac_word=$2 6777{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6778$as_echo_n "checking for $ac_word... " >&6; } 6779if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 6780 $as_echo_n "(cached) " >&6 6781else 6782 if test -n "$MANIFEST_TOOL"; then 6783 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 6784else 6785as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6786for as_dir in $PATH 6787do 6788 IFS=$as_save_IFS 6789 test -z "$as_dir" && as_dir=. 6790 for ac_exec_ext in '' $ac_executable_extensions; do 6791 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6792 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 6793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6794 break 2 6795 fi 6796done 6797 done 6798IFS=$as_save_IFS 6799 6800fi 6801fi 6802MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 6803if test -n "$MANIFEST_TOOL"; then 6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 6805$as_echo "$MANIFEST_TOOL" >&6; } 6806else 6807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6808$as_echo "no" >&6; } 6809fi 6810 6811 6812fi 6813if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 6814 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 6815 # Extract the first word of "mt", so it can be a program name with args. 6816set dummy mt; ac_word=$2 6817{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6818$as_echo_n "checking for $ac_word... " >&6; } 6819if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 6820 $as_echo_n "(cached) " >&6 6821else 6822 if test -n "$ac_ct_MANIFEST_TOOL"; then 6823 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 6824else 6825as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6826for as_dir in $PATH 6827do 6828 IFS=$as_save_IFS 6829 test -z "$as_dir" && as_dir=. 6830 for ac_exec_ext in '' $ac_executable_extensions; do 6831 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6832 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 6833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6834 break 2 6835 fi 6836done 6837 done 6838IFS=$as_save_IFS 6839 6840fi 6841fi 6842ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 6843if test -n "$ac_ct_MANIFEST_TOOL"; then 6844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 6845$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 6846else 6847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6848$as_echo "no" >&6; } 6849fi 6850 6851 if test "x$ac_ct_MANIFEST_TOOL" = x; then 6852 MANIFEST_TOOL=":" 6853 else 6854 case $cross_compiling:$ac_tool_warned in 6855yes:) 6856{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6857$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6858ac_tool_warned=yes ;; 6859esac 6860 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 6861 fi 6862else 6863 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 6864fi 6865 6866test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 6867{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 6868$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 6869if ${lt_cv_path_mainfest_tool+:} false; then : 6870 $as_echo_n "(cached) " >&6 6871else 6872 lt_cv_path_mainfest_tool=no 6873 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 6874 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 6875 cat conftest.err >&5 6876 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 6877 lt_cv_path_mainfest_tool=yes 6878 fi 6879 rm -f conftest* 6880fi 6881{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 6882$as_echo "$lt_cv_path_mainfest_tool" >&6; } 6883if test yes != "$lt_cv_path_mainfest_tool"; then 6884 MANIFEST_TOOL=: 6885fi 6886 6887 6888 6889 6890 6891 6892 case $host_os in 6893 rhapsody* | darwin*) 6894 if test -n "$ac_tool_prefix"; then 6895 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 6896set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 6897{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6898$as_echo_n "checking for $ac_word... " >&6; } 6899if ${ac_cv_prog_DSYMUTIL+:} false; then : 6900 $as_echo_n "(cached) " >&6 6901else 6902 if test -n "$DSYMUTIL"; then 6903 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 6904else 6905as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6906for as_dir in $PATH 6907do 6908 IFS=$as_save_IFS 6909 test -z "$as_dir" && as_dir=. 6910 for ac_exec_ext in '' $ac_executable_extensions; do 6911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6912 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 6913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6914 break 2 6915 fi 6916done 6917 done 6918IFS=$as_save_IFS 6919 6920fi 6921fi 6922DSYMUTIL=$ac_cv_prog_DSYMUTIL 6923if test -n "$DSYMUTIL"; then 6924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 6925$as_echo "$DSYMUTIL" >&6; } 6926else 6927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6928$as_echo "no" >&6; } 6929fi 6930 6931 6932fi 6933if test -z "$ac_cv_prog_DSYMUTIL"; then 6934 ac_ct_DSYMUTIL=$DSYMUTIL 6935 # Extract the first word of "dsymutil", so it can be a program name with args. 6936set dummy dsymutil; ac_word=$2 6937{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6938$as_echo_n "checking for $ac_word... " >&6; } 6939if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 6940 $as_echo_n "(cached) " >&6 6941else 6942 if test -n "$ac_ct_DSYMUTIL"; then 6943 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 6944else 6945as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6946for as_dir in $PATH 6947do 6948 IFS=$as_save_IFS 6949 test -z "$as_dir" && as_dir=. 6950 for ac_exec_ext in '' $ac_executable_extensions; do 6951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6952 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 6953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6954 break 2 6955 fi 6956done 6957 done 6958IFS=$as_save_IFS 6959 6960fi 6961fi 6962ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 6963if test -n "$ac_ct_DSYMUTIL"; then 6964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 6965$as_echo "$ac_ct_DSYMUTIL" >&6; } 6966else 6967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6968$as_echo "no" >&6; } 6969fi 6970 6971 if test "x$ac_ct_DSYMUTIL" = x; then 6972 DSYMUTIL=":" 6973 else 6974 case $cross_compiling:$ac_tool_warned in 6975yes:) 6976{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6977$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6978ac_tool_warned=yes ;; 6979esac 6980 DSYMUTIL=$ac_ct_DSYMUTIL 6981 fi 6982else 6983 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 6984fi 6985 6986 if test -n "$ac_tool_prefix"; then 6987 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 6988set dummy ${ac_tool_prefix}nmedit; ac_word=$2 6989{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6990$as_echo_n "checking for $ac_word... " >&6; } 6991if ${ac_cv_prog_NMEDIT+:} false; then : 6992 $as_echo_n "(cached) " >&6 6993else 6994 if test -n "$NMEDIT"; then 6995 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 6996else 6997as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6998for as_dir in $PATH 6999do 7000 IFS=$as_save_IFS 7001 test -z "$as_dir" && as_dir=. 7002 for ac_exec_ext in '' $ac_executable_extensions; do 7003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7004 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7006 break 2 7007 fi 7008done 7009 done 7010IFS=$as_save_IFS 7011 7012fi 7013fi 7014NMEDIT=$ac_cv_prog_NMEDIT 7015if test -n "$NMEDIT"; then 7016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 7017$as_echo "$NMEDIT" >&6; } 7018else 7019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7020$as_echo "no" >&6; } 7021fi 7022 7023 7024fi 7025if test -z "$ac_cv_prog_NMEDIT"; then 7026 ac_ct_NMEDIT=$NMEDIT 7027 # Extract the first word of "nmedit", so it can be a program name with args. 7028set dummy nmedit; ac_word=$2 7029{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7030$as_echo_n "checking for $ac_word... " >&6; } 7031if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 7032 $as_echo_n "(cached) " >&6 7033else 7034 if test -n "$ac_ct_NMEDIT"; then 7035 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7036else 7037as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7038for as_dir in $PATH 7039do 7040 IFS=$as_save_IFS 7041 test -z "$as_dir" && as_dir=. 7042 for ac_exec_ext in '' $ac_executable_extensions; do 7043 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7044 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7046 break 2 7047 fi 7048done 7049 done 7050IFS=$as_save_IFS 7051 7052fi 7053fi 7054ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7055if test -n "$ac_ct_NMEDIT"; then 7056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7057$as_echo "$ac_ct_NMEDIT" >&6; } 7058else 7059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7060$as_echo "no" >&6; } 7061fi 7062 7063 if test "x$ac_ct_NMEDIT" = x; then 7064 NMEDIT=":" 7065 else 7066 case $cross_compiling:$ac_tool_warned in 7067yes:) 7068{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7069$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7070ac_tool_warned=yes ;; 7071esac 7072 NMEDIT=$ac_ct_NMEDIT 7073 fi 7074else 7075 NMEDIT="$ac_cv_prog_NMEDIT" 7076fi 7077 7078 if test -n "$ac_tool_prefix"; then 7079 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7080set dummy ${ac_tool_prefix}lipo; ac_word=$2 7081{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7082$as_echo_n "checking for $ac_word... " >&6; } 7083if ${ac_cv_prog_LIPO+:} false; then : 7084 $as_echo_n "(cached) " >&6 7085else 7086 if test -n "$LIPO"; then 7087 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7088else 7089as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7090for as_dir in $PATH 7091do 7092 IFS=$as_save_IFS 7093 test -z "$as_dir" && as_dir=. 7094 for ac_exec_ext in '' $ac_executable_extensions; do 7095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7096 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7098 break 2 7099 fi 7100done 7101 done 7102IFS=$as_save_IFS 7103 7104fi 7105fi 7106LIPO=$ac_cv_prog_LIPO 7107if test -n "$LIPO"; then 7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7109$as_echo "$LIPO" >&6; } 7110else 7111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7112$as_echo "no" >&6; } 7113fi 7114 7115 7116fi 7117if test -z "$ac_cv_prog_LIPO"; then 7118 ac_ct_LIPO=$LIPO 7119 # Extract the first word of "lipo", so it can be a program name with args. 7120set dummy lipo; ac_word=$2 7121{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7122$as_echo_n "checking for $ac_word... " >&6; } 7123if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 7124 $as_echo_n "(cached) " >&6 7125else 7126 if test -n "$ac_ct_LIPO"; then 7127 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7128else 7129as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7130for as_dir in $PATH 7131do 7132 IFS=$as_save_IFS 7133 test -z "$as_dir" && as_dir=. 7134 for ac_exec_ext in '' $ac_executable_extensions; do 7135 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7136 ac_cv_prog_ac_ct_LIPO="lipo" 7137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7138 break 2 7139 fi 7140done 7141 done 7142IFS=$as_save_IFS 7143 7144fi 7145fi 7146ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7147if test -n "$ac_ct_LIPO"; then 7148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7149$as_echo "$ac_ct_LIPO" >&6; } 7150else 7151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7152$as_echo "no" >&6; } 7153fi 7154 7155 if test "x$ac_ct_LIPO" = x; then 7156 LIPO=":" 7157 else 7158 case $cross_compiling:$ac_tool_warned in 7159yes:) 7160{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7161$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7162ac_tool_warned=yes ;; 7163esac 7164 LIPO=$ac_ct_LIPO 7165 fi 7166else 7167 LIPO="$ac_cv_prog_LIPO" 7168fi 7169 7170 if test -n "$ac_tool_prefix"; then 7171 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7172set dummy ${ac_tool_prefix}otool; ac_word=$2 7173{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7174$as_echo_n "checking for $ac_word... " >&6; } 7175if ${ac_cv_prog_OTOOL+:} false; then : 7176 $as_echo_n "(cached) " >&6 7177else 7178 if test -n "$OTOOL"; then 7179 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7180else 7181as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7182for as_dir in $PATH 7183do 7184 IFS=$as_save_IFS 7185 test -z "$as_dir" && as_dir=. 7186 for ac_exec_ext in '' $ac_executable_extensions; do 7187 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7188 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7190 break 2 7191 fi 7192done 7193 done 7194IFS=$as_save_IFS 7195 7196fi 7197fi 7198OTOOL=$ac_cv_prog_OTOOL 7199if test -n "$OTOOL"; then 7200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7201$as_echo "$OTOOL" >&6; } 7202else 7203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7204$as_echo "no" >&6; } 7205fi 7206 7207 7208fi 7209if test -z "$ac_cv_prog_OTOOL"; then 7210 ac_ct_OTOOL=$OTOOL 7211 # Extract the first word of "otool", so it can be a program name with args. 7212set dummy otool; ac_word=$2 7213{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7214$as_echo_n "checking for $ac_word... " >&6; } 7215if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 7216 $as_echo_n "(cached) " >&6 7217else 7218 if test -n "$ac_ct_OTOOL"; then 7219 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7220else 7221as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7222for as_dir in $PATH 7223do 7224 IFS=$as_save_IFS 7225 test -z "$as_dir" && as_dir=. 7226 for ac_exec_ext in '' $ac_executable_extensions; do 7227 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7228 ac_cv_prog_ac_ct_OTOOL="otool" 7229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7230 break 2 7231 fi 7232done 7233 done 7234IFS=$as_save_IFS 7235 7236fi 7237fi 7238ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7239if test -n "$ac_ct_OTOOL"; then 7240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7241$as_echo "$ac_ct_OTOOL" >&6; } 7242else 7243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7244$as_echo "no" >&6; } 7245fi 7246 7247 if test "x$ac_ct_OTOOL" = x; then 7248 OTOOL=":" 7249 else 7250 case $cross_compiling:$ac_tool_warned in 7251yes:) 7252{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7253$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7254ac_tool_warned=yes ;; 7255esac 7256 OTOOL=$ac_ct_OTOOL 7257 fi 7258else 7259 OTOOL="$ac_cv_prog_OTOOL" 7260fi 7261 7262 if test -n "$ac_tool_prefix"; then 7263 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7264set dummy ${ac_tool_prefix}otool64; ac_word=$2 7265{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7266$as_echo_n "checking for $ac_word... " >&6; } 7267if ${ac_cv_prog_OTOOL64+:} false; then : 7268 $as_echo_n "(cached) " >&6 7269else 7270 if test -n "$OTOOL64"; then 7271 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7272else 7273as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7274for as_dir in $PATH 7275do 7276 IFS=$as_save_IFS 7277 test -z "$as_dir" && as_dir=. 7278 for ac_exec_ext in '' $ac_executable_extensions; do 7279 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7280 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7282 break 2 7283 fi 7284done 7285 done 7286IFS=$as_save_IFS 7287 7288fi 7289fi 7290OTOOL64=$ac_cv_prog_OTOOL64 7291if test -n "$OTOOL64"; then 7292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7293$as_echo "$OTOOL64" >&6; } 7294else 7295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7296$as_echo "no" >&6; } 7297fi 7298 7299 7300fi 7301if test -z "$ac_cv_prog_OTOOL64"; then 7302 ac_ct_OTOOL64=$OTOOL64 7303 # Extract the first word of "otool64", so it can be a program name with args. 7304set dummy otool64; ac_word=$2 7305{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7306$as_echo_n "checking for $ac_word... " >&6; } 7307if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 7308 $as_echo_n "(cached) " >&6 7309else 7310 if test -n "$ac_ct_OTOOL64"; then 7311 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7312else 7313as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7314for as_dir in $PATH 7315do 7316 IFS=$as_save_IFS 7317 test -z "$as_dir" && as_dir=. 7318 for ac_exec_ext in '' $ac_executable_extensions; do 7319 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7320 ac_cv_prog_ac_ct_OTOOL64="otool64" 7321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7322 break 2 7323 fi 7324done 7325 done 7326IFS=$as_save_IFS 7327 7328fi 7329fi 7330ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7331if test -n "$ac_ct_OTOOL64"; then 7332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7333$as_echo "$ac_ct_OTOOL64" >&6; } 7334else 7335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7336$as_echo "no" >&6; } 7337fi 7338 7339 if test "x$ac_ct_OTOOL64" = x; then 7340 OTOOL64=":" 7341 else 7342 case $cross_compiling:$ac_tool_warned in 7343yes:) 7344{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7345$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7346ac_tool_warned=yes ;; 7347esac 7348 OTOOL64=$ac_ct_OTOOL64 7349 fi 7350else 7351 OTOOL64="$ac_cv_prog_OTOOL64" 7352fi 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7381$as_echo_n "checking for -single_module linker flag... " >&6; } 7382if ${lt_cv_apple_cc_single_mod+:} false; then : 7383 $as_echo_n "(cached) " >&6 7384else 7385 lt_cv_apple_cc_single_mod=no 7386 if test -z "$LT_MULTI_MODULE"; then 7387 # By default we will add the -single_module flag. You can override 7388 # by either setting the environment variable LT_MULTI_MODULE 7389 # non-empty at configure time, or by adding -multi_module to the 7390 # link flags. 7391 rm -rf libconftest.dylib* 7392 echo "int foo(void){return 1;}" > conftest.c 7393 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7394-dynamiclib -Wl,-single_module conftest.c" >&5 7395 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7396 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7397 _lt_result=$? 7398 # If there is a non-empty error log, and "single_module" 7399 # appears in it, assume the flag caused a linker warning 7400 if test -s conftest.err && $GREP single_module conftest.err; then 7401 cat conftest.err >&5 7402 # Otherwise, if the output was created with a 0 exit code from 7403 # the compiler, it worked. 7404 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 7405 lt_cv_apple_cc_single_mod=yes 7406 else 7407 cat conftest.err >&5 7408 fi 7409 rm -rf libconftest.dylib* 7410 rm -f conftest.* 7411 fi 7412fi 7413{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7414$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7415 7416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7417$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7418if ${lt_cv_ld_exported_symbols_list+:} false; then : 7419 $as_echo_n "(cached) " >&6 7420else 7421 lt_cv_ld_exported_symbols_list=no 7422 save_LDFLAGS=$LDFLAGS 7423 echo "_main" > conftest.sym 7424 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7426/* end confdefs.h. */ 7427 7428int 7429main () 7430{ 7431 7432 ; 7433 return 0; 7434} 7435_ACEOF 7436if ac_fn_c_try_link "$LINENO"; then : 7437 lt_cv_ld_exported_symbols_list=yes 7438else 7439 lt_cv_ld_exported_symbols_list=no 7440fi 7441rm -f core conftest.err conftest.$ac_objext \ 7442 conftest$ac_exeext conftest.$ac_ext 7443 LDFLAGS=$save_LDFLAGS 7444 7445fi 7446{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7447$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7448 7449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7450$as_echo_n "checking for -force_load linker flag... " >&6; } 7451if ${lt_cv_ld_force_load+:} false; then : 7452 $as_echo_n "(cached) " >&6 7453else 7454 lt_cv_ld_force_load=no 7455 cat > conftest.c << _LT_EOF 7456int forced_loaded() { return 2;} 7457_LT_EOF 7458 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7459 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7460 echo "$AR cru libconftest.a conftest.o" >&5 7461 $AR cru libconftest.a conftest.o 2>&5 7462 echo "$RANLIB libconftest.a" >&5 7463 $RANLIB libconftest.a 2>&5 7464 cat > conftest.c << _LT_EOF 7465int main() { return 0;} 7466_LT_EOF 7467 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7468 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7469 _lt_result=$? 7470 if test -s conftest.err && $GREP force_load conftest.err; then 7471 cat conftest.err >&5 7472 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 7473 lt_cv_ld_force_load=yes 7474 else 7475 cat conftest.err >&5 7476 fi 7477 rm -f conftest.err libconftest.a conftest conftest.c 7478 rm -rf conftest.dSYM 7479 7480fi 7481{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7482$as_echo "$lt_cv_ld_force_load" >&6; } 7483 case $host_os in 7484 rhapsody* | darwin1.[012]) 7485 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 7486 darwin1.*) 7487 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7488 darwin*) # darwin 5.x on 7489 # if running on 10.5 or later, the deployment target defaults 7490 # to the OS version, if on x86, and 10.4, the deployment 7491 # target defaults to 10.4. Don't you love it? 7492 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7493 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7494 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7495 10.[012][,.]*) 7496 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 7497 10.*) 7498 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 7499 esac 7500 ;; 7501 esac 7502 if test yes = "$lt_cv_apple_cc_single_mod"; then 7503 _lt_dar_single_mod='$single_module' 7504 fi 7505 if test yes = "$lt_cv_ld_exported_symbols_list"; then 7506 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 7507 else 7508 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 7509 fi 7510 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 7511 _lt_dsymutil='~$DSYMUTIL $lib || :' 7512 else 7513 _lt_dsymutil= 7514 fi 7515 ;; 7516 esac 7517 7518# func_munge_path_list VARIABLE PATH 7519# ----------------------------------- 7520# VARIABLE is name of variable containing _space_ separated list of 7521# directories to be munged by the contents of PATH, which is string 7522# having a format: 7523# "DIR[:DIR]:" 7524# string "DIR[ DIR]" will be prepended to VARIABLE 7525# ":DIR[:DIR]" 7526# string "DIR[ DIR]" will be appended to VARIABLE 7527# "DIRP[:DIRP]::[DIRA:]DIRA" 7528# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 7529# "DIRA[ DIRA]" will be appended to VARIABLE 7530# "DIR[:DIR]" 7531# VARIABLE will be replaced by "DIR[ DIR]" 7532func_munge_path_list () 7533{ 7534 case x$2 in 7535 x) 7536 ;; 7537 *:) 7538 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 7539 ;; 7540 x:*) 7541 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 7542 ;; 7543 *::*) 7544 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 7545 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 7546 ;; 7547 *) 7548 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 7549 ;; 7550 esac 7551} 7552 7553ac_ext=c 7554ac_cpp='$CPP $CPPFLAGS' 7555ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7556ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7557ac_compiler_gnu=$ac_cv_c_compiler_gnu 7558{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7559$as_echo_n "checking how to run the C preprocessor... " >&6; } 7560# On Suns, sometimes $CPP names a directory. 7561if test -n "$CPP" && test -d "$CPP"; then 7562 CPP= 7563fi 7564if test -z "$CPP"; then 7565 if ${ac_cv_prog_CPP+:} false; then : 7566 $as_echo_n "(cached) " >&6 7567else 7568 # Double quotes because CPP needs to be expanded 7569 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 7570 do 7571 ac_preproc_ok=false 7572for ac_c_preproc_warn_flag in '' yes 7573do 7574 # Use a header file that comes with gcc, so configuring glibc 7575 # with a fresh cross-compiler works. 7576 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7577 # <limits.h> exists even on freestanding compilers. 7578 # On the NeXT, cc -E runs the code through the compiler's parser, 7579 # not just through cpp. "Syntax error" is here to catch this case. 7580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7581/* end confdefs.h. */ 7582#ifdef __STDC__ 7583# include <limits.h> 7584#else 7585# include <assert.h> 7586#endif 7587 Syntax error 7588_ACEOF 7589if ac_fn_c_try_cpp "$LINENO"; then : 7590 7591else 7592 # Broken: fails on valid input. 7593continue 7594fi 7595rm -f conftest.err conftest.i conftest.$ac_ext 7596 7597 # OK, works on sane cases. Now check whether nonexistent headers 7598 # can be detected and how. 7599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7600/* end confdefs.h. */ 7601#include <ac_nonexistent.h> 7602_ACEOF 7603if ac_fn_c_try_cpp "$LINENO"; then : 7604 # Broken: success on invalid input. 7605continue 7606else 7607 # Passes both tests. 7608ac_preproc_ok=: 7609break 7610fi 7611rm -f conftest.err conftest.i conftest.$ac_ext 7612 7613done 7614# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7615rm -f conftest.i conftest.err conftest.$ac_ext 7616if $ac_preproc_ok; then : 7617 break 7618fi 7619 7620 done 7621 ac_cv_prog_CPP=$CPP 7622 7623fi 7624 CPP=$ac_cv_prog_CPP 7625else 7626 ac_cv_prog_CPP=$CPP 7627fi 7628{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7629$as_echo "$CPP" >&6; } 7630ac_preproc_ok=false 7631for ac_c_preproc_warn_flag in '' yes 7632do 7633 # Use a header file that comes with gcc, so configuring glibc 7634 # with a fresh cross-compiler works. 7635 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7636 # <limits.h> exists even on freestanding compilers. 7637 # On the NeXT, cc -E runs the code through the compiler's parser, 7638 # not just through cpp. "Syntax error" is here to catch this case. 7639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7640/* end confdefs.h. */ 7641#ifdef __STDC__ 7642# include <limits.h> 7643#else 7644# include <assert.h> 7645#endif 7646 Syntax error 7647_ACEOF 7648if ac_fn_c_try_cpp "$LINENO"; then : 7649 7650else 7651 # Broken: fails on valid input. 7652continue 7653fi 7654rm -f conftest.err conftest.i conftest.$ac_ext 7655 7656 # OK, works on sane cases. Now check whether nonexistent headers 7657 # can be detected and how. 7658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7659/* end confdefs.h. */ 7660#include <ac_nonexistent.h> 7661_ACEOF 7662if ac_fn_c_try_cpp "$LINENO"; then : 7663 # Broken: success on invalid input. 7664continue 7665else 7666 # Passes both tests. 7667ac_preproc_ok=: 7668break 7669fi 7670rm -f conftest.err conftest.i conftest.$ac_ext 7671 7672done 7673# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7674rm -f conftest.i conftest.err conftest.$ac_ext 7675if $ac_preproc_ok; then : 7676 7677else 7678 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7679$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7680as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7681See \`config.log' for more details" "$LINENO" 5; } 7682fi 7683 7684ac_ext=c 7685ac_cpp='$CPP $CPPFLAGS' 7686ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7687ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7688ac_compiler_gnu=$ac_cv_c_compiler_gnu 7689 7690 7691{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7692$as_echo_n "checking for ANSI C header files... " >&6; } 7693if ${ac_cv_header_stdc+:} false; then : 7694 $as_echo_n "(cached) " >&6 7695else 7696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7697/* end confdefs.h. */ 7698#include <stdlib.h> 7699#include <stdarg.h> 7700#include <string.h> 7701#include <float.h> 7702 7703int 7704main () 7705{ 7706 7707 ; 7708 return 0; 7709} 7710_ACEOF 7711if ac_fn_c_try_compile "$LINENO"; then : 7712 ac_cv_header_stdc=yes 7713else 7714 ac_cv_header_stdc=no 7715fi 7716rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7717 7718if test $ac_cv_header_stdc = yes; then 7719 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7721/* end confdefs.h. */ 7722#include <string.h> 7723 7724_ACEOF 7725if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7726 $EGREP "memchr" >/dev/null 2>&1; then : 7727 7728else 7729 ac_cv_header_stdc=no 7730fi 7731rm -f conftest* 7732 7733fi 7734 7735if test $ac_cv_header_stdc = yes; then 7736 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7738/* end confdefs.h. */ 7739#include <stdlib.h> 7740 7741_ACEOF 7742if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7743 $EGREP "free" >/dev/null 2>&1; then : 7744 7745else 7746 ac_cv_header_stdc=no 7747fi 7748rm -f conftest* 7749 7750fi 7751 7752if test $ac_cv_header_stdc = yes; then 7753 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7754 if test "$cross_compiling" = yes; then : 7755 : 7756else 7757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7758/* end confdefs.h. */ 7759#include <ctype.h> 7760#include <stdlib.h> 7761#if ((' ' & 0x0FF) == 0x020) 7762# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7763# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7764#else 7765# define ISLOWER(c) \ 7766 (('a' <= (c) && (c) <= 'i') \ 7767 || ('j' <= (c) && (c) <= 'r') \ 7768 || ('s' <= (c) && (c) <= 'z')) 7769# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7770#endif 7771 7772#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7773int 7774main () 7775{ 7776 int i; 7777 for (i = 0; i < 256; i++) 7778 if (XOR (islower (i), ISLOWER (i)) 7779 || toupper (i) != TOUPPER (i)) 7780 return 2; 7781 return 0; 7782} 7783_ACEOF 7784if ac_fn_c_try_run "$LINENO"; then : 7785 7786else 7787 ac_cv_header_stdc=no 7788fi 7789rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7790 conftest.$ac_objext conftest.beam conftest.$ac_ext 7791fi 7792 7793fi 7794fi 7795{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7796$as_echo "$ac_cv_header_stdc" >&6; } 7797if test $ac_cv_header_stdc = yes; then 7798 7799$as_echo "#define STDC_HEADERS 1" >>confdefs.h 7800 7801fi 7802 7803# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7804for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7805 inttypes.h stdint.h unistd.h 7806do : 7807 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7808ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7809" 7810if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7811 cat >>confdefs.h <<_ACEOF 7812#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7813_ACEOF 7814 7815fi 7816 7817done 7818 7819 7820for ac_header in dlfcn.h 7821do : 7822 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7823" 7824if test "x$ac_cv_header_dlfcn_h" = xyes; then : 7825 cat >>confdefs.h <<_ACEOF 7826#define HAVE_DLFCN_H 1 7827_ACEOF 7828 7829fi 7830 7831done 7832 7833 7834 7835 7836 7837# Set options 7838 7839 7840 7841 enable_dlopen=no 7842 7843 7844 enable_win32_dll=no 7845 7846 7847 # Check whether --enable-shared was given. 7848if test "${enable_shared+set}" = set; then : 7849 enableval=$enable_shared; p=${PACKAGE-default} 7850 case $enableval in 7851 yes) enable_shared=yes ;; 7852 no) enable_shared=no ;; 7853 *) 7854 enable_shared=no 7855 # Look at the argument we got. We use all the common list separators. 7856 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7857 for pkg in $enableval; do 7858 IFS=$lt_save_ifs 7859 if test "X$pkg" = "X$p"; then 7860 enable_shared=yes 7861 fi 7862 done 7863 IFS=$lt_save_ifs 7864 ;; 7865 esac 7866else 7867 enable_shared=yes 7868fi 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 # Check whether --enable-static was given. 7879if test "${enable_static+set}" = set; then : 7880 enableval=$enable_static; p=${PACKAGE-default} 7881 case $enableval in 7882 yes) enable_static=yes ;; 7883 no) enable_static=no ;; 7884 *) 7885 enable_static=no 7886 # Look at the argument we got. We use all the common list separators. 7887 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7888 for pkg in $enableval; do 7889 IFS=$lt_save_ifs 7890 if test "X$pkg" = "X$p"; then 7891 enable_static=yes 7892 fi 7893 done 7894 IFS=$lt_save_ifs 7895 ;; 7896 esac 7897else 7898 enable_static=yes 7899fi 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910# Check whether --with-pic was given. 7911if test "${with_pic+set}" = set; then : 7912 withval=$with_pic; lt_p=${PACKAGE-default} 7913 case $withval in 7914 yes|no) pic_mode=$withval ;; 7915 *) 7916 pic_mode=default 7917 # Look at the argument we got. We use all the common list separators. 7918 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7919 for lt_pkg in $withval; do 7920 IFS=$lt_save_ifs 7921 if test "X$lt_pkg" = "X$lt_p"; then 7922 pic_mode=yes 7923 fi 7924 done 7925 IFS=$lt_save_ifs 7926 ;; 7927 esac 7928else 7929 pic_mode=default 7930fi 7931 7932 7933 7934 7935 7936 7937 7938 7939 # Check whether --enable-fast-install was given. 7940if test "${enable_fast_install+set}" = set; then : 7941 enableval=$enable_fast_install; p=${PACKAGE-default} 7942 case $enableval in 7943 yes) enable_fast_install=yes ;; 7944 no) enable_fast_install=no ;; 7945 *) 7946 enable_fast_install=no 7947 # Look at the argument we got. We use all the common list separators. 7948 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 7949 for pkg in $enableval; do 7950 IFS=$lt_save_ifs 7951 if test "X$pkg" = "X$p"; then 7952 enable_fast_install=yes 7953 fi 7954 done 7955 IFS=$lt_save_ifs 7956 ;; 7957 esac 7958else 7959 enable_fast_install=yes 7960fi 7961 7962 7963 7964 7965 7966 7967 7968 7969 shared_archive_member_spec= 7970case $host,$enable_shared in 7971power*-*-aix[5-9]*,yes) 7972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 7973$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 7974 7975# Check whether --with-aix-soname was given. 7976if test "${with_aix_soname+set}" = set; then : 7977 withval=$with_aix_soname; case $withval in 7978 aix|svr4|both) 7979 ;; 7980 *) 7981 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 7982 ;; 7983 esac 7984 lt_cv_with_aix_soname=$with_aix_soname 7985else 7986 if ${lt_cv_with_aix_soname+:} false; then : 7987 $as_echo_n "(cached) " >&6 7988else 7989 lt_cv_with_aix_soname=aix 7990fi 7991 7992 with_aix_soname=$lt_cv_with_aix_soname 7993fi 7994 7995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 7996$as_echo "$with_aix_soname" >&6; } 7997 if test aix != "$with_aix_soname"; then 7998 # For the AIX way of multilib, we name the shared archive member 7999 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 8000 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 8001 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 8002 # the AIX toolchain works better with OBJECT_MODE set (default 32). 8003 if test 64 = "${OBJECT_MODE-32}"; then 8004 shared_archive_member_spec=shr_64 8005 else 8006 shared_archive_member_spec=shr 8007 fi 8008 fi 8009 ;; 8010*) 8011 with_aix_soname=aix 8012 ;; 8013esac 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024# This can be used to rebuild libtool when needed 8025LIBTOOL_DEPS=$ltmain 8026 8027# Always use our own libtool. 8028LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059test -z "$LN_S" && LN_S="ln -s" 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074if test -n "${ZSH_VERSION+set}"; then 8075 setopt NO_GLOB_SUBST 8076fi 8077 8078{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8079$as_echo_n "checking for objdir... " >&6; } 8080if ${lt_cv_objdir+:} false; then : 8081 $as_echo_n "(cached) " >&6 8082else 8083 rm -f .libs 2>/dev/null 8084mkdir .libs 2>/dev/null 8085if test -d .libs; then 8086 lt_cv_objdir=.libs 8087else 8088 # MS-DOS does not allow filenames that begin with a dot. 8089 lt_cv_objdir=_libs 8090fi 8091rmdir .libs 2>/dev/null 8092fi 8093{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 8094$as_echo "$lt_cv_objdir" >&6; } 8095objdir=$lt_cv_objdir 8096 8097 8098 8099 8100 8101cat >>confdefs.h <<_ACEOF 8102#define LT_OBJDIR "$lt_cv_objdir/" 8103_ACEOF 8104 8105 8106 8107 8108case $host_os in 8109aix3*) 8110 # AIX sometimes has problems with the GCC collect2 program. For some 8111 # reason, if we set the COLLECT_NAMES environment variable, the problems 8112 # vanish in a puff of smoke. 8113 if test set != "${COLLECT_NAMES+set}"; then 8114 COLLECT_NAMES= 8115 export COLLECT_NAMES 8116 fi 8117 ;; 8118esac 8119 8120# Global variables: 8121ofile=libtool 8122can_build_shared=yes 8123 8124# All known linkers require a '.a' archive for static linking (except MSVC, 8125# which needs '.lib'). 8126libext=a 8127 8128with_gnu_ld=$lt_cv_prog_gnu_ld 8129 8130old_CC=$CC 8131old_CFLAGS=$CFLAGS 8132 8133# Set sane defaults for various variables 8134test -z "$CC" && CC=cc 8135test -z "$LTCC" && LTCC=$CC 8136test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 8137test -z "$LD" && LD=ld 8138test -z "$ac_objext" && ac_objext=o 8139 8140func_cc_basename $compiler 8141cc_basename=$func_cc_basename_result 8142 8143 8144# Only perform the check for file, if the check method requires it 8145test -z "$MAGIC_CMD" && MAGIC_CMD=file 8146case $deplibs_check_method in 8147file_magic*) 8148 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8150$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8151if ${lt_cv_path_MAGIC_CMD+:} false; then : 8152 $as_echo_n "(cached) " >&6 8153else 8154 case $MAGIC_CMD in 8155[\\/*] | ?:[\\/]*) 8156 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8157 ;; 8158*) 8159 lt_save_MAGIC_CMD=$MAGIC_CMD 8160 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8161 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8162 for ac_dir in $ac_dummy; do 8163 IFS=$lt_save_ifs 8164 test -z "$ac_dir" && ac_dir=. 8165 if test -f "$ac_dir/${ac_tool_prefix}file"; then 8166 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 8167 if test -n "$file_magic_test_file"; then 8168 case $deplibs_check_method in 8169 "file_magic "*) 8170 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8171 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8172 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8173 $EGREP "$file_magic_regex" > /dev/null; then 8174 : 8175 else 8176 cat <<_LT_EOF 1>&2 8177 8178*** Warning: the command libtool uses to detect shared libraries, 8179*** $file_magic_cmd, produces output that libtool cannot recognize. 8180*** The result is that libtool may fail to recognize shared libraries 8181*** as such. This will affect the creation of libtool libraries that 8182*** depend on shared libraries, but programs linked with such libtool 8183*** libraries will work regardless of this problem. Nevertheless, you 8184*** may want to report the problem to your system manager and/or to 8185*** bug-libtool@gnu.org 8186 8187_LT_EOF 8188 fi ;; 8189 esac 8190 fi 8191 break 8192 fi 8193 done 8194 IFS=$lt_save_ifs 8195 MAGIC_CMD=$lt_save_MAGIC_CMD 8196 ;; 8197esac 8198fi 8199 8200MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8201if test -n "$MAGIC_CMD"; then 8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8203$as_echo "$MAGIC_CMD" >&6; } 8204else 8205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8206$as_echo "no" >&6; } 8207fi 8208 8209 8210 8211 8212 8213if test -z "$lt_cv_path_MAGIC_CMD"; then 8214 if test -n "$ac_tool_prefix"; then 8215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8216$as_echo_n "checking for file... " >&6; } 8217if ${lt_cv_path_MAGIC_CMD+:} false; then : 8218 $as_echo_n "(cached) " >&6 8219else 8220 case $MAGIC_CMD in 8221[\\/*] | ?:[\\/]*) 8222 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8223 ;; 8224*) 8225 lt_save_MAGIC_CMD=$MAGIC_CMD 8226 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8227 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8228 for ac_dir in $ac_dummy; do 8229 IFS=$lt_save_ifs 8230 test -z "$ac_dir" && ac_dir=. 8231 if test -f "$ac_dir/file"; then 8232 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 8233 if test -n "$file_magic_test_file"; then 8234 case $deplibs_check_method in 8235 "file_magic "*) 8236 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8237 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8238 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8239 $EGREP "$file_magic_regex" > /dev/null; then 8240 : 8241 else 8242 cat <<_LT_EOF 1>&2 8243 8244*** Warning: the command libtool uses to detect shared libraries, 8245*** $file_magic_cmd, produces output that libtool cannot recognize. 8246*** The result is that libtool may fail to recognize shared libraries 8247*** as such. This will affect the creation of libtool libraries that 8248*** depend on shared libraries, but programs linked with such libtool 8249*** libraries will work regardless of this problem. Nevertheless, you 8250*** may want to report the problem to your system manager and/or to 8251*** bug-libtool@gnu.org 8252 8253_LT_EOF 8254 fi ;; 8255 esac 8256 fi 8257 break 8258 fi 8259 done 8260 IFS=$lt_save_ifs 8261 MAGIC_CMD=$lt_save_MAGIC_CMD 8262 ;; 8263esac 8264fi 8265 8266MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8267if test -n "$MAGIC_CMD"; then 8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8269$as_echo "$MAGIC_CMD" >&6; } 8270else 8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8272$as_echo "no" >&6; } 8273fi 8274 8275 8276 else 8277 MAGIC_CMD=: 8278 fi 8279fi 8280 8281 fi 8282 ;; 8283esac 8284 8285# Use C for the default configuration in the libtool script 8286 8287lt_save_CC=$CC 8288ac_ext=c 8289ac_cpp='$CPP $CPPFLAGS' 8290ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8291ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8292ac_compiler_gnu=$ac_cv_c_compiler_gnu 8293 8294 8295# Source file extension for C test sources. 8296ac_ext=c 8297 8298# Object file extension for compiled C test sources. 8299objext=o 8300objext=$objext 8301 8302# Code to be used in simple compile tests 8303lt_simple_compile_test_code="int some_variable = 0;" 8304 8305# Code to be used in simple link tests 8306lt_simple_link_test_code='int main(){return(0);}' 8307 8308 8309 8310 8311 8312 8313 8314# If no C compiler was specified, use CC. 8315LTCC=${LTCC-"$CC"} 8316 8317# If no C compiler flags were specified, use CFLAGS. 8318LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8319 8320# Allow CC to be a program name with arguments. 8321compiler=$CC 8322 8323# Save the default compiler, since it gets overwritten when the other 8324# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8325compiler_DEFAULT=$CC 8326 8327# save warnings/boilerplate of simple test code 8328ac_outfile=conftest.$ac_objext 8329echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8330eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8331_lt_compiler_boilerplate=`cat conftest.err` 8332$RM conftest* 8333 8334ac_outfile=conftest.$ac_objext 8335echo "$lt_simple_link_test_code" >conftest.$ac_ext 8336eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8337_lt_linker_boilerplate=`cat conftest.err` 8338$RM -r conftest* 8339 8340 8341## CAVEAT EMPTOR: 8342## There is no encapsulation within the following macros, do not change 8343## the running order or otherwise move them around unless you know exactly 8344## what you are doing... 8345if test -n "$compiler"; then 8346 8347lt_prog_compiler_no_builtin_flag= 8348 8349if test yes = "$GCC"; then 8350 case $cc_basename in 8351 nvcc*) 8352 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 8353 *) 8354 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8355 esac 8356 8357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8358$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8359if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 8360 $as_echo_n "(cached) " >&6 8361else 8362 lt_cv_prog_compiler_rtti_exceptions=no 8363 ac_outfile=conftest.$ac_objext 8364 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8365 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 8366 # Insert the option either (1) after the last *FLAGS variable, or 8367 # (2) before a word containing "conftest.", or (3) at the end. 8368 # Note that $ac_compile itself does not contain backslashes and begins 8369 # with a dollar sign (not a hyphen), so the echo should work correctly. 8370 # The option is referenced via a variable to avoid confusing sed. 8371 lt_compile=`echo "$ac_compile" | $SED \ 8372 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8373 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8374 -e 's:$: $lt_compiler_flag:'` 8375 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8376 (eval "$lt_compile" 2>conftest.err) 8377 ac_status=$? 8378 cat conftest.err >&5 8379 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8380 if (exit $ac_status) && test -s "$ac_outfile"; then 8381 # The compiler can only warn and ignore the option if not recognized 8382 # So say no if there are warnings other than the usual output. 8383 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8384 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8385 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8386 lt_cv_prog_compiler_rtti_exceptions=yes 8387 fi 8388 fi 8389 $RM conftest* 8390 8391fi 8392{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8393$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8394 8395if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 8396 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8397else 8398 : 8399fi 8400 8401fi 8402 8403 8404 8405 8406 8407 8408 lt_prog_compiler_wl= 8409lt_prog_compiler_pic= 8410lt_prog_compiler_static= 8411 8412 8413 if test yes = "$GCC"; then 8414 lt_prog_compiler_wl='-Wl,' 8415 lt_prog_compiler_static='-static' 8416 8417 case $host_os in 8418 aix*) 8419 # All AIX code is PIC. 8420 if test ia64 = "$host_cpu"; then 8421 # AIX 5 now supports IA64 processor 8422 lt_prog_compiler_static='-Bstatic' 8423 fi 8424 lt_prog_compiler_pic='-fPIC' 8425 ;; 8426 8427 amigaos*) 8428 case $host_cpu in 8429 powerpc) 8430 # see comment about AmigaOS4 .so support 8431 lt_prog_compiler_pic='-fPIC' 8432 ;; 8433 m68k) 8434 # FIXME: we need at least 68020 code to build shared libraries, but 8435 # adding the '-m68020' flag to GCC prevents building anything better, 8436 # like '-m68040'. 8437 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8438 ;; 8439 esac 8440 ;; 8441 8442 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8443 # PIC is the default for these OSes. 8444 ;; 8445 8446 mingw* | cygwin* | pw32* | os2* | cegcc*) 8447 # This hack is so that the source file can tell whether it is being 8448 # built for inclusion in a dll (and should export symbols for example). 8449 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8450 # (--disable-auto-import) libraries 8451 lt_prog_compiler_pic='-DDLL_EXPORT' 8452 case $host_os in 8453 os2*) 8454 lt_prog_compiler_static='$wl-static' 8455 ;; 8456 esac 8457 ;; 8458 8459 darwin* | rhapsody*) 8460 # PIC is the default on this platform 8461 # Common symbols not allowed in MH_DYLIB files 8462 lt_prog_compiler_pic='-fno-common' 8463 ;; 8464 8465 haiku*) 8466 # PIC is the default for Haiku. 8467 # The "-static" flag exists, but is broken. 8468 lt_prog_compiler_static= 8469 ;; 8470 8471 hpux*) 8472 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8473 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8474 # sets the default TLS model and affects inlining. 8475 case $host_cpu in 8476 hppa*64*) 8477 # +Z the default 8478 ;; 8479 *) 8480 lt_prog_compiler_pic='-fPIC' 8481 ;; 8482 esac 8483 ;; 8484 8485 interix[3-9]*) 8486 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8487 # Instead, we relocate shared libraries at runtime. 8488 ;; 8489 8490 msdosdjgpp*) 8491 # Just because we use GCC doesn't mean we suddenly get shared libraries 8492 # on systems that don't support them. 8493 lt_prog_compiler_can_build_shared=no 8494 enable_shared=no 8495 ;; 8496 8497 *nto* | *qnx*) 8498 # QNX uses GNU C++, but need to define -shared option too, otherwise 8499 # it will coredump. 8500 lt_prog_compiler_pic='-fPIC -shared' 8501 ;; 8502 8503 sysv4*MP*) 8504 if test -d /usr/nec; then 8505 lt_prog_compiler_pic=-Kconform_pic 8506 fi 8507 ;; 8508 8509 *) 8510 lt_prog_compiler_pic='-fPIC' 8511 ;; 8512 esac 8513 8514 case $cc_basename in 8515 nvcc*) # Cuda Compiler Driver 2.2 8516 lt_prog_compiler_wl='-Xlinker ' 8517 if test -n "$lt_prog_compiler_pic"; then 8518 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 8519 fi 8520 ;; 8521 esac 8522 else 8523 # PORTME Check for flag to pass linker flags through the system compiler. 8524 case $host_os in 8525 aix*) 8526 lt_prog_compiler_wl='-Wl,' 8527 if test ia64 = "$host_cpu"; then 8528 # AIX 5 now supports IA64 processor 8529 lt_prog_compiler_static='-Bstatic' 8530 else 8531 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8532 fi 8533 ;; 8534 8535 darwin* | rhapsody*) 8536 # PIC is the default on this platform 8537 # Common symbols not allowed in MH_DYLIB files 8538 lt_prog_compiler_pic='-fno-common' 8539 case $cc_basename in 8540 nagfor*) 8541 # NAG Fortran compiler 8542 lt_prog_compiler_wl='-Wl,-Wl,,' 8543 lt_prog_compiler_pic='-PIC' 8544 lt_prog_compiler_static='-Bstatic' 8545 ;; 8546 esac 8547 ;; 8548 8549 mingw* | cygwin* | pw32* | os2* | cegcc*) 8550 # This hack is so that the source file can tell whether it is being 8551 # built for inclusion in a dll (and should export symbols for example). 8552 lt_prog_compiler_pic='-DDLL_EXPORT' 8553 case $host_os in 8554 os2*) 8555 lt_prog_compiler_static='$wl-static' 8556 ;; 8557 esac 8558 ;; 8559 8560 hpux9* | hpux10* | hpux11*) 8561 lt_prog_compiler_wl='-Wl,' 8562 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8563 # not for PA HP-UX. 8564 case $host_cpu in 8565 hppa*64*|ia64*) 8566 # +Z the default 8567 ;; 8568 *) 8569 lt_prog_compiler_pic='+Z' 8570 ;; 8571 esac 8572 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8573 lt_prog_compiler_static='$wl-a ${wl}archive' 8574 ;; 8575 8576 irix5* | irix6* | nonstopux*) 8577 lt_prog_compiler_wl='-Wl,' 8578 # PIC (with -KPIC) is the default. 8579 lt_prog_compiler_static='-non_shared' 8580 ;; 8581 8582 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 8583 case $cc_basename in 8584 # old Intel for x86_64, which still supported -KPIC. 8585 ecc*) 8586 lt_prog_compiler_wl='-Wl,' 8587 lt_prog_compiler_pic='-KPIC' 8588 lt_prog_compiler_static='-static' 8589 ;; 8590 # icc used to be incompatible with GCC. 8591 # ICC 10 doesn't accept -KPIC any more. 8592 icc* | ifort*) 8593 lt_prog_compiler_wl='-Wl,' 8594 lt_prog_compiler_pic='-fPIC' 8595 lt_prog_compiler_static='-static' 8596 ;; 8597 # Lahey Fortran 8.1. 8598 lf95*) 8599 lt_prog_compiler_wl='-Wl,' 8600 lt_prog_compiler_pic='--shared' 8601 lt_prog_compiler_static='--static' 8602 ;; 8603 nagfor*) 8604 # NAG Fortran compiler 8605 lt_prog_compiler_wl='-Wl,-Wl,,' 8606 lt_prog_compiler_pic='-PIC' 8607 lt_prog_compiler_static='-Bstatic' 8608 ;; 8609 tcc*) 8610 # Fabrice Bellard et al's Tiny C Compiler 8611 lt_prog_compiler_wl='-Wl,' 8612 lt_prog_compiler_pic='-fPIC' 8613 lt_prog_compiler_static='-static' 8614 ;; 8615 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8616 # Portland Group compilers (*not* the Pentium gcc compiler, 8617 # which looks to be a dead project) 8618 lt_prog_compiler_wl='-Wl,' 8619 lt_prog_compiler_pic='-fpic' 8620 lt_prog_compiler_static='-Bstatic' 8621 ;; 8622 ccc*) 8623 lt_prog_compiler_wl='-Wl,' 8624 # All Alpha code is PIC. 8625 lt_prog_compiler_static='-non_shared' 8626 ;; 8627 xl* | bgxl* | bgf* | mpixl*) 8628 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8629 lt_prog_compiler_wl='-Wl,' 8630 lt_prog_compiler_pic='-qpic' 8631 lt_prog_compiler_static='-qstaticlink' 8632 ;; 8633 *) 8634 case `$CC -V 2>&1 | sed 5q` in 8635 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 8636 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8637 lt_prog_compiler_pic='-KPIC' 8638 lt_prog_compiler_static='-Bstatic' 8639 lt_prog_compiler_wl='' 8640 ;; 8641 *Sun\ F* | *Sun*Fortran*) 8642 lt_prog_compiler_pic='-KPIC' 8643 lt_prog_compiler_static='-Bstatic' 8644 lt_prog_compiler_wl='-Qoption ld ' 8645 ;; 8646 *Sun\ C*) 8647 # Sun C 5.9 8648 lt_prog_compiler_pic='-KPIC' 8649 lt_prog_compiler_static='-Bstatic' 8650 lt_prog_compiler_wl='-Wl,' 8651 ;; 8652 *Intel*\ [CF]*Compiler*) 8653 lt_prog_compiler_wl='-Wl,' 8654 lt_prog_compiler_pic='-fPIC' 8655 lt_prog_compiler_static='-static' 8656 ;; 8657 *Portland\ Group*) 8658 lt_prog_compiler_wl='-Wl,' 8659 lt_prog_compiler_pic='-fpic' 8660 lt_prog_compiler_static='-Bstatic' 8661 ;; 8662 esac 8663 ;; 8664 esac 8665 ;; 8666 8667 newsos6) 8668 lt_prog_compiler_pic='-KPIC' 8669 lt_prog_compiler_static='-Bstatic' 8670 ;; 8671 8672 *nto* | *qnx*) 8673 # QNX uses GNU C++, but need to define -shared option too, otherwise 8674 # it will coredump. 8675 lt_prog_compiler_pic='-fPIC -shared' 8676 ;; 8677 8678 osf3* | osf4* | osf5*) 8679 lt_prog_compiler_wl='-Wl,' 8680 # All OSF/1 code is PIC. 8681 lt_prog_compiler_static='-non_shared' 8682 ;; 8683 8684 rdos*) 8685 lt_prog_compiler_static='-non_shared' 8686 ;; 8687 8688 solaris*) 8689 lt_prog_compiler_pic='-KPIC' 8690 lt_prog_compiler_static='-Bstatic' 8691 case $cc_basename in 8692 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 8693 lt_prog_compiler_wl='-Qoption ld ';; 8694 *) 8695 lt_prog_compiler_wl='-Wl,';; 8696 esac 8697 ;; 8698 8699 sunos4*) 8700 lt_prog_compiler_wl='-Qoption ld ' 8701 lt_prog_compiler_pic='-PIC' 8702 lt_prog_compiler_static='-Bstatic' 8703 ;; 8704 8705 sysv4 | sysv4.2uw2* | sysv4.3*) 8706 lt_prog_compiler_wl='-Wl,' 8707 lt_prog_compiler_pic='-KPIC' 8708 lt_prog_compiler_static='-Bstatic' 8709 ;; 8710 8711 sysv4*MP*) 8712 if test -d /usr/nec; then 8713 lt_prog_compiler_pic='-Kconform_pic' 8714 lt_prog_compiler_static='-Bstatic' 8715 fi 8716 ;; 8717 8718 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8719 lt_prog_compiler_wl='-Wl,' 8720 lt_prog_compiler_pic='-KPIC' 8721 lt_prog_compiler_static='-Bstatic' 8722 ;; 8723 8724 unicos*) 8725 lt_prog_compiler_wl='-Wl,' 8726 lt_prog_compiler_can_build_shared=no 8727 ;; 8728 8729 uts4*) 8730 lt_prog_compiler_pic='-pic' 8731 lt_prog_compiler_static='-Bstatic' 8732 ;; 8733 8734 *) 8735 lt_prog_compiler_can_build_shared=no 8736 ;; 8737 esac 8738 fi 8739 8740case $host_os in 8741 # For platforms that do not support PIC, -DPIC is meaningless: 8742 *djgpp*) 8743 lt_prog_compiler_pic= 8744 ;; 8745 *) 8746 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8747 ;; 8748esac 8749 8750{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 8751$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8752if ${lt_cv_prog_compiler_pic+:} false; then : 8753 $as_echo_n "(cached) " >&6 8754else 8755 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 8756fi 8757{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 8758$as_echo "$lt_cv_prog_compiler_pic" >&6; } 8759lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 8760 8761# 8762# Check to make sure the PIC flag actually works. 8763# 8764if test -n "$lt_prog_compiler_pic"; then 8765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8766$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8767if ${lt_cv_prog_compiler_pic_works+:} false; then : 8768 $as_echo_n "(cached) " >&6 8769else 8770 lt_cv_prog_compiler_pic_works=no 8771 ac_outfile=conftest.$ac_objext 8772 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8773 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 8774 # Insert the option either (1) after the last *FLAGS variable, or 8775 # (2) before a word containing "conftest.", or (3) at the end. 8776 # Note that $ac_compile itself does not contain backslashes and begins 8777 # with a dollar sign (not a hyphen), so the echo should work correctly. 8778 # The option is referenced via a variable to avoid confusing sed. 8779 lt_compile=`echo "$ac_compile" | $SED \ 8780 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8781 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8782 -e 's:$: $lt_compiler_flag:'` 8783 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8784 (eval "$lt_compile" 2>conftest.err) 8785 ac_status=$? 8786 cat conftest.err >&5 8787 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8788 if (exit $ac_status) && test -s "$ac_outfile"; then 8789 # The compiler can only warn and ignore the option if not recognized 8790 # So say no if there are warnings other than the usual output. 8791 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8792 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8793 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8794 lt_cv_prog_compiler_pic_works=yes 8795 fi 8796 fi 8797 $RM conftest* 8798 8799fi 8800{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8801$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8802 8803if test yes = "$lt_cv_prog_compiler_pic_works"; then 8804 case $lt_prog_compiler_pic in 8805 "" | " "*) ;; 8806 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8807 esac 8808else 8809 lt_prog_compiler_pic= 8810 lt_prog_compiler_can_build_shared=no 8811fi 8812 8813fi 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825# 8826# Check to make sure the static flag actually works. 8827# 8828wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8829{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8830$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8831if ${lt_cv_prog_compiler_static_works+:} false; then : 8832 $as_echo_n "(cached) " >&6 8833else 8834 lt_cv_prog_compiler_static_works=no 8835 save_LDFLAGS=$LDFLAGS 8836 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8837 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8838 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8839 # The linker can only warn and ignore the option if not recognized 8840 # So say no if there are warnings 8841 if test -s conftest.err; then 8842 # Append any errors to the config.log. 8843 cat conftest.err 1>&5 8844 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 8845 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8846 if diff conftest.exp conftest.er2 >/dev/null; then 8847 lt_cv_prog_compiler_static_works=yes 8848 fi 8849 else 8850 lt_cv_prog_compiler_static_works=yes 8851 fi 8852 fi 8853 $RM -r conftest* 8854 LDFLAGS=$save_LDFLAGS 8855 8856fi 8857{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 8858$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8859 8860if test yes = "$lt_cv_prog_compiler_static_works"; then 8861 : 8862else 8863 lt_prog_compiler_static= 8864fi 8865 8866 8867 8868 8869 8870 8871 8872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8873$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8874if ${lt_cv_prog_compiler_c_o+:} false; then : 8875 $as_echo_n "(cached) " >&6 8876else 8877 lt_cv_prog_compiler_c_o=no 8878 $RM -r conftest 2>/dev/null 8879 mkdir conftest 8880 cd conftest 8881 mkdir out 8882 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8883 8884 lt_compiler_flag="-o out/conftest2.$ac_objext" 8885 # Insert the option either (1) after the last *FLAGS variable, or 8886 # (2) before a word containing "conftest.", or (3) at the end. 8887 # Note that $ac_compile itself does not contain backslashes and begins 8888 # with a dollar sign (not a hyphen), so the echo should work correctly. 8889 lt_compile=`echo "$ac_compile" | $SED \ 8890 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8891 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8892 -e 's:$: $lt_compiler_flag:'` 8893 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8894 (eval "$lt_compile" 2>out/conftest.err) 8895 ac_status=$? 8896 cat out/conftest.err >&5 8897 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8898 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8899 then 8900 # The compiler can only warn and ignore the option if not recognized 8901 # So say no if there are warnings 8902 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8903 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8904 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8905 lt_cv_prog_compiler_c_o=yes 8906 fi 8907 fi 8908 chmod u+w . 2>&5 8909 $RM conftest* 8910 # SGI C++ compiler will create directory out/ii_files/ for 8911 # template instantiation 8912 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8913 $RM out/* && rmdir out 8914 cd .. 8915 $RM -r conftest 8916 $RM conftest* 8917 8918fi 8919{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8920$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8921 8922 8923 8924 8925 8926 8927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8928$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8929if ${lt_cv_prog_compiler_c_o+:} false; then : 8930 $as_echo_n "(cached) " >&6 8931else 8932 lt_cv_prog_compiler_c_o=no 8933 $RM -r conftest 2>/dev/null 8934 mkdir conftest 8935 cd conftest 8936 mkdir out 8937 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8938 8939 lt_compiler_flag="-o out/conftest2.$ac_objext" 8940 # Insert the option either (1) after the last *FLAGS variable, or 8941 # (2) before a word containing "conftest.", or (3) at the end. 8942 # Note that $ac_compile itself does not contain backslashes and begins 8943 # with a dollar sign (not a hyphen), so the echo should work correctly. 8944 lt_compile=`echo "$ac_compile" | $SED \ 8945 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8946 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8947 -e 's:$: $lt_compiler_flag:'` 8948 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8949 (eval "$lt_compile" 2>out/conftest.err) 8950 ac_status=$? 8951 cat out/conftest.err >&5 8952 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8953 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8954 then 8955 # The compiler can only warn and ignore the option if not recognized 8956 # So say no if there are warnings 8957 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8958 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8959 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8960 lt_cv_prog_compiler_c_o=yes 8961 fi 8962 fi 8963 chmod u+w . 2>&5 8964 $RM conftest* 8965 # SGI C++ compiler will create directory out/ii_files/ for 8966 # template instantiation 8967 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8968 $RM out/* && rmdir out 8969 cd .. 8970 $RM -r conftest 8971 $RM conftest* 8972 8973fi 8974{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8975$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8976 8977 8978 8979 8980hard_links=nottested 8981if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 8982 # do not overwrite the value of need_locks provided by the user 8983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 8984$as_echo_n "checking if we can lock with hard links... " >&6; } 8985 hard_links=yes 8986 $RM conftest* 8987 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8988 touch conftest.a 8989 ln conftest.a conftest.b 2>&5 || hard_links=no 8990 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 8992$as_echo "$hard_links" >&6; } 8993 if test no = "$hard_links"; then 8994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 8995$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 8996 need_locks=warn 8997 fi 8998else 8999 need_locks=no 9000fi 9001 9002 9003 9004 9005 9006 9007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9008$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9009 9010 runpath_var= 9011 allow_undefined_flag= 9012 always_export_symbols=no 9013 archive_cmds= 9014 archive_expsym_cmds= 9015 compiler_needs_object=no 9016 enable_shared_with_static_runtimes=no 9017 export_dynamic_flag_spec= 9018 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9019 hardcode_automatic=no 9020 hardcode_direct=no 9021 hardcode_direct_absolute=no 9022 hardcode_libdir_flag_spec= 9023 hardcode_libdir_separator= 9024 hardcode_minus_L=no 9025 hardcode_shlibpath_var=unsupported 9026 inherit_rpath=no 9027 link_all_deplibs=unknown 9028 module_cmds= 9029 module_expsym_cmds= 9030 old_archive_from_new_cmds= 9031 old_archive_from_expsyms_cmds= 9032 thread_safe_flag_spec= 9033 whole_archive_flag_spec= 9034 # include_expsyms should be a list of space-separated symbols to be *always* 9035 # included in the symbol list 9036 include_expsyms= 9037 # exclude_expsyms can be an extended regexp of symbols to exclude 9038 # it will be wrapped by ' (' and ')$', so one must not match beginning or 9039 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 9040 # as well as any symbol that contains 'd'. 9041 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9042 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9043 # platforms (ab)use it in PIC code, but their linkers get confused if 9044 # the symbol is explicitly referenced. Since portable code cannot 9045 # rely on this symbol name, it's probably fine to never include it in 9046 # preloaded symbol tables. 9047 # Exclude shared library initialization/finalization symbols. 9048 extract_expsyms_cmds= 9049 9050 case $host_os in 9051 cygwin* | mingw* | pw32* | cegcc*) 9052 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9053 # When not using gcc, we currently assume that we are using 9054 # Microsoft Visual C++. 9055 if test yes != "$GCC"; then 9056 with_gnu_ld=no 9057 fi 9058 ;; 9059 interix*) 9060 # we just hope/assume this is gcc and not c89 (= MSVC++) 9061 with_gnu_ld=yes 9062 ;; 9063 openbsd* | bitrig*) 9064 with_gnu_ld=no 9065 ;; 9066 esac 9067 9068 ld_shlibs=yes 9069 9070 # On some targets, GNU ld is compatible enough with the native linker 9071 # that we're better off using the native interface for both. 9072 lt_use_gnu_ld_interface=no 9073 if test yes = "$with_gnu_ld"; then 9074 case $host_os in 9075 aix*) 9076 # The AIX port of GNU ld has always aspired to compatibility 9077 # with the native linker. However, as the warning in the GNU ld 9078 # block says, versions before 2.19.5* couldn't really create working 9079 # shared libraries, regardless of the interface used. 9080 case `$LD -v 2>&1` in 9081 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 9082 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 9083 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 9084 *) 9085 lt_use_gnu_ld_interface=yes 9086 ;; 9087 esac 9088 ;; 9089 *) 9090 lt_use_gnu_ld_interface=yes 9091 ;; 9092 esac 9093 fi 9094 9095 if test yes = "$lt_use_gnu_ld_interface"; then 9096 # If archive_cmds runs LD, not CC, wlarc should be empty 9097 wlarc='$wl' 9098 9099 # Set some defaults for GNU ld with shared library support. These 9100 # are reset later if shared libraries are not supported. Putting them 9101 # here allows them to be overridden if necessary. 9102 runpath_var=LD_RUN_PATH 9103 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9104 export_dynamic_flag_spec='$wl--export-dynamic' 9105 # ancient GNU ld didn't support --whole-archive et. al. 9106 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9107 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 9108 else 9109 whole_archive_flag_spec= 9110 fi 9111 supports_anon_versioning=no 9112 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 9113 *GNU\ gold*) supports_anon_versioning=yes ;; 9114 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 9115 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 9116 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 9117 *\ 2.11.*) ;; # other 2.11 versions 9118 *) supports_anon_versioning=yes ;; 9119 esac 9120 9121 # See if GNU ld supports shared libraries. 9122 case $host_os in 9123 aix[3-9]*) 9124 # On AIX/PPC, the GNU linker is very broken 9125 if test ia64 != "$host_cpu"; then 9126 ld_shlibs=no 9127 cat <<_LT_EOF 1>&2 9128 9129*** Warning: the GNU linker, at least up to release 2.19, is reported 9130*** to be unable to reliably create shared libraries on AIX. 9131*** Therefore, libtool is disabling shared libraries support. If you 9132*** really care for shared libraries, you may want to install binutils 9133*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 9134*** You will then need to restart the configuration process. 9135 9136_LT_EOF 9137 fi 9138 ;; 9139 9140 amigaos*) 9141 case $host_cpu in 9142 powerpc) 9143 # see comment about AmigaOS4 .so support 9144 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9145 archive_expsym_cmds='' 9146 ;; 9147 m68k) 9148 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)' 9149 hardcode_libdir_flag_spec='-L$libdir' 9150 hardcode_minus_L=yes 9151 ;; 9152 esac 9153 ;; 9154 9155 beos*) 9156 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9157 allow_undefined_flag=unsupported 9158 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 9159 # support --undefined. This deserves some investigation. FIXME 9160 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9161 else 9162 ld_shlibs=no 9163 fi 9164 ;; 9165 9166 cygwin* | mingw* | pw32* | cegcc*) 9167 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9168 # as there is no search path for DLLs. 9169 hardcode_libdir_flag_spec='-L$libdir' 9170 export_dynamic_flag_spec='$wl--export-all-symbols' 9171 allow_undefined_flag=unsupported 9172 always_export_symbols=no 9173 enable_shared_with_static_runtimes=yes 9174 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' 9175 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 9176 9177 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9178 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9179 # If the export-symbols file already is a .def file, use it as 9180 # is; otherwise, prepend EXPORTS... 9181 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 9182 cp $export_symbols $output_objdir/$soname.def; 9183 else 9184 echo EXPORTS > $output_objdir/$soname.def; 9185 cat $export_symbols >> $output_objdir/$soname.def; 9186 fi~ 9187 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9188 else 9189 ld_shlibs=no 9190 fi 9191 ;; 9192 9193 haiku*) 9194 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9195 link_all_deplibs=yes 9196 ;; 9197 9198 os2*) 9199 hardcode_libdir_flag_spec='-L$libdir' 9200 hardcode_minus_L=yes 9201 allow_undefined_flag=unsupported 9202 shrext_cmds=.dll 9203 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9204 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9205 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9206 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9207 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 9208 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9209 emximp -o $lib $output_objdir/$libname.def' 9210 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9211 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9212 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9213 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9214 prefix_cmds="$SED"~ 9215 if test EXPORTS = "`$SED 1q $export_symbols`"; then 9216 prefix_cmds="$prefix_cmds -e 1d"; 9217 fi~ 9218 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 9219 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 9220 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9221 emximp -o $lib $output_objdir/$libname.def' 9222 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 9223 enable_shared_with_static_runtimes=yes 9224 ;; 9225 9226 interix[3-9]*) 9227 hardcode_direct=no 9228 hardcode_shlibpath_var=no 9229 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 9230 export_dynamic_flag_spec='$wl-E' 9231 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9232 # Instead, shared libraries are loaded at an image base (0x10000000 by 9233 # default) and relocated if they conflict, which is a slow very memory 9234 # consuming and fragmenting process. To avoid this, we pick a random, 9235 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9236 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9237 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9238 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' 9239 ;; 9240 9241 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9242 tmp_diet=no 9243 if test linux-dietlibc = "$host_os"; then 9244 case $cc_basename in 9245 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9246 esac 9247 fi 9248 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9249 && test no = "$tmp_diet" 9250 then 9251 tmp_addflag=' $pic_flag' 9252 tmp_sharedflag='-shared' 9253 case $cc_basename,$host_cpu in 9254 pgcc*) # Portland Group C compiler 9255 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' 9256 tmp_addflag=' $pic_flag' 9257 ;; 9258 pgf77* | pgf90* | pgf95* | pgfortran*) 9259 # Portland Group f77 and f90 compilers 9260 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' 9261 tmp_addflag=' $pic_flag -Mnomain' ;; 9262 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9263 tmp_addflag=' -i_dynamic' ;; 9264 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9265 tmp_addflag=' -i_dynamic -nofor_main' ;; 9266 ifc* | ifort*) # Intel Fortran compiler 9267 tmp_addflag=' -nofor_main' ;; 9268 lf95*) # Lahey Fortran 8.1 9269 whole_archive_flag_spec= 9270 tmp_sharedflag='--shared' ;; 9271 nagfor*) # NAGFOR 5.3 9272 tmp_sharedflag='-Wl,-shared' ;; 9273 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9274 tmp_sharedflag='-qmkshrobj' 9275 tmp_addflag= ;; 9276 nvcc*) # Cuda Compiler Driver 2.2 9277 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' 9278 compiler_needs_object=yes 9279 ;; 9280 esac 9281 case `$CC -V 2>&1 | sed 5q` in 9282 *Sun\ C*) # Sun C 5.9 9283 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' 9284 compiler_needs_object=yes 9285 tmp_sharedflag='-G' ;; 9286 *Sun\ F*) # Sun Fortran 8.3 9287 tmp_sharedflag='-G' ;; 9288 esac 9289 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9290 9291 if test yes = "$supports_anon_versioning"; then 9292 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9293 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9294 echo "local: *; };" >> $output_objdir/$libname.ver~ 9295 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 9296 fi 9297 9298 case $cc_basename in 9299 tcc*) 9300 export_dynamic_flag_spec='-rdynamic' 9301 ;; 9302 xlf* | bgf* | bgxlf* | mpixlf*) 9303 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9304 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9305 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9306 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 9307 if test yes = "$supports_anon_versioning"; then 9308 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9309 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9310 echo "local: *; };" >> $output_objdir/$libname.ver~ 9311 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9312 fi 9313 ;; 9314 esac 9315 else 9316 ld_shlibs=no 9317 fi 9318 ;; 9319 9320 netbsd*) 9321 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9322 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9323 wlarc= 9324 else 9325 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9326 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9327 fi 9328 ;; 9329 9330 solaris*) 9331 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9332 ld_shlibs=no 9333 cat <<_LT_EOF 1>&2 9334 9335*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9336*** create shared libraries on Solaris systems. Therefore, libtool 9337*** is disabling shared libraries support. We urge you to upgrade GNU 9338*** binutils to release 2.9.1 or newer. Another option is to modify 9339*** your PATH or compiler configuration so that the native linker is 9340*** used, and then restart. 9341 9342_LT_EOF 9343 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9344 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9345 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9346 else 9347 ld_shlibs=no 9348 fi 9349 ;; 9350 9351 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9352 case `$LD -v 2>&1` in 9353 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9354 ld_shlibs=no 9355 cat <<_LT_EOF 1>&2 9356 9357*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 9358*** reliably create shared libraries on SCO systems. Therefore, libtool 9359*** is disabling shared libraries support. We urge you to upgrade GNU 9360*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9361*** your PATH or compiler configuration so that the native linker is 9362*** used, and then restart. 9363 9364_LT_EOF 9365 ;; 9366 *) 9367 # For security reasons, it is highly recommended that you always 9368 # use absolute paths for naming shared libraries, and exclude the 9369 # DT_RUNPATH tag from executables and libraries. But doing so 9370 # requires that you compile everything twice, which is a pain. 9371 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9372 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9373 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9374 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9375 else 9376 ld_shlibs=no 9377 fi 9378 ;; 9379 esac 9380 ;; 9381 9382 sunos4*) 9383 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9384 wlarc= 9385 hardcode_direct=yes 9386 hardcode_shlibpath_var=no 9387 ;; 9388 9389 *) 9390 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9391 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9392 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9393 else 9394 ld_shlibs=no 9395 fi 9396 ;; 9397 esac 9398 9399 if test no = "$ld_shlibs"; then 9400 runpath_var= 9401 hardcode_libdir_flag_spec= 9402 export_dynamic_flag_spec= 9403 whole_archive_flag_spec= 9404 fi 9405 else 9406 # PORTME fill in a description of your system's linker (not GNU ld) 9407 case $host_os in 9408 aix3*) 9409 allow_undefined_flag=unsupported 9410 always_export_symbols=yes 9411 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' 9412 # Note: this linker hardcodes the directories in LIBPATH if there 9413 # are no directories specified by -L. 9414 hardcode_minus_L=yes 9415 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 9416 # Neither direct hardcoding nor static linking is supported with a 9417 # broken collect2. 9418 hardcode_direct=unsupported 9419 fi 9420 ;; 9421 9422 aix[4-9]*) 9423 if test ia64 = "$host_cpu"; then 9424 # On IA64, the linker does run time linking by default, so we don't 9425 # have to do anything special. 9426 aix_use_runtimelinking=no 9427 exp_sym_flag='-Bexport' 9428 no_entry_flag= 9429 else 9430 # If we're using GNU nm, then we don't want the "-C" option. 9431 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 9432 # Without the "-l" option, or with the "-B" option, AIX nm treats 9433 # weak defined symbols like other global defined symbols, whereas 9434 # GNU nm marks them as "W". 9435 # While the 'weak' keyword is ignored in the Export File, we need 9436 # it in the Import File for the 'aix-soname' feature, so we have 9437 # to replace the "-B" option with "-P" for AIX nm. 9438 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9439 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' 9440 else 9441 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' 9442 fi 9443 aix_use_runtimelinking=no 9444 9445 # Test if we are trying to use run time linking or normal 9446 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9447 # have runtime linking enabled, and use it for executables. 9448 # For shared libraries, we enable/disable runtime linking 9449 # depending on the kind of the shared library created - 9450 # when "with_aix_soname,aix_use_runtimelinking" is: 9451 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 9452 # "aix,yes" lib.so shared, rtl:yes, for executables 9453 # lib.a static archive 9454 # "both,no" lib.so.V(shr.o) shared, rtl:yes 9455 # lib.a(lib.so.V) shared, rtl:no, for executables 9456 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 9457 # lib.a(lib.so.V) shared, rtl:no 9458 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 9459 # lib.a static archive 9460 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9461 for ld_flag in $LDFLAGS; do 9462 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 9463 aix_use_runtimelinking=yes 9464 break 9465 fi 9466 done 9467 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 9468 # With aix-soname=svr4, we create the lib.so.V shared archives only, 9469 # so we don't have lib.a shared libs to link our executables. 9470 # We have to force runtime linking in this case. 9471 aix_use_runtimelinking=yes 9472 LDFLAGS="$LDFLAGS -Wl,-brtl" 9473 fi 9474 ;; 9475 esac 9476 9477 exp_sym_flag='-bexport' 9478 no_entry_flag='-bnoentry' 9479 fi 9480 9481 # When large executables or shared objects are built, AIX ld can 9482 # have problems creating the table of contents. If linking a library 9483 # or program results in "error TOC overflow" add -mminimal-toc to 9484 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9485 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9486 9487 archive_cmds='' 9488 hardcode_direct=yes 9489 hardcode_direct_absolute=yes 9490 hardcode_libdir_separator=':' 9491 link_all_deplibs=yes 9492 file_list_spec='$wl-f,' 9493 case $with_aix_soname,$aix_use_runtimelinking in 9494 aix,*) ;; # traditional, no import file 9495 svr4,* | *,yes) # use import file 9496 # The Import File defines what to hardcode. 9497 hardcode_direct=no 9498 hardcode_direct_absolute=no 9499 ;; 9500 esac 9501 9502 if test yes = "$GCC"; then 9503 case $host_os in aix4.[012]|aix4.[012].*) 9504 # We only want to do this on AIX 4.2 and lower, the check 9505 # below for broken collect2 doesn't work under 4.3+ 9506 collect2name=`$CC -print-prog-name=collect2` 9507 if test -f "$collect2name" && 9508 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9509 then 9510 # We have reworked collect2 9511 : 9512 else 9513 # We have old collect2 9514 hardcode_direct=unsupported 9515 # It fails to find uninstalled libraries when the uninstalled 9516 # path is not listed in the libpath. Setting hardcode_minus_L 9517 # to unsupported forces relinking 9518 hardcode_minus_L=yes 9519 hardcode_libdir_flag_spec='-L$libdir' 9520 hardcode_libdir_separator= 9521 fi 9522 ;; 9523 esac 9524 shared_flag='-shared' 9525 if test yes = "$aix_use_runtimelinking"; then 9526 shared_flag="$shared_flag "'$wl-G' 9527 fi 9528 # Need to ensure runtime linking is disabled for the traditional 9529 # shared library, or the linker may eventually find shared libraries 9530 # /with/ Import File - we do not want to mix them. 9531 shared_flag_aix='-shared' 9532 shared_flag_svr4='-shared $wl-G' 9533 else 9534 # not using gcc 9535 if test ia64 = "$host_cpu"; then 9536 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9537 # chokes on -Wl,-G. The following line is correct: 9538 shared_flag='-G' 9539 else 9540 if test yes = "$aix_use_runtimelinking"; then 9541 shared_flag='$wl-G' 9542 else 9543 shared_flag='$wl-bM:SRE' 9544 fi 9545 shared_flag_aix='$wl-bM:SRE' 9546 shared_flag_svr4='$wl-G' 9547 fi 9548 fi 9549 9550 export_dynamic_flag_spec='$wl-bexpall' 9551 # It seems that -bexpall does not export symbols beginning with 9552 # underscore (_), so it is better to generate a list of symbols to export. 9553 always_export_symbols=yes 9554 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 9555 # Warning - without using the other runtime loading flags (-brtl), 9556 # -berok will link without error, but may produce a broken library. 9557 allow_undefined_flag='-berok' 9558 # Determine the default libpath from the value encoded in an 9559 # empty executable. 9560 if test set = "${lt_cv_aix_libpath+set}"; then 9561 aix_libpath=$lt_cv_aix_libpath 9562else 9563 if ${lt_cv_aix_libpath_+:} false; then : 9564 $as_echo_n "(cached) " >&6 9565else 9566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9567/* end confdefs.h. */ 9568 9569int 9570main () 9571{ 9572 9573 ; 9574 return 0; 9575} 9576_ACEOF 9577if ac_fn_c_try_link "$LINENO"; then : 9578 9579 lt_aix_libpath_sed=' 9580 /Import File Strings/,/^$/ { 9581 /^0/ { 9582 s/^0 *\([^ ]*\) *$/\1/ 9583 p 9584 } 9585 }' 9586 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9587 # Check for a 64-bit object if we didn't find anything. 9588 if test -z "$lt_cv_aix_libpath_"; then 9589 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9590 fi 9591fi 9592rm -f core conftest.err conftest.$ac_objext \ 9593 conftest$ac_exeext conftest.$ac_ext 9594 if test -z "$lt_cv_aix_libpath_"; then 9595 lt_cv_aix_libpath_=/usr/lib:/lib 9596 fi 9597 9598fi 9599 9600 aix_libpath=$lt_cv_aix_libpath_ 9601fi 9602 9603 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 9604 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 9605 else 9606 if test ia64 = "$host_cpu"; then 9607 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 9608 allow_undefined_flag="-z nodefs" 9609 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" 9610 else 9611 # Determine the default libpath from the value encoded in an 9612 # empty executable. 9613 if test set = "${lt_cv_aix_libpath+set}"; then 9614 aix_libpath=$lt_cv_aix_libpath 9615else 9616 if ${lt_cv_aix_libpath_+:} false; then : 9617 $as_echo_n "(cached) " >&6 9618else 9619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9620/* end confdefs.h. */ 9621 9622int 9623main () 9624{ 9625 9626 ; 9627 return 0; 9628} 9629_ACEOF 9630if ac_fn_c_try_link "$LINENO"; then : 9631 9632 lt_aix_libpath_sed=' 9633 /Import File Strings/,/^$/ { 9634 /^0/ { 9635 s/^0 *\([^ ]*\) *$/\1/ 9636 p 9637 } 9638 }' 9639 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9640 # Check for a 64-bit object if we didn't find anything. 9641 if test -z "$lt_cv_aix_libpath_"; then 9642 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9643 fi 9644fi 9645rm -f core conftest.err conftest.$ac_objext \ 9646 conftest$ac_exeext conftest.$ac_ext 9647 if test -z "$lt_cv_aix_libpath_"; then 9648 lt_cv_aix_libpath_=/usr/lib:/lib 9649 fi 9650 9651fi 9652 9653 aix_libpath=$lt_cv_aix_libpath_ 9654fi 9655 9656 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 9657 # Warning - without using the other run time loading flags, 9658 # -berok will link without error, but may produce a broken library. 9659 no_undefined_flag=' $wl-bernotok' 9660 allow_undefined_flag=' $wl-berok' 9661 if test yes = "$with_gnu_ld"; then 9662 # We only use this code for GNU lds that support --whole-archive. 9663 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 9664 else 9665 # Exported symbols can be pulled into shared objects from archives 9666 whole_archive_flag_spec='$convenience' 9667 fi 9668 archive_cmds_need_lc=yes 9669 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 9670 # -brtl affects multiple linker settings, -berok does not and is overridden later 9671 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 9672 if test svr4 != "$with_aix_soname"; then 9673 # This is similar to how AIX traditionally builds its shared libraries. 9674 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' 9675 fi 9676 if test aix != "$with_aix_soname"; then 9677 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' 9678 else 9679 # used by -dlpreopen to get the symbols 9680 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 9681 fi 9682 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 9683 fi 9684 fi 9685 ;; 9686 9687 amigaos*) 9688 case $host_cpu in 9689 powerpc) 9690 # see comment about AmigaOS4 .so support 9691 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9692 archive_expsym_cmds='' 9693 ;; 9694 m68k) 9695 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)' 9696 hardcode_libdir_flag_spec='-L$libdir' 9697 hardcode_minus_L=yes 9698 ;; 9699 esac 9700 ;; 9701 9702 bsdi[45]*) 9703 export_dynamic_flag_spec=-rdynamic 9704 ;; 9705 9706 cygwin* | mingw* | pw32* | cegcc*) 9707 # When not using gcc, we currently assume that we are using 9708 # Microsoft Visual C++. 9709 # hardcode_libdir_flag_spec is actually meaningless, as there is 9710 # no search path for DLLs. 9711 case $cc_basename in 9712 cl*) 9713 # Native MSVC 9714 hardcode_libdir_flag_spec=' ' 9715 allow_undefined_flag=unsupported 9716 always_export_symbols=yes 9717 file_list_spec='@' 9718 # Tell ltmain to make .lib files, not .a files. 9719 libext=lib 9720 # Tell ltmain to make .dll files, not .so files. 9721 shrext_cmds=.dll 9722 # FIXME: Setting linknames here is a bad hack. 9723 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 9724 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 9725 cp "$export_symbols" "$output_objdir/$soname.def"; 9726 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 9727 else 9728 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 9729 fi~ 9730 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 9731 linknames=' 9732 # The linker will not automatically build a static lib if we build a DLL. 9733 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 9734 enable_shared_with_static_runtimes=yes 9735 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 9736 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9737 # Don't use ranlib 9738 old_postinstall_cmds='chmod 644 $oldlib' 9739 postlink_cmds='lt_outputfile="@OUTPUT@"~ 9740 lt_tool_outputfile="@TOOL_OUTPUT@"~ 9741 case $lt_outputfile in 9742 *.exe|*.EXE) ;; 9743 *) 9744 lt_outputfile=$lt_outputfile.exe 9745 lt_tool_outputfile=$lt_tool_outputfile.exe 9746 ;; 9747 esac~ 9748 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 9749 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 9750 $RM "$lt_outputfile.manifest"; 9751 fi' 9752 ;; 9753 *) 9754 # Assume MSVC wrapper 9755 hardcode_libdir_flag_spec=' ' 9756 allow_undefined_flag=unsupported 9757 # Tell ltmain to make .lib files, not .a files. 9758 libext=lib 9759 # Tell ltmain to make .dll files, not .so files. 9760 shrext_cmds=.dll 9761 # FIXME: Setting linknames here is a bad hack. 9762 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 9763 # The linker will automatically build a .lib file if we build a DLL. 9764 old_archive_from_new_cmds='true' 9765 # FIXME: Should let the user specify the lib program. 9766 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9767 enable_shared_with_static_runtimes=yes 9768 ;; 9769 esac 9770 ;; 9771 9772 darwin* | rhapsody*) 9773 9774 9775 archive_cmds_need_lc=no 9776 hardcode_direct=no 9777 hardcode_automatic=yes 9778 hardcode_shlibpath_var=unsupported 9779 if test yes = "$lt_cv_ld_force_load"; then 9780 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\"`' 9781 9782 else 9783 whole_archive_flag_spec='' 9784 fi 9785 link_all_deplibs=yes 9786 allow_undefined_flag=$_lt_dar_allow_undefined 9787 case $cc_basename in 9788 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 9789 *) _lt_dar_can_shared=$GCC ;; 9790 esac 9791 if test yes = "$_lt_dar_can_shared"; then 9792 output_verbose_link_cmd=func_echo_all 9793 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 9794 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 9795 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" 9796 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" 9797 9798 else 9799 ld_shlibs=no 9800 fi 9801 9802 ;; 9803 9804 dgux*) 9805 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9806 hardcode_libdir_flag_spec='-L$libdir' 9807 hardcode_shlibpath_var=no 9808 ;; 9809 9810 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9811 # support. Future versions do this automatically, but an explicit c++rt0.o 9812 # does not break anything, and helps significantly (at the cost of a little 9813 # extra space). 9814 freebsd2.2*) 9815 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9816 hardcode_libdir_flag_spec='-R$libdir' 9817 hardcode_direct=yes 9818 hardcode_shlibpath_var=no 9819 ;; 9820 9821 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9822 freebsd2.*) 9823 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9824 hardcode_direct=yes 9825 hardcode_minus_L=yes 9826 hardcode_shlibpath_var=no 9827 ;; 9828 9829 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9830 freebsd* | dragonfly*) 9831 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9832 hardcode_libdir_flag_spec='-R$libdir' 9833 hardcode_direct=yes 9834 hardcode_shlibpath_var=no 9835 ;; 9836 9837 hpux9*) 9838 if test yes = "$GCC"; then 9839 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' 9840 else 9841 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' 9842 fi 9843 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 9844 hardcode_libdir_separator=: 9845 hardcode_direct=yes 9846 9847 # hardcode_minus_L: Not really in the search PATH, 9848 # but as the default location of the library. 9849 hardcode_minus_L=yes 9850 export_dynamic_flag_spec='$wl-E' 9851 ;; 9852 9853 hpux10*) 9854 if test yes,no = "$GCC,$with_gnu_ld"; then 9855 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9856 else 9857 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9858 fi 9859 if test no = "$with_gnu_ld"; then 9860 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 9861 hardcode_libdir_separator=: 9862 hardcode_direct=yes 9863 hardcode_direct_absolute=yes 9864 export_dynamic_flag_spec='$wl-E' 9865 # hardcode_minus_L: Not really in the search PATH, 9866 # but as the default location of the library. 9867 hardcode_minus_L=yes 9868 fi 9869 ;; 9870 9871 hpux11*) 9872 if test yes,no = "$GCC,$with_gnu_ld"; then 9873 case $host_cpu in 9874 hppa*64*) 9875 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 9876 ;; 9877 ia64*) 9878 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9879 ;; 9880 *) 9881 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9882 ;; 9883 esac 9884 else 9885 case $host_cpu in 9886 hppa*64*) 9887 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 9888 ;; 9889 ia64*) 9890 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9891 ;; 9892 *) 9893 9894 # Older versions of the 11.00 compiler do not understand -b yet 9895 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 9896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 9897$as_echo_n "checking if $CC understands -b... " >&6; } 9898if ${lt_cv_prog_compiler__b+:} false; then : 9899 $as_echo_n "(cached) " >&6 9900else 9901 lt_cv_prog_compiler__b=no 9902 save_LDFLAGS=$LDFLAGS 9903 LDFLAGS="$LDFLAGS -b" 9904 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9905 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9906 # The linker can only warn and ignore the option if not recognized 9907 # So say no if there are warnings 9908 if test -s conftest.err; then 9909 # Append any errors to the config.log. 9910 cat conftest.err 1>&5 9911 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9912 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9913 if diff conftest.exp conftest.er2 >/dev/null; then 9914 lt_cv_prog_compiler__b=yes 9915 fi 9916 else 9917 lt_cv_prog_compiler__b=yes 9918 fi 9919 fi 9920 $RM -r conftest* 9921 LDFLAGS=$save_LDFLAGS 9922 9923fi 9924{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 9925$as_echo "$lt_cv_prog_compiler__b" >&6; } 9926 9927if test yes = "$lt_cv_prog_compiler__b"; then 9928 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9929else 9930 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9931fi 9932 9933 ;; 9934 esac 9935 fi 9936 if test no = "$with_gnu_ld"; then 9937 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 9938 hardcode_libdir_separator=: 9939 9940 case $host_cpu in 9941 hppa*64*|ia64*) 9942 hardcode_direct=no 9943 hardcode_shlibpath_var=no 9944 ;; 9945 *) 9946 hardcode_direct=yes 9947 hardcode_direct_absolute=yes 9948 export_dynamic_flag_spec='$wl-E' 9949 9950 # hardcode_minus_L: Not really in the search PATH, 9951 # but as the default location of the library. 9952 hardcode_minus_L=yes 9953 ;; 9954 esac 9955 fi 9956 ;; 9957 9958 irix5* | irix6* | nonstopux*) 9959 if test yes = "$GCC"; then 9960 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' 9961 # Try to use the -exported_symbol ld option, if it does not 9962 # work, assume that -exports_file does not work either and 9963 # implicitly export all symbols. 9964 # This should be the same for all languages, so no per-tag cache variable. 9965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 9966$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 9967if ${lt_cv_irix_exported_symbol+:} false; then : 9968 $as_echo_n "(cached) " >&6 9969else 9970 save_LDFLAGS=$LDFLAGS 9971 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 9972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9973/* end confdefs.h. */ 9974int foo (void) { return 0; } 9975_ACEOF 9976if ac_fn_c_try_link "$LINENO"; then : 9977 lt_cv_irix_exported_symbol=yes 9978else 9979 lt_cv_irix_exported_symbol=no 9980fi 9981rm -f core conftest.err conftest.$ac_objext \ 9982 conftest$ac_exeext conftest.$ac_ext 9983 LDFLAGS=$save_LDFLAGS 9984fi 9985{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 9986$as_echo "$lt_cv_irix_exported_symbol" >&6; } 9987 if test yes = "$lt_cv_irix_exported_symbol"; then 9988 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' 9989 fi 9990 else 9991 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' 9992 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' 9993 fi 9994 archive_cmds_need_lc='no' 9995 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9996 hardcode_libdir_separator=: 9997 inherit_rpath=yes 9998 link_all_deplibs=yes 9999 ;; 10000 10001 linux*) 10002 case $cc_basename in 10003 tcc*) 10004 # Fabrice Bellard et al's Tiny C Compiler 10005 ld_shlibs=yes 10006 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10007 ;; 10008 esac 10009 ;; 10010 10011 netbsd*) 10012 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10013 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 10014 else 10015 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 10016 fi 10017 hardcode_libdir_flag_spec='-R$libdir' 10018 hardcode_direct=yes 10019 hardcode_shlibpath_var=no 10020 ;; 10021 10022 newsos6) 10023 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10024 hardcode_direct=yes 10025 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10026 hardcode_libdir_separator=: 10027 hardcode_shlibpath_var=no 10028 ;; 10029 10030 *nto* | *qnx*) 10031 ;; 10032 10033 openbsd* | bitrig*) 10034 if test -f /usr/libexec/ld.so; then 10035 hardcode_direct=yes 10036 hardcode_shlibpath_var=no 10037 hardcode_direct_absolute=yes 10038 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 10039 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10040 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 10041 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10042 export_dynamic_flag_spec='$wl-E' 10043 else 10044 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10045 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10046 fi 10047 else 10048 ld_shlibs=no 10049 fi 10050 ;; 10051 10052 os2*) 10053 hardcode_libdir_flag_spec='-L$libdir' 10054 hardcode_minus_L=yes 10055 allow_undefined_flag=unsupported 10056 shrext_cmds=.dll 10057 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10058 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10059 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10060 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10061 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10062 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10063 emximp -o $lib $output_objdir/$libname.def' 10064 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10065 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10066 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10067 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10068 prefix_cmds="$SED"~ 10069 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10070 prefix_cmds="$prefix_cmds -e 1d"; 10071 fi~ 10072 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10073 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10074 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10075 emximp -o $lib $output_objdir/$libname.def' 10076 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10077 enable_shared_with_static_runtimes=yes 10078 ;; 10079 10080 osf3*) 10081 if test yes = "$GCC"; then 10082 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10083 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' 10084 else 10085 allow_undefined_flag=' -expect_unresolved \*' 10086 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' 10087 fi 10088 archive_cmds_need_lc='no' 10089 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10090 hardcode_libdir_separator=: 10091 ;; 10092 10093 osf4* | osf5*) # as osf3* with the addition of -msym flag 10094 if test yes = "$GCC"; then 10095 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10096 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' 10097 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10098 else 10099 allow_undefined_flag=' -expect_unresolved \*' 10100 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' 10101 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~ 10102 $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' 10103 10104 # Both c and cxx compiler support -rpath directly 10105 hardcode_libdir_flag_spec='-rpath $libdir' 10106 fi 10107 archive_cmds_need_lc='no' 10108 hardcode_libdir_separator=: 10109 ;; 10110 10111 solaris*) 10112 no_undefined_flag=' -z defs' 10113 if test yes = "$GCC"; then 10114 wlarc='$wl' 10115 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10116 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10117 $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' 10118 else 10119 case `$CC -V 2>&1` in 10120 *"Compilers 5.0"*) 10121 wlarc='' 10122 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 10123 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10124 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10125 ;; 10126 *) 10127 wlarc='$wl' 10128 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10129 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10130 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10131 ;; 10132 esac 10133 fi 10134 hardcode_libdir_flag_spec='-R$libdir' 10135 hardcode_shlibpath_var=no 10136 case $host_os in 10137 solaris2.[0-5] | solaris2.[0-5].*) ;; 10138 *) 10139 # The compiler driver will combine and reorder linker options, 10140 # but understands '-z linker_flag'. GCC discards it without '$wl', 10141 # but is careful enough not to reorder. 10142 # Supported since Solaris 2.6 (maybe 2.5.1?) 10143 if test yes = "$GCC"; then 10144 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 10145 else 10146 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10147 fi 10148 ;; 10149 esac 10150 link_all_deplibs=yes 10151 ;; 10152 10153 sunos4*) 10154 if test sequent = "$host_vendor"; then 10155 # Use $CC to link under sequent, because it throws in some extra .o 10156 # files that make .init and .fini sections work. 10157 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10158 else 10159 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10160 fi 10161 hardcode_libdir_flag_spec='-L$libdir' 10162 hardcode_direct=yes 10163 hardcode_minus_L=yes 10164 hardcode_shlibpath_var=no 10165 ;; 10166 10167 sysv4) 10168 case $host_vendor in 10169 sni) 10170 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10171 hardcode_direct=yes # is this really true??? 10172 ;; 10173 siemens) 10174 ## LD is ld it makes a PLAMLIB 10175 ## CC just makes a GrossModule. 10176 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10177 reload_cmds='$CC -r -o $output$reload_objs' 10178 hardcode_direct=no 10179 ;; 10180 motorola) 10181 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10182 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10183 ;; 10184 esac 10185 runpath_var='LD_RUN_PATH' 10186 hardcode_shlibpath_var=no 10187 ;; 10188 10189 sysv4.3*) 10190 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10191 hardcode_shlibpath_var=no 10192 export_dynamic_flag_spec='-Bexport' 10193 ;; 10194 10195 sysv4*MP*) 10196 if test -d /usr/nec; then 10197 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10198 hardcode_shlibpath_var=no 10199 runpath_var=LD_RUN_PATH 10200 hardcode_runpath_var=yes 10201 ld_shlibs=yes 10202 fi 10203 ;; 10204 10205 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10206 no_undefined_flag='$wl-z,text' 10207 archive_cmds_need_lc=no 10208 hardcode_shlibpath_var=no 10209 runpath_var='LD_RUN_PATH' 10210 10211 if test yes = "$GCC"; then 10212 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10213 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10214 else 10215 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10216 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10217 fi 10218 ;; 10219 10220 sysv5* | sco3.2v5* | sco5v6*) 10221 # Note: We CANNOT use -z defs as we might desire, because we do not 10222 # link with -lc, and that would cause any symbols used from libc to 10223 # always be unresolved, which means just about no library would 10224 # ever link correctly. If we're not using GNU ld we use -z text 10225 # though, which does catch some bad symbols but isn't as heavy-handed 10226 # as -z defs. 10227 no_undefined_flag='$wl-z,text' 10228 allow_undefined_flag='$wl-z,nodefs' 10229 archive_cmds_need_lc=no 10230 hardcode_shlibpath_var=no 10231 hardcode_libdir_flag_spec='$wl-R,$libdir' 10232 hardcode_libdir_separator=':' 10233 link_all_deplibs=yes 10234 export_dynamic_flag_spec='$wl-Bexport' 10235 runpath_var='LD_RUN_PATH' 10236 10237 if test yes = "$GCC"; then 10238 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10239 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10240 else 10241 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10242 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10243 fi 10244 ;; 10245 10246 uts4*) 10247 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10248 hardcode_libdir_flag_spec='-L$libdir' 10249 hardcode_shlibpath_var=no 10250 ;; 10251 10252 *) 10253 ld_shlibs=no 10254 ;; 10255 esac 10256 10257 if test sni = "$host_vendor"; then 10258 case $host in 10259 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10260 export_dynamic_flag_spec='$wl-Blargedynsym' 10261 ;; 10262 esac 10263 fi 10264 fi 10265 10266{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 10267$as_echo "$ld_shlibs" >&6; } 10268test no = "$ld_shlibs" && can_build_shared=no 10269 10270with_gnu_ld=$with_gnu_ld 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286# 10287# Do we need to explicitly link libc? 10288# 10289case "x$archive_cmds_need_lc" in 10290x|xyes) 10291 # Assume -lc should be added 10292 archive_cmds_need_lc=yes 10293 10294 if test yes,yes = "$GCC,$enable_shared"; then 10295 case $archive_cmds in 10296 *'~'*) 10297 # FIXME: we may have to deal with multi-command sequences. 10298 ;; 10299 '$CC '*) 10300 # Test whether the compiler implicitly links with -lc since on some 10301 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10302 # to ld, don't add -lc before -lgcc. 10303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10304$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10305if ${lt_cv_archive_cmds_need_lc+:} false; then : 10306 $as_echo_n "(cached) " >&6 10307else 10308 $RM conftest* 10309 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10310 10311 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10312 (eval $ac_compile) 2>&5 10313 ac_status=$? 10314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10315 test $ac_status = 0; } 2>conftest.err; then 10316 soname=conftest 10317 lib=conftest 10318 libobjs=conftest.$ac_objext 10319 deplibs= 10320 wl=$lt_prog_compiler_wl 10321 pic_flag=$lt_prog_compiler_pic 10322 compiler_flags=-v 10323 linker_flags=-v 10324 verstring= 10325 output_objdir=. 10326 libname=conftest 10327 lt_save_allow_undefined_flag=$allow_undefined_flag 10328 allow_undefined_flag= 10329 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10330 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10331 ac_status=$? 10332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10333 test $ac_status = 0; } 10334 then 10335 lt_cv_archive_cmds_need_lc=no 10336 else 10337 lt_cv_archive_cmds_need_lc=yes 10338 fi 10339 allow_undefined_flag=$lt_save_allow_undefined_flag 10340 else 10341 cat conftest.err 1>&5 10342 fi 10343 $RM conftest* 10344 10345fi 10346{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 10347$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 10348 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 10349 ;; 10350 esac 10351 fi 10352 ;; 10353esac 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10507$as_echo_n "checking dynamic linker characteristics... " >&6; } 10508 10509if test yes = "$GCC"; then 10510 case $host_os in 10511 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 10512 *) lt_awk_arg='/^libraries:/' ;; 10513 esac 10514 case $host_os in 10515 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 10516 *) lt_sed_strip_eq='s|=/|/|g' ;; 10517 esac 10518 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 10519 case $lt_search_path_spec in 10520 *\;*) 10521 # if the path contains ";" then we assume it to be the separator 10522 # otherwise default to the standard path separator (i.e. ":") - it is 10523 # assumed that no part of a normal pathname contains ";" but that should 10524 # okay in the real world where ";" in dirpaths is itself problematic. 10525 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 10526 ;; 10527 *) 10528 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 10529 ;; 10530 esac 10531 # Ok, now we have the path, separated by spaces, we can step through it 10532 # and add multilib dir if necessary... 10533 lt_tmp_lt_search_path_spec= 10534 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10535 # ...but if some path component already ends with the multilib dir we assume 10536 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 10537 case "$lt_multi_os_dir; $lt_search_path_spec " in 10538 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 10539 lt_multi_os_dir= 10540 ;; 10541 esac 10542 for lt_sys_path in $lt_search_path_spec; do 10543 if test -d "$lt_sys_path$lt_multi_os_dir"; then 10544 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 10545 elif test -n "$lt_multi_os_dir"; then 10546 test -d "$lt_sys_path" && \ 10547 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10548 fi 10549 done 10550 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 10551BEGIN {RS = " "; FS = "/|\n";} { 10552 lt_foo = ""; 10553 lt_count = 0; 10554 for (lt_i = NF; lt_i > 0; lt_i--) { 10555 if ($lt_i != "" && $lt_i != ".") { 10556 if ($lt_i == "..") { 10557 lt_count++; 10558 } else { 10559 if (lt_count == 0) { 10560 lt_foo = "/" $lt_i lt_foo; 10561 } else { 10562 lt_count--; 10563 } 10564 } 10565 } 10566 } 10567 if (lt_foo != "") { lt_freq[lt_foo]++; } 10568 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10569}'` 10570 # AWK program above erroneously prepends '/' to C:/dos/paths 10571 # for these hosts. 10572 case $host_os in 10573 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 10574 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 10575 esac 10576 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 10577else 10578 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10579fi 10580library_names_spec= 10581libname_spec='lib$name' 10582soname_spec= 10583shrext_cmds=.so 10584postinstall_cmds= 10585postuninstall_cmds= 10586finish_cmds= 10587finish_eval= 10588shlibpath_var= 10589shlibpath_overrides_runpath=unknown 10590version_type=none 10591dynamic_linker="$host_os ld.so" 10592sys_lib_dlsearch_path_spec="/lib /usr/lib" 10593need_lib_prefix=unknown 10594hardcode_into_libs=no 10595 10596# when you set need_version to no, make sure it does not cause -set_version 10597# flags to be left without arguments 10598need_version=unknown 10599 10600 10601 10602case $host_os in 10603aix3*) 10604 version_type=linux # correct to gnu/linux during the next big refactor 10605 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 10606 shlibpath_var=LIBPATH 10607 10608 # AIX 3 has no versioning support, so we append a major version to the name. 10609 soname_spec='$libname$release$shared_ext$major' 10610 ;; 10611 10612aix[4-9]*) 10613 version_type=linux # correct to gnu/linux during the next big refactor 10614 need_lib_prefix=no 10615 need_version=no 10616 hardcode_into_libs=yes 10617 if test ia64 = "$host_cpu"; then 10618 # AIX 5 supports IA64 10619 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 10620 shlibpath_var=LD_LIBRARY_PATH 10621 else 10622 # With GCC up to 2.95.x, collect2 would create an import file 10623 # for dependence libraries. The import file would start with 10624 # the line '#! .'. This would cause the generated library to 10625 # depend on '.', always an invalid library. This was fixed in 10626 # development snapshots of GCC prior to 3.0. 10627 case $host_os in 10628 aix4 | aix4.[01] | aix4.[01].*) 10629 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10630 echo ' yes ' 10631 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 10632 : 10633 else 10634 can_build_shared=no 10635 fi 10636 ;; 10637 esac 10638 # Using Import Files as archive members, it is possible to support 10639 # filename-based versioning of shared library archives on AIX. While 10640 # this would work for both with and without runtime linking, it will 10641 # prevent static linking of such archives. So we do filename-based 10642 # shared library versioning with .so extension only, which is used 10643 # when both runtime linking and shared linking is enabled. 10644 # Unfortunately, runtime linking may impact performance, so we do 10645 # not want this to be the default eventually. Also, we use the 10646 # versioned .so libs for executables only if there is the -brtl 10647 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 10648 # To allow for filename-based versioning support, we need to create 10649 # libNAME.so.V as an archive file, containing: 10650 # *) an Import File, referring to the versioned filename of the 10651 # archive as well as the shared archive member, telling the 10652 # bitwidth (32 or 64) of that shared object, and providing the 10653 # list of exported symbols of that shared object, eventually 10654 # decorated with the 'weak' keyword 10655 # *) the shared object with the F_LOADONLY flag set, to really avoid 10656 # it being seen by the linker. 10657 # At run time we better use the real file rather than another symlink, 10658 # but for link time we create the symlink libNAME.so -> libNAME.so.V 10659 10660 case $with_aix_soname,$aix_use_runtimelinking in 10661 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 10662 # soname into executable. Probably we can add versioning support to 10663 # collect2, so additional links can be useful in future. 10664 aix,yes) # traditional libtool 10665 dynamic_linker='AIX unversionable lib.so' 10666 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10667 # instead of lib<name>.a to let people know that these are not 10668 # typical AIX shared libraries. 10669 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10670 ;; 10671 aix,no) # traditional AIX only 10672 dynamic_linker='AIX lib.a(lib.so.V)' 10673 # We preserve .a as extension for shared libraries through AIX4.2 10674 # and later when we are not doing run time linking. 10675 library_names_spec='$libname$release.a $libname.a' 10676 soname_spec='$libname$release$shared_ext$major' 10677 ;; 10678 svr4,*) # full svr4 only 10679 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 10680 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 10681 # We do not specify a path in Import Files, so LIBPATH fires. 10682 shlibpath_overrides_runpath=yes 10683 ;; 10684 *,yes) # both, prefer svr4 10685 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 10686 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 10687 # unpreferred sharedlib libNAME.a needs extra handling 10688 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"' 10689 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"' 10690 # We do not specify a path in Import Files, so LIBPATH fires. 10691 shlibpath_overrides_runpath=yes 10692 ;; 10693 *,no) # both, prefer aix 10694 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 10695 library_names_spec='$libname$release.a $libname.a' 10696 soname_spec='$libname$release$shared_ext$major' 10697 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 10698 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)' 10699 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"' 10700 ;; 10701 esac 10702 shlibpath_var=LIBPATH 10703 fi 10704 ;; 10705 10706amigaos*) 10707 case $host_cpu in 10708 powerpc) 10709 # Since July 2007 AmigaOS4 officially supports .so libraries. 10710 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 10711 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10712 ;; 10713 m68k) 10714 library_names_spec='$libname.ixlibrary $libname.a' 10715 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10716 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' 10717 ;; 10718 esac 10719 ;; 10720 10721beos*) 10722 library_names_spec='$libname$shared_ext' 10723 dynamic_linker="$host_os ld.so" 10724 shlibpath_var=LIBRARY_PATH 10725 ;; 10726 10727bsdi[45]*) 10728 version_type=linux # correct to gnu/linux during the next big refactor 10729 need_version=no 10730 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10731 soname_spec='$libname$release$shared_ext$major' 10732 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 10733 shlibpath_var=LD_LIBRARY_PATH 10734 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 10735 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 10736 # the default ld.so.conf also contains /usr/contrib/lib and 10737 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 10738 # libtool to hard-code these into programs 10739 ;; 10740 10741cygwin* | mingw* | pw32* | cegcc*) 10742 version_type=windows 10743 shrext_cmds=.dll 10744 need_version=no 10745 need_lib_prefix=no 10746 10747 case $GCC,$cc_basename in 10748 yes,*) 10749 # gcc 10750 library_names_spec='$libname.dll.a' 10751 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10752 postinstall_cmds='base_file=`basename \$file`~ 10753 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 10754 dldir=$destdir/`dirname \$dlpath`~ 10755 test -d \$dldir || mkdir -p \$dldir~ 10756 $install_prog $dir/$dlname \$dldir/$dlname~ 10757 chmod a+x \$dldir/$dlname~ 10758 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10759 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10760 fi' 10761 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10762 dlpath=$dir/\$dldll~ 10763 $RM \$dlpath' 10764 shlibpath_overrides_runpath=yes 10765 10766 case $host_os in 10767 cygwin*) 10768 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10769 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10770 10771 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 10772 ;; 10773 mingw* | cegcc*) 10774 # MinGW DLLs use traditional 'lib' prefix 10775 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10776 ;; 10777 pw32*) 10778 # pw32 DLLs use 'pw' prefix rather than 'lib' 10779 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10780 ;; 10781 esac 10782 dynamic_linker='Win32 ld.exe' 10783 ;; 10784 10785 *,cl*) 10786 # Native MSVC 10787 libname_spec='$name' 10788 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 10789 library_names_spec='$libname.dll.lib' 10790 10791 case $build_os in 10792 mingw*) 10793 sys_lib_search_path_spec= 10794 lt_save_ifs=$IFS 10795 IFS=';' 10796 for lt_path in $LIB 10797 do 10798 IFS=$lt_save_ifs 10799 # Let DOS variable expansion print the short 8.3 style file name. 10800 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 10801 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 10802 done 10803 IFS=$lt_save_ifs 10804 # Convert to MSYS style. 10805 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 10806 ;; 10807 cygwin*) 10808 # Convert to unix form, then to dos form, then back to unix form 10809 # but this time dos style (no spaces!) so that the unix form looks 10810 # like /cygdrive/c/PROGRA~1:/cygdr... 10811 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 10812 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 10813 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10814 ;; 10815 *) 10816 sys_lib_search_path_spec=$LIB 10817 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 10818 # It is most probably a Windows format PATH. 10819 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 10820 else 10821 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10822 fi 10823 # FIXME: find the short name or the path components, as spaces are 10824 # common. (e.g. "Program Files" -> "PROGRA~1") 10825 ;; 10826 esac 10827 10828 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10829 postinstall_cmds='base_file=`basename \$file`~ 10830 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 10831 dldir=$destdir/`dirname \$dlpath`~ 10832 test -d \$dldir || mkdir -p \$dldir~ 10833 $install_prog $dir/$dlname \$dldir/$dlname' 10834 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10835 dlpath=$dir/\$dldll~ 10836 $RM \$dlpath' 10837 shlibpath_overrides_runpath=yes 10838 dynamic_linker='Win32 link.exe' 10839 ;; 10840 10841 *) 10842 # Assume MSVC wrapper 10843 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 10844 dynamic_linker='Win32 ld.exe' 10845 ;; 10846 esac 10847 # FIXME: first we should search . and the directory the executable is in 10848 shlibpath_var=PATH 10849 ;; 10850 10851darwin* | rhapsody*) 10852 dynamic_linker="$host_os dyld" 10853 version_type=darwin 10854 need_lib_prefix=no 10855 need_version=no 10856 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 10857 soname_spec='$libname$release$major$shared_ext' 10858 shlibpath_overrides_runpath=yes 10859 shlibpath_var=DYLD_LIBRARY_PATH 10860 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 10861 10862 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 10863 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 10864 ;; 10865 10866dgux*) 10867 version_type=linux # correct to gnu/linux during the next big refactor 10868 need_lib_prefix=no 10869 need_version=no 10870 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10871 soname_spec='$libname$release$shared_ext$major' 10872 shlibpath_var=LD_LIBRARY_PATH 10873 ;; 10874 10875freebsd* | dragonfly*) 10876 # DragonFly does not have aout. When/if they implement a new 10877 # versioning mechanism, adjust this. 10878 if test -x /usr/bin/objformat; then 10879 objformat=`/usr/bin/objformat` 10880 else 10881 case $host_os in 10882 freebsd[23].*) objformat=aout ;; 10883 *) objformat=elf ;; 10884 esac 10885 fi 10886 version_type=freebsd-$objformat 10887 case $version_type in 10888 freebsd-elf*) 10889 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10890 soname_spec='$libname$release$shared_ext$major' 10891 need_version=no 10892 need_lib_prefix=no 10893 ;; 10894 freebsd-*) 10895 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 10896 need_version=yes 10897 ;; 10898 esac 10899 shlibpath_var=LD_LIBRARY_PATH 10900 case $host_os in 10901 freebsd2.*) 10902 shlibpath_overrides_runpath=yes 10903 ;; 10904 freebsd3.[01]* | freebsdelf3.[01]*) 10905 shlibpath_overrides_runpath=yes 10906 hardcode_into_libs=yes 10907 ;; 10908 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 10909 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 10910 shlibpath_overrides_runpath=no 10911 hardcode_into_libs=yes 10912 ;; 10913 *) # from 4.6 on, and DragonFly 10914 shlibpath_overrides_runpath=yes 10915 hardcode_into_libs=yes 10916 ;; 10917 esac 10918 ;; 10919 10920haiku*) 10921 version_type=linux # correct to gnu/linux during the next big refactor 10922 need_lib_prefix=no 10923 need_version=no 10924 dynamic_linker="$host_os runtime_loader" 10925 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10926 soname_spec='$libname$release$shared_ext$major' 10927 shlibpath_var=LIBRARY_PATH 10928 shlibpath_overrides_runpath=no 10929 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 10930 hardcode_into_libs=yes 10931 ;; 10932 10933hpux9* | hpux10* | hpux11*) 10934 # Give a soname corresponding to the major version so that dld.sl refuses to 10935 # link against other versions. 10936 version_type=sunos 10937 need_lib_prefix=no 10938 need_version=no 10939 case $host_cpu in 10940 ia64*) 10941 shrext_cmds='.so' 10942 hardcode_into_libs=yes 10943 dynamic_linker="$host_os dld.so" 10944 shlibpath_var=LD_LIBRARY_PATH 10945 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10946 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10947 soname_spec='$libname$release$shared_ext$major' 10948 if test 32 = "$HPUX_IA64_MODE"; then 10949 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 10950 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 10951 else 10952 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 10953 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 10954 fi 10955 ;; 10956 hppa*64*) 10957 shrext_cmds='.sl' 10958 hardcode_into_libs=yes 10959 dynamic_linker="$host_os dld.sl" 10960 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 10961 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10962 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10963 soname_spec='$libname$release$shared_ext$major' 10964 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 10965 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10966 ;; 10967 *) 10968 shrext_cmds='.sl' 10969 dynamic_linker="$host_os dld.sl" 10970 shlibpath_var=SHLIB_PATH 10971 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 10972 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10973 soname_spec='$libname$release$shared_ext$major' 10974 ;; 10975 esac 10976 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 10977 postinstall_cmds='chmod 555 $lib' 10978 # or fails outright, so override atomically: 10979 install_override_mode=555 10980 ;; 10981 10982interix[3-9]*) 10983 version_type=linux # correct to gnu/linux during the next big refactor 10984 need_lib_prefix=no 10985 need_version=no 10986 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 10987 soname_spec='$libname$release$shared_ext$major' 10988 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 10989 shlibpath_var=LD_LIBRARY_PATH 10990 shlibpath_overrides_runpath=no 10991 hardcode_into_libs=yes 10992 ;; 10993 10994irix5* | irix6* | nonstopux*) 10995 case $host_os in 10996 nonstopux*) version_type=nonstopux ;; 10997 *) 10998 if test yes = "$lt_cv_prog_gnu_ld"; then 10999 version_type=linux # correct to gnu/linux during the next big refactor 11000 else 11001 version_type=irix 11002 fi ;; 11003 esac 11004 need_lib_prefix=no 11005 need_version=no 11006 soname_spec='$libname$release$shared_ext$major' 11007 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 11008 case $host_os in 11009 irix5* | nonstopux*) 11010 libsuff= shlibsuff= 11011 ;; 11012 *) 11013 case $LD in # libtool.m4 will add one of these switches to LD 11014 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 11015 libsuff= shlibsuff= libmagic=32-bit;; 11016 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 11017 libsuff=32 shlibsuff=N32 libmagic=N32;; 11018 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 11019 libsuff=64 shlibsuff=64 libmagic=64-bit;; 11020 *) libsuff= shlibsuff= libmagic=never-match;; 11021 esac 11022 ;; 11023 esac 11024 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 11025 shlibpath_overrides_runpath=no 11026 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 11027 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 11028 hardcode_into_libs=yes 11029 ;; 11030 11031# No shared lib support for Linux oldld, aout, or coff. 11032linux*oldld* | linux*aout* | linux*coff*) 11033 dynamic_linker=no 11034 ;; 11035 11036linux*android*) 11037 version_type=none # Android doesn't support versioned libraries. 11038 need_lib_prefix=no 11039 need_version=no 11040 library_names_spec='$libname$release$shared_ext' 11041 soname_spec='$libname$release$shared_ext' 11042 finish_cmds= 11043 shlibpath_var=LD_LIBRARY_PATH 11044 shlibpath_overrides_runpath=yes 11045 11046 # This implies no fast_install, which is unacceptable. 11047 # Some rework will be needed to allow for fast_install 11048 # before this can be enabled. 11049 hardcode_into_libs=yes 11050 11051 dynamic_linker='Android linker' 11052 # Don't embed -rpath directories since the linker doesn't support them. 11053 hardcode_libdir_flag_spec='-L$libdir' 11054 ;; 11055 11056# This must be glibc/ELF. 11057linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 11058 version_type=linux # correct to gnu/linux during the next big refactor 11059 need_lib_prefix=no 11060 need_version=no 11061 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11062 soname_spec='$libname$release$shared_ext$major' 11063 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 11064 shlibpath_var=LD_LIBRARY_PATH 11065 shlibpath_overrides_runpath=no 11066 11067 # Some binutils ld are patched to set DT_RUNPATH 11068 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 11069 $as_echo_n "(cached) " >&6 11070else 11071 lt_cv_shlibpath_overrides_runpath=no 11072 save_LDFLAGS=$LDFLAGS 11073 save_libdir=$libdir 11074 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 11075 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 11076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11077/* end confdefs.h. */ 11078 11079int 11080main () 11081{ 11082 11083 ; 11084 return 0; 11085} 11086_ACEOF 11087if ac_fn_c_try_link "$LINENO"; then : 11088 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 11089 lt_cv_shlibpath_overrides_runpath=yes 11090fi 11091fi 11092rm -f core conftest.err conftest.$ac_objext \ 11093 conftest$ac_exeext conftest.$ac_ext 11094 LDFLAGS=$save_LDFLAGS 11095 libdir=$save_libdir 11096 11097fi 11098 11099 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 11100 11101 # This implies no fast_install, which is unacceptable. 11102 # Some rework will be needed to allow for fast_install 11103 # before this can be enabled. 11104 hardcode_into_libs=yes 11105 11106 # Ideally, we could use ldconfig to report *all* directores which are 11107 # searched for libraries, however this is still not possible. Aside from not 11108 # being certain /sbin/ldconfig is available, command 11109 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 11110 # even though it is searched at run-time. Try to do the best guess by 11111 # appending ld.so.conf contents (and includes) to the search path. 11112 if test -f /etc/ld.so.conf; then 11113 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' ' '` 11114 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 11115 fi 11116 11117 # We used to test for /lib/ld.so.1 and disable shared libraries on 11118 # powerpc, because MkLinux only supported shared libraries with the 11119 # GNU dynamic linker. Since this was broken with cross compilers, 11120 # most powerpc-linux boxes support dynamic linking these days and 11121 # people can always --disable-shared, the test was removed, and we 11122 # assume the GNU/Linux dynamic linker is in use. 11123 dynamic_linker='GNU/Linux ld.so' 11124 ;; 11125 11126netbsd*) 11127 version_type=sunos 11128 need_lib_prefix=no 11129 need_version=no 11130 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11131 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11132 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11133 dynamic_linker='NetBSD (a.out) ld.so' 11134 else 11135 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11136 soname_spec='$libname$release$shared_ext$major' 11137 dynamic_linker='NetBSD ld.elf_so' 11138 fi 11139 shlibpath_var=LD_LIBRARY_PATH 11140 shlibpath_overrides_runpath=yes 11141 hardcode_into_libs=yes 11142 ;; 11143 11144newsos6) 11145 version_type=linux # correct to gnu/linux during the next big refactor 11146 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11147 shlibpath_var=LD_LIBRARY_PATH 11148 shlibpath_overrides_runpath=yes 11149 ;; 11150 11151*nto* | *qnx*) 11152 version_type=qnx 11153 need_lib_prefix=no 11154 need_version=no 11155 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11156 soname_spec='$libname$release$shared_ext$major' 11157 shlibpath_var=LD_LIBRARY_PATH 11158 shlibpath_overrides_runpath=no 11159 hardcode_into_libs=yes 11160 dynamic_linker='ldqnx.so' 11161 ;; 11162 11163openbsd* | bitrig*) 11164 version_type=sunos 11165 sys_lib_dlsearch_path_spec=/usr/lib 11166 need_lib_prefix=no 11167 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 11168 need_version=no 11169 else 11170 need_version=yes 11171 fi 11172 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11173 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11174 shlibpath_var=LD_LIBRARY_PATH 11175 shlibpath_overrides_runpath=yes 11176 ;; 11177 11178os2*) 11179 libname_spec='$name' 11180 version_type=windows 11181 shrext_cmds=.dll 11182 need_version=no 11183 need_lib_prefix=no 11184 # OS/2 can only load a DLL with a base name of 8 characters or less. 11185 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 11186 v=$($ECHO $release$versuffix | tr -d .-); 11187 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 11188 $ECHO $n$v`$shared_ext' 11189 library_names_spec='${libname}_dll.$libext' 11190 dynamic_linker='OS/2 ld.exe' 11191 shlibpath_var=BEGINLIBPATH 11192 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11193 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11194 postinstall_cmds='base_file=`basename \$file`~ 11195 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 11196 dldir=$destdir/`dirname \$dlpath`~ 11197 test -d \$dldir || mkdir -p \$dldir~ 11198 $install_prog $dir/$dlname \$dldir/$dlname~ 11199 chmod a+x \$dldir/$dlname~ 11200 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11201 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11202 fi' 11203 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 11204 dlpath=$dir/\$dldll~ 11205 $RM \$dlpath' 11206 ;; 11207 11208osf3* | osf4* | osf5*) 11209 version_type=osf 11210 need_lib_prefix=no 11211 need_version=no 11212 soname_spec='$libname$release$shared_ext$major' 11213 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11214 shlibpath_var=LD_LIBRARY_PATH 11215 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11216 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11217 ;; 11218 11219rdos*) 11220 dynamic_linker=no 11221 ;; 11222 11223solaris*) 11224 version_type=linux # correct to gnu/linux during the next big refactor 11225 need_lib_prefix=no 11226 need_version=no 11227 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11228 soname_spec='$libname$release$shared_ext$major' 11229 shlibpath_var=LD_LIBRARY_PATH 11230 shlibpath_overrides_runpath=yes 11231 hardcode_into_libs=yes 11232 # ldd complains unless libraries are executable 11233 postinstall_cmds='chmod +x $lib' 11234 ;; 11235 11236sunos4*) 11237 version_type=sunos 11238 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11239 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11240 shlibpath_var=LD_LIBRARY_PATH 11241 shlibpath_overrides_runpath=yes 11242 if test yes = "$with_gnu_ld"; then 11243 need_lib_prefix=no 11244 fi 11245 need_version=yes 11246 ;; 11247 11248sysv4 | sysv4.3*) 11249 version_type=linux # correct to gnu/linux during the next big refactor 11250 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11251 soname_spec='$libname$release$shared_ext$major' 11252 shlibpath_var=LD_LIBRARY_PATH 11253 case $host_vendor in 11254 sni) 11255 shlibpath_overrides_runpath=no 11256 need_lib_prefix=no 11257 runpath_var=LD_RUN_PATH 11258 ;; 11259 siemens) 11260 need_lib_prefix=no 11261 ;; 11262 motorola) 11263 need_lib_prefix=no 11264 need_version=no 11265 shlibpath_overrides_runpath=no 11266 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11267 ;; 11268 esac 11269 ;; 11270 11271sysv4*MP*) 11272 if test -d /usr/nec; then 11273 version_type=linux # correct to gnu/linux during the next big refactor 11274 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 11275 soname_spec='$libname$shared_ext.$major' 11276 shlibpath_var=LD_LIBRARY_PATH 11277 fi 11278 ;; 11279 11280sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11281 version_type=sco 11282 need_lib_prefix=no 11283 need_version=no 11284 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 11285 soname_spec='$libname$release$shared_ext$major' 11286 shlibpath_var=LD_LIBRARY_PATH 11287 shlibpath_overrides_runpath=yes 11288 hardcode_into_libs=yes 11289 if test yes = "$with_gnu_ld"; then 11290 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11291 else 11292 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11293 case $host_os in 11294 sco3.2v5*) 11295 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11296 ;; 11297 esac 11298 fi 11299 sys_lib_dlsearch_path_spec='/usr/lib' 11300 ;; 11301 11302tpf*) 11303 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11304 version_type=linux # correct to gnu/linux during the next big refactor 11305 need_lib_prefix=no 11306 need_version=no 11307 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11308 shlibpath_var=LD_LIBRARY_PATH 11309 shlibpath_overrides_runpath=no 11310 hardcode_into_libs=yes 11311 ;; 11312 11313uts4*) 11314 version_type=linux # correct to gnu/linux during the next big refactor 11315 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11316 soname_spec='$libname$release$shared_ext$major' 11317 shlibpath_var=LD_LIBRARY_PATH 11318 ;; 11319 11320*) 11321 dynamic_linker=no 11322 ;; 11323esac 11324{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 11325$as_echo "$dynamic_linker" >&6; } 11326test no = "$dynamic_linker" && can_build_shared=no 11327 11328variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11329if test yes = "$GCC"; then 11330 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11331fi 11332 11333if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 11334 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 11335fi 11336 11337if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 11338 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 11339fi 11340 11341# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 11342configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 11343 11344# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 11345func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 11346 11347# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 11348configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 11362 11363 11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 11374 11375 11376 11377 11378 11379 11380 11381 11382 11383 11384 11385 11386 11387 11388 11389 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402 11403 11404 11405 11406 11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11447$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11448hardcode_action= 11449if test -n "$hardcode_libdir_flag_spec" || 11450 test -n "$runpath_var" || 11451 test yes = "$hardcode_automatic"; then 11452 11453 # We can hardcode non-existent directories. 11454 if test no != "$hardcode_direct" && 11455 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11456 # have to relink, otherwise we might link with an installed library 11457 # when we should be linking with a yet-to-be-installed one 11458 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 11459 test no != "$hardcode_minus_L"; then 11460 # Linking always hardcodes the temporary library directory. 11461 hardcode_action=relink 11462 else 11463 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11464 hardcode_action=immediate 11465 fi 11466else 11467 # We cannot hardcode anything, or else we can only hardcode existing 11468 # directories. 11469 hardcode_action=unsupported 11470fi 11471{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 11472$as_echo "$hardcode_action" >&6; } 11473 11474if test relink = "$hardcode_action" || 11475 test yes = "$inherit_rpath"; then 11476 # Fast installation is not supported 11477 enable_fast_install=no 11478elif test yes = "$shlibpath_overrides_runpath" || 11479 test no = "$enable_shared"; then 11480 # Fast installation is not necessary 11481 enable_fast_install=needless 11482fi 11483 11484 11485 11486 11487 11488 11489 if test yes != "$enable_dlopen"; then 11490 enable_dlopen=unknown 11491 enable_dlopen_self=unknown 11492 enable_dlopen_self_static=unknown 11493else 11494 lt_cv_dlopen=no 11495 lt_cv_dlopen_libs= 11496 11497 case $host_os in 11498 beos*) 11499 lt_cv_dlopen=load_add_on 11500 lt_cv_dlopen_libs= 11501 lt_cv_dlopen_self=yes 11502 ;; 11503 11504 mingw* | pw32* | cegcc*) 11505 lt_cv_dlopen=LoadLibrary 11506 lt_cv_dlopen_libs= 11507 ;; 11508 11509 cygwin*) 11510 lt_cv_dlopen=dlopen 11511 lt_cv_dlopen_libs= 11512 ;; 11513 11514 darwin*) 11515 # if libdl is installed we need to link against it 11516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11517$as_echo_n "checking for dlopen in -ldl... " >&6; } 11518if ${ac_cv_lib_dl_dlopen+:} false; then : 11519 $as_echo_n "(cached) " >&6 11520else 11521 ac_check_lib_save_LIBS=$LIBS 11522LIBS="-ldl $LIBS" 11523cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11524/* end confdefs.h. */ 11525 11526/* Override any GCC internal prototype to avoid an error. 11527 Use char because int might match the return type of a GCC 11528 builtin and then its argument prototype would still apply. */ 11529#ifdef __cplusplus 11530extern "C" 11531#endif 11532char dlopen (); 11533int 11534main () 11535{ 11536return dlopen (); 11537 ; 11538 return 0; 11539} 11540_ACEOF 11541if ac_fn_c_try_link "$LINENO"; then : 11542 ac_cv_lib_dl_dlopen=yes 11543else 11544 ac_cv_lib_dl_dlopen=no 11545fi 11546rm -f core conftest.err conftest.$ac_objext \ 11547 conftest$ac_exeext conftest.$ac_ext 11548LIBS=$ac_check_lib_save_LIBS 11549fi 11550{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11551$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11552if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11553 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 11554else 11555 11556 lt_cv_dlopen=dyld 11557 lt_cv_dlopen_libs= 11558 lt_cv_dlopen_self=yes 11559 11560fi 11561 11562 ;; 11563 11564 tpf*) 11565 # Don't try to run any link tests for TPF. We know it's impossible 11566 # because TPF is a cross-compiler, and we know how we open DSOs. 11567 lt_cv_dlopen=dlopen 11568 lt_cv_dlopen_libs= 11569 lt_cv_dlopen_self=no 11570 ;; 11571 11572 *) 11573 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11574if test "x$ac_cv_func_shl_load" = xyes; then : 11575 lt_cv_dlopen=shl_load 11576else 11577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11578$as_echo_n "checking for shl_load in -ldld... " >&6; } 11579if ${ac_cv_lib_dld_shl_load+:} false; then : 11580 $as_echo_n "(cached) " >&6 11581else 11582 ac_check_lib_save_LIBS=$LIBS 11583LIBS="-ldld $LIBS" 11584cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11585/* end confdefs.h. */ 11586 11587/* Override any GCC internal prototype to avoid an error. 11588 Use char because int might match the return type of a GCC 11589 builtin and then its argument prototype would still apply. */ 11590#ifdef __cplusplus 11591extern "C" 11592#endif 11593char shl_load (); 11594int 11595main () 11596{ 11597return shl_load (); 11598 ; 11599 return 0; 11600} 11601_ACEOF 11602if ac_fn_c_try_link "$LINENO"; then : 11603 ac_cv_lib_dld_shl_load=yes 11604else 11605 ac_cv_lib_dld_shl_load=no 11606fi 11607rm -f core conftest.err conftest.$ac_objext \ 11608 conftest$ac_exeext conftest.$ac_ext 11609LIBS=$ac_check_lib_save_LIBS 11610fi 11611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11612$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11613if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 11614 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 11615else 11616 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11617if test "x$ac_cv_func_dlopen" = xyes; then : 11618 lt_cv_dlopen=dlopen 11619else 11620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11621$as_echo_n "checking for dlopen in -ldl... " >&6; } 11622if ${ac_cv_lib_dl_dlopen+:} false; then : 11623 $as_echo_n "(cached) " >&6 11624else 11625 ac_check_lib_save_LIBS=$LIBS 11626LIBS="-ldl $LIBS" 11627cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11628/* end confdefs.h. */ 11629 11630/* Override any GCC internal prototype to avoid an error. 11631 Use char because int might match the return type of a GCC 11632 builtin and then its argument prototype would still apply. */ 11633#ifdef __cplusplus 11634extern "C" 11635#endif 11636char dlopen (); 11637int 11638main () 11639{ 11640return dlopen (); 11641 ; 11642 return 0; 11643} 11644_ACEOF 11645if ac_fn_c_try_link "$LINENO"; then : 11646 ac_cv_lib_dl_dlopen=yes 11647else 11648 ac_cv_lib_dl_dlopen=no 11649fi 11650rm -f core conftest.err conftest.$ac_objext \ 11651 conftest$ac_exeext conftest.$ac_ext 11652LIBS=$ac_check_lib_save_LIBS 11653fi 11654{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11655$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11656if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11657 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 11658else 11659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11660$as_echo_n "checking for dlopen in -lsvld... " >&6; } 11661if ${ac_cv_lib_svld_dlopen+:} false; then : 11662 $as_echo_n "(cached) " >&6 11663else 11664 ac_check_lib_save_LIBS=$LIBS 11665LIBS="-lsvld $LIBS" 11666cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11667/* end confdefs.h. */ 11668 11669/* Override any GCC internal prototype to avoid an error. 11670 Use char because int might match the return type of a GCC 11671 builtin and then its argument prototype would still apply. */ 11672#ifdef __cplusplus 11673extern "C" 11674#endif 11675char dlopen (); 11676int 11677main () 11678{ 11679return dlopen (); 11680 ; 11681 return 0; 11682} 11683_ACEOF 11684if ac_fn_c_try_link "$LINENO"; then : 11685 ac_cv_lib_svld_dlopen=yes 11686else 11687 ac_cv_lib_svld_dlopen=no 11688fi 11689rm -f core conftest.err conftest.$ac_objext \ 11690 conftest$ac_exeext conftest.$ac_ext 11691LIBS=$ac_check_lib_save_LIBS 11692fi 11693{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 11694$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11695if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 11696 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 11697else 11698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 11699$as_echo_n "checking for dld_link in -ldld... " >&6; } 11700if ${ac_cv_lib_dld_dld_link+:} false; then : 11701 $as_echo_n "(cached) " >&6 11702else 11703 ac_check_lib_save_LIBS=$LIBS 11704LIBS="-ldld $LIBS" 11705cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11706/* end confdefs.h. */ 11707 11708/* Override any GCC internal prototype to avoid an error. 11709 Use char because int might match the return type of a GCC 11710 builtin and then its argument prototype would still apply. */ 11711#ifdef __cplusplus 11712extern "C" 11713#endif 11714char dld_link (); 11715int 11716main () 11717{ 11718return dld_link (); 11719 ; 11720 return 0; 11721} 11722_ACEOF 11723if ac_fn_c_try_link "$LINENO"; then : 11724 ac_cv_lib_dld_dld_link=yes 11725else 11726 ac_cv_lib_dld_dld_link=no 11727fi 11728rm -f core conftest.err conftest.$ac_objext \ 11729 conftest$ac_exeext conftest.$ac_ext 11730LIBS=$ac_check_lib_save_LIBS 11731fi 11732{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 11733$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11734if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 11735 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 11736fi 11737 11738 11739fi 11740 11741 11742fi 11743 11744 11745fi 11746 11747 11748fi 11749 11750 11751fi 11752 11753 ;; 11754 esac 11755 11756 if test no = "$lt_cv_dlopen"; then 11757 enable_dlopen=no 11758 else 11759 enable_dlopen=yes 11760 fi 11761 11762 case $lt_cv_dlopen in 11763 dlopen) 11764 save_CPPFLAGS=$CPPFLAGS 11765 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 11766 11767 save_LDFLAGS=$LDFLAGS 11768 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 11769 11770 save_LIBS=$LIBS 11771 LIBS="$lt_cv_dlopen_libs $LIBS" 11772 11773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 11774$as_echo_n "checking whether a program can dlopen itself... " >&6; } 11775if ${lt_cv_dlopen_self+:} false; then : 11776 $as_echo_n "(cached) " >&6 11777else 11778 if test yes = "$cross_compiling"; then : 11779 lt_cv_dlopen_self=cross 11780else 11781 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11782 lt_status=$lt_dlunknown 11783 cat > conftest.$ac_ext <<_LT_EOF 11784#line $LINENO "configure" 11785#include "confdefs.h" 11786 11787#if HAVE_DLFCN_H 11788#include <dlfcn.h> 11789#endif 11790 11791#include <stdio.h> 11792 11793#ifdef RTLD_GLOBAL 11794# define LT_DLGLOBAL RTLD_GLOBAL 11795#else 11796# ifdef DL_GLOBAL 11797# define LT_DLGLOBAL DL_GLOBAL 11798# else 11799# define LT_DLGLOBAL 0 11800# endif 11801#endif 11802 11803/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11804 find out it does not work in some platform. */ 11805#ifndef LT_DLLAZY_OR_NOW 11806# ifdef RTLD_LAZY 11807# define LT_DLLAZY_OR_NOW RTLD_LAZY 11808# else 11809# ifdef DL_LAZY 11810# define LT_DLLAZY_OR_NOW DL_LAZY 11811# else 11812# ifdef RTLD_NOW 11813# define LT_DLLAZY_OR_NOW RTLD_NOW 11814# else 11815# ifdef DL_NOW 11816# define LT_DLLAZY_OR_NOW DL_NOW 11817# else 11818# define LT_DLLAZY_OR_NOW 0 11819# endif 11820# endif 11821# endif 11822# endif 11823#endif 11824 11825/* When -fvisibility=hidden is used, assume the code has been annotated 11826 correspondingly for the symbols needed. */ 11827#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11828int fnord () __attribute__((visibility("default"))); 11829#endif 11830 11831int fnord () { return 42; } 11832int main () 11833{ 11834 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11835 int status = $lt_dlunknown; 11836 11837 if (self) 11838 { 11839 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11840 else 11841 { 11842 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11843 else puts (dlerror ()); 11844 } 11845 /* dlclose (self); */ 11846 } 11847 else 11848 puts (dlerror ()); 11849 11850 return status; 11851} 11852_LT_EOF 11853 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11854 (eval $ac_link) 2>&5 11855 ac_status=$? 11856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11857 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 11858 (./conftest; exit; ) >&5 2>/dev/null 11859 lt_status=$? 11860 case x$lt_status in 11861 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 11862 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 11863 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 11864 esac 11865 else : 11866 # compilation failed 11867 lt_cv_dlopen_self=no 11868 fi 11869fi 11870rm -fr conftest* 11871 11872 11873fi 11874{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 11875$as_echo "$lt_cv_dlopen_self" >&6; } 11876 11877 if test yes = "$lt_cv_dlopen_self"; then 11878 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11880$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11881if ${lt_cv_dlopen_self_static+:} false; then : 11882 $as_echo_n "(cached) " >&6 11883else 11884 if test yes = "$cross_compiling"; then : 11885 lt_cv_dlopen_self_static=cross 11886else 11887 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11888 lt_status=$lt_dlunknown 11889 cat > conftest.$ac_ext <<_LT_EOF 11890#line $LINENO "configure" 11891#include "confdefs.h" 11892 11893#if HAVE_DLFCN_H 11894#include <dlfcn.h> 11895#endif 11896 11897#include <stdio.h> 11898 11899#ifdef RTLD_GLOBAL 11900# define LT_DLGLOBAL RTLD_GLOBAL 11901#else 11902# ifdef DL_GLOBAL 11903# define LT_DLGLOBAL DL_GLOBAL 11904# else 11905# define LT_DLGLOBAL 0 11906# endif 11907#endif 11908 11909/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11910 find out it does not work in some platform. */ 11911#ifndef LT_DLLAZY_OR_NOW 11912# ifdef RTLD_LAZY 11913# define LT_DLLAZY_OR_NOW RTLD_LAZY 11914# else 11915# ifdef DL_LAZY 11916# define LT_DLLAZY_OR_NOW DL_LAZY 11917# else 11918# ifdef RTLD_NOW 11919# define LT_DLLAZY_OR_NOW RTLD_NOW 11920# else 11921# ifdef DL_NOW 11922# define LT_DLLAZY_OR_NOW DL_NOW 11923# else 11924# define LT_DLLAZY_OR_NOW 0 11925# endif 11926# endif 11927# endif 11928# endif 11929#endif 11930 11931/* When -fvisibility=hidden is used, assume the code has been annotated 11932 correspondingly for the symbols needed. */ 11933#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11934int fnord () __attribute__((visibility("default"))); 11935#endif 11936 11937int fnord () { return 42; } 11938int main () 11939{ 11940 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11941 int status = $lt_dlunknown; 11942 11943 if (self) 11944 { 11945 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11946 else 11947 { 11948 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11949 else puts (dlerror ()); 11950 } 11951 /* dlclose (self); */ 11952 } 11953 else 11954 puts (dlerror ()); 11955 11956 return status; 11957} 11958_LT_EOF 11959 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11960 (eval $ac_link) 2>&5 11961 ac_status=$? 11962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11963 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 11964 (./conftest; exit; ) >&5 2>/dev/null 11965 lt_status=$? 11966 case x$lt_status in 11967 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 11968 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 11969 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 11970 esac 11971 else : 11972 # compilation failed 11973 lt_cv_dlopen_self_static=no 11974 fi 11975fi 11976rm -fr conftest* 11977 11978 11979fi 11980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 11981$as_echo "$lt_cv_dlopen_self_static" >&6; } 11982 fi 11983 11984 CPPFLAGS=$save_CPPFLAGS 11985 LDFLAGS=$save_LDFLAGS 11986 LIBS=$save_LIBS 11987 ;; 11988 esac 11989 11990 case $lt_cv_dlopen_self in 11991 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 11992 *) enable_dlopen_self=unknown ;; 11993 esac 11994 11995 case $lt_cv_dlopen_self_static in 11996 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 11997 *) enable_dlopen_self_static=unknown ;; 11998 esac 11999fi 12000 12001 12002 12003 12004 12005 12006 12007 12008 12009 12010 12011 12012 12013 12014 12015 12016 12017striplib= 12018old_striplib= 12019{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 12020$as_echo_n "checking whether stripping libraries is possible... " >&6; } 12021if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 12022 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 12023 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 12024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12025$as_echo "yes" >&6; } 12026else 12027# FIXME - insert some real tests, host_os isn't really good enough 12028 case $host_os in 12029 darwin*) 12030 if test -n "$STRIP"; then 12031 striplib="$STRIP -x" 12032 old_striplib="$STRIP -S" 12033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12034$as_echo "yes" >&6; } 12035 else 12036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12037$as_echo "no" >&6; } 12038 fi 12039 ;; 12040 *) 12041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12042$as_echo "no" >&6; } 12043 ;; 12044 esac 12045fi 12046 12047 12048 12049 12050 12051 12052 12053 12054 12055 12056 12057 12058 # Report what library types will actually be built 12059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 12060$as_echo_n "checking if libtool supports shared libraries... " >&6; } 12061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 12062$as_echo "$can_build_shared" >&6; } 12063 12064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 12065$as_echo_n "checking whether to build shared libraries... " >&6; } 12066 test no = "$can_build_shared" && enable_shared=no 12067 12068 # On AIX, shared libraries and static libraries use the same namespace, and 12069 # are all built from PIC. 12070 case $host_os in 12071 aix3*) 12072 test yes = "$enable_shared" && enable_static=no 12073 if test -n "$RANLIB"; then 12074 archive_cmds="$archive_cmds~\$RANLIB \$lib" 12075 postinstall_cmds='$RANLIB $lib' 12076 fi 12077 ;; 12078 12079 aix[4-9]*) 12080 if test ia64 != "$host_cpu"; then 12081 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 12082 yes,aix,yes) ;; # shared object as lib.so file only 12083 yes,svr4,*) ;; # shared object as lib.so archive member only 12084 yes,*) enable_static=no ;; # shared object in lib.a archive as well 12085 esac 12086 fi 12087 ;; 12088 esac 12089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 12090$as_echo "$enable_shared" >&6; } 12091 12092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 12093$as_echo_n "checking whether to build static libraries... " >&6; } 12094 # Make sure either enable_shared or enable_static is yes. 12095 test yes = "$enable_shared" || enable_static=yes 12096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 12097$as_echo "$enable_static" >&6; } 12098 12099 12100 12101 12102fi 12103ac_ext=c 12104ac_cpp='$CPP $CPPFLAGS' 12105ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12106ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12107ac_compiler_gnu=$ac_cv_c_compiler_gnu 12108 12109CC=$lt_save_CC 12110 12111 12112 12113 12114 12115 12116 12117 12118 12119 12120 12121 12122 12123 12124 12125 ac_config_commands="$ac_config_commands libtool" 12126 12127 12128 12129 12130# Only expand once: 12131 12132 12133{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 12134$as_echo_n "checking for inline... " >&6; } 12135if ${ac_cv_c_inline+:} false; then : 12136 $as_echo_n "(cached) " >&6 12137else 12138 ac_cv_c_inline=no 12139for ac_kw in inline __inline__ __inline; do 12140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12141/* end confdefs.h. */ 12142#ifndef __cplusplus 12143typedef int foo_t; 12144static $ac_kw foo_t static_foo () {return 0; } 12145$ac_kw foo_t foo () {return 0; } 12146#endif 12147 12148_ACEOF 12149if ac_fn_c_try_compile "$LINENO"; then : 12150 ac_cv_c_inline=$ac_kw 12151fi 12152rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12153 test "$ac_cv_c_inline" != no && break 12154done 12155 12156fi 12157{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 12158$as_echo "$ac_cv_c_inline" >&6; } 12159 12160case $ac_cv_c_inline in 12161 inline | yes) ;; 12162 *) 12163 case $ac_cv_c_inline in 12164 no) ac_val=;; 12165 *) ac_val=$ac_cv_c_inline;; 12166 esac 12167 cat >>confdefs.h <<_ACEOF 12168#ifndef __cplusplus 12169#define inline $ac_val 12170#endif 12171_ACEOF 12172 ;; 12173esac 12174 12175 12176ac_ext=cpp 12177ac_cpp='$CXXCPP $CPPFLAGS' 12178ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12179ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12180ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 12181if test -z "$CXX"; then 12182 if test -n "$CCC"; then 12183 CXX=$CCC 12184 else 12185 if test -n "$ac_tool_prefix"; then 12186 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 12187 do 12188 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 12189set dummy $ac_tool_prefix$ac_prog; ac_word=$2 12190{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12191$as_echo_n "checking for $ac_word... " >&6; } 12192if ${ac_cv_prog_CXX+:} false; then : 12193 $as_echo_n "(cached) " >&6 12194else 12195 if test -n "$CXX"; then 12196 ac_cv_prog_CXX="$CXX" # Let the user override the test. 12197else 12198as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12199for as_dir in $PATH 12200do 12201 IFS=$as_save_IFS 12202 test -z "$as_dir" && as_dir=. 12203 for ac_exec_ext in '' $ac_executable_extensions; do 12204 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12205 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 12206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12207 break 2 12208 fi 12209done 12210 done 12211IFS=$as_save_IFS 12212 12213fi 12214fi 12215CXX=$ac_cv_prog_CXX 12216if test -n "$CXX"; then 12217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 12218$as_echo "$CXX" >&6; } 12219else 12220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12221$as_echo "no" >&6; } 12222fi 12223 12224 12225 test -n "$CXX" && break 12226 done 12227fi 12228if test -z "$CXX"; then 12229 ac_ct_CXX=$CXX 12230 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 12231do 12232 # Extract the first word of "$ac_prog", so it can be a program name with args. 12233set dummy $ac_prog; ac_word=$2 12234{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12235$as_echo_n "checking for $ac_word... " >&6; } 12236if ${ac_cv_prog_ac_ct_CXX+:} false; then : 12237 $as_echo_n "(cached) " >&6 12238else 12239 if test -n "$ac_ct_CXX"; then 12240 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 12241else 12242as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12243for as_dir in $PATH 12244do 12245 IFS=$as_save_IFS 12246 test -z "$as_dir" && as_dir=. 12247 for ac_exec_ext in '' $ac_executable_extensions; do 12248 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12249 ac_cv_prog_ac_ct_CXX="$ac_prog" 12250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12251 break 2 12252 fi 12253done 12254 done 12255IFS=$as_save_IFS 12256 12257fi 12258fi 12259ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 12260if test -n "$ac_ct_CXX"; then 12261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 12262$as_echo "$ac_ct_CXX" >&6; } 12263else 12264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12265$as_echo "no" >&6; } 12266fi 12267 12268 12269 test -n "$ac_ct_CXX" && break 12270done 12271 12272 if test "x$ac_ct_CXX" = x; then 12273 CXX="g++" 12274 else 12275 case $cross_compiling:$ac_tool_warned in 12276yes:) 12277{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 12278$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12279ac_tool_warned=yes ;; 12280esac 12281 CXX=$ac_ct_CXX 12282 fi 12283fi 12284 12285 fi 12286fi 12287# Provide some information about the compiler. 12288$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 12289set X $ac_compile 12290ac_compiler=$2 12291for ac_option in --version -v -V -qversion; do 12292 { { ac_try="$ac_compiler $ac_option >&5" 12293case "(($ac_try" in 12294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12295 *) ac_try_echo=$ac_try;; 12296esac 12297eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 12298$as_echo "$ac_try_echo"; } >&5 12299 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 12300 ac_status=$? 12301 if test -s conftest.err; then 12302 sed '10a\ 12303... rest of stderr output deleted ... 12304 10q' conftest.err >conftest.er1 12305 cat conftest.er1 >&5 12306 fi 12307 rm -f conftest.er1 conftest.err 12308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12309 test $ac_status = 0; } 12310done 12311 12312{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 12313$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 12314if ${ac_cv_cxx_compiler_gnu+:} false; then : 12315 $as_echo_n "(cached) " >&6 12316else 12317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12318/* end confdefs.h. */ 12319 12320int 12321main () 12322{ 12323#ifndef __GNUC__ 12324 choke me 12325#endif 12326 12327 ; 12328 return 0; 12329} 12330_ACEOF 12331if ac_fn_cxx_try_compile "$LINENO"; then : 12332 ac_compiler_gnu=yes 12333else 12334 ac_compiler_gnu=no 12335fi 12336rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12337ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 12338 12339fi 12340{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 12341$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 12342if test $ac_compiler_gnu = yes; then 12343 GXX=yes 12344else 12345 GXX= 12346fi 12347ac_test_CXXFLAGS=${CXXFLAGS+set} 12348ac_save_CXXFLAGS=$CXXFLAGS 12349{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 12350$as_echo_n "checking whether $CXX accepts -g... " >&6; } 12351if ${ac_cv_prog_cxx_g+:} false; then : 12352 $as_echo_n "(cached) " >&6 12353else 12354 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 12355 ac_cxx_werror_flag=yes 12356 ac_cv_prog_cxx_g=no 12357 CXXFLAGS="-g" 12358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12359/* end confdefs.h. */ 12360 12361int 12362main () 12363{ 12364 12365 ; 12366 return 0; 12367} 12368_ACEOF 12369if ac_fn_cxx_try_compile "$LINENO"; then : 12370 ac_cv_prog_cxx_g=yes 12371else 12372 CXXFLAGS="" 12373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12374/* end confdefs.h. */ 12375 12376int 12377main () 12378{ 12379 12380 ; 12381 return 0; 12382} 12383_ACEOF 12384if ac_fn_cxx_try_compile "$LINENO"; then : 12385 12386else 12387 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 12388 CXXFLAGS="-g" 12389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12390/* end confdefs.h. */ 12391 12392int 12393main () 12394{ 12395 12396 ; 12397 return 0; 12398} 12399_ACEOF 12400if ac_fn_cxx_try_compile "$LINENO"; then : 12401 ac_cv_prog_cxx_g=yes 12402fi 12403rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12404fi 12405rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12406fi 12407rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12408 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 12409fi 12410{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 12411$as_echo "$ac_cv_prog_cxx_g" >&6; } 12412if test "$ac_test_CXXFLAGS" = set; then 12413 CXXFLAGS=$ac_save_CXXFLAGS 12414elif test $ac_cv_prog_cxx_g = yes; then 12415 if test "$GXX" = yes; then 12416 CXXFLAGS="-g -O2" 12417 else 12418 CXXFLAGS="-g" 12419 fi 12420else 12421 if test "$GXX" = yes; then 12422 CXXFLAGS="-O2" 12423 else 12424 CXXFLAGS= 12425 fi 12426fi 12427ac_ext=c 12428ac_cpp='$CPP $CPPFLAGS' 12429ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12430ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12431ac_compiler_gnu=$ac_cv_c_compiler_gnu 12432 12433depcc="$CXX" am_compiler_list= 12434 12435{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 12436$as_echo_n "checking dependency style of $depcc... " >&6; } 12437if ${am_cv_CXX_dependencies_compiler_type+:} false; then : 12438 $as_echo_n "(cached) " >&6 12439else 12440 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 12441 # We make a subdir and do the tests there. Otherwise we can end up 12442 # making bogus files that we don't know about and never remove. For 12443 # instance it was reported that on HP-UX the gcc test will end up 12444 # making a dummy file named 'D' -- because '-MD' means "put the output 12445 # in D". 12446 rm -rf conftest.dir 12447 mkdir conftest.dir 12448 # Copy depcomp to subdir because otherwise we won't find it if we're 12449 # using a relative directory. 12450 cp "$am_depcomp" conftest.dir 12451 cd conftest.dir 12452 # We will build objects and dependencies in a subdirectory because 12453 # it helps to detect inapplicable dependency modes. For instance 12454 # both Tru64's cc and ICC support -MD to output dependencies as a 12455 # side effect of compilation, but ICC will put the dependencies in 12456 # the current directory while Tru64 will put them in the object 12457 # directory. 12458 mkdir sub 12459 12460 am_cv_CXX_dependencies_compiler_type=none 12461 if test "$am_compiler_list" = ""; then 12462 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 12463 fi 12464 am__universal=false 12465 case " $depcc " in #( 12466 *\ -arch\ *\ -arch\ *) am__universal=true ;; 12467 esac 12468 12469 for depmode in $am_compiler_list; do 12470 # Setup a source with many dependencies, because some compilers 12471 # like to wrap large dependency lists on column 80 (with \), and 12472 # we should not choose a depcomp mode which is confused by this. 12473 # 12474 # We need to recreate these files for each test, as the compiler may 12475 # overwrite some of them when testing with obscure command lines. 12476 # This happens at least with the AIX C compiler. 12477 : > sub/conftest.c 12478 for i in 1 2 3 4 5 6; do 12479 echo '#include "conftst'$i'.h"' >> sub/conftest.c 12480 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 12481 # Solaris 10 /bin/sh. 12482 echo '/* dummy */' > sub/conftst$i.h 12483 done 12484 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 12485 12486 # We check with '-c' and '-o' for the sake of the "dashmstdout" 12487 # mode. It turns out that the SunPro C++ compiler does not properly 12488 # handle '-M -o', and we need to detect this. Also, some Intel 12489 # versions had trouble with output in subdirs. 12490 am__obj=sub/conftest.${OBJEXT-o} 12491 am__minus_obj="-o $am__obj" 12492 case $depmode in 12493 gcc) 12494 # This depmode causes a compiler race in universal mode. 12495 test "$am__universal" = false || continue 12496 ;; 12497 nosideeffect) 12498 # After this tag, mechanisms are not by side-effect, so they'll 12499 # only be used when explicitly requested. 12500 if test "x$enable_dependency_tracking" = xyes; then 12501 continue 12502 else 12503 break 12504 fi 12505 ;; 12506 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 12507 # This compiler won't grok '-c -o', but also, the minuso test has 12508 # not run yet. These depmodes are late enough in the game, and 12509 # so weak that their functioning should not be impacted. 12510 am__obj=conftest.${OBJEXT-o} 12511 am__minus_obj= 12512 ;; 12513 none) break ;; 12514 esac 12515 if depmode=$depmode \ 12516 source=sub/conftest.c object=$am__obj \ 12517 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 12518 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 12519 >/dev/null 2>conftest.err && 12520 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 12521 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 12522 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 12523 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 12524 # icc doesn't choke on unknown options, it will just issue warnings 12525 # or remarks (even with -Werror). So we grep stderr for any message 12526 # that says an option was ignored or not supported. 12527 # When given -MP, icc 7.0 and 7.1 complain thusly: 12528 # icc: Command line warning: ignoring option '-M'; no argument required 12529 # The diagnosis changed in icc 8.0: 12530 # icc: Command line remark: option '-MP' not supported 12531 if (grep 'ignoring option' conftest.err || 12532 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 12533 am_cv_CXX_dependencies_compiler_type=$depmode 12534 break 12535 fi 12536 fi 12537 done 12538 12539 cd .. 12540 rm -rf conftest.dir 12541else 12542 am_cv_CXX_dependencies_compiler_type=none 12543fi 12544 12545fi 12546{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 12547$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 12548CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 12549 12550 if 12551 test "x$enable_dependency_tracking" != xno \ 12552 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 12553 am__fastdepCXX_TRUE= 12554 am__fastdepCXX_FALSE='#' 12555else 12556 am__fastdepCXX_TRUE='#' 12557 am__fastdepCXX_FALSE= 12558fi 12559 12560 12561 12562 12563func_stripname_cnf () 12564{ 12565 case $2 in 12566 .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;; 12567 *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;; 12568 esac 12569} # func_stripname_cnf 12570 12571 if test -n "$CXX" && ( test no != "$CXX" && 12572 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) || 12573 (test g++ != "$CXX"))); then 12574 ac_ext=cpp 12575ac_cpp='$CXXCPP $CPPFLAGS' 12576ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12577ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12578ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 12579{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 12580$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 12581if test -z "$CXXCPP"; then 12582 if ${ac_cv_prog_CXXCPP+:} false; then : 12583 $as_echo_n "(cached) " >&6 12584else 12585 # Double quotes because CXXCPP needs to be expanded 12586 for CXXCPP in "$CXX -E" "/lib/cpp" 12587 do 12588 ac_preproc_ok=false 12589for ac_cxx_preproc_warn_flag in '' yes 12590do 12591 # Use a header file that comes with gcc, so configuring glibc 12592 # with a fresh cross-compiler works. 12593 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12594 # <limits.h> exists even on freestanding compilers. 12595 # On the NeXT, cc -E runs the code through the compiler's parser, 12596 # not just through cpp. "Syntax error" is here to catch this case. 12597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12598/* end confdefs.h. */ 12599#ifdef __STDC__ 12600# include <limits.h> 12601#else 12602# include <assert.h> 12603#endif 12604 Syntax error 12605_ACEOF 12606if ac_fn_cxx_try_cpp "$LINENO"; then : 12607 12608else 12609 # Broken: fails on valid input. 12610continue 12611fi 12612rm -f conftest.err conftest.i conftest.$ac_ext 12613 12614 # OK, works on sane cases. Now check whether nonexistent headers 12615 # can be detected and how. 12616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12617/* end confdefs.h. */ 12618#include <ac_nonexistent.h> 12619_ACEOF 12620if ac_fn_cxx_try_cpp "$LINENO"; then : 12621 # Broken: success on invalid input. 12622continue 12623else 12624 # Passes both tests. 12625ac_preproc_ok=: 12626break 12627fi 12628rm -f conftest.err conftest.i conftest.$ac_ext 12629 12630done 12631# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 12632rm -f conftest.i conftest.err conftest.$ac_ext 12633if $ac_preproc_ok; then : 12634 break 12635fi 12636 12637 done 12638 ac_cv_prog_CXXCPP=$CXXCPP 12639 12640fi 12641 CXXCPP=$ac_cv_prog_CXXCPP 12642else 12643 ac_cv_prog_CXXCPP=$CXXCPP 12644fi 12645{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 12646$as_echo "$CXXCPP" >&6; } 12647ac_preproc_ok=false 12648for ac_cxx_preproc_warn_flag in '' yes 12649do 12650 # Use a header file that comes with gcc, so configuring glibc 12651 # with a fresh cross-compiler works. 12652 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12653 # <limits.h> exists even on freestanding compilers. 12654 # On the NeXT, cc -E runs the code through the compiler's parser, 12655 # not just through cpp. "Syntax error" is here to catch this case. 12656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12657/* end confdefs.h. */ 12658#ifdef __STDC__ 12659# include <limits.h> 12660#else 12661# include <assert.h> 12662#endif 12663 Syntax error 12664_ACEOF 12665if ac_fn_cxx_try_cpp "$LINENO"; then : 12666 12667else 12668 # Broken: fails on valid input. 12669continue 12670fi 12671rm -f conftest.err conftest.i conftest.$ac_ext 12672 12673 # OK, works on sane cases. Now check whether nonexistent headers 12674 # can be detected and how. 12675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12676/* end confdefs.h. */ 12677#include <ac_nonexistent.h> 12678_ACEOF 12679if ac_fn_cxx_try_cpp "$LINENO"; then : 12680 # Broken: success on invalid input. 12681continue 12682else 12683 # Passes both tests. 12684ac_preproc_ok=: 12685break 12686fi 12687rm -f conftest.err conftest.i conftest.$ac_ext 12688 12689done 12690# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 12691rm -f conftest.i conftest.err conftest.$ac_ext 12692if $ac_preproc_ok; then : 12693 12694else 12695 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12696$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12697as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 12698See \`config.log' for more details" "$LINENO" 5; } 12699fi 12700 12701ac_ext=c 12702ac_cpp='$CPP $CPPFLAGS' 12703ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12704ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12705ac_compiler_gnu=$ac_cv_c_compiler_gnu 12706 12707else 12708 _lt_caught_CXX_error=yes 12709fi 12710 12711ac_ext=cpp 12712ac_cpp='$CXXCPP $CPPFLAGS' 12713ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12714ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12715ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 12716 12717archive_cmds_need_lc_CXX=no 12718allow_undefined_flag_CXX= 12719always_export_symbols_CXX=no 12720archive_expsym_cmds_CXX= 12721compiler_needs_object_CXX=no 12722export_dynamic_flag_spec_CXX= 12723hardcode_direct_CXX=no 12724hardcode_direct_absolute_CXX=no 12725hardcode_libdir_flag_spec_CXX= 12726hardcode_libdir_separator_CXX= 12727hardcode_minus_L_CXX=no 12728hardcode_shlibpath_var_CXX=unsupported 12729hardcode_automatic_CXX=no 12730inherit_rpath_CXX=no 12731module_cmds_CXX= 12732module_expsym_cmds_CXX= 12733link_all_deplibs_CXX=unknown 12734old_archive_cmds_CXX=$old_archive_cmds 12735reload_flag_CXX=$reload_flag 12736reload_cmds_CXX=$reload_cmds 12737no_undefined_flag_CXX= 12738whole_archive_flag_spec_CXX= 12739enable_shared_with_static_runtimes_CXX=no 12740 12741# Source file extension for C++ test sources. 12742ac_ext=cpp 12743 12744# Object file extension for compiled C++ test sources. 12745objext=o 12746objext_CXX=$objext 12747 12748# No sense in running all these tests if we already determined that 12749# the CXX compiler isn't working. Some variables (like enable_shared) 12750# are currently assumed to apply to all compilers on this platform, 12751# and will be corrupted by setting them based on a non-working compiler. 12752if test yes != "$_lt_caught_CXX_error"; then 12753 # Code to be used in simple compile tests 12754 lt_simple_compile_test_code="int some_variable = 0;" 12755 12756 # Code to be used in simple link tests 12757 lt_simple_link_test_code='int main(int, char *[]) { return(0); }' 12758 12759 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 12760 12761 12762 12763 12764 12765 12766# If no C compiler was specified, use CC. 12767LTCC=${LTCC-"$CC"} 12768 12769# If no C compiler flags were specified, use CFLAGS. 12770LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 12771 12772# Allow CC to be a program name with arguments. 12773compiler=$CC 12774 12775 12776 # save warnings/boilerplate of simple test code 12777 ac_outfile=conftest.$ac_objext 12778echo "$lt_simple_compile_test_code" >conftest.$ac_ext 12779eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 12780_lt_compiler_boilerplate=`cat conftest.err` 12781$RM conftest* 12782 12783 ac_outfile=conftest.$ac_objext 12784echo "$lt_simple_link_test_code" >conftest.$ac_ext 12785eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 12786_lt_linker_boilerplate=`cat conftest.err` 12787$RM -r conftest* 12788 12789 12790 # Allow CC to be a program name with arguments. 12791 lt_save_CC=$CC 12792 lt_save_CFLAGS=$CFLAGS 12793 lt_save_LD=$LD 12794 lt_save_GCC=$GCC 12795 GCC=$GXX 12796 lt_save_with_gnu_ld=$with_gnu_ld 12797 lt_save_path_LD=$lt_cv_path_LD 12798 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then 12799 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 12800 else 12801 $as_unset lt_cv_prog_gnu_ld 12802 fi 12803 if test -n "${lt_cv_path_LDCXX+set}"; then 12804 lt_cv_path_LD=$lt_cv_path_LDCXX 12805 else 12806 $as_unset lt_cv_path_LD 12807 fi 12808 test -z "${LDCXX+set}" || LD=$LDCXX 12809 CC=${CXX-"c++"} 12810 CFLAGS=$CXXFLAGS 12811 compiler=$CC 12812 compiler_CXX=$CC 12813 func_cc_basename $compiler 12814cc_basename=$func_cc_basename_result 12815 12816 12817 if test -n "$compiler"; then 12818 # We don't want -fno-exception when compiling C++ code, so set the 12819 # no_builtin_flag separately 12820 if test yes = "$GXX"; then 12821 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' 12822 else 12823 lt_prog_compiler_no_builtin_flag_CXX= 12824 fi 12825 12826 if test yes = "$GXX"; then 12827 # Set up default GNU C++ configuration 12828 12829 12830 12831# Check whether --with-gnu-ld was given. 12832if test "${with_gnu_ld+set}" = set; then : 12833 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 12834else 12835 with_gnu_ld=no 12836fi 12837 12838ac_prog=ld 12839if test yes = "$GCC"; then 12840 # Check if gcc -print-prog-name=ld gives a path. 12841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 12842$as_echo_n "checking for ld used by $CC... " >&6; } 12843 case $host in 12844 *-*-mingw*) 12845 # gcc leaves a trailing carriage return, which upsets mingw 12846 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 12847 *) 12848 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 12849 esac 12850 case $ac_prog in 12851 # Accept absolute paths. 12852 [\\/]* | ?:[\\/]*) 12853 re_direlt='/[^/][^/]*/\.\./' 12854 # Canonicalize the pathname of ld 12855 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 12856 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 12857 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 12858 done 12859 test -z "$LD" && LD=$ac_prog 12860 ;; 12861 "") 12862 # If it fails, then pretend we aren't using GCC. 12863 ac_prog=ld 12864 ;; 12865 *) 12866 # If it is relative, then search for the first ld in PATH. 12867 with_gnu_ld=unknown 12868 ;; 12869 esac 12870elif test yes = "$with_gnu_ld"; then 12871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 12872$as_echo_n "checking for GNU ld... " >&6; } 12873else 12874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 12875$as_echo_n "checking for non-GNU ld... " >&6; } 12876fi 12877if ${lt_cv_path_LD+:} false; then : 12878 $as_echo_n "(cached) " >&6 12879else 12880 if test -z "$LD"; then 12881 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 12882 for ac_dir in $PATH; do 12883 IFS=$lt_save_ifs 12884 test -z "$ac_dir" && ac_dir=. 12885 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 12886 lt_cv_path_LD=$ac_dir/$ac_prog 12887 # Check to see if the program is GNU ld. I'd rather use --version, 12888 # but apparently some variants of GNU ld only accept -v. 12889 # Break only if it was the GNU/non-GNU ld that we prefer. 12890 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 12891 *GNU* | *'with BFD'*) 12892 test no != "$with_gnu_ld" && break 12893 ;; 12894 *) 12895 test yes != "$with_gnu_ld" && break 12896 ;; 12897 esac 12898 fi 12899 done 12900 IFS=$lt_save_ifs 12901else 12902 lt_cv_path_LD=$LD # Let the user override the test with a path. 12903fi 12904fi 12905 12906LD=$lt_cv_path_LD 12907if test -n "$LD"; then 12908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 12909$as_echo "$LD" >&6; } 12910else 12911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12912$as_echo "no" >&6; } 12913fi 12914test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 12915{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 12916$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 12917if ${lt_cv_prog_gnu_ld+:} false; then : 12918 $as_echo_n "(cached) " >&6 12919else 12920 # I'd rather use --version here, but apparently some GNU lds only accept -v. 12921case `$LD -v 2>&1 </dev/null` in 12922*GNU* | *'with BFD'*) 12923 lt_cv_prog_gnu_ld=yes 12924 ;; 12925*) 12926 lt_cv_prog_gnu_ld=no 12927 ;; 12928esac 12929fi 12930{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 12931$as_echo "$lt_cv_prog_gnu_ld" >&6; } 12932with_gnu_ld=$lt_cv_prog_gnu_ld 12933 12934 12935 12936 12937 12938 12939 12940 # Check if GNU C++ uses GNU ld as the underlying linker, since the 12941 # archiving commands below assume that GNU ld is being used. 12942 if test yes = "$with_gnu_ld"; then 12943 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 12944 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 12945 12946 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 12947 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 12948 12949 # If archive_cmds runs LD, not CC, wlarc should be empty 12950 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to 12951 # investigate it a little bit more. (MM) 12952 wlarc='$wl' 12953 12954 # ancient GNU ld didn't support --whole-archive et. al. 12955 if eval "`$CC -print-prog-name=ld` --help 2>&1" | 12956 $GREP 'no-whole-archive' > /dev/null; then 12957 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 12958 else 12959 whole_archive_flag_spec_CXX= 12960 fi 12961 else 12962 with_gnu_ld=no 12963 wlarc= 12964 12965 # A generic and very simple default shared library creation 12966 # command for GNU C++ for the case where it uses the native 12967 # linker, instead of GNU ld. If possible, this setting should 12968 # overridden to take advantage of the native linker features on 12969 # the platform it is being used on. 12970 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 12971 fi 12972 12973 # Commands to make compiler produce verbose output that lists 12974 # what "hidden" libraries, object files and flags are used when 12975 # linking a shared library. 12976 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 12977 12978 else 12979 GXX=no 12980 with_gnu_ld=no 12981 wlarc= 12982 fi 12983 12984 # PORTME: fill in a description of your system's C++ link characteristics 12985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 12986$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 12987 ld_shlibs_CXX=yes 12988 case $host_os in 12989 aix3*) 12990 # FIXME: insert proper C++ library support 12991 ld_shlibs_CXX=no 12992 ;; 12993 aix[4-9]*) 12994 if test ia64 = "$host_cpu"; then 12995 # On IA64, the linker does run time linking by default, so we don't 12996 # have to do anything special. 12997 aix_use_runtimelinking=no 12998 exp_sym_flag='-Bexport' 12999 no_entry_flag= 13000 else 13001 aix_use_runtimelinking=no 13002 13003 # Test if we are trying to use run time linking or normal 13004 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 13005 # have runtime linking enabled, and use it for executables. 13006 # For shared libraries, we enable/disable runtime linking 13007 # depending on the kind of the shared library created - 13008 # when "with_aix_soname,aix_use_runtimelinking" is: 13009 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 13010 # "aix,yes" lib.so shared, rtl:yes, for executables 13011 # lib.a static archive 13012 # "both,no" lib.so.V(shr.o) shared, rtl:yes 13013 # lib.a(lib.so.V) shared, rtl:no, for executables 13014 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 13015 # lib.a(lib.so.V) shared, rtl:no 13016 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 13017 # lib.a static archive 13018 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 13019 for ld_flag in $LDFLAGS; do 13020 case $ld_flag in 13021 *-brtl*) 13022 aix_use_runtimelinking=yes 13023 break 13024 ;; 13025 esac 13026 done 13027 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 13028 # With aix-soname=svr4, we create the lib.so.V shared archives only, 13029 # so we don't have lib.a shared libs to link our executables. 13030 # We have to force runtime linking in this case. 13031 aix_use_runtimelinking=yes 13032 LDFLAGS="$LDFLAGS -Wl,-brtl" 13033 fi 13034 ;; 13035 esac 13036 13037 exp_sym_flag='-bexport' 13038 no_entry_flag='-bnoentry' 13039 fi 13040 13041 # When large executables or shared objects are built, AIX ld can 13042 # have problems creating the table of contents. If linking a library 13043 # or program results in "error TOC overflow" add -mminimal-toc to 13044 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 13045 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 13046 13047 archive_cmds_CXX='' 13048 hardcode_direct_CXX=yes 13049 hardcode_direct_absolute_CXX=yes 13050 hardcode_libdir_separator_CXX=':' 13051 link_all_deplibs_CXX=yes 13052 file_list_spec_CXX='$wl-f,' 13053 case $with_aix_soname,$aix_use_runtimelinking in 13054 aix,*) ;; # no import file 13055 svr4,* | *,yes) # use import file 13056 # The Import File defines what to hardcode. 13057 hardcode_direct_CXX=no 13058 hardcode_direct_absolute_CXX=no 13059 ;; 13060 esac 13061 13062 if test yes = "$GXX"; then 13063 case $host_os in aix4.[012]|aix4.[012].*) 13064 # We only want to do this on AIX 4.2 and lower, the check 13065 # below for broken collect2 doesn't work under 4.3+ 13066 collect2name=`$CC -print-prog-name=collect2` 13067 if test -f "$collect2name" && 13068 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 13069 then 13070 # We have reworked collect2 13071 : 13072 else 13073 # We have old collect2 13074 hardcode_direct_CXX=unsupported 13075 # It fails to find uninstalled libraries when the uninstalled 13076 # path is not listed in the libpath. Setting hardcode_minus_L 13077 # to unsupported forces relinking 13078 hardcode_minus_L_CXX=yes 13079 hardcode_libdir_flag_spec_CXX='-L$libdir' 13080 hardcode_libdir_separator_CXX= 13081 fi 13082 esac 13083 shared_flag='-shared' 13084 if test yes = "$aix_use_runtimelinking"; then 13085 shared_flag=$shared_flag' $wl-G' 13086 fi 13087 # Need to ensure runtime linking is disabled for the traditional 13088 # shared library, or the linker may eventually find shared libraries 13089 # /with/ Import File - we do not want to mix them. 13090 shared_flag_aix='-shared' 13091 shared_flag_svr4='-shared $wl-G' 13092 else 13093 # not using gcc 13094 if test ia64 = "$host_cpu"; then 13095 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 13096 # chokes on -Wl,-G. The following line is correct: 13097 shared_flag='-G' 13098 else 13099 if test yes = "$aix_use_runtimelinking"; then 13100 shared_flag='$wl-G' 13101 else 13102 shared_flag='$wl-bM:SRE' 13103 fi 13104 shared_flag_aix='$wl-bM:SRE' 13105 shared_flag_svr4='$wl-G' 13106 fi 13107 fi 13108 13109 export_dynamic_flag_spec_CXX='$wl-bexpall' 13110 # It seems that -bexpall does not export symbols beginning with 13111 # underscore (_), so it is better to generate a list of symbols to 13112 # export. 13113 always_export_symbols_CXX=yes 13114 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 13115 # Warning - without using the other runtime loading flags (-brtl), 13116 # -berok will link without error, but may produce a broken library. 13117 # The "-G" linker flag allows undefined symbols. 13118 no_undefined_flag_CXX='-bernotok' 13119 # Determine the default libpath from the value encoded in an empty 13120 # executable. 13121 if test set = "${lt_cv_aix_libpath+set}"; then 13122 aix_libpath=$lt_cv_aix_libpath 13123else 13124 if ${lt_cv_aix_libpath__CXX+:} false; then : 13125 $as_echo_n "(cached) " >&6 13126else 13127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13128/* end confdefs.h. */ 13129 13130int 13131main () 13132{ 13133 13134 ; 13135 return 0; 13136} 13137_ACEOF 13138if ac_fn_cxx_try_link "$LINENO"; then : 13139 13140 lt_aix_libpath_sed=' 13141 /Import File Strings/,/^$/ { 13142 /^0/ { 13143 s/^0 *\([^ ]*\) *$/\1/ 13144 p 13145 } 13146 }' 13147 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 13148 # Check for a 64-bit object if we didn't find anything. 13149 if test -z "$lt_cv_aix_libpath__CXX"; then 13150 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 13151 fi 13152fi 13153rm -f core conftest.err conftest.$ac_objext \ 13154 conftest$ac_exeext conftest.$ac_ext 13155 if test -z "$lt_cv_aix_libpath__CXX"; then 13156 lt_cv_aix_libpath__CXX=/usr/lib:/lib 13157 fi 13158 13159fi 13160 13161 aix_libpath=$lt_cv_aix_libpath__CXX 13162fi 13163 13164 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" 13165 13166 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag 13167 else 13168 if test ia64 = "$host_cpu"; then 13169 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib' 13170 allow_undefined_flag_CXX="-z nodefs" 13171 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols" 13172 else 13173 # Determine the default libpath from the value encoded in an 13174 # empty executable. 13175 if test set = "${lt_cv_aix_libpath+set}"; then 13176 aix_libpath=$lt_cv_aix_libpath 13177else 13178 if ${lt_cv_aix_libpath__CXX+:} false; then : 13179 $as_echo_n "(cached) " >&6 13180else 13181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13182/* end confdefs.h. */ 13183 13184int 13185main () 13186{ 13187 13188 ; 13189 return 0; 13190} 13191_ACEOF 13192if ac_fn_cxx_try_link "$LINENO"; then : 13193 13194 lt_aix_libpath_sed=' 13195 /Import File Strings/,/^$/ { 13196 /^0/ { 13197 s/^0 *\([^ ]*\) *$/\1/ 13198 p 13199 } 13200 }' 13201 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 13202 # Check for a 64-bit object if we didn't find anything. 13203 if test -z "$lt_cv_aix_libpath__CXX"; then 13204 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 13205 fi 13206fi 13207rm -f core conftest.err conftest.$ac_objext \ 13208 conftest$ac_exeext conftest.$ac_ext 13209 if test -z "$lt_cv_aix_libpath__CXX"; then 13210 lt_cv_aix_libpath__CXX=/usr/lib:/lib 13211 fi 13212 13213fi 13214 13215 aix_libpath=$lt_cv_aix_libpath__CXX 13216fi 13217 13218 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" 13219 # Warning - without using the other run time loading flags, 13220 # -berok will link without error, but may produce a broken library. 13221 no_undefined_flag_CXX=' $wl-bernotok' 13222 allow_undefined_flag_CXX=' $wl-berok' 13223 if test yes = "$with_gnu_ld"; then 13224 # We only use this code for GNU lds that support --whole-archive. 13225 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' 13226 else 13227 # Exported symbols can be pulled into shared objects from archives 13228 whole_archive_flag_spec_CXX='$convenience' 13229 fi 13230 archive_cmds_need_lc_CXX=yes 13231 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 13232 # -brtl affects multiple linker settings, -berok does not and is overridden later 13233 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 13234 if test svr4 != "$with_aix_soname"; then 13235 # This is similar to how AIX traditionally builds its shared 13236 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS. 13237 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' 13238 fi 13239 if test aix != "$with_aix_soname"; then 13240 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' 13241 else 13242 # used by -dlpreopen to get the symbols 13243 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 13244 fi 13245 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d' 13246 fi 13247 fi 13248 ;; 13249 13250 beos*) 13251 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 13252 allow_undefined_flag_CXX=unsupported 13253 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 13254 # support --undefined. This deserves some investigation. FIXME 13255 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 13256 else 13257 ld_shlibs_CXX=no 13258 fi 13259 ;; 13260 13261 chorus*) 13262 case $cc_basename in 13263 *) 13264 # FIXME: insert proper C++ library support 13265 ld_shlibs_CXX=no 13266 ;; 13267 esac 13268 ;; 13269 13270 cygwin* | mingw* | pw32* | cegcc*) 13271 case $GXX,$cc_basename in 13272 ,cl* | no,cl*) 13273 # Native MSVC 13274 # hardcode_libdir_flag_spec is actually meaningless, as there is 13275 # no search path for DLLs. 13276 hardcode_libdir_flag_spec_CXX=' ' 13277 allow_undefined_flag_CXX=unsupported 13278 always_export_symbols_CXX=yes 13279 file_list_spec_CXX='@' 13280 # Tell ltmain to make .lib files, not .a files. 13281 libext=lib 13282 # Tell ltmain to make .dll files, not .so files. 13283 shrext_cmds=.dll 13284 # FIXME: Setting linknames here is a bad hack. 13285 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 13286 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 13287 cp "$export_symbols" "$output_objdir/$soname.def"; 13288 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 13289 else 13290 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 13291 fi~ 13292 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 13293 linknames=' 13294 # The linker will not automatically build a static lib if we build a DLL. 13295 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true' 13296 enable_shared_with_static_runtimes_CXX=yes 13297 # Don't use ranlib 13298 old_postinstall_cmds_CXX='chmod 644 $oldlib' 13299 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~ 13300 lt_tool_outputfile="@TOOL_OUTPUT@"~ 13301 case $lt_outputfile in 13302 *.exe|*.EXE) ;; 13303 *) 13304 lt_outputfile=$lt_outputfile.exe 13305 lt_tool_outputfile=$lt_tool_outputfile.exe 13306 ;; 13307 esac~ 13308 func_to_tool_file "$lt_outputfile"~ 13309 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 13310 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 13311 $RM "$lt_outputfile.manifest"; 13312 fi' 13313 ;; 13314 *) 13315 # g++ 13316 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, 13317 # as there is no search path for DLLs. 13318 hardcode_libdir_flag_spec_CXX='-L$libdir' 13319 export_dynamic_flag_spec_CXX='$wl--export-all-symbols' 13320 allow_undefined_flag_CXX=unsupported 13321 always_export_symbols_CXX=no 13322 enable_shared_with_static_runtimes_CXX=yes 13323 13324 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 13325 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 13326 # If the export-symbols file already is a .def file, use it as 13327 # is; otherwise, prepend EXPORTS... 13328 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 13329 cp $export_symbols $output_objdir/$soname.def; 13330 else 13331 echo EXPORTS > $output_objdir/$soname.def; 13332 cat $export_symbols >> $output_objdir/$soname.def; 13333 fi~ 13334 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 13335 else 13336 ld_shlibs_CXX=no 13337 fi 13338 ;; 13339 esac 13340 ;; 13341 darwin* | rhapsody*) 13342 13343 13344 archive_cmds_need_lc_CXX=no 13345 hardcode_direct_CXX=no 13346 hardcode_automatic_CXX=yes 13347 hardcode_shlibpath_var_CXX=unsupported 13348 if test yes = "$lt_cv_ld_force_load"; then 13349 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' 13350 13351 else 13352 whole_archive_flag_spec_CXX='' 13353 fi 13354 link_all_deplibs_CXX=yes 13355 allow_undefined_flag_CXX=$_lt_dar_allow_undefined 13356 case $cc_basename in 13357 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 13358 *) _lt_dar_can_shared=$GCC ;; 13359 esac 13360 if test yes = "$_lt_dar_can_shared"; then 13361 output_verbose_link_cmd=func_echo_all 13362 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 13363 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 13364 archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil" 13365 module_expsym_cmds_CXX="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil" 13366 if test yes != "$lt_cv_apple_cc_single_mod"; then 13367 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil" 13368 archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil" 13369 fi 13370 13371 else 13372 ld_shlibs_CXX=no 13373 fi 13374 13375 ;; 13376 13377 os2*) 13378 hardcode_libdir_flag_spec_CXX='-L$libdir' 13379 hardcode_minus_L_CXX=yes 13380 allow_undefined_flag_CXX=unsupported 13381 shrext_cmds=.dll 13382 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 13383 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 13384 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 13385 $ECHO EXPORTS >> $output_objdir/$libname.def~ 13386 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 13387 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 13388 emximp -o $lib $output_objdir/$libname.def' 13389 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 13390 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 13391 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 13392 $ECHO EXPORTS >> $output_objdir/$libname.def~ 13393 prefix_cmds="$SED"~ 13394 if test EXPORTS = "`$SED 1q $export_symbols`"; then 13395 prefix_cmds="$prefix_cmds -e 1d"; 13396 fi~ 13397 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 13398 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 13399 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 13400 emximp -o $lib $output_objdir/$libname.def' 13401 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 13402 enable_shared_with_static_runtimes_CXX=yes 13403 ;; 13404 13405 dgux*) 13406 case $cc_basename in 13407 ec++*) 13408 # FIXME: insert proper C++ library support 13409 ld_shlibs_CXX=no 13410 ;; 13411 ghcx*) 13412 # Green Hills C++ Compiler 13413 # FIXME: insert proper C++ library support 13414 ld_shlibs_CXX=no 13415 ;; 13416 *) 13417 # FIXME: insert proper C++ library support 13418 ld_shlibs_CXX=no 13419 ;; 13420 esac 13421 ;; 13422 13423 freebsd2.*) 13424 # C++ shared libraries reported to be fairly broken before 13425 # switch to ELF 13426 ld_shlibs_CXX=no 13427 ;; 13428 13429 freebsd-elf*) 13430 archive_cmds_need_lc_CXX=no 13431 ;; 13432 13433 freebsd* | dragonfly*) 13434 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 13435 # conventions 13436 ld_shlibs_CXX=yes 13437 ;; 13438 13439 haiku*) 13440 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 13441 link_all_deplibs_CXX=yes 13442 ;; 13443 13444 hpux9*) 13445 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' 13446 hardcode_libdir_separator_CXX=: 13447 export_dynamic_flag_spec_CXX='$wl-E' 13448 hardcode_direct_CXX=yes 13449 hardcode_minus_L_CXX=yes # Not in the search PATH, 13450 # but as the default 13451 # location of the library. 13452 13453 case $cc_basename in 13454 CC*) 13455 # FIXME: insert proper C++ library support 13456 ld_shlibs_CXX=no 13457 ;; 13458 aCC*) 13459 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 13460 # Commands to make compiler produce verbose output that lists 13461 # what "hidden" libraries, object files and flags are used when 13462 # linking a shared library. 13463 # 13464 # There doesn't appear to be a way to prevent this compiler from 13465 # explicitly linking system object files so we need to strip them 13466 # from the output so that they don't get included in the library 13467 # dependencies. 13468 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 13469 ;; 13470 *) 13471 if test yes = "$GXX"; then 13472 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 13473 else 13474 # FIXME: insert proper C++ library support 13475 ld_shlibs_CXX=no 13476 fi 13477 ;; 13478 esac 13479 ;; 13480 13481 hpux10*|hpux11*) 13482 if test no = "$with_gnu_ld"; then 13483 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' 13484 hardcode_libdir_separator_CXX=: 13485 13486 case $host_cpu in 13487 hppa*64*|ia64*) 13488 ;; 13489 *) 13490 export_dynamic_flag_spec_CXX='$wl-E' 13491 ;; 13492 esac 13493 fi 13494 case $host_cpu in 13495 hppa*64*|ia64*) 13496 hardcode_direct_CXX=no 13497 hardcode_shlibpath_var_CXX=no 13498 ;; 13499 *) 13500 hardcode_direct_CXX=yes 13501 hardcode_direct_absolute_CXX=yes 13502 hardcode_minus_L_CXX=yes # Not in the search PATH, 13503 # but as the default 13504 # location of the library. 13505 ;; 13506 esac 13507 13508 case $cc_basename in 13509 CC*) 13510 # FIXME: insert proper C++ library support 13511 ld_shlibs_CXX=no 13512 ;; 13513 aCC*) 13514 case $host_cpu in 13515 hppa*64*) 13516 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13517 ;; 13518 ia64*) 13519 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13520 ;; 13521 *) 13522 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13523 ;; 13524 esac 13525 # Commands to make compiler produce verbose output that lists 13526 # what "hidden" libraries, object files and flags are used when 13527 # linking a shared library. 13528 # 13529 # There doesn't appear to be a way to prevent this compiler from 13530 # explicitly linking system object files so we need to strip them 13531 # from the output so that they don't get included in the library 13532 # dependencies. 13533 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 13534 ;; 13535 *) 13536 if test yes = "$GXX"; then 13537 if test no = "$with_gnu_ld"; then 13538 case $host_cpu in 13539 hppa*64*) 13540 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13541 ;; 13542 ia64*) 13543 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13544 ;; 13545 *) 13546 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13547 ;; 13548 esac 13549 fi 13550 else 13551 # FIXME: insert proper C++ library support 13552 ld_shlibs_CXX=no 13553 fi 13554 ;; 13555 esac 13556 ;; 13557 13558 interix[3-9]*) 13559 hardcode_direct_CXX=no 13560 hardcode_shlibpath_var_CXX=no 13561 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 13562 export_dynamic_flag_spec_CXX='$wl-E' 13563 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 13564 # Instead, shared libraries are loaded at an image base (0x10000000 by 13565 # default) and relocated if they conflict, which is a slow very memory 13566 # consuming and fragmenting process. To avoid this, we pick a random, 13567 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 13568 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 13569 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 13570 archive_expsym_cmds_CXX='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 13571 ;; 13572 irix5* | irix6*) 13573 case $cc_basename in 13574 CC*) 13575 # SGI C++ 13576 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' 13577 13578 # Archives containing C++ object files must be created using 13579 # "CC -ar", where "CC" is the IRIX C++ compiler. This is 13580 # necessary to make sure instantiated templates are included 13581 # in the archive. 13582 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' 13583 ;; 13584 *) 13585 if test yes = "$GXX"; then 13586 if test no = "$with_gnu_ld"; then 13587 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' 13588 else 13589 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib' 13590 fi 13591 fi 13592 link_all_deplibs_CXX=yes 13593 ;; 13594 esac 13595 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 13596 hardcode_libdir_separator_CXX=: 13597 inherit_rpath_CXX=yes 13598 ;; 13599 13600 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 13601 case $cc_basename in 13602 KCC*) 13603 # Kuck and Associates, Inc. (KAI) C++ Compiler 13604 13605 # KCC will only create a shared library if the output file 13606 # ends with ".so" (or ".sl" for HP-UX), so rename the library 13607 # to its proper name (with version) after linking. 13608 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 13609 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib' 13610 # Commands to make compiler produce verbose output that lists 13611 # what "hidden" libraries, object files and flags are used when 13612 # linking a shared library. 13613 # 13614 # There doesn't appear to be a way to prevent this compiler from 13615 # explicitly linking system object files so we need to strip them 13616 # from the output so that they don't get included in the library 13617 # dependencies. 13618 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 13619 13620 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 13621 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 13622 13623 # Archives containing C++ object files must be created using 13624 # "CC -Bstatic", where "CC" is the KAI C++ compiler. 13625 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' 13626 ;; 13627 icpc* | ecpc* ) 13628 # Intel C++ 13629 with_gnu_ld=yes 13630 # version 8.0 and above of icpc choke on multiply defined symbols 13631 # if we add $predep_objects and $postdep_objects, however 7.1 and 13632 # earlier do not add the objects themselves. 13633 case `$CC -V 2>&1` in 13634 *"Version 7."*) 13635 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 13636 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 13637 ;; 13638 *) # Version 8.0 or newer 13639 tmp_idyn= 13640 case $host_cpu in 13641 ia64*) tmp_idyn=' -i_dynamic';; 13642 esac 13643 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 13644 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 13645 ;; 13646 esac 13647 archive_cmds_need_lc_CXX=no 13648 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 13649 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 13650 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' 13651 ;; 13652 pgCC* | pgcpp*) 13653 # Portland Group C++ compiler 13654 case `$CC -V` in 13655 *pgCC\ [1-5].* | *pgcpp\ [1-5].*) 13656 prelink_cmds_CXX='tpldir=Template.dir~ 13657 rm -rf $tpldir~ 13658 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ 13659 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' 13660 old_archive_cmds_CXX='tpldir=Template.dir~ 13661 rm -rf $tpldir~ 13662 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ 13663 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ 13664 $RANLIB $oldlib' 13665 archive_cmds_CXX='tpldir=Template.dir~ 13666 rm -rf $tpldir~ 13667 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 13668 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 13669 archive_expsym_cmds_CXX='tpldir=Template.dir~ 13670 rm -rf $tpldir~ 13671 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 13672 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 13673 ;; 13674 *) # Version 6 and above use weak symbols 13675 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 13676 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 13677 ;; 13678 esac 13679 13680 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir' 13681 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 13682 whole_archive_flag_spec_CXX='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' 13683 ;; 13684 cxx*) 13685 # Compaq C++ 13686 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 13687 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols' 13688 13689 runpath_var=LD_RUN_PATH 13690 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 13691 hardcode_libdir_separator_CXX=: 13692 13693 # Commands to make compiler produce verbose output that lists 13694 # what "hidden" libraries, object files and flags are used when 13695 # linking a shared library. 13696 # 13697 # There doesn't appear to be a way to prevent this compiler from 13698 # explicitly linking system object files so we need to strip them 13699 # from the output so that they don't get included in the library 13700 # dependencies. 13701 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed' 13702 ;; 13703 xl* | mpixl* | bgxl*) 13704 # IBM XL 8.0 on PPC, with GNU ld 13705 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 13706 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 13707 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 13708 if test yes = "$supports_anon_versioning"; then 13709 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ 13710 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 13711 echo "local: *; };" >> $output_objdir/$libname.ver~ 13712 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 13713 fi 13714 ;; 13715 *) 13716 case `$CC -V 2>&1 | sed 5q` in 13717 *Sun\ C*) 13718 # Sun C++ 5.9 13719 no_undefined_flag_CXX=' -zdefs' 13720 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13721 archive_expsym_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols' 13722 hardcode_libdir_flag_spec_CXX='-R$libdir' 13723 whole_archive_flag_spec_CXX='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' 13724 compiler_needs_object_CXX=yes 13725 13726 # Not sure whether something based on 13727 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 13728 # would be better. 13729 output_verbose_link_cmd='func_echo_all' 13730 13731 # Archives containing C++ object files must be created using 13732 # "CC -xar", where "CC" is the Sun C++ compiler. This is 13733 # necessary to make sure instantiated templates are included 13734 # in the archive. 13735 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 13736 ;; 13737 esac 13738 ;; 13739 esac 13740 ;; 13741 13742 lynxos*) 13743 # FIXME: insert proper C++ library support 13744 ld_shlibs_CXX=no 13745 ;; 13746 13747 m88k*) 13748 # FIXME: insert proper C++ library support 13749 ld_shlibs_CXX=no 13750 ;; 13751 13752 mvs*) 13753 case $cc_basename in 13754 cxx*) 13755 # FIXME: insert proper C++ library support 13756 ld_shlibs_CXX=no 13757 ;; 13758 *) 13759 # FIXME: insert proper C++ library support 13760 ld_shlibs_CXX=no 13761 ;; 13762 esac 13763 ;; 13764 13765 netbsd*) 13766 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 13767 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 13768 wlarc= 13769 hardcode_libdir_flag_spec_CXX='-R$libdir' 13770 hardcode_direct_CXX=yes 13771 hardcode_shlibpath_var_CXX=no 13772 fi 13773 # Workaround some broken pre-1.5 toolchains 13774 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 13775 ;; 13776 13777 *nto* | *qnx*) 13778 ld_shlibs_CXX=yes 13779 ;; 13780 13781 openbsd* | bitrig*) 13782 if test -f /usr/libexec/ld.so; then 13783 hardcode_direct_CXX=yes 13784 hardcode_shlibpath_var_CXX=no 13785 hardcode_direct_absolute_CXX=yes 13786 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 13787 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 13788 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then 13789 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib' 13790 export_dynamic_flag_spec_CXX='$wl-E' 13791 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 13792 fi 13793 output_verbose_link_cmd=func_echo_all 13794 else 13795 ld_shlibs_CXX=no 13796 fi 13797 ;; 13798 13799 osf3* | osf4* | osf5*) 13800 case $cc_basename in 13801 KCC*) 13802 # Kuck and Associates, Inc. (KAI) C++ Compiler 13803 13804 # KCC will only create a shared library if the output file 13805 # ends with ".so" (or ".sl" for HP-UX), so rename the library 13806 # to its proper name (with version) after linking. 13807 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 13808 13809 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 13810 hardcode_libdir_separator_CXX=: 13811 13812 # Archives containing C++ object files must be created using 13813 # the KAI C++ compiler. 13814 case $host in 13815 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; 13816 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; 13817 esac 13818 ;; 13819 RCC*) 13820 # Rational C++ 2.4.1 13821 # FIXME: insert proper C++ library support 13822 ld_shlibs_CXX=no 13823 ;; 13824 cxx*) 13825 case $host in 13826 osf3*) 13827 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' 13828 archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' 13829 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 13830 ;; 13831 *) 13832 allow_undefined_flag_CXX=' -expect_unresolved \*' 13833 archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' 13834 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 13835 echo "-hidden">> $lib.exp~ 13836 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~ 13837 $RM $lib.exp' 13838 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 13839 ;; 13840 esac 13841 13842 hardcode_libdir_separator_CXX=: 13843 13844 # Commands to make compiler produce verbose output that lists 13845 # what "hidden" libraries, object files and flags are used when 13846 # linking a shared library. 13847 # 13848 # There doesn't appear to be a way to prevent this compiler from 13849 # explicitly linking system object files so we need to strip them 13850 # from the output so that they don't get included in the library 13851 # dependencies. 13852 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 13853 ;; 13854 *) 13855 if test yes,no = "$GXX,$with_gnu_ld"; then 13856 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' 13857 case $host in 13858 osf3*) 13859 archive_cmds_CXX='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' 13860 ;; 13861 *) 13862 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' 13863 ;; 13864 esac 13865 13866 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 13867 hardcode_libdir_separator_CXX=: 13868 13869 # Commands to make compiler produce verbose output that lists 13870 # what "hidden" libraries, object files and flags are used when 13871 # linking a shared library. 13872 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 13873 13874 else 13875 # FIXME: insert proper C++ library support 13876 ld_shlibs_CXX=no 13877 fi 13878 ;; 13879 esac 13880 ;; 13881 13882 psos*) 13883 # FIXME: insert proper C++ library support 13884 ld_shlibs_CXX=no 13885 ;; 13886 13887 sunos4*) 13888 case $cc_basename in 13889 CC*) 13890 # Sun C++ 4.x 13891 # FIXME: insert proper C++ library support 13892 ld_shlibs_CXX=no 13893 ;; 13894 lcc*) 13895 # Lucid 13896 # FIXME: insert proper C++ library support 13897 ld_shlibs_CXX=no 13898 ;; 13899 *) 13900 # FIXME: insert proper C++ library support 13901 ld_shlibs_CXX=no 13902 ;; 13903 esac 13904 ;; 13905 13906 solaris*) 13907 case $cc_basename in 13908 CC* | sunCC*) 13909 # Sun C++ 4.2, 5.x and Centerline C++ 13910 archive_cmds_need_lc_CXX=yes 13911 no_undefined_flag_CXX=' -zdefs' 13912 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13913 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 13914 $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 13915 13916 hardcode_libdir_flag_spec_CXX='-R$libdir' 13917 hardcode_shlibpath_var_CXX=no 13918 case $host_os in 13919 solaris2.[0-5] | solaris2.[0-5].*) ;; 13920 *) 13921 # The compiler driver will combine and reorder linker options, 13922 # but understands '-z linker_flag'. 13923 # Supported since Solaris 2.6 (maybe 2.5.1?) 13924 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' 13925 ;; 13926 esac 13927 link_all_deplibs_CXX=yes 13928 13929 output_verbose_link_cmd='func_echo_all' 13930 13931 # Archives containing C++ object files must be created using 13932 # "CC -xar", where "CC" is the Sun C++ compiler. This is 13933 # necessary to make sure instantiated templates are included 13934 # in the archive. 13935 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 13936 ;; 13937 gcx*) 13938 # Green Hills C++ Compiler 13939 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 13940 13941 # The C++ compiler must be used to create the archive. 13942 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' 13943 ;; 13944 *) 13945 # GNU C++ compiler with Solaris linker 13946 if test yes,no = "$GXX,$with_gnu_ld"; then 13947 no_undefined_flag_CXX=' $wl-z ${wl}defs' 13948 if $CC --version | $GREP -v '^2\.7' > /dev/null; then 13949 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 13950 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 13951 $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 13952 13953 # Commands to make compiler produce verbose output that lists 13954 # what "hidden" libraries, object files and flags are used when 13955 # linking a shared library. 13956 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 13957 else 13958 # g++ 2.7 appears to require '-G' NOT '-shared' on this 13959 # platform. 13960 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 13961 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 13962 $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 13963 13964 # Commands to make compiler produce verbose output that lists 13965 # what "hidden" libraries, object files and flags are used when 13966 # linking a shared library. 13967 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 13968 fi 13969 13970 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir' 13971 case $host_os in 13972 solaris2.[0-5] | solaris2.[0-5].*) ;; 13973 *) 13974 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 13975 ;; 13976 esac 13977 fi 13978 ;; 13979 esac 13980 ;; 13981 13982 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 13983 no_undefined_flag_CXX='$wl-z,text' 13984 archive_cmds_need_lc_CXX=no 13985 hardcode_shlibpath_var_CXX=no 13986 runpath_var='LD_RUN_PATH' 13987 13988 case $cc_basename in 13989 CC*) 13990 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13991 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13992 ;; 13993 *) 13994 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13995 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13996 ;; 13997 esac 13998 ;; 13999 14000 sysv5* | sco3.2v5* | sco5v6*) 14001 # Note: We CANNOT use -z defs as we might desire, because we do not 14002 # link with -lc, and that would cause any symbols used from libc to 14003 # always be unresolved, which means just about no library would 14004 # ever link correctly. If we're not using GNU ld we use -z text 14005 # though, which does catch some bad symbols but isn't as heavy-handed 14006 # as -z defs. 14007 no_undefined_flag_CXX='$wl-z,text' 14008 allow_undefined_flag_CXX='$wl-z,nodefs' 14009 archive_cmds_need_lc_CXX=no 14010 hardcode_shlibpath_var_CXX=no 14011 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir' 14012 hardcode_libdir_separator_CXX=':' 14013 link_all_deplibs_CXX=yes 14014 export_dynamic_flag_spec_CXX='$wl-Bexport' 14015 runpath_var='LD_RUN_PATH' 14016 14017 case $cc_basename in 14018 CC*) 14019 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14020 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14021 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~ 14022 '"$old_archive_cmds_CXX" 14023 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~ 14024 '"$reload_cmds_CXX" 14025 ;; 14026 *) 14027 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14028 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 14029 ;; 14030 esac 14031 ;; 14032 14033 tandem*) 14034 case $cc_basename in 14035 NCC*) 14036 # NonStop-UX NCC 3.20 14037 # FIXME: insert proper C++ library support 14038 ld_shlibs_CXX=no 14039 ;; 14040 *) 14041 # FIXME: insert proper C++ library support 14042 ld_shlibs_CXX=no 14043 ;; 14044 esac 14045 ;; 14046 14047 vxworks*) 14048 # FIXME: insert proper C++ library support 14049 ld_shlibs_CXX=no 14050 ;; 14051 14052 *) 14053 # FIXME: insert proper C++ library support 14054 ld_shlibs_CXX=no 14055 ;; 14056 esac 14057 14058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 14059$as_echo "$ld_shlibs_CXX" >&6; } 14060 test no = "$ld_shlibs_CXX" && can_build_shared=no 14061 14062 GCC_CXX=$GXX 14063 LD_CXX=$LD 14064 14065 ## CAVEAT EMPTOR: 14066 ## There is no encapsulation within the following macros, do not change 14067 ## the running order or otherwise move them around unless you know exactly 14068 ## what you are doing... 14069 # Dependencies to place before and after the object being linked: 14070predep_objects_CXX= 14071postdep_objects_CXX= 14072predeps_CXX= 14073postdeps_CXX= 14074compiler_lib_search_path_CXX= 14075 14076cat > conftest.$ac_ext <<_LT_EOF 14077class Foo 14078{ 14079public: 14080 Foo (void) { a = 0; } 14081private: 14082 int a; 14083}; 14084_LT_EOF 14085 14086 14087_lt_libdeps_save_CFLAGS=$CFLAGS 14088case "$CC $CFLAGS " in #( 14089*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; 14090*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; 14091*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; 14092esac 14093 14094if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 14095 (eval $ac_compile) 2>&5 14096 ac_status=$? 14097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14098 test $ac_status = 0; }; then 14099 # Parse the compiler output and extract the necessary 14100 # objects, libraries and library flags. 14101 14102 # Sentinel used to keep track of whether or not we are before 14103 # the conftest object file. 14104 pre_test_object_deps_done=no 14105 14106 for p in `eval "$output_verbose_link_cmd"`; do 14107 case $prev$p in 14108 14109 -L* | -R* | -l*) 14110 # Some compilers place space between "-{L,R}" and the path. 14111 # Remove the space. 14112 if test x-L = "$p" || 14113 test x-R = "$p"; then 14114 prev=$p 14115 continue 14116 fi 14117 14118 # Expand the sysroot to ease extracting the directories later. 14119 if test -z "$prev"; then 14120 case $p in 14121 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; 14122 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; 14123 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; 14124 esac 14125 fi 14126 case $p in 14127 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; 14128 esac 14129 if test no = "$pre_test_object_deps_done"; then 14130 case $prev in 14131 -L | -R) 14132 # Internal compiler library paths should come after those 14133 # provided the user. The postdeps already come after the 14134 # user supplied libs so there is no need to process them. 14135 if test -z "$compiler_lib_search_path_CXX"; then 14136 compiler_lib_search_path_CXX=$prev$p 14137 else 14138 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p" 14139 fi 14140 ;; 14141 # The "-l" case would never come before the object being 14142 # linked, so don't bother handling this case. 14143 esac 14144 else 14145 if test -z "$postdeps_CXX"; then 14146 postdeps_CXX=$prev$p 14147 else 14148 postdeps_CXX="${postdeps_CXX} $prev$p" 14149 fi 14150 fi 14151 prev= 14152 ;; 14153 14154 *.lto.$objext) ;; # Ignore GCC LTO objects 14155 *.$objext) 14156 # This assumes that the test object file only shows up 14157 # once in the compiler output. 14158 if test "$p" = "conftest.$objext"; then 14159 pre_test_object_deps_done=yes 14160 continue 14161 fi 14162 14163 if test no = "$pre_test_object_deps_done"; then 14164 if test -z "$predep_objects_CXX"; then 14165 predep_objects_CXX=$p 14166 else 14167 predep_objects_CXX="$predep_objects_CXX $p" 14168 fi 14169 else 14170 if test -z "$postdep_objects_CXX"; then 14171 postdep_objects_CXX=$p 14172 else 14173 postdep_objects_CXX="$postdep_objects_CXX $p" 14174 fi 14175 fi 14176 ;; 14177 14178 *) ;; # Ignore the rest. 14179 14180 esac 14181 done 14182 14183 # Clean up. 14184 rm -f a.out a.exe 14185else 14186 echo "libtool.m4: error: problem compiling CXX test program" 14187fi 14188 14189$RM -f confest.$objext 14190CFLAGS=$_lt_libdeps_save_CFLAGS 14191 14192# PORTME: override above test on systems where it is broken 14193case $host_os in 14194interix[3-9]*) 14195 # Interix 3.5 installs completely hosed .la files for C++, so rather than 14196 # hack all around it, let's just trust "g++" to DTRT. 14197 predep_objects_CXX= 14198 postdep_objects_CXX= 14199 postdeps_CXX= 14200 ;; 14201esac 14202 14203 14204case " $postdeps_CXX " in 14205*" -lc "*) archive_cmds_need_lc_CXX=no ;; 14206esac 14207 compiler_lib_search_dirs_CXX= 14208if test -n "${compiler_lib_search_path_CXX}"; then 14209 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'` 14210fi 14211 14212 14213 14214 14215 14216 14217 14218 14219 14220 14221 14222 14223 14224 14225 14226 14227 14228 14229 14230 14231 14232 14233 14234 14235 14236 14237 14238 14239 14240 14241 14242 lt_prog_compiler_wl_CXX= 14243lt_prog_compiler_pic_CXX= 14244lt_prog_compiler_static_CXX= 14245 14246 14247 # C++ specific cases for pic, static, wl, etc. 14248 if test yes = "$GXX"; then 14249 lt_prog_compiler_wl_CXX='-Wl,' 14250 lt_prog_compiler_static_CXX='-static' 14251 14252 case $host_os in 14253 aix*) 14254 # All AIX code is PIC. 14255 if test ia64 = "$host_cpu"; then 14256 # AIX 5 now supports IA64 processor 14257 lt_prog_compiler_static_CXX='-Bstatic' 14258 fi 14259 lt_prog_compiler_pic_CXX='-fPIC' 14260 ;; 14261 14262 amigaos*) 14263 case $host_cpu in 14264 powerpc) 14265 # see comment about AmigaOS4 .so support 14266 lt_prog_compiler_pic_CXX='-fPIC' 14267 ;; 14268 m68k) 14269 # FIXME: we need at least 68020 code to build shared libraries, but 14270 # adding the '-m68020' flag to GCC prevents building anything better, 14271 # like '-m68040'. 14272 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' 14273 ;; 14274 esac 14275 ;; 14276 14277 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 14278 # PIC is the default for these OSes. 14279 ;; 14280 mingw* | cygwin* | os2* | pw32* | cegcc*) 14281 # This hack is so that the source file can tell whether it is being 14282 # built for inclusion in a dll (and should export symbols for example). 14283 # Although the cygwin gcc ignores -fPIC, still need this for old-style 14284 # (--disable-auto-import) libraries 14285 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 14286 case $host_os in 14287 os2*) 14288 lt_prog_compiler_static_CXX='$wl-static' 14289 ;; 14290 esac 14291 ;; 14292 darwin* | rhapsody*) 14293 # PIC is the default on this platform 14294 # Common symbols not allowed in MH_DYLIB files 14295 lt_prog_compiler_pic_CXX='-fno-common' 14296 ;; 14297 *djgpp*) 14298 # DJGPP does not support shared libraries at all 14299 lt_prog_compiler_pic_CXX= 14300 ;; 14301 haiku*) 14302 # PIC is the default for Haiku. 14303 # The "-static" flag exists, but is broken. 14304 lt_prog_compiler_static_CXX= 14305 ;; 14306 interix[3-9]*) 14307 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 14308 # Instead, we relocate shared libraries at runtime. 14309 ;; 14310 sysv4*MP*) 14311 if test -d /usr/nec; then 14312 lt_prog_compiler_pic_CXX=-Kconform_pic 14313 fi 14314 ;; 14315 hpux*) 14316 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 14317 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 14318 # sets the default TLS model and affects inlining. 14319 case $host_cpu in 14320 hppa*64*) 14321 ;; 14322 *) 14323 lt_prog_compiler_pic_CXX='-fPIC' 14324 ;; 14325 esac 14326 ;; 14327 *qnx* | *nto*) 14328 # QNX uses GNU C++, but need to define -shared option too, otherwise 14329 # it will coredump. 14330 lt_prog_compiler_pic_CXX='-fPIC -shared' 14331 ;; 14332 *) 14333 lt_prog_compiler_pic_CXX='-fPIC' 14334 ;; 14335 esac 14336 else 14337 case $host_os in 14338 aix[4-9]*) 14339 # All AIX code is PIC. 14340 if test ia64 = "$host_cpu"; then 14341 # AIX 5 now supports IA64 processor 14342 lt_prog_compiler_static_CXX='-Bstatic' 14343 else 14344 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' 14345 fi 14346 ;; 14347 chorus*) 14348 case $cc_basename in 14349 cxch68*) 14350 # Green Hills C++ Compiler 14351 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" 14352 ;; 14353 esac 14354 ;; 14355 mingw* | cygwin* | os2* | pw32* | cegcc*) 14356 # This hack is so that the source file can tell whether it is being 14357 # built for inclusion in a dll (and should export symbols for example). 14358 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 14359 ;; 14360 dgux*) 14361 case $cc_basename in 14362 ec++*) 14363 lt_prog_compiler_pic_CXX='-KPIC' 14364 ;; 14365 ghcx*) 14366 # Green Hills C++ Compiler 14367 lt_prog_compiler_pic_CXX='-pic' 14368 ;; 14369 *) 14370 ;; 14371 esac 14372 ;; 14373 freebsd* | dragonfly*) 14374 # FreeBSD uses GNU C++ 14375 ;; 14376 hpux9* | hpux10* | hpux11*) 14377 case $cc_basename in 14378 CC*) 14379 lt_prog_compiler_wl_CXX='-Wl,' 14380 lt_prog_compiler_static_CXX='$wl-a ${wl}archive' 14381 if test ia64 != "$host_cpu"; then 14382 lt_prog_compiler_pic_CXX='+Z' 14383 fi 14384 ;; 14385 aCC*) 14386 lt_prog_compiler_wl_CXX='-Wl,' 14387 lt_prog_compiler_static_CXX='$wl-a ${wl}archive' 14388 case $host_cpu in 14389 hppa*64*|ia64*) 14390 # +Z the default 14391 ;; 14392 *) 14393 lt_prog_compiler_pic_CXX='+Z' 14394 ;; 14395 esac 14396 ;; 14397 *) 14398 ;; 14399 esac 14400 ;; 14401 interix*) 14402 # This is c89, which is MS Visual C++ (no shared libs) 14403 # Anyone wants to do a port? 14404 ;; 14405 irix5* | irix6* | nonstopux*) 14406 case $cc_basename in 14407 CC*) 14408 lt_prog_compiler_wl_CXX='-Wl,' 14409 lt_prog_compiler_static_CXX='-non_shared' 14410 # CC pic flag -KPIC is the default. 14411 ;; 14412 *) 14413 ;; 14414 esac 14415 ;; 14416 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 14417 case $cc_basename in 14418 KCC*) 14419 # KAI C++ Compiler 14420 lt_prog_compiler_wl_CXX='--backend -Wl,' 14421 lt_prog_compiler_pic_CXX='-fPIC' 14422 ;; 14423 ecpc* ) 14424 # old Intel C++ for x86_64, which still supported -KPIC. 14425 lt_prog_compiler_wl_CXX='-Wl,' 14426 lt_prog_compiler_pic_CXX='-KPIC' 14427 lt_prog_compiler_static_CXX='-static' 14428 ;; 14429 icpc* ) 14430 # Intel C++, used to be incompatible with GCC. 14431 # ICC 10 doesn't accept -KPIC any more. 14432 lt_prog_compiler_wl_CXX='-Wl,' 14433 lt_prog_compiler_pic_CXX='-fPIC' 14434 lt_prog_compiler_static_CXX='-static' 14435 ;; 14436 pgCC* | pgcpp*) 14437 # Portland Group C++ compiler 14438 lt_prog_compiler_wl_CXX='-Wl,' 14439 lt_prog_compiler_pic_CXX='-fpic' 14440 lt_prog_compiler_static_CXX='-Bstatic' 14441 ;; 14442 cxx*) 14443 # Compaq C++ 14444 # Make sure the PIC flag is empty. It appears that all Alpha 14445 # Linux and Compaq Tru64 Unix objects are PIC. 14446 lt_prog_compiler_pic_CXX= 14447 lt_prog_compiler_static_CXX='-non_shared' 14448 ;; 14449 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) 14450 # IBM XL 8.0, 9.0 on PPC and BlueGene 14451 lt_prog_compiler_wl_CXX='-Wl,' 14452 lt_prog_compiler_pic_CXX='-qpic' 14453 lt_prog_compiler_static_CXX='-qstaticlink' 14454 ;; 14455 *) 14456 case `$CC -V 2>&1 | sed 5q` in 14457 *Sun\ C*) 14458 # Sun C++ 5.9 14459 lt_prog_compiler_pic_CXX='-KPIC' 14460 lt_prog_compiler_static_CXX='-Bstatic' 14461 lt_prog_compiler_wl_CXX='-Qoption ld ' 14462 ;; 14463 esac 14464 ;; 14465 esac 14466 ;; 14467 lynxos*) 14468 ;; 14469 m88k*) 14470 ;; 14471 mvs*) 14472 case $cc_basename in 14473 cxx*) 14474 lt_prog_compiler_pic_CXX='-W c,exportall' 14475 ;; 14476 *) 14477 ;; 14478 esac 14479 ;; 14480 netbsd*) 14481 ;; 14482 *qnx* | *nto*) 14483 # QNX uses GNU C++, but need to define -shared option too, otherwise 14484 # it will coredump. 14485 lt_prog_compiler_pic_CXX='-fPIC -shared' 14486 ;; 14487 osf3* | osf4* | osf5*) 14488 case $cc_basename in 14489 KCC*) 14490 lt_prog_compiler_wl_CXX='--backend -Wl,' 14491 ;; 14492 RCC*) 14493 # Rational C++ 2.4.1 14494 lt_prog_compiler_pic_CXX='-pic' 14495 ;; 14496 cxx*) 14497 # Digital/Compaq C++ 14498 lt_prog_compiler_wl_CXX='-Wl,' 14499 # Make sure the PIC flag is empty. It appears that all Alpha 14500 # Linux and Compaq Tru64 Unix objects are PIC. 14501 lt_prog_compiler_pic_CXX= 14502 lt_prog_compiler_static_CXX='-non_shared' 14503 ;; 14504 *) 14505 ;; 14506 esac 14507 ;; 14508 psos*) 14509 ;; 14510 solaris*) 14511 case $cc_basename in 14512 CC* | sunCC*) 14513 # Sun C++ 4.2, 5.x and Centerline C++ 14514 lt_prog_compiler_pic_CXX='-KPIC' 14515 lt_prog_compiler_static_CXX='-Bstatic' 14516 lt_prog_compiler_wl_CXX='-Qoption ld ' 14517 ;; 14518 gcx*) 14519 # Green Hills C++ Compiler 14520 lt_prog_compiler_pic_CXX='-PIC' 14521 ;; 14522 *) 14523 ;; 14524 esac 14525 ;; 14526 sunos4*) 14527 case $cc_basename in 14528 CC*) 14529 # Sun C++ 4.x 14530 lt_prog_compiler_pic_CXX='-pic' 14531 lt_prog_compiler_static_CXX='-Bstatic' 14532 ;; 14533 lcc*) 14534 # Lucid 14535 lt_prog_compiler_pic_CXX='-pic' 14536 ;; 14537 *) 14538 ;; 14539 esac 14540 ;; 14541 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 14542 case $cc_basename in 14543 CC*) 14544 lt_prog_compiler_wl_CXX='-Wl,' 14545 lt_prog_compiler_pic_CXX='-KPIC' 14546 lt_prog_compiler_static_CXX='-Bstatic' 14547 ;; 14548 esac 14549 ;; 14550 tandem*) 14551 case $cc_basename in 14552 NCC*) 14553 # NonStop-UX NCC 3.20 14554 lt_prog_compiler_pic_CXX='-KPIC' 14555 ;; 14556 *) 14557 ;; 14558 esac 14559 ;; 14560 vxworks*) 14561 ;; 14562 *) 14563 lt_prog_compiler_can_build_shared_CXX=no 14564 ;; 14565 esac 14566 fi 14567 14568case $host_os in 14569 # For platforms that do not support PIC, -DPIC is meaningless: 14570 *djgpp*) 14571 lt_prog_compiler_pic_CXX= 14572 ;; 14573 *) 14574 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" 14575 ;; 14576esac 14577 14578{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 14579$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 14580if ${lt_cv_prog_compiler_pic_CXX+:} false; then : 14581 $as_echo_n "(cached) " >&6 14582else 14583 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX 14584fi 14585{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 14586$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; } 14587lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX 14588 14589# 14590# Check to make sure the PIC flag actually works. 14591# 14592if test -n "$lt_prog_compiler_pic_CXX"; then 14593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 14594$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } 14595if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then : 14596 $as_echo_n "(cached) " >&6 14597else 14598 lt_cv_prog_compiler_pic_works_CXX=no 14599 ac_outfile=conftest.$ac_objext 14600 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 14601 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment 14602 # Insert the option either (1) after the last *FLAGS variable, or 14603 # (2) before a word containing "conftest.", or (3) at the end. 14604 # Note that $ac_compile itself does not contain backslashes and begins 14605 # with a dollar sign (not a hyphen), so the echo should work correctly. 14606 # The option is referenced via a variable to avoid confusing sed. 14607 lt_compile=`echo "$ac_compile" | $SED \ 14608 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 14609 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14610 -e 's:$: $lt_compiler_flag:'` 14611 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 14612 (eval "$lt_compile" 2>conftest.err) 14613 ac_status=$? 14614 cat conftest.err >&5 14615 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14616 if (exit $ac_status) && test -s "$ac_outfile"; then 14617 # The compiler can only warn and ignore the option if not recognized 14618 # So say no if there are warnings other than the usual output. 14619 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 14620 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 14621 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 14622 lt_cv_prog_compiler_pic_works_CXX=yes 14623 fi 14624 fi 14625 $RM conftest* 14626 14627fi 14628{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 14629$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } 14630 14631if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then 14632 case $lt_prog_compiler_pic_CXX in 14633 "" | " "*) ;; 14634 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; 14635 esac 14636else 14637 lt_prog_compiler_pic_CXX= 14638 lt_prog_compiler_can_build_shared_CXX=no 14639fi 14640 14641fi 14642 14643 14644 14645 14646 14647# 14648# Check to make sure the static flag actually works. 14649# 14650wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" 14651{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 14652$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 14653if ${lt_cv_prog_compiler_static_works_CXX+:} false; then : 14654 $as_echo_n "(cached) " >&6 14655else 14656 lt_cv_prog_compiler_static_works_CXX=no 14657 save_LDFLAGS=$LDFLAGS 14658 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 14659 echo "$lt_simple_link_test_code" > conftest.$ac_ext 14660 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 14661 # The linker can only warn and ignore the option if not recognized 14662 # So say no if there are warnings 14663 if test -s conftest.err; then 14664 # Append any errors to the config.log. 14665 cat conftest.err 1>&5 14666 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 14667 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 14668 if diff conftest.exp conftest.er2 >/dev/null; then 14669 lt_cv_prog_compiler_static_works_CXX=yes 14670 fi 14671 else 14672 lt_cv_prog_compiler_static_works_CXX=yes 14673 fi 14674 fi 14675 $RM -r conftest* 14676 LDFLAGS=$save_LDFLAGS 14677 14678fi 14679{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 14680$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } 14681 14682if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then 14683 : 14684else 14685 lt_prog_compiler_static_CXX= 14686fi 14687 14688 14689 14690 14691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 14692$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 14693if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 14694 $as_echo_n "(cached) " >&6 14695else 14696 lt_cv_prog_compiler_c_o_CXX=no 14697 $RM -r conftest 2>/dev/null 14698 mkdir conftest 14699 cd conftest 14700 mkdir out 14701 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 14702 14703 lt_compiler_flag="-o out/conftest2.$ac_objext" 14704 # Insert the option either (1) after the last *FLAGS variable, or 14705 # (2) before a word containing "conftest.", or (3) at the end. 14706 # Note that $ac_compile itself does not contain backslashes and begins 14707 # with a dollar sign (not a hyphen), so the echo should work correctly. 14708 lt_compile=`echo "$ac_compile" | $SED \ 14709 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 14710 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14711 -e 's:$: $lt_compiler_flag:'` 14712 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 14713 (eval "$lt_compile" 2>out/conftest.err) 14714 ac_status=$? 14715 cat out/conftest.err >&5 14716 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14717 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14718 then 14719 # The compiler can only warn and ignore the option if not recognized 14720 # So say no if there are warnings 14721 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 14722 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 14723 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 14724 lt_cv_prog_compiler_c_o_CXX=yes 14725 fi 14726 fi 14727 chmod u+w . 2>&5 14728 $RM conftest* 14729 # SGI C++ compiler will create directory out/ii_files/ for 14730 # template instantiation 14731 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 14732 $RM out/* && rmdir out 14733 cd .. 14734 $RM -r conftest 14735 $RM conftest* 14736 14737fi 14738{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 14739$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 14740 14741 14742 14743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 14744$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 14745if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 14746 $as_echo_n "(cached) " >&6 14747else 14748 lt_cv_prog_compiler_c_o_CXX=no 14749 $RM -r conftest 2>/dev/null 14750 mkdir conftest 14751 cd conftest 14752 mkdir out 14753 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 14754 14755 lt_compiler_flag="-o out/conftest2.$ac_objext" 14756 # Insert the option either (1) after the last *FLAGS variable, or 14757 # (2) before a word containing "conftest.", or (3) at the end. 14758 # Note that $ac_compile itself does not contain backslashes and begins 14759 # with a dollar sign (not a hyphen), so the echo should work correctly. 14760 lt_compile=`echo "$ac_compile" | $SED \ 14761 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 14762 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14763 -e 's:$: $lt_compiler_flag:'` 14764 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 14765 (eval "$lt_compile" 2>out/conftest.err) 14766 ac_status=$? 14767 cat out/conftest.err >&5 14768 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14769 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14770 then 14771 # The compiler can only warn and ignore the option if not recognized 14772 # So say no if there are warnings 14773 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 14774 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 14775 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 14776 lt_cv_prog_compiler_c_o_CXX=yes 14777 fi 14778 fi 14779 chmod u+w . 2>&5 14780 $RM conftest* 14781 # SGI C++ compiler will create directory out/ii_files/ for 14782 # template instantiation 14783 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 14784 $RM out/* && rmdir out 14785 cd .. 14786 $RM -r conftest 14787 $RM conftest* 14788 14789fi 14790{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 14791$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 14792 14793 14794 14795 14796hard_links=nottested 14797if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then 14798 # do not overwrite the value of need_locks provided by the user 14799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 14800$as_echo_n "checking if we can lock with hard links... " >&6; } 14801 hard_links=yes 14802 $RM conftest* 14803 ln conftest.a conftest.b 2>/dev/null && hard_links=no 14804 touch conftest.a 14805 ln conftest.a conftest.b 2>&5 || hard_links=no 14806 ln conftest.a conftest.b 2>/dev/null && hard_links=no 14807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 14808$as_echo "$hard_links" >&6; } 14809 if test no = "$hard_links"; then 14810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 14811$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 14812 need_locks=warn 14813 fi 14814else 14815 need_locks=no 14816fi 14817 14818 14819 14820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 14821$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 14822 14823 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 14824 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 14825 case $host_os in 14826 aix[4-9]*) 14827 # If we're using GNU nm, then we don't want the "-C" option. 14828 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 14829 # Without the "-l" option, or with the "-B" option, AIX nm treats 14830 # weak defined symbols like other global defined symbols, whereas 14831 # GNU nm marks them as "W". 14832 # While the 'weak' keyword is ignored in the Export File, we need 14833 # it in the Import File for the 'aix-soname' feature, so we have 14834 # to replace the "-B" option with "-P" for AIX nm. 14835 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 14836 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' 14837 else 14838 export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' 14839 fi 14840 ;; 14841 pw32*) 14842 export_symbols_cmds_CXX=$ltdll_cmds 14843 ;; 14844 cygwin* | mingw* | cegcc*) 14845 case $cc_basename in 14846 cl*) 14847 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 14848 ;; 14849 *) 14850 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' 14851 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 14852 ;; 14853 esac 14854 ;; 14855 *) 14856 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 14857 ;; 14858 esac 14859 14860{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 14861$as_echo "$ld_shlibs_CXX" >&6; } 14862test no = "$ld_shlibs_CXX" && can_build_shared=no 14863 14864with_gnu_ld_CXX=$with_gnu_ld 14865 14866 14867 14868 14869 14870 14871# 14872# Do we need to explicitly link libc? 14873# 14874case "x$archive_cmds_need_lc_CXX" in 14875x|xyes) 14876 # Assume -lc should be added 14877 archive_cmds_need_lc_CXX=yes 14878 14879 if test yes,yes = "$GCC,$enable_shared"; then 14880 case $archive_cmds_CXX in 14881 *'~'*) 14882 # FIXME: we may have to deal with multi-command sequences. 14883 ;; 14884 '$CC '*) 14885 # Test whether the compiler implicitly links with -lc since on some 14886 # systems, -lgcc has to come before -lc. If gcc already passes -lc 14887 # to ld, don't add -lc before -lgcc. 14888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 14889$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 14890if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then : 14891 $as_echo_n "(cached) " >&6 14892else 14893 $RM conftest* 14894 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 14895 14896 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 14897 (eval $ac_compile) 2>&5 14898 ac_status=$? 14899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14900 test $ac_status = 0; } 2>conftest.err; then 14901 soname=conftest 14902 lib=conftest 14903 libobjs=conftest.$ac_objext 14904 deplibs= 14905 wl=$lt_prog_compiler_wl_CXX 14906 pic_flag=$lt_prog_compiler_pic_CXX 14907 compiler_flags=-v 14908 linker_flags=-v 14909 verstring= 14910 output_objdir=. 14911 libname=conftest 14912 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX 14913 allow_undefined_flag_CXX= 14914 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 14915 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 14916 ac_status=$? 14917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14918 test $ac_status = 0; } 14919 then 14920 lt_cv_archive_cmds_need_lc_CXX=no 14921 else 14922 lt_cv_archive_cmds_need_lc_CXX=yes 14923 fi 14924 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag 14925 else 14926 cat conftest.err 1>&5 14927 fi 14928 $RM conftest* 14929 14930fi 14931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 14932$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; } 14933 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX 14934 ;; 14935 esac 14936 fi 14937 ;; 14938esac 14939 14940 14941 14942 14943 14944 14945 14946 14947 14948 14949 14950 14951 14952 14953 14954 14955 14956 14957 14958 14959 14960 14961 14962 14963 14964 14965 14966 14967 14968 14969 14970 14971 14972 14973 14974 14975 14976 14977 14978 14979 14980 14981 14982 14983 14984 14985 14986 14987 14988 14989 14990 14991 14992 14993 14994 14995 14996 14997 14998 14999 15000 15001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 15002$as_echo_n "checking dynamic linker characteristics... " >&6; } 15003 15004library_names_spec= 15005libname_spec='lib$name' 15006soname_spec= 15007shrext_cmds=.so 15008postinstall_cmds= 15009postuninstall_cmds= 15010finish_cmds= 15011finish_eval= 15012shlibpath_var= 15013shlibpath_overrides_runpath=unknown 15014version_type=none 15015dynamic_linker="$host_os ld.so" 15016sys_lib_dlsearch_path_spec="/lib /usr/lib" 15017need_lib_prefix=unknown 15018hardcode_into_libs=no 15019 15020# when you set need_version to no, make sure it does not cause -set_version 15021# flags to be left without arguments 15022need_version=unknown 15023 15024 15025 15026case $host_os in 15027aix3*) 15028 version_type=linux # correct to gnu/linux during the next big refactor 15029 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 15030 shlibpath_var=LIBPATH 15031 15032 # AIX 3 has no versioning support, so we append a major version to the name. 15033 soname_spec='$libname$release$shared_ext$major' 15034 ;; 15035 15036aix[4-9]*) 15037 version_type=linux # correct to gnu/linux during the next big refactor 15038 need_lib_prefix=no 15039 need_version=no 15040 hardcode_into_libs=yes 15041 if test ia64 = "$host_cpu"; then 15042 # AIX 5 supports IA64 15043 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 15044 shlibpath_var=LD_LIBRARY_PATH 15045 else 15046 # With GCC up to 2.95.x, collect2 would create an import file 15047 # for dependence libraries. The import file would start with 15048 # the line '#! .'. This would cause the generated library to 15049 # depend on '.', always an invalid library. This was fixed in 15050 # development snapshots of GCC prior to 3.0. 15051 case $host_os in 15052 aix4 | aix4.[01] | aix4.[01].*) 15053 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 15054 echo ' yes ' 15055 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 15056 : 15057 else 15058 can_build_shared=no 15059 fi 15060 ;; 15061 esac 15062 # Using Import Files as archive members, it is possible to support 15063 # filename-based versioning of shared library archives on AIX. While 15064 # this would work for both with and without runtime linking, it will 15065 # prevent static linking of such archives. So we do filename-based 15066 # shared library versioning with .so extension only, which is used 15067 # when both runtime linking and shared linking is enabled. 15068 # Unfortunately, runtime linking may impact performance, so we do 15069 # not want this to be the default eventually. Also, we use the 15070 # versioned .so libs for executables only if there is the -brtl 15071 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 15072 # To allow for filename-based versioning support, we need to create 15073 # libNAME.so.V as an archive file, containing: 15074 # *) an Import File, referring to the versioned filename of the 15075 # archive as well as the shared archive member, telling the 15076 # bitwidth (32 or 64) of that shared object, and providing the 15077 # list of exported symbols of that shared object, eventually 15078 # decorated with the 'weak' keyword 15079 # *) the shared object with the F_LOADONLY flag set, to really avoid 15080 # it being seen by the linker. 15081 # At run time we better use the real file rather than another symlink, 15082 # but for link time we create the symlink libNAME.so -> libNAME.so.V 15083 15084 case $with_aix_soname,$aix_use_runtimelinking in 15085 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 15086 # soname into executable. Probably we can add versioning support to 15087 # collect2, so additional links can be useful in future. 15088 aix,yes) # traditional libtool 15089 dynamic_linker='AIX unversionable lib.so' 15090 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 15091 # instead of lib<name>.a to let people know that these are not 15092 # typical AIX shared libraries. 15093 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15094 ;; 15095 aix,no) # traditional AIX only 15096 dynamic_linker='AIX lib.a(lib.so.V)' 15097 # We preserve .a as extension for shared libraries through AIX4.2 15098 # and later when we are not doing run time linking. 15099 library_names_spec='$libname$release.a $libname.a' 15100 soname_spec='$libname$release$shared_ext$major' 15101 ;; 15102 svr4,*) # full svr4 only 15103 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 15104 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 15105 # We do not specify a path in Import Files, so LIBPATH fires. 15106 shlibpath_overrides_runpath=yes 15107 ;; 15108 *,yes) # both, prefer svr4 15109 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 15110 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 15111 # unpreferred sharedlib libNAME.a needs extra handling 15112 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"' 15113 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"' 15114 # We do not specify a path in Import Files, so LIBPATH fires. 15115 shlibpath_overrides_runpath=yes 15116 ;; 15117 *,no) # both, prefer aix 15118 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 15119 library_names_spec='$libname$release.a $libname.a' 15120 soname_spec='$libname$release$shared_ext$major' 15121 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 15122 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)' 15123 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"' 15124 ;; 15125 esac 15126 shlibpath_var=LIBPATH 15127 fi 15128 ;; 15129 15130amigaos*) 15131 case $host_cpu in 15132 powerpc) 15133 # Since July 2007 AmigaOS4 officially supports .so libraries. 15134 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 15135 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15136 ;; 15137 m68k) 15138 library_names_spec='$libname.ixlibrary $libname.a' 15139 # Create ${libname}_ixlibrary.a entries in /sys/libs. 15140 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' 15141 ;; 15142 esac 15143 ;; 15144 15145beos*) 15146 library_names_spec='$libname$shared_ext' 15147 dynamic_linker="$host_os ld.so" 15148 shlibpath_var=LIBRARY_PATH 15149 ;; 15150 15151bsdi[45]*) 15152 version_type=linux # correct to gnu/linux during the next big refactor 15153 need_version=no 15154 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15155 soname_spec='$libname$release$shared_ext$major' 15156 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 15157 shlibpath_var=LD_LIBRARY_PATH 15158 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 15159 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 15160 # the default ld.so.conf also contains /usr/contrib/lib and 15161 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 15162 # libtool to hard-code these into programs 15163 ;; 15164 15165cygwin* | mingw* | pw32* | cegcc*) 15166 version_type=windows 15167 shrext_cmds=.dll 15168 need_version=no 15169 need_lib_prefix=no 15170 15171 case $GCC,$cc_basename in 15172 yes,*) 15173 # gcc 15174 library_names_spec='$libname.dll.a' 15175 # DLL is installed to $(libdir)/../bin by postinstall_cmds 15176 postinstall_cmds='base_file=`basename \$file`~ 15177 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 15178 dldir=$destdir/`dirname \$dlpath`~ 15179 test -d \$dldir || mkdir -p \$dldir~ 15180 $install_prog $dir/$dlname \$dldir/$dlname~ 15181 chmod a+x \$dldir/$dlname~ 15182 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 15183 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 15184 fi' 15185 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 15186 dlpath=$dir/\$dldll~ 15187 $RM \$dlpath' 15188 shlibpath_overrides_runpath=yes 15189 15190 case $host_os in 15191 cygwin*) 15192 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 15193 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 15194 15195 ;; 15196 mingw* | cegcc*) 15197 # MinGW DLLs use traditional 'lib' prefix 15198 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 15199 ;; 15200 pw32*) 15201 # pw32 DLLs use 'pw' prefix rather than 'lib' 15202 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 15203 ;; 15204 esac 15205 dynamic_linker='Win32 ld.exe' 15206 ;; 15207 15208 *,cl*) 15209 # Native MSVC 15210 libname_spec='$name' 15211 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 15212 library_names_spec='$libname.dll.lib' 15213 15214 case $build_os in 15215 mingw*) 15216 sys_lib_search_path_spec= 15217 lt_save_ifs=$IFS 15218 IFS=';' 15219 for lt_path in $LIB 15220 do 15221 IFS=$lt_save_ifs 15222 # Let DOS variable expansion print the short 8.3 style file name. 15223 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 15224 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 15225 done 15226 IFS=$lt_save_ifs 15227 # Convert to MSYS style. 15228 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 15229 ;; 15230 cygwin*) 15231 # Convert to unix form, then to dos form, then back to unix form 15232 # but this time dos style (no spaces!) so that the unix form looks 15233 # like /cygdrive/c/PROGRA~1:/cygdr... 15234 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 15235 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 15236 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 15237 ;; 15238 *) 15239 sys_lib_search_path_spec=$LIB 15240 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 15241 # It is most probably a Windows format PATH. 15242 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 15243 else 15244 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 15245 fi 15246 # FIXME: find the short name or the path components, as spaces are 15247 # common. (e.g. "Program Files" -> "PROGRA~1") 15248 ;; 15249 esac 15250 15251 # DLL is installed to $(libdir)/../bin by postinstall_cmds 15252 postinstall_cmds='base_file=`basename \$file`~ 15253 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 15254 dldir=$destdir/`dirname \$dlpath`~ 15255 test -d \$dldir || mkdir -p \$dldir~ 15256 $install_prog $dir/$dlname \$dldir/$dlname' 15257 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 15258 dlpath=$dir/\$dldll~ 15259 $RM \$dlpath' 15260 shlibpath_overrides_runpath=yes 15261 dynamic_linker='Win32 link.exe' 15262 ;; 15263 15264 *) 15265 # Assume MSVC wrapper 15266 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 15267 dynamic_linker='Win32 ld.exe' 15268 ;; 15269 esac 15270 # FIXME: first we should search . and the directory the executable is in 15271 shlibpath_var=PATH 15272 ;; 15273 15274darwin* | rhapsody*) 15275 dynamic_linker="$host_os dyld" 15276 version_type=darwin 15277 need_lib_prefix=no 15278 need_version=no 15279 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 15280 soname_spec='$libname$release$major$shared_ext' 15281 shlibpath_overrides_runpath=yes 15282 shlibpath_var=DYLD_LIBRARY_PATH 15283 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 15284 15285 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 15286 ;; 15287 15288dgux*) 15289 version_type=linux # correct to gnu/linux during the next big refactor 15290 need_lib_prefix=no 15291 need_version=no 15292 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15293 soname_spec='$libname$release$shared_ext$major' 15294 shlibpath_var=LD_LIBRARY_PATH 15295 ;; 15296 15297freebsd* | dragonfly*) 15298 # DragonFly does not have aout. When/if they implement a new 15299 # versioning mechanism, adjust this. 15300 if test -x /usr/bin/objformat; then 15301 objformat=`/usr/bin/objformat` 15302 else 15303 case $host_os in 15304 freebsd[23].*) objformat=aout ;; 15305 *) objformat=elf ;; 15306 esac 15307 fi 15308 version_type=freebsd-$objformat 15309 case $version_type in 15310 freebsd-elf*) 15311 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15312 soname_spec='$libname$release$shared_ext$major' 15313 need_version=no 15314 need_lib_prefix=no 15315 ;; 15316 freebsd-*) 15317 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 15318 need_version=yes 15319 ;; 15320 esac 15321 shlibpath_var=LD_LIBRARY_PATH 15322 case $host_os in 15323 freebsd2.*) 15324 shlibpath_overrides_runpath=yes 15325 ;; 15326 freebsd3.[01]* | freebsdelf3.[01]*) 15327 shlibpath_overrides_runpath=yes 15328 hardcode_into_libs=yes 15329 ;; 15330 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 15331 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 15332 shlibpath_overrides_runpath=no 15333 hardcode_into_libs=yes 15334 ;; 15335 *) # from 4.6 on, and DragonFly 15336 shlibpath_overrides_runpath=yes 15337 hardcode_into_libs=yes 15338 ;; 15339 esac 15340 ;; 15341 15342haiku*) 15343 version_type=linux # correct to gnu/linux during the next big refactor 15344 need_lib_prefix=no 15345 need_version=no 15346 dynamic_linker="$host_os runtime_loader" 15347 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15348 soname_spec='$libname$release$shared_ext$major' 15349 shlibpath_var=LIBRARY_PATH 15350 shlibpath_overrides_runpath=no 15351 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 15352 hardcode_into_libs=yes 15353 ;; 15354 15355hpux9* | hpux10* | hpux11*) 15356 # Give a soname corresponding to the major version so that dld.sl refuses to 15357 # link against other versions. 15358 version_type=sunos 15359 need_lib_prefix=no 15360 need_version=no 15361 case $host_cpu in 15362 ia64*) 15363 shrext_cmds='.so' 15364 hardcode_into_libs=yes 15365 dynamic_linker="$host_os dld.so" 15366 shlibpath_var=LD_LIBRARY_PATH 15367 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 15368 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15369 soname_spec='$libname$release$shared_ext$major' 15370 if test 32 = "$HPUX_IA64_MODE"; then 15371 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 15372 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 15373 else 15374 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 15375 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 15376 fi 15377 ;; 15378 hppa*64*) 15379 shrext_cmds='.sl' 15380 hardcode_into_libs=yes 15381 dynamic_linker="$host_os dld.sl" 15382 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 15383 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 15384 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15385 soname_spec='$libname$release$shared_ext$major' 15386 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 15387 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 15388 ;; 15389 *) 15390 shrext_cmds='.sl' 15391 dynamic_linker="$host_os dld.sl" 15392 shlibpath_var=SHLIB_PATH 15393 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 15394 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15395 soname_spec='$libname$release$shared_ext$major' 15396 ;; 15397 esac 15398 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 15399 postinstall_cmds='chmod 555 $lib' 15400 # or fails outright, so override atomically: 15401 install_override_mode=555 15402 ;; 15403 15404interix[3-9]*) 15405 version_type=linux # correct to gnu/linux during the next big refactor 15406 need_lib_prefix=no 15407 need_version=no 15408 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15409 soname_spec='$libname$release$shared_ext$major' 15410 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 15411 shlibpath_var=LD_LIBRARY_PATH 15412 shlibpath_overrides_runpath=no 15413 hardcode_into_libs=yes 15414 ;; 15415 15416irix5* | irix6* | nonstopux*) 15417 case $host_os in 15418 nonstopux*) version_type=nonstopux ;; 15419 *) 15420 if test yes = "$lt_cv_prog_gnu_ld"; then 15421 version_type=linux # correct to gnu/linux during the next big refactor 15422 else 15423 version_type=irix 15424 fi ;; 15425 esac 15426 need_lib_prefix=no 15427 need_version=no 15428 soname_spec='$libname$release$shared_ext$major' 15429 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 15430 case $host_os in 15431 irix5* | nonstopux*) 15432 libsuff= shlibsuff= 15433 ;; 15434 *) 15435 case $LD in # libtool.m4 will add one of these switches to LD 15436 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 15437 libsuff= shlibsuff= libmagic=32-bit;; 15438 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 15439 libsuff=32 shlibsuff=N32 libmagic=N32;; 15440 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 15441 libsuff=64 shlibsuff=64 libmagic=64-bit;; 15442 *) libsuff= shlibsuff= libmagic=never-match;; 15443 esac 15444 ;; 15445 esac 15446 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 15447 shlibpath_overrides_runpath=no 15448 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 15449 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 15450 hardcode_into_libs=yes 15451 ;; 15452 15453# No shared lib support for Linux oldld, aout, or coff. 15454linux*oldld* | linux*aout* | linux*coff*) 15455 dynamic_linker=no 15456 ;; 15457 15458linux*android*) 15459 version_type=none # Android doesn't support versioned libraries. 15460 need_lib_prefix=no 15461 need_version=no 15462 library_names_spec='$libname$release$shared_ext' 15463 soname_spec='$libname$release$shared_ext' 15464 finish_cmds= 15465 shlibpath_var=LD_LIBRARY_PATH 15466 shlibpath_overrides_runpath=yes 15467 15468 # This implies no fast_install, which is unacceptable. 15469 # Some rework will be needed to allow for fast_install 15470 # before this can be enabled. 15471 hardcode_into_libs=yes 15472 15473 dynamic_linker='Android linker' 15474 # Don't embed -rpath directories since the linker doesn't support them. 15475 hardcode_libdir_flag_spec_CXX='-L$libdir' 15476 ;; 15477 15478# This must be glibc/ELF. 15479linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 15480 version_type=linux # correct to gnu/linux during the next big refactor 15481 need_lib_prefix=no 15482 need_version=no 15483 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15484 soname_spec='$libname$release$shared_ext$major' 15485 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 15486 shlibpath_var=LD_LIBRARY_PATH 15487 shlibpath_overrides_runpath=no 15488 15489 # Some binutils ld are patched to set DT_RUNPATH 15490 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 15491 $as_echo_n "(cached) " >&6 15492else 15493 lt_cv_shlibpath_overrides_runpath=no 15494 save_LDFLAGS=$LDFLAGS 15495 save_libdir=$libdir 15496 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ 15497 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" 15498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15499/* end confdefs.h. */ 15500 15501int 15502main () 15503{ 15504 15505 ; 15506 return 0; 15507} 15508_ACEOF 15509if ac_fn_cxx_try_link "$LINENO"; then : 15510 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 15511 lt_cv_shlibpath_overrides_runpath=yes 15512fi 15513fi 15514rm -f core conftest.err conftest.$ac_objext \ 15515 conftest$ac_exeext conftest.$ac_ext 15516 LDFLAGS=$save_LDFLAGS 15517 libdir=$save_libdir 15518 15519fi 15520 15521 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 15522 15523 # This implies no fast_install, which is unacceptable. 15524 # Some rework will be needed to allow for fast_install 15525 # before this can be enabled. 15526 hardcode_into_libs=yes 15527 15528 # Ideally, we could use ldconfig to report *all* directores which are 15529 # searched for libraries, however this is still not possible. Aside from not 15530 # being certain /sbin/ldconfig is available, command 15531 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 15532 # even though it is searched at run-time. Try to do the best guess by 15533 # appending ld.so.conf contents (and includes) to the search path. 15534 if test -f /etc/ld.so.conf; then 15535 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' ' '` 15536 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 15537 fi 15538 15539 # We used to test for /lib/ld.so.1 and disable shared libraries on 15540 # powerpc, because MkLinux only supported shared libraries with the 15541 # GNU dynamic linker. Since this was broken with cross compilers, 15542 # most powerpc-linux boxes support dynamic linking these days and 15543 # people can always --disable-shared, the test was removed, and we 15544 # assume the GNU/Linux dynamic linker is in use. 15545 dynamic_linker='GNU/Linux ld.so' 15546 ;; 15547 15548netbsd*) 15549 version_type=sunos 15550 need_lib_prefix=no 15551 need_version=no 15552 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 15553 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 15554 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 15555 dynamic_linker='NetBSD (a.out) ld.so' 15556 else 15557 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15558 soname_spec='$libname$release$shared_ext$major' 15559 dynamic_linker='NetBSD ld.elf_so' 15560 fi 15561 shlibpath_var=LD_LIBRARY_PATH 15562 shlibpath_overrides_runpath=yes 15563 hardcode_into_libs=yes 15564 ;; 15565 15566newsos6) 15567 version_type=linux # correct to gnu/linux during the next big refactor 15568 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15569 shlibpath_var=LD_LIBRARY_PATH 15570 shlibpath_overrides_runpath=yes 15571 ;; 15572 15573*nto* | *qnx*) 15574 version_type=qnx 15575 need_lib_prefix=no 15576 need_version=no 15577 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15578 soname_spec='$libname$release$shared_ext$major' 15579 shlibpath_var=LD_LIBRARY_PATH 15580 shlibpath_overrides_runpath=no 15581 hardcode_into_libs=yes 15582 dynamic_linker='ldqnx.so' 15583 ;; 15584 15585openbsd* | bitrig*) 15586 version_type=sunos 15587 sys_lib_dlsearch_path_spec=/usr/lib 15588 need_lib_prefix=no 15589 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 15590 need_version=no 15591 else 15592 need_version=yes 15593 fi 15594 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 15595 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 15596 shlibpath_var=LD_LIBRARY_PATH 15597 shlibpath_overrides_runpath=yes 15598 ;; 15599 15600os2*) 15601 libname_spec='$name' 15602 version_type=windows 15603 shrext_cmds=.dll 15604 need_version=no 15605 need_lib_prefix=no 15606 # OS/2 can only load a DLL with a base name of 8 characters or less. 15607 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 15608 v=$($ECHO $release$versuffix | tr -d .-); 15609 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 15610 $ECHO $n$v`$shared_ext' 15611 library_names_spec='${libname}_dll.$libext' 15612 dynamic_linker='OS/2 ld.exe' 15613 shlibpath_var=BEGINLIBPATH 15614 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 15615 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 15616 postinstall_cmds='base_file=`basename \$file`~ 15617 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 15618 dldir=$destdir/`dirname \$dlpath`~ 15619 test -d \$dldir || mkdir -p \$dldir~ 15620 $install_prog $dir/$dlname \$dldir/$dlname~ 15621 chmod a+x \$dldir/$dlname~ 15622 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 15623 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 15624 fi' 15625 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 15626 dlpath=$dir/\$dldll~ 15627 $RM \$dlpath' 15628 ;; 15629 15630osf3* | osf4* | osf5*) 15631 version_type=osf 15632 need_lib_prefix=no 15633 need_version=no 15634 soname_spec='$libname$release$shared_ext$major' 15635 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15636 shlibpath_var=LD_LIBRARY_PATH 15637 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 15638 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 15639 ;; 15640 15641rdos*) 15642 dynamic_linker=no 15643 ;; 15644 15645solaris*) 15646 version_type=linux # correct to gnu/linux during the next big refactor 15647 need_lib_prefix=no 15648 need_version=no 15649 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15650 soname_spec='$libname$release$shared_ext$major' 15651 shlibpath_var=LD_LIBRARY_PATH 15652 shlibpath_overrides_runpath=yes 15653 hardcode_into_libs=yes 15654 # ldd complains unless libraries are executable 15655 postinstall_cmds='chmod +x $lib' 15656 ;; 15657 15658sunos4*) 15659 version_type=sunos 15660 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 15661 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 15662 shlibpath_var=LD_LIBRARY_PATH 15663 shlibpath_overrides_runpath=yes 15664 if test yes = "$with_gnu_ld"; then 15665 need_lib_prefix=no 15666 fi 15667 need_version=yes 15668 ;; 15669 15670sysv4 | sysv4.3*) 15671 version_type=linux # correct to gnu/linux during the next big refactor 15672 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15673 soname_spec='$libname$release$shared_ext$major' 15674 shlibpath_var=LD_LIBRARY_PATH 15675 case $host_vendor in 15676 sni) 15677 shlibpath_overrides_runpath=no 15678 need_lib_prefix=no 15679 runpath_var=LD_RUN_PATH 15680 ;; 15681 siemens) 15682 need_lib_prefix=no 15683 ;; 15684 motorola) 15685 need_lib_prefix=no 15686 need_version=no 15687 shlibpath_overrides_runpath=no 15688 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 15689 ;; 15690 esac 15691 ;; 15692 15693sysv4*MP*) 15694 if test -d /usr/nec; then 15695 version_type=linux # correct to gnu/linux during the next big refactor 15696 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 15697 soname_spec='$libname$shared_ext.$major' 15698 shlibpath_var=LD_LIBRARY_PATH 15699 fi 15700 ;; 15701 15702sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 15703 version_type=sco 15704 need_lib_prefix=no 15705 need_version=no 15706 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 15707 soname_spec='$libname$release$shared_ext$major' 15708 shlibpath_var=LD_LIBRARY_PATH 15709 shlibpath_overrides_runpath=yes 15710 hardcode_into_libs=yes 15711 if test yes = "$with_gnu_ld"; then 15712 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 15713 else 15714 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 15715 case $host_os in 15716 sco3.2v5*) 15717 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 15718 ;; 15719 esac 15720 fi 15721 sys_lib_dlsearch_path_spec='/usr/lib' 15722 ;; 15723 15724tpf*) 15725 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 15726 version_type=linux # correct to gnu/linux during the next big refactor 15727 need_lib_prefix=no 15728 need_version=no 15729 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15730 shlibpath_var=LD_LIBRARY_PATH 15731 shlibpath_overrides_runpath=no 15732 hardcode_into_libs=yes 15733 ;; 15734 15735uts4*) 15736 version_type=linux # correct to gnu/linux during the next big refactor 15737 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 15738 soname_spec='$libname$release$shared_ext$major' 15739 shlibpath_var=LD_LIBRARY_PATH 15740 ;; 15741 15742*) 15743 dynamic_linker=no 15744 ;; 15745esac 15746{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 15747$as_echo "$dynamic_linker" >&6; } 15748test no = "$dynamic_linker" && can_build_shared=no 15749 15750variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 15751if test yes = "$GCC"; then 15752 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 15753fi 15754 15755if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 15756 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 15757fi 15758 15759if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 15760 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 15761fi 15762 15763# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 15764configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 15765 15766# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 15767func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 15768 15769# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 15770configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 15771 15772 15773 15774 15775 15776 15777 15778 15779 15780 15781 15782 15783 15784 15785 15786 15787 15788 15789 15790 15791 15792 15793 15794 15795 15796 15797 15798 15799 15800 15801 15802 15803 15804 15805 15806 15807 15808 15809 15810 15811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 15812$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 15813hardcode_action_CXX= 15814if test -n "$hardcode_libdir_flag_spec_CXX" || 15815 test -n "$runpath_var_CXX" || 15816 test yes = "$hardcode_automatic_CXX"; then 15817 15818 # We can hardcode non-existent directories. 15819 if test no != "$hardcode_direct_CXX" && 15820 # If the only mechanism to avoid hardcoding is shlibpath_var, we 15821 # have to relink, otherwise we might link with an installed library 15822 # when we should be linking with a yet-to-be-installed one 15823 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" && 15824 test no != "$hardcode_minus_L_CXX"; then 15825 # Linking always hardcodes the temporary library directory. 15826 hardcode_action_CXX=relink 15827 else 15828 # We can link without hardcoding, and we can hardcode nonexisting dirs. 15829 hardcode_action_CXX=immediate 15830 fi 15831else 15832 # We cannot hardcode anything, or else we can only hardcode existing 15833 # directories. 15834 hardcode_action_CXX=unsupported 15835fi 15836{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 15837$as_echo "$hardcode_action_CXX" >&6; } 15838 15839if test relink = "$hardcode_action_CXX" || 15840 test yes = "$inherit_rpath_CXX"; then 15841 # Fast installation is not supported 15842 enable_fast_install=no 15843elif test yes = "$shlibpath_overrides_runpath" || 15844 test no = "$enable_shared"; then 15845 # Fast installation is not necessary 15846 enable_fast_install=needless 15847fi 15848 15849 15850 15851 15852 15853 15854 15855 fi # test -n "$compiler" 15856 15857 CC=$lt_save_CC 15858 CFLAGS=$lt_save_CFLAGS 15859 LDCXX=$LD 15860 LD=$lt_save_LD 15861 GCC=$lt_save_GCC 15862 with_gnu_ld=$lt_save_with_gnu_ld 15863 lt_cv_path_LDCXX=$lt_cv_path_LD 15864 lt_cv_path_LD=$lt_save_path_LD 15865 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld 15866 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld 15867fi # test yes != "$_lt_caught_CXX_error" 15868 15869ac_ext=c 15870ac_cpp='$CPP $CPPFLAGS' 15871ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 15872ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 15873ac_compiler_gnu=$ac_cv_c_compiler_gnu 15874 15875 15876 15877$as_echo "#define _GNU_SOURCE /**/" >>confdefs.h 15878 15879 15880# Library versioning 15881lt_major="0" 15882lt_revision="0" 15883lt_age="0" 15884 15885 15886 15887 15888all_drivers="upekts upektc upeksonly vcom5s uru4000 fdu2000 aes1610 aes1660 aes2501 aes2550 aes2660 aes3500 aes4000 vfs101 vfs301 vfs5011 upektc_img etes603 vfs0050" 15889 15890require_imaging='no' 15891require_aeslib='no' 15892require_aesX660='no' 15893require_aes3k='no' 15894enable_upeke2='no' 15895enable_upekts='no' 15896enable_upektc='no' 15897enable_upeksonly='no' 15898enable_vcom5s='no' 15899enable_uru4000='no' 15900enable_fdu2000='no' 15901enable_aes1610='no' 15902enable_aes1660='no' 15903enable_aes2501='no' 15904enable_aes2550='no' 15905enable_aes2660='no' 15906enable_aes3500='no' 15907enable_aes4000='no' 15908enable_vfs101='no' 15909enable_vfs301='no' 15910enable_vfs5011='no' 15911enable_upektc_img='no' 15912enable_etes603='no' 15913enable_vfs0050='no' 15914 15915 15916# Check whether --with-drivers was given. 15917if test "${with_drivers+set}" = set; then : 15918 withval=$with_drivers; drivers="$withval" 15919else 15920 drivers="$all_drivers" 15921fi 15922 15923 15924if test "x$drivers" = "xall" ; then 15925 drivers=$all_drivers 15926fi 15927 15928for driver in `echo ${drivers} | sed -e 's/,/ /g' -e 's/,$//g'`; do 15929 case ${driver} in 15930 upekts) 15931 15932$as_echo "#define ENABLE_UPEKTS /**/" >>confdefs.h 15933 15934 enable_upekts="yes" 15935 ;; 15936 upeke2) 15937 15938$as_echo "#define ENABLE_UPEKE2 /**/" >>confdefs.h 15939 15940 enable_upeke2="yes" 15941 ;; 15942 upektc) 15943 15944$as_echo "#define ENABLE_UPEKTC /**/" >>confdefs.h 15945 15946 enable_upektc="yes" 15947 ;; 15948 upeksonly) 15949 15950$as_echo "#define ENABLE_UPEKSONLY /**/" >>confdefs.h 15951 15952 enable_upeksonly="yes" 15953 ;; 15954 uru4000) 15955 15956$as_echo "#define ENABLE_URU4000 /**/" >>confdefs.h 15957 15958 enable_uru4000="yes" 15959 ;; 15960 fdu2000) 15961 15962$as_echo "#define ENABLE_FDU2000 /**/" >>confdefs.h 15963 15964 enable_fdu2000="no" 15965 # Driver not ported 15966 ;; 15967 vcom5s) 15968 15969$as_echo "#define ENABLE_VCOM5S /**/" >>confdefs.h 15970 15971 enable_vcom5s="yes" 15972 ;; 15973 aes2501) 15974 15975$as_echo "#define ENABLE_AES2501 /**/" >>confdefs.h 15976 15977 require_aeslib="yes" 15978 enable_aes2501="yes" 15979 ;; 15980 aes2550) 15981 15982$as_echo "#define ENABLE_AES2550 /**/" >>confdefs.h 15983 15984 require_aeslib="yes" 15985 enable_aes2550="yes" 15986 ;; 15987 aes1610) 15988 15989$as_echo "#define ENABLE_AES1610 /**/" >>confdefs.h 15990 15991 require_aeslib="yes" 15992 enable_aes1610="yes" 15993 ;; 15994 aes1660) 15995 15996$as_echo "#define ENABLE_AES1660 /**/" >>confdefs.h 15997 15998 require_aeslib="yes" 15999 require_aesX660="yes" 16000 enable_aes1660="yes" 16001 ;; 16002 aes2660) 16003 16004$as_echo "#define ENABLE_AES2660 /**/" >>confdefs.h 16005 16006 require_aeslib="yes" 16007 require_aesX660="yes" 16008 enable_aes2660="yes" 16009 ;; 16010 aes3500) 16011 16012$as_echo "#define ENABLE_AES3500 /**/" >>confdefs.h 16013 16014 require_aeslib="yes" 16015 require_imaging="yes" 16016 require_aes3k="yes" 16017 enable_aes3500="yes" 16018 ;; 16019 aes4000) 16020 16021$as_echo "#define ENABLE_AES4000 /**/" >>confdefs.h 16022 16023 require_aeslib="yes" 16024 require_imaging="yes" 16025 require_aes3k="yes" 16026 enable_aes4000="yes" 16027 ;; 16028 vfs101) 16029 16030$as_echo "#define ENABLE_VFS101 /**/" >>confdefs.h 16031 16032 enable_vfs101="yes" 16033 ;; 16034 vfs301) 16035 16036$as_echo "#define ENABLE_VFS301 /**/" >>confdefs.h 16037 16038 enable_vfs301="yes" 16039 ;; 16040 vfs5011) 16041 16042$as_echo "#define ENABLE_VFS5011 /**/" >>confdefs.h 16043 16044 enable_vfs5011="yes" 16045 ;; 16046 upektc_img) 16047 16048$as_echo "#define ENABLE_UPEKTC_IMG /**/" >>confdefs.h 16049 16050 enable_upektc_img="yes" 16051 ;; 16052 etes603) 16053 16054$as_echo "#define ENABLE_ETES603 /**/" >>confdefs.h 16055 16056 enable_etes603="yes" 16057 ;; 16058 vfs0050) 16059 16060$as_echo "#define ENABLE_VFS0050 /**/" >>confdefs.h 16061 16062 enable_vfs0050="yes" 16063 ;; 16064 esac 16065done 16066 16067 if test "$enable_upekts" = "yes"; then 16068 ENABLE_UPEKTS_TRUE= 16069 ENABLE_UPEKTS_FALSE='#' 16070else 16071 ENABLE_UPEKTS_TRUE='#' 16072 ENABLE_UPEKTS_FALSE= 16073fi 16074 16075 if test "$enable_upeke2" = "yes"; then 16076 ENABLE_UPEKE2_TRUE= 16077 ENABLE_UPEKE2_FALSE='#' 16078else 16079 ENABLE_UPEKE2_TRUE='#' 16080 ENABLE_UPEKE2_FALSE= 16081fi 16082 16083 if test "$enable_upektc" = "yes"; then 16084 ENABLE_UPEKTC_TRUE= 16085 ENABLE_UPEKTC_FALSE='#' 16086else 16087 ENABLE_UPEKTC_TRUE='#' 16088 ENABLE_UPEKTC_FALSE= 16089fi 16090 16091 if test "$enable_upeksonly" = "yes"; then 16092 ENABLE_UPEKSONLY_TRUE= 16093 ENABLE_UPEKSONLY_FALSE='#' 16094else 16095 ENABLE_UPEKSONLY_TRUE='#' 16096 ENABLE_UPEKSONLY_FALSE= 16097fi 16098 16099 if test "$enable_vcom5s" = "yes"; then 16100 ENABLE_VCOM5S_TRUE= 16101 ENABLE_VCOM5S_FALSE='#' 16102else 16103 ENABLE_VCOM5S_TRUE='#' 16104 ENABLE_VCOM5S_FALSE= 16105fi 16106 16107 if test "$enable_uru4000" = "yes"; then 16108 ENABLE_URU4000_TRUE= 16109 ENABLE_URU4000_FALSE='#' 16110else 16111 ENABLE_URU4000_TRUE='#' 16112 ENABLE_URU4000_FALSE= 16113fi 16114 16115 if test "$enable_fdu2000" = "yes"; then 16116 ENABLE_FDU2000_TRUE= 16117 ENABLE_FDU2000_FALSE='#' 16118else 16119 ENABLE_FDU2000_TRUE='#' 16120 ENABLE_FDU2000_FALSE= 16121fi 16122 16123 if test "$enable_aes1610" = "yes"; then 16124 ENABLE_AES1610_TRUE= 16125 ENABLE_AES1610_FALSE='#' 16126else 16127 ENABLE_AES1610_TRUE='#' 16128 ENABLE_AES1610_FALSE= 16129fi 16130 16131 if test "$enable_aes1660" = "yes"; then 16132 ENABLE_AES1660_TRUE= 16133 ENABLE_AES1660_FALSE='#' 16134else 16135 ENABLE_AES1660_TRUE='#' 16136 ENABLE_AES1660_FALSE= 16137fi 16138 16139 if test "$enable_aes2501" = "yes"; then 16140 ENABLE_AES2501_TRUE= 16141 ENABLE_AES2501_FALSE='#' 16142else 16143 ENABLE_AES2501_TRUE='#' 16144 ENABLE_AES2501_FALSE= 16145fi 16146 16147 if test "$enable_aes2550" = "yes"; then 16148 ENABLE_AES2550_TRUE= 16149 ENABLE_AES2550_FALSE='#' 16150else 16151 ENABLE_AES2550_TRUE='#' 16152 ENABLE_AES2550_FALSE= 16153fi 16154 16155 if test "$enable_aes2660" = "yes"; then 16156 ENABLE_AES2660_TRUE= 16157 ENABLE_AES2660_FALSE='#' 16158else 16159 ENABLE_AES2660_TRUE='#' 16160 ENABLE_AES2660_FALSE= 16161fi 16162 16163 if test "$enable_aes3500" = "yes"; then 16164 ENABLE_AES3500_TRUE= 16165 ENABLE_AES3500_FALSE='#' 16166else 16167 ENABLE_AES3500_TRUE='#' 16168 ENABLE_AES3500_FALSE= 16169fi 16170 16171 if test "$enable_aes4000" = "yes"; then 16172 ENABLE_AES4000_TRUE= 16173 ENABLE_AES4000_FALSE='#' 16174else 16175 ENABLE_AES4000_TRUE='#' 16176 ENABLE_AES4000_FALSE= 16177fi 16178 16179 if test "$require_aeslib" = "yes"; then 16180 REQUIRE_AESLIB_TRUE= 16181 REQUIRE_AESLIB_FALSE='#' 16182else 16183 REQUIRE_AESLIB_TRUE='#' 16184 REQUIRE_AESLIB_FALSE= 16185fi 16186 16187 if test "$require_aesX660" = "yes"; then 16188 REQUIRE_AESX660_TRUE= 16189 REQUIRE_AESX660_FALSE='#' 16190else 16191 REQUIRE_AESX660_TRUE='#' 16192 REQUIRE_AESX660_FALSE= 16193fi 16194 16195 if test "$require_aes3k" = "yes"; then 16196 REQUIRE_AES3K_TRUE= 16197 REQUIRE_AES3K_FALSE='#' 16198else 16199 REQUIRE_AES3K_TRUE='#' 16200 REQUIRE_AES3K_FALSE= 16201fi 16202 16203 if test "$enable_vfs101" = "yes"; then 16204 ENABLE_VFS101_TRUE= 16205 ENABLE_VFS101_FALSE='#' 16206else 16207 ENABLE_VFS101_TRUE='#' 16208 ENABLE_VFS101_FALSE= 16209fi 16210 16211 if test "$enable_vfs301" = "yes"; then 16212 ENABLE_VFS301_TRUE= 16213 ENABLE_VFS301_FALSE='#' 16214else 16215 ENABLE_VFS301_TRUE='#' 16216 ENABLE_VFS301_FALSE= 16217fi 16218 16219 if test "$enable_vfs5011" = "yes"; then 16220 ENABLE_VFS5011_TRUE= 16221 ENABLE_VFS5011_FALSE='#' 16222else 16223 ENABLE_VFS5011_TRUE='#' 16224 ENABLE_VFS5011_FALSE= 16225fi 16226 16227 if test "$enable_upektc_img" = "yes"; then 16228 ENABLE_UPEKTC_IMG_TRUE= 16229 ENABLE_UPEKTC_IMG_FALSE='#' 16230else 16231 ENABLE_UPEKTC_IMG_TRUE='#' 16232 ENABLE_UPEKTC_IMG_FALSE= 16233fi 16234 16235 if test "$enable_etes603" = "yes"; then 16236 ENABLE_ETES603_TRUE= 16237 ENABLE_ETES603_FALSE='#' 16238else 16239 ENABLE_ETES603_TRUE='#' 16240 ENABLE_ETES603_FALSE= 16241fi 16242 16243 if test "$enable_vfs0050" = "yes"; then 16244 ENABLE_VFS0050_TRUE= 16245 ENABLE_VFS0050_FALSE='#' 16246else 16247 ENABLE_VFS0050_TRUE='#' 16248 ENABLE_VFS0050_FALSE= 16249fi 16250 16251 16252 16253 16254 16255 16256 16257 16258 16259 16260if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 16261 if test -n "$ac_tool_prefix"; then 16262 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 16263set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 16264{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16265$as_echo_n "checking for $ac_word... " >&6; } 16266if ${ac_cv_path_PKG_CONFIG+:} false; then : 16267 $as_echo_n "(cached) " >&6 16268else 16269 case $PKG_CONFIG in 16270 [\\/]* | ?:[\\/]*) 16271 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 16272 ;; 16273 *) 16274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16275for as_dir in $PATH 16276do 16277 IFS=$as_save_IFS 16278 test -z "$as_dir" && as_dir=. 16279 for ac_exec_ext in '' $ac_executable_extensions; do 16280 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16281 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 16282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16283 break 2 16284 fi 16285done 16286 done 16287IFS=$as_save_IFS 16288 16289 ;; 16290esac 16291fi 16292PKG_CONFIG=$ac_cv_path_PKG_CONFIG 16293if test -n "$PKG_CONFIG"; then 16294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 16295$as_echo "$PKG_CONFIG" >&6; } 16296else 16297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16298$as_echo "no" >&6; } 16299fi 16300 16301 16302fi 16303if test -z "$ac_cv_path_PKG_CONFIG"; then 16304 ac_pt_PKG_CONFIG=$PKG_CONFIG 16305 # Extract the first word of "pkg-config", so it can be a program name with args. 16306set dummy pkg-config; ac_word=$2 16307{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16308$as_echo_n "checking for $ac_word... " >&6; } 16309if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 16310 $as_echo_n "(cached) " >&6 16311else 16312 case $ac_pt_PKG_CONFIG in 16313 [\\/]* | ?:[\\/]*) 16314 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 16315 ;; 16316 *) 16317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16318for as_dir in $PATH 16319do 16320 IFS=$as_save_IFS 16321 test -z "$as_dir" && as_dir=. 16322 for ac_exec_ext in '' $ac_executable_extensions; do 16323 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16324 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 16325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16326 break 2 16327 fi 16328done 16329 done 16330IFS=$as_save_IFS 16331 16332 ;; 16333esac 16334fi 16335ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 16336if test -n "$ac_pt_PKG_CONFIG"; then 16337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 16338$as_echo "$ac_pt_PKG_CONFIG" >&6; } 16339else 16340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16341$as_echo "no" >&6; } 16342fi 16343 16344 if test "x$ac_pt_PKG_CONFIG" = x; then 16345 PKG_CONFIG="" 16346 else 16347 case $cross_compiling:$ac_tool_warned in 16348yes:) 16349{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 16350$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 16351ac_tool_warned=yes ;; 16352esac 16353 PKG_CONFIG=$ac_pt_PKG_CONFIG 16354 fi 16355else 16356 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 16357fi 16358 16359fi 16360if test -n "$PKG_CONFIG"; then 16361 _pkg_min_version=0.9.0 16362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 16363$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 16364 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 16365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16366$as_echo "yes" >&6; } 16367 else 16368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16369$as_echo "no" >&6; } 16370 PKG_CONFIG="" 16371 fi 16372fi 16373 16374pkg_failed=no 16375{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb-1.0 >= 0.9.1" >&5 16376$as_echo_n "checking for libusb-1.0 >= 0.9.1... " >&6; } 16377 16378if test -n "$LIBUSB_CFLAGS"; then 16379 pkg_cv_LIBUSB_CFLAGS="$LIBUSB_CFLAGS" 16380 elif test -n "$PKG_CONFIG"; then 16381 if test -n "$PKG_CONFIG" && \ 16382 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libusb-1.0 >= 0.9.1\""; } >&5 16383 ($PKG_CONFIG --exists --print-errors "libusb-1.0 >= 0.9.1") 2>&5 16384 ac_status=$? 16385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16386 test $ac_status = 0; }; then 16387 pkg_cv_LIBUSB_CFLAGS=`$PKG_CONFIG --cflags "libusb-1.0 >= 0.9.1" 2>/dev/null` 16388 test "x$?" != "x0" && pkg_failed=yes 16389else 16390 pkg_failed=yes 16391fi 16392 else 16393 pkg_failed=untried 16394fi 16395if test -n "$LIBUSB_LIBS"; then 16396 pkg_cv_LIBUSB_LIBS="$LIBUSB_LIBS" 16397 elif test -n "$PKG_CONFIG"; then 16398 if test -n "$PKG_CONFIG" && \ 16399 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libusb-1.0 >= 0.9.1\""; } >&5 16400 ($PKG_CONFIG --exists --print-errors "libusb-1.0 >= 0.9.1") 2>&5 16401 ac_status=$? 16402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16403 test $ac_status = 0; }; then 16404 pkg_cv_LIBUSB_LIBS=`$PKG_CONFIG --libs "libusb-1.0 >= 0.9.1" 2>/dev/null` 16405 test "x$?" != "x0" && pkg_failed=yes 16406else 16407 pkg_failed=yes 16408fi 16409 else 16410 pkg_failed=untried 16411fi 16412 16413 16414 16415if test $pkg_failed = yes; then 16416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16417$as_echo "no" >&6; } 16418 16419if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16420 _pkg_short_errors_supported=yes 16421else 16422 _pkg_short_errors_supported=no 16423fi 16424 if test $_pkg_short_errors_supported = yes; then 16425 LIBUSB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libusb-1.0 >= 0.9.1" 2>&1` 16426 else 16427 LIBUSB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libusb-1.0 >= 0.9.1" 2>&1` 16428 fi 16429 # Put the nasty error message in config.log where it belongs 16430 echo "$LIBUSB_PKG_ERRORS" >&5 16431 16432 as_fn_error $? "Package requirements (libusb-1.0 >= 0.9.1) were not met: 16433 16434$LIBUSB_PKG_ERRORS 16435 16436Consider adjusting the PKG_CONFIG_PATH environment variable if you 16437installed software in a non-standard prefix. 16438 16439Alternatively, you may set the environment variables LIBUSB_CFLAGS 16440and LIBUSB_LIBS to avoid the need to call pkg-config. 16441See the pkg-config man page for more details." "$LINENO" 5 16442elif test $pkg_failed = untried; then 16443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16444$as_echo "no" >&6; } 16445 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 16446$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 16447as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 16448is in your PATH or set the PKG_CONFIG environment variable to the full 16449path to pkg-config. 16450 16451Alternatively, you may set the environment variables LIBUSB_CFLAGS 16452and LIBUSB_LIBS to avoid the need to call pkg-config. 16453See the pkg-config man page for more details. 16454 16455To get pkg-config, see <http://pkg-config.freedesktop.org/>. 16456See \`config.log' for more details" "$LINENO" 5; } 16457else 16458 LIBUSB_CFLAGS=$pkg_cv_LIBUSB_CFLAGS 16459 LIBUSB_LIBS=$pkg_cv_LIBUSB_LIBS 16460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16461$as_echo "yes" >&6; } 16462 16463fi 16464 16465 16466 16467# check for OpenSSL's libcrypto 16468 16469pkg_failed=no 16470{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for nss" >&5 16471$as_echo_n "checking for nss... " >&6; } 16472 16473if test -n "$CRYPTO_CFLAGS"; then 16474 pkg_cv_CRYPTO_CFLAGS="$CRYPTO_CFLAGS" 16475 elif test -n "$PKG_CONFIG"; then 16476 if test -n "$PKG_CONFIG" && \ 16477 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nss\""; } >&5 16478 ($PKG_CONFIG --exists --print-errors "nss") 2>&5 16479 ac_status=$? 16480 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16481 test $ac_status = 0; }; then 16482 pkg_cv_CRYPTO_CFLAGS=`$PKG_CONFIG --cflags "nss" 2>/dev/null` 16483 test "x$?" != "x0" && pkg_failed=yes 16484else 16485 pkg_failed=yes 16486fi 16487 else 16488 pkg_failed=untried 16489fi 16490if test -n "$CRYPTO_LIBS"; then 16491 pkg_cv_CRYPTO_LIBS="$CRYPTO_LIBS" 16492 elif test -n "$PKG_CONFIG"; then 16493 if test -n "$PKG_CONFIG" && \ 16494 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nss\""; } >&5 16495 ($PKG_CONFIG --exists --print-errors "nss") 2>&5 16496 ac_status=$? 16497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16498 test $ac_status = 0; }; then 16499 pkg_cv_CRYPTO_LIBS=`$PKG_CONFIG --libs "nss" 2>/dev/null` 16500 test "x$?" != "x0" && pkg_failed=yes 16501else 16502 pkg_failed=yes 16503fi 16504 else 16505 pkg_failed=untried 16506fi 16507 16508 16509 16510if test $pkg_failed = yes; then 16511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16512$as_echo "no" >&6; } 16513 16514if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16515 _pkg_short_errors_supported=yes 16516else 16517 _pkg_short_errors_supported=no 16518fi 16519 if test $_pkg_short_errors_supported = yes; then 16520 CRYPTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "nss" 2>&1` 16521 else 16522 CRYPTO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "nss" 2>&1` 16523 fi 16524 # Put the nasty error message in config.log where it belongs 16525 echo "$CRYPTO_PKG_ERRORS" >&5 16526 16527 as_fn_error $? "Package requirements (nss) were not met: 16528 16529$CRYPTO_PKG_ERRORS 16530 16531Consider adjusting the PKG_CONFIG_PATH environment variable if you 16532installed software in a non-standard prefix. 16533 16534Alternatively, you may set the environment variables CRYPTO_CFLAGS 16535and CRYPTO_LIBS to avoid the need to call pkg-config. 16536See the pkg-config man page for more details." "$LINENO" 5 16537elif test $pkg_failed = untried; then 16538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16539$as_echo "no" >&6; } 16540 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 16541$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 16542as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 16543is in your PATH or set the PKG_CONFIG environment variable to the full 16544path to pkg-config. 16545 16546Alternatively, you may set the environment variables CRYPTO_CFLAGS 16547and CRYPTO_LIBS to avoid the need to call pkg-config. 16548See the pkg-config man page for more details. 16549 16550To get pkg-config, see <http://pkg-config.freedesktop.org/>. 16551See \`config.log' for more details" "$LINENO" 5; } 16552else 16553 CRYPTO_CFLAGS=$pkg_cv_CRYPTO_CFLAGS 16554 CRYPTO_LIBS=$pkg_cv_CRYPTO_LIBS 16555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16556$as_echo "yes" >&6; } 16557 16558fi 16559 16560 16561 16562 16563pkg_failed=no 16564{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-2.0 >= 2.28" >&5 16565$as_echo_n "checking for glib-2.0 >= 2.28... " >&6; } 16566 16567if test -n "$GLIB_CFLAGS"; then 16568 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS" 16569 elif test -n "$PKG_CONFIG"; then 16570 if test -n "$PKG_CONFIG" && \ 16571 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.28\""; } >&5 16572 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.28") 2>&5 16573 ac_status=$? 16574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16575 test $ac_status = 0; }; then 16576 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.28" 2>/dev/null` 16577 test "x$?" != "x0" && pkg_failed=yes 16578else 16579 pkg_failed=yes 16580fi 16581 else 16582 pkg_failed=untried 16583fi 16584if test -n "$GLIB_LIBS"; then 16585 pkg_cv_GLIB_LIBS="$GLIB_LIBS" 16586 elif test -n "$PKG_CONFIG"; then 16587 if test -n "$PKG_CONFIG" && \ 16588 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.28\""; } >&5 16589 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.28") 2>&5 16590 ac_status=$? 16591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16592 test $ac_status = 0; }; then 16593 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.28" 2>/dev/null` 16594 test "x$?" != "x0" && pkg_failed=yes 16595else 16596 pkg_failed=yes 16597fi 16598 else 16599 pkg_failed=untried 16600fi 16601 16602 16603 16604if test $pkg_failed = yes; then 16605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16606$as_echo "no" >&6; } 16607 16608if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16609 _pkg_short_errors_supported=yes 16610else 16611 _pkg_short_errors_supported=no 16612fi 16613 if test $_pkg_short_errors_supported = yes; then 16614 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.28" 2>&1` 16615 else 16616 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.28" 2>&1` 16617 fi 16618 # Put the nasty error message in config.log where it belongs 16619 echo "$GLIB_PKG_ERRORS" >&5 16620 16621 as_fn_error $? "Package requirements (glib-2.0 >= 2.28) were not met: 16622 16623$GLIB_PKG_ERRORS 16624 16625Consider adjusting the PKG_CONFIG_PATH environment variable if you 16626installed software in a non-standard prefix. 16627 16628Alternatively, you may set the environment variables GLIB_CFLAGS 16629and GLIB_LIBS to avoid the need to call pkg-config. 16630See the pkg-config man page for more details." "$LINENO" 5 16631elif test $pkg_failed = untried; then 16632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16633$as_echo "no" >&6; } 16634 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 16635$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 16636as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 16637is in your PATH or set the PKG_CONFIG environment variable to the full 16638path to pkg-config. 16639 16640Alternatively, you may set the environment variables GLIB_CFLAGS 16641and GLIB_LIBS to avoid the need to call pkg-config. 16642See the pkg-config man page for more details. 16643 16644To get pkg-config, see <http://pkg-config.freedesktop.org/>. 16645See \`config.log' for more details" "$LINENO" 5; } 16646else 16647 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS 16648 GLIB_LIBS=$pkg_cv_GLIB_LIBS 16649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16650$as_echo "yes" >&6; } 16651 16652fi 16653 16654 16655 16656pixman_found=no 16657 16658# Check whether --enable-udev-rules was given. 16659if test "${enable_udev_rules+set}" = set; then : 16660 enableval=$enable_udev_rules; case "${enableval}" in 16661 yes) ENABLE_UDEV_RULES=yes ;; 16662 no) ENABLE_UDEV_RULES=no ;; 16663 *) as_fn_error $? "bad value ${enableval} for --enable-udev-rules" "$LINENO" 5 ;; 16664 esac 16665else 16666 ENABLE_UDEV_RULES=yes 16667fi 16668 if test x$ENABLE_UDEV_RULES = "xyes"; then 16669 ENABLE_UDEV_RULES_TRUE= 16670 ENABLE_UDEV_RULES_FALSE='#' 16671else 16672 ENABLE_UDEV_RULES_TRUE='#' 16673 ENABLE_UDEV_RULES_FALSE= 16674fi 16675 16676 16677if test $ENABLE_UDEV_RULES = no && test -d .git/ ; then 16678 as_fn_error $? "--disable-udev-rules can only be used when building from tarballs" "$LINENO" 5 16679fi 16680 16681 16682# Check whether --with-udev-rules-dir was given. 16683if test "${with_udev_rules_dir+set}" = set; then : 16684 withval=$with_udev_rules_dir; ac_with_udev_rules_dir=$withval 16685else 16686 ac_with_udev_rules_dir="" 16687fi 16688 16689 16690if test "${ac_with_udev_rules_dir}" = ""; then 16691 ac_with_udev_rules_dir=`$PKG_CONFIG --variable=udevdir udev`/rules.d 16692fi 16693{ $as_echo "$as_me:${as_lineno-$LINENO}: installing udev rules in ${ac_with_udev_rules_dir}" >&5 16694$as_echo "$as_me: installing udev rules in ${ac_with_udev_rules_dir}" >&6;} 16695udev_rulesdir=${ac_with_udev_rules_dir} 16696 16697 16698if test "$require_imaging" = "yes"; then 16699 16700pkg_failed=no 16701{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pixman-1" >&5 16702$as_echo_n "checking for pixman-1... " >&6; } 16703 16704if test -n "$IMAGING_CFLAGS"; then 16705 pkg_cv_IMAGING_CFLAGS="$IMAGING_CFLAGS" 16706 elif test -n "$PKG_CONFIG"; then 16707 if test -n "$PKG_CONFIG" && \ 16708 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1\""; } >&5 16709 ($PKG_CONFIG --exists --print-errors "pixman-1") 2>&5 16710 ac_status=$? 16711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16712 test $ac_status = 0; }; then 16713 pkg_cv_IMAGING_CFLAGS=`$PKG_CONFIG --cflags "pixman-1" 2>/dev/null` 16714 test "x$?" != "x0" && pkg_failed=yes 16715else 16716 pkg_failed=yes 16717fi 16718 else 16719 pkg_failed=untried 16720fi 16721if test -n "$IMAGING_LIBS"; then 16722 pkg_cv_IMAGING_LIBS="$IMAGING_LIBS" 16723 elif test -n "$PKG_CONFIG"; then 16724 if test -n "$PKG_CONFIG" && \ 16725 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1\""; } >&5 16726 ($PKG_CONFIG --exists --print-errors "pixman-1") 2>&5 16727 ac_status=$? 16728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16729 test $ac_status = 0; }; then 16730 pkg_cv_IMAGING_LIBS=`$PKG_CONFIG --libs "pixman-1" 2>/dev/null` 16731 test "x$?" != "x0" && pkg_failed=yes 16732else 16733 pkg_failed=yes 16734fi 16735 else 16736 pkg_failed=untried 16737fi 16738 16739 16740 16741if test $pkg_failed = yes; then 16742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16743$as_echo "no" >&6; } 16744 16745if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16746 _pkg_short_errors_supported=yes 16747else 16748 _pkg_short_errors_supported=no 16749fi 16750 if test $_pkg_short_errors_supported = yes; then 16751 IMAGING_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pixman-1" 2>&1` 16752 else 16753 IMAGING_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pixman-1" 2>&1` 16754 fi 16755 # Put the nasty error message in config.log where it belongs 16756 echo "$IMAGING_PKG_ERRORS" >&5 16757 16758 pixman_found=no 16759elif test $pkg_failed = untried; then 16760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16761$as_echo "no" >&6; } 16762 pixman_found=no 16763else 16764 IMAGING_CFLAGS=$pkg_cv_IMAGING_CFLAGS 16765 IMAGING_LIBS=$pkg_cv_IMAGING_LIBS 16766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16767$as_echo "yes" >&6; } 16768 pixman_found=yes 16769fi 16770 if test "$pixman_found" != "yes"; then 16771 as_fn_error $? "pixman is required for imaging support" "$LINENO" 5 16772 fi 16773fi 16774 16775 if test "$pixman_found" = "yes"; then 16776 REQUIRE_PIXMAN_TRUE= 16777 REQUIRE_PIXMAN_FALSE='#' 16778else 16779 REQUIRE_PIXMAN_TRUE='#' 16780 REQUIRE_PIXMAN_FALSE= 16781fi 16782 16783 16784 16785 16786# Examples build 16787# Check whether --enable-examples-build was given. 16788if test "${enable_examples_build+set}" = set; then : 16789 enableval=$enable_examples_build; build_examples=$enableval 16790else 16791 build_examples='no' 16792fi 16793 16794 if test "x$build_examples" != "xno"; then 16795 BUILD_EXAMPLES_TRUE= 16796 BUILD_EXAMPLES_FALSE='#' 16797else 16798 BUILD_EXAMPLES_TRUE='#' 16799 BUILD_EXAMPLES_FALSE= 16800fi 16801 16802 16803# Examples build 16804# Check whether --enable-x11-examples-build was given. 16805if test "${enable_x11_examples_build+set}" = set; then : 16806 enableval=$enable_x11_examples_build; build_x11_examples=$enableval 16807else 16808 build_x11_examples='no' 16809fi 16810 16811 if test "x$build_x11_examples" != "xno"; then 16812 BUILD_X11_EXAMPLES_TRUE= 16813 BUILD_X11_EXAMPLES_FALSE='#' 16814else 16815 BUILD_X11_EXAMPLES_TRUE='#' 16816 BUILD_X11_EXAMPLES_FALSE= 16817fi 16818 16819 16820 16821if test "x$build_x11_examples" != "xno"; then 16822 # check for Xv extensions 16823 # imported from Coriander 16824 16825 16826 16827 16828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xv extensions" >&5 16829$as_echo_n "checking for Xv extensions... " >&6; } 16830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16831/* end confdefs.h. */ 16832 16833 #include <X11/Xlib.h> 16834 #include <X11/extensions/Xvlib.h> 16835int 16836main () 16837{ 16838 16839 int main(void) { (void) XvGetPortAttribute(0, 0, 0, 0); return 0; } 16840 16841 ; 16842 return 0; 16843} 16844_ACEOF 16845if ac_fn_c_try_compile "$LINENO"; then : 16846 xv=yes 16847else 16848 xv=no 16849fi 16850rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext; 16851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xv" >&5 16852$as_echo "$xv" >&6; } 16853 if test x$xv = xyes; then 16854 XV_LIBS="-lXv -lXext" 16855 XV_CFLAGS="" 16856 16857$as_echo "#define HAVE_XV 1" >>confdefs.h 16858 16859 else 16860 as_fn_error $? "XV is required for X11 examples" "$LINENO" 5 16861 fi 16862 16863fi 16864 16865# Message logging 16866# Check whether --enable-log was given. 16867if test "${enable_log+set}" = set; then : 16868 enableval=$enable_log; log_enabled=$enableval 16869else 16870 log_enabled='yes' 16871fi 16872 16873if test "x$log_enabled" != "xno"; then 16874 16875$as_echo "#define ENABLE_LOGGING 1" >>confdefs.h 16876 16877fi 16878 16879# Check whether --enable-debug-log was given. 16880if test "${enable_debug_log+set}" = set; then : 16881 enableval=$enable_debug_log; debug_log_enabled=$enableval 16882else 16883 debug_log_enabled='no' 16884fi 16885 16886if test "x$debug_log_enabled" != "xno"; then 16887 16888$as_echo "#define ENABLE_DEBUG_LOGGING 1" >>confdefs.h 16889 16890fi 16891 16892# Restore gnu89 inline semantics on gcc 4.3 and newer 16893saved_cflags="$CFLAGS" 16894CFLAGS="$CFLAGS -fgnu89-inline" 16895cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16896/* end confdefs.h. */ 16897 16898_ACEOF 16899if ac_fn_c_try_compile "$LINENO"; then : 16900 inline_cflags="-fgnu89-inline" 16901else 16902 inline_cflags="" 16903fi 16904rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16905CFLAGS="$saved_cflags" 16906 16907 16908$as_echo "#define API_EXPORTED __attribute__((visibility(\"default\")))" >>confdefs.h 16909 16910AM_CFLAGS="-std=gnu99 $inline_cflags -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow" 16911 16912 16913if test "$require_imaging" = "yes"; then 16914 if test x$pixman_found != no; then 16915 { $as_echo "$as_me:${as_lineno-$LINENO}: ** Using pixman for imaging" >&5 16916$as_echo "$as_me: ** Using pixman for imaging" >&6;} 16917 fi 16918else 16919 { $as_echo "$as_me:${as_lineno-$LINENO}: Imaging support disabled" >&5 16920$as_echo "$as_me: Imaging support disabled" >&6;} 16921fi 16922 16923if test x$enable_upekts != xno ; then 16924 { $as_echo "$as_me:${as_lineno-$LINENO}: ** upekts driver enabled" >&5 16925$as_echo "$as_me: ** upekts driver enabled" >&6;} 16926else 16927 { $as_echo "$as_me:${as_lineno-$LINENO}: upekts driver disabled" >&5 16928$as_echo "$as_me: upekts driver disabled" >&6;} 16929fi 16930if test x$enable_upeke2 != xno ; then 16931 { $as_echo "$as_me:${as_lineno-$LINENO}: ** upeke2 driver enabled" >&5 16932$as_echo "$as_me: ** upeke2 driver enabled" >&6;} 16933else 16934 { $as_echo "$as_me:${as_lineno-$LINENO}: upeke2 driver disabled (handled by upektc_img driver)" >&5 16935$as_echo "$as_me: upeke2 driver disabled (handled by upektc_img driver)" >&6;} 16936fi 16937if test x$enable_upektc != xno ; then 16938 { $as_echo "$as_me:${as_lineno-$LINENO}: ** upektc driver enabled" >&5 16939$as_echo "$as_me: ** upektc driver enabled" >&6;} 16940else 16941 { $as_echo "$as_me:${as_lineno-$LINENO}: upektc driver disabled" >&5 16942$as_echo "$as_me: upektc driver disabled" >&6;} 16943fi 16944if test x$enable_upeksonly != xno ; then 16945 { $as_echo "$as_me:${as_lineno-$LINENO}: ** upeksonly driver enabled" >&5 16946$as_echo "$as_me: ** upeksonly driver enabled" >&6;} 16947else 16948 { $as_echo "$as_me:${as_lineno-$LINENO}: upeksonly driver disabled" >&5 16949$as_echo "$as_me: upeksonly driver disabled" >&6;} 16950fi 16951if test x$enable_vcom5s != xno ; then 16952 { $as_echo "$as_me:${as_lineno-$LINENO}: ** vcom5s driver enabled" >&5 16953$as_echo "$as_me: ** vcom5s driver enabled" >&6;} 16954else 16955 { $as_echo "$as_me:${as_lineno-$LINENO}: vcom5s driver disabled" >&5 16956$as_echo "$as_me: vcom5s driver disabled" >&6;} 16957fi 16958if test x$enable_uru4000 != xno ; then 16959 { $as_echo "$as_me:${as_lineno-$LINENO}: ** uru4000 driver enabled" >&5 16960$as_echo "$as_me: ** uru4000 driver enabled" >&6;} 16961else 16962 { $as_echo "$as_me:${as_lineno-$LINENO}: uru4000 driver disabled" >&5 16963$as_echo "$as_me: uru4000 driver disabled" >&6;} 16964fi 16965if test x$enable_fdu2000 != xno ; then 16966 { $as_echo "$as_me:${as_lineno-$LINENO}: ** fdu2000 driver enabled" >&5 16967$as_echo "$as_me: ** fdu2000 driver enabled" >&6;} 16968else 16969 { $as_echo "$as_me:${as_lineno-$LINENO}: fdu2000 driver disabled (not ported)" >&5 16970$as_echo "$as_me: fdu2000 driver disabled (not ported)" >&6;} 16971fi 16972if test x$enable_aes1610 != xno ; then 16973 { $as_echo "$as_me:${as_lineno-$LINENO}: ** aes1610 driver enabled" >&5 16974$as_echo "$as_me: ** aes1610 driver enabled" >&6;} 16975else 16976 { $as_echo "$as_me:${as_lineno-$LINENO}: aes1610 driver disabled" >&5 16977$as_echo "$as_me: aes1610 driver disabled" >&6;} 16978fi 16979if test x$enable_aes1660 != xno ; then 16980 { $as_echo "$as_me:${as_lineno-$LINENO}: ** aes1660 driver enabled" >&5 16981$as_echo "$as_me: ** aes1660 driver enabled" >&6;} 16982else 16983 { $as_echo "$as_me:${as_lineno-$LINENO}: aes1660 driver disabled" >&5 16984$as_echo "$as_me: aes1660 driver disabled" >&6;} 16985fi 16986if test x$enable_aes2501 != xno ; then 16987 { $as_echo "$as_me:${as_lineno-$LINENO}: ** aes2501 driver enabled" >&5 16988$as_echo "$as_me: ** aes2501 driver enabled" >&6;} 16989else 16990 { $as_echo "$as_me:${as_lineno-$LINENO}: aes2501 driver disabled" >&5 16991$as_echo "$as_me: aes2501 driver disabled" >&6;} 16992fi 16993if test x$enable_aes2550 != xno ; then 16994 { $as_echo "$as_me:${as_lineno-$LINENO}: ** aes2550/aes2810 driver enabled" >&5 16995$as_echo "$as_me: ** aes2550/aes2810 driver enabled" >&6;} 16996else 16997 { $as_echo "$as_me:${as_lineno-$LINENO}: aes2550/aes2810 driver disabled" >&5 16998$as_echo "$as_me: aes2550/aes2810 driver disabled" >&6;} 16999fi 17000if test x$enable_aes2660 != xno ; then 17001 { $as_echo "$as_me:${as_lineno-$LINENO}: ** aes2660 driver enabled" >&5 17002$as_echo "$as_me: ** aes2660 driver enabled" >&6;} 17003else 17004 { $as_echo "$as_me:${as_lineno-$LINENO}: aes2660 driver disabled" >&5 17005$as_echo "$as_me: aes2660 driver disabled" >&6;} 17006fi 17007if test x$enable_aes3500 != xno ; then 17008 { $as_echo "$as_me:${as_lineno-$LINENO}: ** aes3500 driver enabled" >&5 17009$as_echo "$as_me: ** aes3500 driver enabled" >&6;} 17010else 17011 { $as_echo "$as_me:${as_lineno-$LINENO}: aes3500 driver disabled" >&5 17012$as_echo "$as_me: aes3500 driver disabled" >&6;} 17013fi 17014if test x$enable_aes4000 != xno ; then 17015 { $as_echo "$as_me:${as_lineno-$LINENO}: ** aes4000 driver enabled" >&5 17016$as_echo "$as_me: ** aes4000 driver enabled" >&6;} 17017else 17018 { $as_echo "$as_me:${as_lineno-$LINENO}: aes4000 driver disabled" >&5 17019$as_echo "$as_me: aes4000 driver disabled" >&6;} 17020fi 17021if test x$enable_vfs101 != xno ; then 17022 { $as_echo "$as_me:${as_lineno-$LINENO}: ** vfs101 driver enabled" >&5 17023$as_echo "$as_me: ** vfs101 driver enabled" >&6;} 17024else 17025 { $as_echo "$as_me:${as_lineno-$LINENO}: vfs101 driver disabled" >&5 17026$as_echo "$as_me: vfs101 driver disabled" >&6;} 17027fi 17028if test x$enable_vfs301 != xno ; then 17029 { $as_echo "$as_me:${as_lineno-$LINENO}: ** vfs301 driver enabled" >&5 17030$as_echo "$as_me: ** vfs301 driver enabled" >&6;} 17031else 17032 { $as_echo "$as_me:${as_lineno-$LINENO}: vfs301 driver disabled" >&5 17033$as_echo "$as_me: vfs301 driver disabled" >&6;} 17034fi 17035if test x$enable_vfs5011 != xno ; then 17036 { $as_echo "$as_me:${as_lineno-$LINENO}: ** vfs5011 driver enabled" >&5 17037$as_echo "$as_me: ** vfs5011 driver enabled" >&6;} 17038else 17039 { $as_echo "$as_me:${as_lineno-$LINENO}: vfs5011 driver disabled" >&5 17040$as_echo "$as_me: vfs5011 driver disabled" >&6;} 17041fi 17042if test x$enable_upektc_img != xno ; then 17043 { $as_echo "$as_me:${as_lineno-$LINENO}: ** upektc_img driver enabled" >&5 17044$as_echo "$as_me: ** upektc_img driver enabled" >&6;} 17045else 17046 { $as_echo "$as_me:${as_lineno-$LINENO}: upektc_img driver disabled" >&5 17047$as_echo "$as_me: upektc_img driver disabled" >&6;} 17048fi 17049if test x$enable_etes603 != xno ; then 17050 { $as_echo "$as_me:${as_lineno-$LINENO}: ** etes603 driver enabled" >&5 17051$as_echo "$as_me: ** etes603 driver enabled" >&6;} 17052else 17053 { $as_echo "$as_me:${as_lineno-$LINENO}: etes603 driver disabled" >&5 17054$as_echo "$as_me: etes603 driver disabled" >&6;} 17055fi 17056if test x$enable_vfs0050 != xno ; then 17057 { $as_echo "$as_me:${as_lineno-$LINENO}: ** vfs0050 driver enabled" >&5 17058$as_echo "$as_me: ** vfs0050 driver enabled" >&6;} 17059else 17060 { $as_echo "$as_me:${as_lineno-$LINENO}: vfs0050 driver disabled" >&5 17061$as_echo "$as_me: vfs0050 driver disabled" >&6;} 17062fi 17063if test x$require_aeslib != xno ; then 17064 { $as_echo "$as_me:${as_lineno-$LINENO}: ** aeslib helper functions enabled" >&5 17065$as_echo "$as_me: ** aeslib helper functions enabled" >&6;} 17066else 17067 { $as_echo "$as_me:${as_lineno-$LINENO}: aeslib helper functions disabled" >&5 17068$as_echo "$as_me: aeslib helper functions disabled" >&6;} 17069fi 17070if test x$require_aesX660 != xno ; then 17071 { $as_echo "$as_me:${as_lineno-$LINENO}: ** aesX660 common routines enabled" >&5 17072$as_echo "$as_me: ** aesX660 common routines enabled" >&6;} 17073else 17074 { $as_echo "$as_me:${as_lineno-$LINENO}: aesX660 common routines disabled" >&5 17075$as_echo "$as_me: aesX660 common routines disabled" >&6;} 17076fi 17077if test x$require_aes3k != xno ; then 17078 { $as_echo "$as_me:${as_lineno-$LINENO}: ** aes3k common routines enabled" >&5 17079$as_echo "$as_me: ** aes3k common routines enabled" >&6;} 17080else 17081 { $as_echo "$as_me:${as_lineno-$LINENO}: aes3k common routines disabled" >&5 17082$as_echo "$as_me: aes3k common routines disabled" >&6;} 17083fi 17084 17085ac_config_files="$ac_config_files libfprint.pc Makefile libfprint/Makefile examples/Makefile doc/Makefile" 17086 17087cat >confcache <<\_ACEOF 17088# This file is a shell script that caches the results of configure 17089# tests run on this system so they can be shared between configure 17090# scripts and configure runs, see configure's option --config-cache. 17091# It is not useful on other systems. If it contains results you don't 17092# want to keep, you may remove or edit it. 17093# 17094# config.status only pays attention to the cache file if you give it 17095# the --recheck option to rerun configure. 17096# 17097# `ac_cv_env_foo' variables (set or unset) will be overridden when 17098# loading this file, other *unset* `ac_cv_foo' will be assigned the 17099# following values. 17100 17101_ACEOF 17102 17103# The following way of writing the cache mishandles newlines in values, 17104# but we know of no workaround that is simple, portable, and efficient. 17105# So, we kill variables containing newlines. 17106# Ultrix sh set writes to stderr and can't be redirected directly, 17107# and sets the high bit in the cache file unless we assign to the vars. 17108( 17109 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 17110 eval ac_val=\$$ac_var 17111 case $ac_val in #( 17112 *${as_nl}*) 17113 case $ac_var in #( 17114 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 17115$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 17116 esac 17117 case $ac_var in #( 17118 _ | IFS | as_nl) ;; #( 17119 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 17120 *) { eval $ac_var=; unset $ac_var;} ;; 17121 esac ;; 17122 esac 17123 done 17124 17125 (set) 2>&1 | 17126 case $as_nl`(ac_space=' '; set) 2>&1` in #( 17127 *${as_nl}ac_space=\ *) 17128 # `set' does not quote correctly, so add quotes: double-quote 17129 # substitution turns \\\\ into \\, and sed turns \\ into \. 17130 sed -n \ 17131 "s/'/'\\\\''/g; 17132 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 17133 ;; #( 17134 *) 17135 # `set' quotes correctly as required by POSIX, so do not add quotes. 17136 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 17137 ;; 17138 esac | 17139 sort 17140) | 17141 sed ' 17142 /^ac_cv_env_/b end 17143 t clear 17144 :clear 17145 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 17146 t end 17147 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 17148 :end' >>confcache 17149if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 17150 if test -w "$cache_file"; then 17151 if test "x$cache_file" != "x/dev/null"; then 17152 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 17153$as_echo "$as_me: updating cache $cache_file" >&6;} 17154 if test ! -f "$cache_file" || test -h "$cache_file"; then 17155 cat confcache >"$cache_file" 17156 else 17157 case $cache_file in #( 17158 */* | ?:*) 17159 mv -f confcache "$cache_file"$$ && 17160 mv -f "$cache_file"$$ "$cache_file" ;; #( 17161 *) 17162 mv -f confcache "$cache_file" ;; 17163 esac 17164 fi 17165 fi 17166 else 17167 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 17168$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 17169 fi 17170fi 17171rm -f confcache 17172 17173test "x$prefix" = xNONE && prefix=$ac_default_prefix 17174# Let make expand exec_prefix. 17175test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 17176 17177DEFS=-DHAVE_CONFIG_H 17178 17179ac_libobjs= 17180ac_ltlibobjs= 17181U= 17182for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 17183 # 1. Remove the extension, and $U if already installed. 17184 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 17185 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 17186 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 17187 # will be set to the directory where LIBOBJS objects are built. 17188 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 17189 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 17190done 17191LIBOBJS=$ac_libobjs 17192 17193LTLIBOBJS=$ac_ltlibobjs 17194 17195 17196{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 17197$as_echo_n "checking that generated files are newer than configure... " >&6; } 17198 if test -n "$am_sleep_pid"; then 17199 # Hide warnings about reused PIDs. 17200 wait $am_sleep_pid 2>/dev/null 17201 fi 17202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 17203$as_echo "done" >&6; } 17204 if test -n "$EXEEXT"; then 17205 am__EXEEXT_TRUE= 17206 am__EXEEXT_FALSE='#' 17207else 17208 am__EXEEXT_TRUE='#' 17209 am__EXEEXT_FALSE= 17210fi 17211 17212if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 17213 as_fn_error $? "conditional \"AMDEP\" was never defined. 17214Usually this means the macro was only invoked conditionally." "$LINENO" 5 17215fi 17216if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 17217 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 17218Usually this means the macro was only invoked conditionally." "$LINENO" 5 17219fi 17220if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 17221 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. 17222Usually this means the macro was only invoked conditionally." "$LINENO" 5 17223fi 17224if test -z "${ENABLE_UPEKTS_TRUE}" && test -z "${ENABLE_UPEKTS_FALSE}"; then 17225 as_fn_error $? "conditional \"ENABLE_UPEKTS\" was never defined. 17226Usually this means the macro was only invoked conditionally." "$LINENO" 5 17227fi 17228if test -z "${ENABLE_UPEKE2_TRUE}" && test -z "${ENABLE_UPEKE2_FALSE}"; then 17229 as_fn_error $? "conditional \"ENABLE_UPEKE2\" was never defined. 17230Usually this means the macro was only invoked conditionally." "$LINENO" 5 17231fi 17232if test -z "${ENABLE_UPEKTC_TRUE}" && test -z "${ENABLE_UPEKTC_FALSE}"; then 17233 as_fn_error $? "conditional \"ENABLE_UPEKTC\" was never defined. 17234Usually this means the macro was only invoked conditionally." "$LINENO" 5 17235fi 17236if test -z "${ENABLE_UPEKSONLY_TRUE}" && test -z "${ENABLE_UPEKSONLY_FALSE}"; then 17237 as_fn_error $? "conditional \"ENABLE_UPEKSONLY\" was never defined. 17238Usually this means the macro was only invoked conditionally." "$LINENO" 5 17239fi 17240if test -z "${ENABLE_VCOM5S_TRUE}" && test -z "${ENABLE_VCOM5S_FALSE}"; then 17241 as_fn_error $? "conditional \"ENABLE_VCOM5S\" was never defined. 17242Usually this means the macro was only invoked conditionally." "$LINENO" 5 17243fi 17244if test -z "${ENABLE_URU4000_TRUE}" && test -z "${ENABLE_URU4000_FALSE}"; then 17245 as_fn_error $? "conditional \"ENABLE_URU4000\" was never defined. 17246Usually this means the macro was only invoked conditionally." "$LINENO" 5 17247fi 17248if test -z "${ENABLE_FDU2000_TRUE}" && test -z "${ENABLE_FDU2000_FALSE}"; then 17249 as_fn_error $? "conditional \"ENABLE_FDU2000\" was never defined. 17250Usually this means the macro was only invoked conditionally." "$LINENO" 5 17251fi 17252if test -z "${ENABLE_AES1610_TRUE}" && test -z "${ENABLE_AES1610_FALSE}"; then 17253 as_fn_error $? "conditional \"ENABLE_AES1610\" was never defined. 17254Usually this means the macro was only invoked conditionally." "$LINENO" 5 17255fi 17256if test -z "${ENABLE_AES1660_TRUE}" && test -z "${ENABLE_AES1660_FALSE}"; then 17257 as_fn_error $? "conditional \"ENABLE_AES1660\" was never defined. 17258Usually this means the macro was only invoked conditionally." "$LINENO" 5 17259fi 17260if test -z "${ENABLE_AES2501_TRUE}" && test -z "${ENABLE_AES2501_FALSE}"; then 17261 as_fn_error $? "conditional \"ENABLE_AES2501\" was never defined. 17262Usually this means the macro was only invoked conditionally." "$LINENO" 5 17263fi 17264if test -z "${ENABLE_AES2550_TRUE}" && test -z "${ENABLE_AES2550_FALSE}"; then 17265 as_fn_error $? "conditional \"ENABLE_AES2550\" was never defined. 17266Usually this means the macro was only invoked conditionally." "$LINENO" 5 17267fi 17268if test -z "${ENABLE_AES2660_TRUE}" && test -z "${ENABLE_AES2660_FALSE}"; then 17269 as_fn_error $? "conditional \"ENABLE_AES2660\" was never defined. 17270Usually this means the macro was only invoked conditionally." "$LINENO" 5 17271fi 17272if test -z "${ENABLE_AES3500_TRUE}" && test -z "${ENABLE_AES3500_FALSE}"; then 17273 as_fn_error $? "conditional \"ENABLE_AES3500\" was never defined. 17274Usually this means the macro was only invoked conditionally." "$LINENO" 5 17275fi 17276if test -z "${ENABLE_AES4000_TRUE}" && test -z "${ENABLE_AES4000_FALSE}"; then 17277 as_fn_error $? "conditional \"ENABLE_AES4000\" was never defined. 17278Usually this means the macro was only invoked conditionally." "$LINENO" 5 17279fi 17280if test -z "${REQUIRE_AESLIB_TRUE}" && test -z "${REQUIRE_AESLIB_FALSE}"; then 17281 as_fn_error $? "conditional \"REQUIRE_AESLIB\" was never defined. 17282Usually this means the macro was only invoked conditionally." "$LINENO" 5 17283fi 17284if test -z "${REQUIRE_AESX660_TRUE}" && test -z "${REQUIRE_AESX660_FALSE}"; then 17285 as_fn_error $? "conditional \"REQUIRE_AESX660\" was never defined. 17286Usually this means the macro was only invoked conditionally." "$LINENO" 5 17287fi 17288if test -z "${REQUIRE_AES3K_TRUE}" && test -z "${REQUIRE_AES3K_FALSE}"; then 17289 as_fn_error $? "conditional \"REQUIRE_AES3K\" was never defined. 17290Usually this means the macro was only invoked conditionally." "$LINENO" 5 17291fi 17292if test -z "${ENABLE_VFS101_TRUE}" && test -z "${ENABLE_VFS101_FALSE}"; then 17293 as_fn_error $? "conditional \"ENABLE_VFS101\" was never defined. 17294Usually this means the macro was only invoked conditionally." "$LINENO" 5 17295fi 17296if test -z "${ENABLE_VFS301_TRUE}" && test -z "${ENABLE_VFS301_FALSE}"; then 17297 as_fn_error $? "conditional \"ENABLE_VFS301\" was never defined. 17298Usually this means the macro was only invoked conditionally." "$LINENO" 5 17299fi 17300if test -z "${ENABLE_VFS5011_TRUE}" && test -z "${ENABLE_VFS5011_FALSE}"; then 17301 as_fn_error $? "conditional \"ENABLE_VFS5011\" was never defined. 17302Usually this means the macro was only invoked conditionally." "$LINENO" 5 17303fi 17304if test -z "${ENABLE_UPEKTC_IMG_TRUE}" && test -z "${ENABLE_UPEKTC_IMG_FALSE}"; then 17305 as_fn_error $? "conditional \"ENABLE_UPEKTC_IMG\" was never defined. 17306Usually this means the macro was only invoked conditionally." "$LINENO" 5 17307fi 17308if test -z "${ENABLE_ETES603_TRUE}" && test -z "${ENABLE_ETES603_FALSE}"; then 17309 as_fn_error $? "conditional \"ENABLE_ETES603\" was never defined. 17310Usually this means the macro was only invoked conditionally." "$LINENO" 5 17311fi 17312if test -z "${ENABLE_VFS0050_TRUE}" && test -z "${ENABLE_VFS0050_FALSE}"; then 17313 as_fn_error $? "conditional \"ENABLE_VFS0050\" was never defined. 17314Usually this means the macro was only invoked conditionally." "$LINENO" 5 17315fi 17316if test -z "${ENABLE_UDEV_RULES_TRUE}" && test -z "${ENABLE_UDEV_RULES_FALSE}"; then 17317 as_fn_error $? "conditional \"ENABLE_UDEV_RULES\" was never defined. 17318Usually this means the macro was only invoked conditionally." "$LINENO" 5 17319fi 17320if test -z "${REQUIRE_PIXMAN_TRUE}" && test -z "${REQUIRE_PIXMAN_FALSE}"; then 17321 as_fn_error $? "conditional \"REQUIRE_PIXMAN\" was never defined. 17322Usually this means the macro was only invoked conditionally." "$LINENO" 5 17323fi 17324if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then 17325 as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined. 17326Usually this means the macro was only invoked conditionally." "$LINENO" 5 17327fi 17328if test -z "${BUILD_X11_EXAMPLES_TRUE}" && test -z "${BUILD_X11_EXAMPLES_FALSE}"; then 17329 as_fn_error $? "conditional \"BUILD_X11_EXAMPLES\" was never defined. 17330Usually this means the macro was only invoked conditionally." "$LINENO" 5 17331fi 17332 17333: "${CONFIG_STATUS=./config.status}" 17334ac_write_fail=0 17335ac_clean_files_save=$ac_clean_files 17336ac_clean_files="$ac_clean_files $CONFIG_STATUS" 17337{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 17338$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 17339as_write_fail=0 17340cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 17341#! $SHELL 17342# Generated by $as_me. 17343# Run this file to recreate the current configuration. 17344# Compiler output produced by configure, useful for debugging 17345# configure, is in config.log if it exists. 17346 17347debug=false 17348ac_cs_recheck=false 17349ac_cs_silent=false 17350 17351SHELL=\${CONFIG_SHELL-$SHELL} 17352export SHELL 17353_ASEOF 17354cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 17355## -------------------- ## 17356## M4sh Initialization. ## 17357## -------------------- ## 17358 17359# Be more Bourne compatible 17360DUALCASE=1; export DUALCASE # for MKS sh 17361if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 17362 emulate sh 17363 NULLCMD=: 17364 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 17365 # is contrary to our usage. Disable this feature. 17366 alias -g '${1+"$@"}'='"$@"' 17367 setopt NO_GLOB_SUBST 17368else 17369 case `(set -o) 2>/dev/null` in #( 17370 *posix*) : 17371 set -o posix ;; #( 17372 *) : 17373 ;; 17374esac 17375fi 17376 17377 17378as_nl=' 17379' 17380export as_nl 17381# Printing a long string crashes Solaris 7 /usr/bin/printf. 17382as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 17383as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 17384as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 17385# Prefer a ksh shell builtin over an external printf program on Solaris, 17386# but without wasting forks for bash or zsh. 17387if test -z "$BASH_VERSION$ZSH_VERSION" \ 17388 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 17389 as_echo='print -r --' 17390 as_echo_n='print -rn --' 17391elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 17392 as_echo='printf %s\n' 17393 as_echo_n='printf %s' 17394else 17395 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 17396 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 17397 as_echo_n='/usr/ucb/echo -n' 17398 else 17399 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 17400 as_echo_n_body='eval 17401 arg=$1; 17402 case $arg in #( 17403 *"$as_nl"*) 17404 expr "X$arg" : "X\\(.*\\)$as_nl"; 17405 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 17406 esac; 17407 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 17408 ' 17409 export as_echo_n_body 17410 as_echo_n='sh -c $as_echo_n_body as_echo' 17411 fi 17412 export as_echo_body 17413 as_echo='sh -c $as_echo_body as_echo' 17414fi 17415 17416# The user is always right. 17417if test "${PATH_SEPARATOR+set}" != set; then 17418 PATH_SEPARATOR=: 17419 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 17420 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 17421 PATH_SEPARATOR=';' 17422 } 17423fi 17424 17425 17426# IFS 17427# We need space, tab and new line, in precisely that order. Quoting is 17428# there to prevent editors from complaining about space-tab. 17429# (If _AS_PATH_WALK were called with IFS unset, it would disable word 17430# splitting by setting IFS to empty value.) 17431IFS=" "" $as_nl" 17432 17433# Find who we are. Look in the path if we contain no directory separator. 17434as_myself= 17435case $0 in #(( 17436 *[\\/]* ) as_myself=$0 ;; 17437 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17438for as_dir in $PATH 17439do 17440 IFS=$as_save_IFS 17441 test -z "$as_dir" && as_dir=. 17442 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 17443 done 17444IFS=$as_save_IFS 17445 17446 ;; 17447esac 17448# We did not find ourselves, most probably we were run as `sh COMMAND' 17449# in which case we are not to be found in the path. 17450if test "x$as_myself" = x; then 17451 as_myself=$0 17452fi 17453if test ! -f "$as_myself"; then 17454 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 17455 exit 1 17456fi 17457 17458# Unset variables that we do not need and which cause bugs (e.g. in 17459# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 17460# suppresses any "Segmentation fault" message there. '((' could 17461# trigger a bug in pdksh 5.2.14. 17462for as_var in BASH_ENV ENV MAIL MAILPATH 17463do eval test x\${$as_var+set} = xset \ 17464 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 17465done 17466PS1='$ ' 17467PS2='> ' 17468PS4='+ ' 17469 17470# NLS nuisances. 17471LC_ALL=C 17472export LC_ALL 17473LANGUAGE=C 17474export LANGUAGE 17475 17476# CDPATH. 17477(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 17478 17479 17480# as_fn_error STATUS ERROR [LINENO LOG_FD] 17481# ---------------------------------------- 17482# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 17483# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 17484# script with STATUS, using 1 if that was 0. 17485as_fn_error () 17486{ 17487 as_status=$1; test $as_status -eq 0 && as_status=1 17488 if test "$4"; then 17489 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 17490 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 17491 fi 17492 $as_echo "$as_me: error: $2" >&2 17493 as_fn_exit $as_status 17494} # as_fn_error 17495 17496 17497# as_fn_set_status STATUS 17498# ----------------------- 17499# Set $? to STATUS, without forking. 17500as_fn_set_status () 17501{ 17502 return $1 17503} # as_fn_set_status 17504 17505# as_fn_exit STATUS 17506# ----------------- 17507# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 17508as_fn_exit () 17509{ 17510 set +e 17511 as_fn_set_status $1 17512 exit $1 17513} # as_fn_exit 17514 17515# as_fn_unset VAR 17516# --------------- 17517# Portably unset VAR. 17518as_fn_unset () 17519{ 17520 { eval $1=; unset $1;} 17521} 17522as_unset=as_fn_unset 17523# as_fn_append VAR VALUE 17524# ---------------------- 17525# Append the text in VALUE to the end of the definition contained in VAR. Take 17526# advantage of any shell optimizations that allow amortized linear growth over 17527# repeated appends, instead of the typical quadratic growth present in naive 17528# implementations. 17529if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 17530 eval 'as_fn_append () 17531 { 17532 eval $1+=\$2 17533 }' 17534else 17535 as_fn_append () 17536 { 17537 eval $1=\$$1\$2 17538 } 17539fi # as_fn_append 17540 17541# as_fn_arith ARG... 17542# ------------------ 17543# Perform arithmetic evaluation on the ARGs, and store the result in the 17544# global $as_val. Take advantage of shells that can avoid forks. The arguments 17545# must be portable across $(()) and expr. 17546if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 17547 eval 'as_fn_arith () 17548 { 17549 as_val=$(( $* )) 17550 }' 17551else 17552 as_fn_arith () 17553 { 17554 as_val=`expr "$@" || test $? -eq 1` 17555 } 17556fi # as_fn_arith 17557 17558 17559if expr a : '\(a\)' >/dev/null 2>&1 && 17560 test "X`expr 00001 : '.*\(...\)'`" = X001; then 17561 as_expr=expr 17562else 17563 as_expr=false 17564fi 17565 17566if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 17567 as_basename=basename 17568else 17569 as_basename=false 17570fi 17571 17572if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 17573 as_dirname=dirname 17574else 17575 as_dirname=false 17576fi 17577 17578as_me=`$as_basename -- "$0" || 17579$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 17580 X"$0" : 'X\(//\)$' \| \ 17581 X"$0" : 'X\(/\)' \| . 2>/dev/null || 17582$as_echo X/"$0" | 17583 sed '/^.*\/\([^/][^/]*\)\/*$/{ 17584 s//\1/ 17585 q 17586 } 17587 /^X\/\(\/\/\)$/{ 17588 s//\1/ 17589 q 17590 } 17591 /^X\/\(\/\).*/{ 17592 s//\1/ 17593 q 17594 } 17595 s/.*/./; q'` 17596 17597# Avoid depending upon Character Ranges. 17598as_cr_letters='abcdefghijklmnopqrstuvwxyz' 17599as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 17600as_cr_Letters=$as_cr_letters$as_cr_LETTERS 17601as_cr_digits='0123456789' 17602as_cr_alnum=$as_cr_Letters$as_cr_digits 17603 17604ECHO_C= ECHO_N= ECHO_T= 17605case `echo -n x` in #((((( 17606-n*) 17607 case `echo 'xy\c'` in 17608 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 17609 xy) ECHO_C='\c';; 17610 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 17611 ECHO_T=' ';; 17612 esac;; 17613*) 17614 ECHO_N='-n';; 17615esac 17616 17617rm -f conf$$ conf$$.exe conf$$.file 17618if test -d conf$$.dir; then 17619 rm -f conf$$.dir/conf$$.file 17620else 17621 rm -f conf$$.dir 17622 mkdir conf$$.dir 2>/dev/null 17623fi 17624if (echo >conf$$.file) 2>/dev/null; then 17625 if ln -s conf$$.file conf$$ 2>/dev/null; then 17626 as_ln_s='ln -s' 17627 # ... but there are two gotchas: 17628 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 17629 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 17630 # In both cases, we have to default to `cp -pR'. 17631 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 17632 as_ln_s='cp -pR' 17633 elif ln conf$$.file conf$$ 2>/dev/null; then 17634 as_ln_s=ln 17635 else 17636 as_ln_s='cp -pR' 17637 fi 17638else 17639 as_ln_s='cp -pR' 17640fi 17641rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 17642rmdir conf$$.dir 2>/dev/null 17643 17644 17645# as_fn_mkdir_p 17646# ------------- 17647# Create "$as_dir" as a directory, including parents if necessary. 17648as_fn_mkdir_p () 17649{ 17650 17651 case $as_dir in #( 17652 -*) as_dir=./$as_dir;; 17653 esac 17654 test -d "$as_dir" || eval $as_mkdir_p || { 17655 as_dirs= 17656 while :; do 17657 case $as_dir in #( 17658 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 17659 *) as_qdir=$as_dir;; 17660 esac 17661 as_dirs="'$as_qdir' $as_dirs" 17662 as_dir=`$as_dirname -- "$as_dir" || 17663$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17664 X"$as_dir" : 'X\(//\)[^/]' \| \ 17665 X"$as_dir" : 'X\(//\)$' \| \ 17666 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 17667$as_echo X"$as_dir" | 17668 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17669 s//\1/ 17670 q 17671 } 17672 /^X\(\/\/\)[^/].*/{ 17673 s//\1/ 17674 q 17675 } 17676 /^X\(\/\/\)$/{ 17677 s//\1/ 17678 q 17679 } 17680 /^X\(\/\).*/{ 17681 s//\1/ 17682 q 17683 } 17684 s/.*/./; q'` 17685 test -d "$as_dir" && break 17686 done 17687 test -z "$as_dirs" || eval "mkdir $as_dirs" 17688 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 17689 17690 17691} # as_fn_mkdir_p 17692if mkdir -p . 2>/dev/null; then 17693 as_mkdir_p='mkdir -p "$as_dir"' 17694else 17695 test -d ./-p && rmdir ./-p 17696 as_mkdir_p=false 17697fi 17698 17699 17700# as_fn_executable_p FILE 17701# ----------------------- 17702# Test if FILE is an executable regular file. 17703as_fn_executable_p () 17704{ 17705 test -f "$1" && test -x "$1" 17706} # as_fn_executable_p 17707as_test_x='test -x' 17708as_executable_p=as_fn_executable_p 17709 17710# Sed expression to map a string onto a valid CPP name. 17711as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 17712 17713# Sed expression to map a string onto a valid variable name. 17714as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 17715 17716 17717exec 6>&1 17718## ----------------------------------- ## 17719## Main body of $CONFIG_STATUS script. ## 17720## ----------------------------------- ## 17721_ASEOF 17722test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 17723 17724cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17725# Save the log message, to keep $0 and so on meaningful, and to 17726# report actual input values of CONFIG_FILES etc. instead of their 17727# values after options handling. 17728ac_log=" 17729This file was extended by libfprint $as_me 0.7.0, which was 17730generated by GNU Autoconf 2.69. Invocation command line was 17731 17732 CONFIG_FILES = $CONFIG_FILES 17733 CONFIG_HEADERS = $CONFIG_HEADERS 17734 CONFIG_LINKS = $CONFIG_LINKS 17735 CONFIG_COMMANDS = $CONFIG_COMMANDS 17736 $ $0 $@ 17737 17738on `(hostname || uname -n) 2>/dev/null | sed 1q` 17739" 17740 17741_ACEOF 17742 17743case $ac_config_files in *" 17744"*) set x $ac_config_files; shift; ac_config_files=$*;; 17745esac 17746 17747case $ac_config_headers in *" 17748"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 17749esac 17750 17751 17752cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17753# Files that config.status was made for. 17754config_files="$ac_config_files" 17755config_headers="$ac_config_headers" 17756config_commands="$ac_config_commands" 17757 17758_ACEOF 17759 17760cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17761ac_cs_usage="\ 17762\`$as_me' instantiates files and other configuration actions 17763from templates according to the current configuration. Unless the files 17764and actions are specified as TAGs, all are instantiated by default. 17765 17766Usage: $0 [OPTION]... [TAG]... 17767 17768 -h, --help print this help, then exit 17769 -V, --version print version number and configuration settings, then exit 17770 --config print configuration, then exit 17771 -q, --quiet, --silent 17772 do not print progress messages 17773 -d, --debug don't remove temporary files 17774 --recheck update $as_me by reconfiguring in the same conditions 17775 --file=FILE[:TEMPLATE] 17776 instantiate the configuration file FILE 17777 --header=FILE[:TEMPLATE] 17778 instantiate the configuration header FILE 17779 17780Configuration files: 17781$config_files 17782 17783Configuration headers: 17784$config_headers 17785 17786Configuration commands: 17787$config_commands 17788 17789Report bugs to the package provider." 17790 17791_ACEOF 17792cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17793ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 17794ac_cs_version="\\ 17795libfprint config.status 0.7.0 17796configured by $0, generated by GNU Autoconf 2.69, 17797 with options \\"\$ac_cs_config\\" 17798 17799Copyright (C) 2012 Free Software Foundation, Inc. 17800This config.status script is free software; the Free Software Foundation 17801gives unlimited permission to copy, distribute and modify it." 17802 17803ac_pwd='$ac_pwd' 17804srcdir='$srcdir' 17805INSTALL='$INSTALL' 17806MKDIR_P='$MKDIR_P' 17807AWK='$AWK' 17808test -n "\$AWK" || AWK=awk 17809_ACEOF 17810 17811cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17812# The default lists apply if the user does not specify any file. 17813ac_need_defaults=: 17814while test $# != 0 17815do 17816 case $1 in 17817 --*=?*) 17818 ac_option=`expr "X$1" : 'X\([^=]*\)='` 17819 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 17820 ac_shift=: 17821 ;; 17822 --*=) 17823 ac_option=`expr "X$1" : 'X\([^=]*\)='` 17824 ac_optarg= 17825 ac_shift=: 17826 ;; 17827 *) 17828 ac_option=$1 17829 ac_optarg=$2 17830 ac_shift=shift 17831 ;; 17832 esac 17833 17834 case $ac_option in 17835 # Handling of the options. 17836 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 17837 ac_cs_recheck=: ;; 17838 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 17839 $as_echo "$ac_cs_version"; exit ;; 17840 --config | --confi | --conf | --con | --co | --c ) 17841 $as_echo "$ac_cs_config"; exit ;; 17842 --debug | --debu | --deb | --de | --d | -d ) 17843 debug=: ;; 17844 --file | --fil | --fi | --f ) 17845 $ac_shift 17846 case $ac_optarg in 17847 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 17848 '') as_fn_error $? "missing file argument" ;; 17849 esac 17850 as_fn_append CONFIG_FILES " '$ac_optarg'" 17851 ac_need_defaults=false;; 17852 --header | --heade | --head | --hea ) 17853 $ac_shift 17854 case $ac_optarg in 17855 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 17856 esac 17857 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 17858 ac_need_defaults=false;; 17859 --he | --h) 17860 # Conflict between --help and --header 17861 as_fn_error $? "ambiguous option: \`$1' 17862Try \`$0 --help' for more information.";; 17863 --help | --hel | -h ) 17864 $as_echo "$ac_cs_usage"; exit ;; 17865 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 17866 | -silent | --silent | --silen | --sile | --sil | --si | --s) 17867 ac_cs_silent=: ;; 17868 17869 # This is an error. 17870 -*) as_fn_error $? "unrecognized option: \`$1' 17871Try \`$0 --help' for more information." ;; 17872 17873 *) as_fn_append ac_config_targets " $1" 17874 ac_need_defaults=false ;; 17875 17876 esac 17877 shift 17878done 17879 17880ac_configure_extra_args= 17881 17882if $ac_cs_silent; then 17883 exec 6>/dev/null 17884 ac_configure_extra_args="$ac_configure_extra_args --silent" 17885fi 17886 17887_ACEOF 17888cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17889if \$ac_cs_recheck; then 17890 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 17891 shift 17892 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 17893 CONFIG_SHELL='$SHELL' 17894 export CONFIG_SHELL 17895 exec "\$@" 17896fi 17897 17898_ACEOF 17899cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17900exec 5>>config.log 17901{ 17902 echo 17903 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 17904## Running $as_me. ## 17905_ASBOX 17906 $as_echo "$ac_log" 17907} >&5 17908 17909_ACEOF 17910cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17911# 17912# INIT-COMMANDS 17913# 17914AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 17915 17916 17917# The HP-UX ksh and POSIX shell print the target directory to stdout 17918# if CDPATH is set. 17919(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 17920 17921sed_quote_subst='$sed_quote_subst' 17922double_quote_subst='$double_quote_subst' 17923delay_variable_subst='$delay_variable_subst' 17924macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 17925macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 17926enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 17927enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 17928pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 17929enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 17930shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 17931SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 17932ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 17933PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 17934host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 17935host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 17936host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 17937build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 17938build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 17939build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 17940SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 17941Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 17942GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 17943EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 17944FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 17945LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 17946NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 17947LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 17948max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 17949ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 17950exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 17951lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 17952lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 17953lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 17954lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 17955lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 17956reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 17957reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 17958OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 17959deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 17960file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 17961file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 17962want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 17963DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 17964sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 17965AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 17966AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 17967archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 17968STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 17969RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 17970old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 17971old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 17972old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 17973lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 17974CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 17975CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 17976compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 17977GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 17978lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 17979lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 17980lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 17981lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 17982lt_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"`' 17983lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 17984nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 17985lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 17986lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 17987objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 17988MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 17989lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 17990lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 17991lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 17992lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 17993lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 17994need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 17995MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 17996DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 17997NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 17998LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 17999OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 18000OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 18001libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 18002shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 18003extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 18004archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 18005enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 18006export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 18007whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 18008compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 18009old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 18010old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 18011archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 18012archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 18013module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 18014module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 18015with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 18016allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 18017no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 18018hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 18019hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 18020hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 18021hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 18022hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 18023hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 18024hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 18025inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 18026link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 18027always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 18028export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 18029exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 18030include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 18031prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 18032postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 18033file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 18034variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 18035need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 18036need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 18037version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 18038runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 18039shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 18040shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 18041libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 18042library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 18043soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 18044install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 18045postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 18046postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 18047finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 18048finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 18049hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 18050sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 18051configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 18052configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 18053hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 18054enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 18055enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 18056enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 18057old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 18058striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 18059compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' 18060predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' 18061postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' 18062predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' 18063postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' 18064compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' 18065LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' 18066reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' 18067reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18068old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18069compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' 18070GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' 18071lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' 18072lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' 18073lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' 18074lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' 18075lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' 18076archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' 18077enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' 18078export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 18079whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 18080compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' 18081old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18082old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18083archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18084archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18085module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18086module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18087with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' 18088allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 18089no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 18090hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 18091hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' 18092hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' 18093hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' 18094hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' 18095hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' 18096hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' 18097inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' 18098link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' 18099always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' 18100export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18101exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 18102include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 18103prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18104postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 18105file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' 18106hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' 18107compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' 18108predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' 18109postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' 18110predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' 18111postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' 18112compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' 18113 18114LTCC='$LTCC' 18115LTCFLAGS='$LTCFLAGS' 18116compiler='$compiler_DEFAULT' 18117 18118# A function that is used when there is no print builtin or printf. 18119func_fallback_echo () 18120{ 18121 eval 'cat <<_LTECHO_EOF 18122\$1 18123_LTECHO_EOF' 18124} 18125 18126# Quote evaled strings. 18127for var in SHELL \ 18128ECHO \ 18129PATH_SEPARATOR \ 18130SED \ 18131GREP \ 18132EGREP \ 18133FGREP \ 18134LD \ 18135NM \ 18136LN_S \ 18137lt_SP2NL \ 18138lt_NL2SP \ 18139reload_flag \ 18140OBJDUMP \ 18141deplibs_check_method \ 18142file_magic_cmd \ 18143file_magic_glob \ 18144want_nocaseglob \ 18145DLLTOOL \ 18146sharedlib_from_linklib_cmd \ 18147AR \ 18148AR_FLAGS \ 18149archiver_list_spec \ 18150STRIP \ 18151RANLIB \ 18152CC \ 18153CFLAGS \ 18154compiler \ 18155lt_cv_sys_global_symbol_pipe \ 18156lt_cv_sys_global_symbol_to_cdecl \ 18157lt_cv_sys_global_symbol_to_import \ 18158lt_cv_sys_global_symbol_to_c_name_address \ 18159lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 18160lt_cv_nm_interface \ 18161nm_file_list_spec \ 18162lt_cv_truncate_bin \ 18163lt_prog_compiler_no_builtin_flag \ 18164lt_prog_compiler_pic \ 18165lt_prog_compiler_wl \ 18166lt_prog_compiler_static \ 18167lt_cv_prog_compiler_c_o \ 18168need_locks \ 18169MANIFEST_TOOL \ 18170DSYMUTIL \ 18171NMEDIT \ 18172LIPO \ 18173OTOOL \ 18174OTOOL64 \ 18175shrext_cmds \ 18176export_dynamic_flag_spec \ 18177whole_archive_flag_spec \ 18178compiler_needs_object \ 18179with_gnu_ld \ 18180allow_undefined_flag \ 18181no_undefined_flag \ 18182hardcode_libdir_flag_spec \ 18183hardcode_libdir_separator \ 18184exclude_expsyms \ 18185include_expsyms \ 18186file_list_spec \ 18187variables_saved_for_relink \ 18188libname_spec \ 18189library_names_spec \ 18190soname_spec \ 18191install_override_mode \ 18192finish_eval \ 18193old_striplib \ 18194striplib \ 18195compiler_lib_search_dirs \ 18196predep_objects \ 18197postdep_objects \ 18198predeps \ 18199postdeps \ 18200compiler_lib_search_path \ 18201LD_CXX \ 18202reload_flag_CXX \ 18203compiler_CXX \ 18204lt_prog_compiler_no_builtin_flag_CXX \ 18205lt_prog_compiler_pic_CXX \ 18206lt_prog_compiler_wl_CXX \ 18207lt_prog_compiler_static_CXX \ 18208lt_cv_prog_compiler_c_o_CXX \ 18209export_dynamic_flag_spec_CXX \ 18210whole_archive_flag_spec_CXX \ 18211compiler_needs_object_CXX \ 18212with_gnu_ld_CXX \ 18213allow_undefined_flag_CXX \ 18214no_undefined_flag_CXX \ 18215hardcode_libdir_flag_spec_CXX \ 18216hardcode_libdir_separator_CXX \ 18217exclude_expsyms_CXX \ 18218include_expsyms_CXX \ 18219file_list_spec_CXX \ 18220compiler_lib_search_dirs_CXX \ 18221predep_objects_CXX \ 18222postdep_objects_CXX \ 18223predeps_CXX \ 18224postdeps_CXX \ 18225compiler_lib_search_path_CXX; do 18226 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 18227 *[\\\\\\\`\\"\\\$]*) 18228 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 18229 ;; 18230 *) 18231 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 18232 ;; 18233 esac 18234done 18235 18236# Double-quote double-evaled strings. 18237for var in reload_cmds \ 18238old_postinstall_cmds \ 18239old_postuninstall_cmds \ 18240old_archive_cmds \ 18241extract_expsyms_cmds \ 18242old_archive_from_new_cmds \ 18243old_archive_from_expsyms_cmds \ 18244archive_cmds \ 18245archive_expsym_cmds \ 18246module_cmds \ 18247module_expsym_cmds \ 18248export_symbols_cmds \ 18249prelink_cmds \ 18250postlink_cmds \ 18251postinstall_cmds \ 18252postuninstall_cmds \ 18253finish_cmds \ 18254sys_lib_search_path_spec \ 18255configure_time_dlsearch_path \ 18256configure_time_lt_sys_library_path \ 18257reload_cmds_CXX \ 18258old_archive_cmds_CXX \ 18259old_archive_from_new_cmds_CXX \ 18260old_archive_from_expsyms_cmds_CXX \ 18261archive_cmds_CXX \ 18262archive_expsym_cmds_CXX \ 18263module_cmds_CXX \ 18264module_expsym_cmds_CXX \ 18265export_symbols_cmds_CXX \ 18266prelink_cmds_CXX \ 18267postlink_cmds_CXX; do 18268 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 18269 *[\\\\\\\`\\"\\\$]*) 18270 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 18271 ;; 18272 *) 18273 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 18274 ;; 18275 esac 18276done 18277 18278ac_aux_dir='$ac_aux_dir' 18279 18280# See if we are running on zsh, and set the options that allow our 18281# commands through without removal of \ escapes INIT. 18282if test -n "\${ZSH_VERSION+set}"; then 18283 setopt NO_GLOB_SUBST 18284fi 18285 18286 18287 PACKAGE='$PACKAGE' 18288 VERSION='$VERSION' 18289 RM='$RM' 18290 ofile='$ofile' 18291 18292 18293 18294 18295 18296 18297_ACEOF 18298 18299cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18300 18301# Handling of arguments. 18302for ac_config_target in $ac_config_targets 18303do 18304 case $ac_config_target in 18305 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 18306 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 18307 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 18308 "libfprint.pc") CONFIG_FILES="$CONFIG_FILES libfprint.pc" ;; 18309 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 18310 "libfprint/Makefile") CONFIG_FILES="$CONFIG_FILES libfprint/Makefile" ;; 18311 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; 18312 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 18313 18314 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 18315 esac 18316done 18317 18318 18319# If the user did not use the arguments to specify the items to instantiate, 18320# then the envvar interface is used. Set only those that are not. 18321# We use the long form for the default assignment because of an extremely 18322# bizarre bug on SunOS 4.1.3. 18323if $ac_need_defaults; then 18324 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 18325 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 18326 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 18327fi 18328 18329# Have a temporary directory for convenience. Make it in the build tree 18330# simply because there is no reason against having it here, and in addition, 18331# creating and moving files from /tmp can sometimes cause problems. 18332# Hook for its removal unless debugging. 18333# Note that there is a small window in which the directory will not be cleaned: 18334# after its creation but before its name has been assigned to `$tmp'. 18335$debug || 18336{ 18337 tmp= ac_tmp= 18338 trap 'exit_status=$? 18339 : "${ac_tmp:=$tmp}" 18340 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 18341' 0 18342 trap 'as_fn_exit 1' 1 2 13 15 18343} 18344# Create a (secure) tmp directory for tmp files. 18345 18346{ 18347 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 18348 test -d "$tmp" 18349} || 18350{ 18351 tmp=./conf$$-$RANDOM 18352 (umask 077 && mkdir "$tmp") 18353} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 18354ac_tmp=$tmp 18355 18356# Set up the scripts for CONFIG_FILES section. 18357# No need to generate them if there are no CONFIG_FILES. 18358# This happens for instance with `./config.status config.h'. 18359if test -n "$CONFIG_FILES"; then 18360 18361 18362ac_cr=`echo X | tr X '\015'` 18363# On cygwin, bash can eat \r inside `` if the user requested igncr. 18364# But we know of no other shell where ac_cr would be empty at this 18365# point, so we can use a bashism as a fallback. 18366if test "x$ac_cr" = x; then 18367 eval ac_cr=\$\'\\r\' 18368fi 18369ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 18370if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 18371 ac_cs_awk_cr='\\r' 18372else 18373 ac_cs_awk_cr=$ac_cr 18374fi 18375 18376echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 18377_ACEOF 18378 18379 18380{ 18381 echo "cat >conf$$subs.awk <<_ACEOF" && 18382 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 18383 echo "_ACEOF" 18384} >conf$$subs.sh || 18385 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 18386ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 18387ac_delim='%!_!# ' 18388for ac_last_try in false false false false false :; do 18389 . ./conf$$subs.sh || 18390 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 18391 18392 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 18393 if test $ac_delim_n = $ac_delim_num; then 18394 break 18395 elif $ac_last_try; then 18396 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 18397 else 18398 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 18399 fi 18400done 18401rm -f conf$$subs.sh 18402 18403cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18404cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 18405_ACEOF 18406sed -n ' 18407h 18408s/^/S["/; s/!.*/"]=/ 18409p 18410g 18411s/^[^!]*!// 18412:repl 18413t repl 18414s/'"$ac_delim"'$// 18415t delim 18416:nl 18417h 18418s/\(.\{148\}\)..*/\1/ 18419t more1 18420s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 18421p 18422n 18423b repl 18424:more1 18425s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 18426p 18427g 18428s/.\{148\}// 18429t nl 18430:delim 18431h 18432s/\(.\{148\}\)..*/\1/ 18433t more2 18434s/["\\]/\\&/g; s/^/"/; s/$/"/ 18435p 18436b 18437:more2 18438s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 18439p 18440g 18441s/.\{148\}// 18442t delim 18443' <conf$$subs.awk | sed ' 18444/^[^""]/{ 18445 N 18446 s/\n// 18447} 18448' >>$CONFIG_STATUS || ac_write_fail=1 18449rm -f conf$$subs.awk 18450cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18451_ACAWK 18452cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 18453 for (key in S) S_is_set[key] = 1 18454 FS = "" 18455 18456} 18457{ 18458 line = $ 0 18459 nfields = split(line, field, "@") 18460 substed = 0 18461 len = length(field[1]) 18462 for (i = 2; i < nfields; i++) { 18463 key = field[i] 18464 keylen = length(key) 18465 if (S_is_set[key]) { 18466 value = S[key] 18467 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 18468 len += length(value) + length(field[++i]) 18469 substed = 1 18470 } else 18471 len += 1 + keylen 18472 } 18473 18474 print line 18475} 18476 18477_ACAWK 18478_ACEOF 18479cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18480if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 18481 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 18482else 18483 cat 18484fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 18485 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 18486_ACEOF 18487 18488# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 18489# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 18490# trailing colons and then remove the whole line if VPATH becomes empty 18491# (actually we leave an empty line to preserve line numbers). 18492if test "x$srcdir" = x.; then 18493 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 18494h 18495s/// 18496s/^/:/ 18497s/[ ]*$/:/ 18498s/:\$(srcdir):/:/g 18499s/:\${srcdir}:/:/g 18500s/:@srcdir@:/:/g 18501s/^:*// 18502s/:*$// 18503x 18504s/\(=[ ]*\).*/\1/ 18505G 18506s/\n// 18507s/^[^=]*=[ ]*$// 18508}' 18509fi 18510 18511cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18512fi # test -n "$CONFIG_FILES" 18513 18514# Set up the scripts for CONFIG_HEADERS section. 18515# No need to generate them if there are no CONFIG_HEADERS. 18516# This happens for instance with `./config.status Makefile'. 18517if test -n "$CONFIG_HEADERS"; then 18518cat >"$ac_tmp/defines.awk" <<\_ACAWK || 18519BEGIN { 18520_ACEOF 18521 18522# Transform confdefs.h into an awk script `defines.awk', embedded as 18523# here-document in config.status, that substitutes the proper values into 18524# config.h.in to produce config.h. 18525 18526# Create a delimiter string that does not exist in confdefs.h, to ease 18527# handling of long lines. 18528ac_delim='%!_!# ' 18529for ac_last_try in false false :; do 18530 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 18531 if test -z "$ac_tt"; then 18532 break 18533 elif $ac_last_try; then 18534 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 18535 else 18536 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 18537 fi 18538done 18539 18540# For the awk script, D is an array of macro values keyed by name, 18541# likewise P contains macro parameters if any. Preserve backslash 18542# newline sequences. 18543 18544ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 18545sed -n ' 18546s/.\{148\}/&'"$ac_delim"'/g 18547t rset 18548:rset 18549s/^[ ]*#[ ]*define[ ][ ]*/ / 18550t def 18551d 18552:def 18553s/\\$// 18554t bsnl 18555s/["\\]/\\&/g 18556s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 18557D["\1"]=" \3"/p 18558s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 18559d 18560:bsnl 18561s/["\\]/\\&/g 18562s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 18563D["\1"]=" \3\\\\\\n"\\/p 18564t cont 18565s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 18566t cont 18567d 18568:cont 18569n 18570s/.\{148\}/&'"$ac_delim"'/g 18571t clear 18572:clear 18573s/\\$// 18574t bsnlc 18575s/["\\]/\\&/g; s/^/"/; s/$/"/p 18576d 18577:bsnlc 18578s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 18579b cont 18580' <confdefs.h | sed ' 18581s/'"$ac_delim"'/"\\\ 18582"/g' >>$CONFIG_STATUS || ac_write_fail=1 18583 18584cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18585 for (key in D) D_is_set[key] = 1 18586 FS = "" 18587} 18588/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 18589 line = \$ 0 18590 split(line, arg, " ") 18591 if (arg[1] == "#") { 18592 defundef = arg[2] 18593 mac1 = arg[3] 18594 } else { 18595 defundef = substr(arg[1], 2) 18596 mac1 = arg[2] 18597 } 18598 split(mac1, mac2, "(") #) 18599 macro = mac2[1] 18600 prefix = substr(line, 1, index(line, defundef) - 1) 18601 if (D_is_set[macro]) { 18602 # Preserve the white space surrounding the "#". 18603 print prefix "define", macro P[macro] D[macro] 18604 next 18605 } else { 18606 # Replace #undef with comments. This is necessary, for example, 18607 # in the case of _POSIX_SOURCE, which is predefined and required 18608 # on some systems where configure will not decide to define it. 18609 if (defundef == "undef") { 18610 print "/*", prefix defundef, macro, "*/" 18611 next 18612 } 18613 } 18614} 18615{ print } 18616_ACAWK 18617_ACEOF 18618cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18619 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 18620fi # test -n "$CONFIG_HEADERS" 18621 18622 18623eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 18624shift 18625for ac_tag 18626do 18627 case $ac_tag in 18628 :[FHLC]) ac_mode=$ac_tag; continue;; 18629 esac 18630 case $ac_mode$ac_tag in 18631 :[FHL]*:*);; 18632 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 18633 :[FH]-) ac_tag=-:-;; 18634 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 18635 esac 18636 ac_save_IFS=$IFS 18637 IFS=: 18638 set x $ac_tag 18639 IFS=$ac_save_IFS 18640 shift 18641 ac_file=$1 18642 shift 18643 18644 case $ac_mode in 18645 :L) ac_source=$1;; 18646 :[FH]) 18647 ac_file_inputs= 18648 for ac_f 18649 do 18650 case $ac_f in 18651 -) ac_f="$ac_tmp/stdin";; 18652 *) # Look for the file first in the build tree, then in the source tree 18653 # (if the path is not absolute). The absolute path cannot be DOS-style, 18654 # because $ac_f cannot contain `:'. 18655 test -f "$ac_f" || 18656 case $ac_f in 18657 [\\/$]*) false;; 18658 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 18659 esac || 18660 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 18661 esac 18662 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 18663 as_fn_append ac_file_inputs " '$ac_f'" 18664 done 18665 18666 # Let's still pretend it is `configure' which instantiates (i.e., don't 18667 # use $as_me), people would be surprised to read: 18668 # /* config.h. Generated by config.status. */ 18669 configure_input='Generated from '` 18670 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 18671 `' by configure.' 18672 if test x"$ac_file" != x-; then 18673 configure_input="$ac_file. $configure_input" 18674 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 18675$as_echo "$as_me: creating $ac_file" >&6;} 18676 fi 18677 # Neutralize special characters interpreted by sed in replacement strings. 18678 case $configure_input in #( 18679 *\&* | *\|* | *\\* ) 18680 ac_sed_conf_input=`$as_echo "$configure_input" | 18681 sed 's/[\\\\&|]/\\\\&/g'`;; #( 18682 *) ac_sed_conf_input=$configure_input;; 18683 esac 18684 18685 case $ac_tag in 18686 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 18687 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 18688 esac 18689 ;; 18690 esac 18691 18692 ac_dir=`$as_dirname -- "$ac_file" || 18693$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18694 X"$ac_file" : 'X\(//\)[^/]' \| \ 18695 X"$ac_file" : 'X\(//\)$' \| \ 18696 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 18697$as_echo X"$ac_file" | 18698 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18699 s//\1/ 18700 q 18701 } 18702 /^X\(\/\/\)[^/].*/{ 18703 s//\1/ 18704 q 18705 } 18706 /^X\(\/\/\)$/{ 18707 s//\1/ 18708 q 18709 } 18710 /^X\(\/\).*/{ 18711 s//\1/ 18712 q 18713 } 18714 s/.*/./; q'` 18715 as_dir="$ac_dir"; as_fn_mkdir_p 18716 ac_builddir=. 18717 18718case "$ac_dir" in 18719.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 18720*) 18721 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 18722 # A ".." for each directory in $ac_dir_suffix. 18723 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 18724 case $ac_top_builddir_sub in 18725 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 18726 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 18727 esac ;; 18728esac 18729ac_abs_top_builddir=$ac_pwd 18730ac_abs_builddir=$ac_pwd$ac_dir_suffix 18731# for backward compatibility: 18732ac_top_builddir=$ac_top_build_prefix 18733 18734case $srcdir in 18735 .) # We are building in place. 18736 ac_srcdir=. 18737 ac_top_srcdir=$ac_top_builddir_sub 18738 ac_abs_top_srcdir=$ac_pwd ;; 18739 [\\/]* | ?:[\\/]* ) # Absolute name. 18740 ac_srcdir=$srcdir$ac_dir_suffix; 18741 ac_top_srcdir=$srcdir 18742 ac_abs_top_srcdir=$srcdir ;; 18743 *) # Relative name. 18744 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 18745 ac_top_srcdir=$ac_top_build_prefix$srcdir 18746 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 18747esac 18748ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 18749 18750 18751 case $ac_mode in 18752 :F) 18753 # 18754 # CONFIG_FILE 18755 # 18756 18757 case $INSTALL in 18758 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 18759 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 18760 esac 18761 ac_MKDIR_P=$MKDIR_P 18762 case $MKDIR_P in 18763 [\\/$]* | ?:[\\/]* ) ;; 18764 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 18765 esac 18766_ACEOF 18767 18768cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18769# If the template does not know about datarootdir, expand it. 18770# FIXME: This hack should be removed a few years after 2.60. 18771ac_datarootdir_hack=; ac_datarootdir_seen= 18772ac_sed_dataroot=' 18773/datarootdir/ { 18774 p 18775 q 18776} 18777/@datadir@/p 18778/@docdir@/p 18779/@infodir@/p 18780/@localedir@/p 18781/@mandir@/p' 18782case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 18783*datarootdir*) ac_datarootdir_seen=yes;; 18784*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 18785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 18786$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 18787_ACEOF 18788cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18789 ac_datarootdir_hack=' 18790 s&@datadir@&$datadir&g 18791 s&@docdir@&$docdir&g 18792 s&@infodir@&$infodir&g 18793 s&@localedir@&$localedir&g 18794 s&@mandir@&$mandir&g 18795 s&\\\${datarootdir}&$datarootdir&g' ;; 18796esac 18797_ACEOF 18798 18799# Neutralize VPATH when `$srcdir' = `.'. 18800# Shell code in configure.ac might set extrasub. 18801# FIXME: do we really want to maintain this feature? 18802cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18803ac_sed_extra="$ac_vpsub 18804$extrasub 18805_ACEOF 18806cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18807:t 18808/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 18809s|@configure_input@|$ac_sed_conf_input|;t t 18810s&@top_builddir@&$ac_top_builddir_sub&;t t 18811s&@top_build_prefix@&$ac_top_build_prefix&;t t 18812s&@srcdir@&$ac_srcdir&;t t 18813s&@abs_srcdir@&$ac_abs_srcdir&;t t 18814s&@top_srcdir@&$ac_top_srcdir&;t t 18815s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 18816s&@builddir@&$ac_builddir&;t t 18817s&@abs_builddir@&$ac_abs_builddir&;t t 18818s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 18819s&@INSTALL@&$ac_INSTALL&;t t 18820s&@MKDIR_P@&$ac_MKDIR_P&;t t 18821$ac_datarootdir_hack 18822" 18823eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 18824 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18825 18826test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 18827 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 18828 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 18829 "$ac_tmp/out"`; test -z "$ac_out"; } && 18830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 18831which seems to be undefined. Please make sure it is defined" >&5 18832$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 18833which seems to be undefined. Please make sure it is defined" >&2;} 18834 18835 rm -f "$ac_tmp/stdin" 18836 case $ac_file in 18837 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 18838 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 18839 esac \ 18840 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18841 ;; 18842 :H) 18843 # 18844 # CONFIG_HEADER 18845 # 18846 if test x"$ac_file" != x-; then 18847 { 18848 $as_echo "/* $configure_input */" \ 18849 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 18850 } >"$ac_tmp/config.h" \ 18851 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18852 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 18853 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 18854$as_echo "$as_me: $ac_file is unchanged" >&6;} 18855 else 18856 rm -f "$ac_file" 18857 mv "$ac_tmp/config.h" "$ac_file" \ 18858 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18859 fi 18860 else 18861 $as_echo "/* $configure_input */" \ 18862 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 18863 || as_fn_error $? "could not create -" "$LINENO" 5 18864 fi 18865# Compute "$ac_file"'s index in $config_headers. 18866_am_arg="$ac_file" 18867_am_stamp_count=1 18868for _am_header in $config_headers :; do 18869 case $_am_header in 18870 $_am_arg | $_am_arg:* ) 18871 break ;; 18872 * ) 18873 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 18874 esac 18875done 18876echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 18877$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18878 X"$_am_arg" : 'X\(//\)[^/]' \| \ 18879 X"$_am_arg" : 'X\(//\)$' \| \ 18880 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 18881$as_echo X"$_am_arg" | 18882 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18883 s//\1/ 18884 q 18885 } 18886 /^X\(\/\/\)[^/].*/{ 18887 s//\1/ 18888 q 18889 } 18890 /^X\(\/\/\)$/{ 18891 s//\1/ 18892 q 18893 } 18894 /^X\(\/\).*/{ 18895 s//\1/ 18896 q 18897 } 18898 s/.*/./; q'`/stamp-h$_am_stamp_count 18899 ;; 18900 18901 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 18902$as_echo "$as_me: executing $ac_file commands" >&6;} 18903 ;; 18904 esac 18905 18906 18907 case $ac_file$ac_mode in 18908 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 18909 # Older Autoconf quotes --file arguments for eval, but not when files 18910 # are listed without --file. Let's play safe and only enable the eval 18911 # if we detect the quoting. 18912 case $CONFIG_FILES in 18913 *\'*) eval set x "$CONFIG_FILES" ;; 18914 *) set x $CONFIG_FILES ;; 18915 esac 18916 shift 18917 for mf 18918 do 18919 # Strip MF so we end up with the name of the file. 18920 mf=`echo "$mf" | sed -e 's/:.*$//'` 18921 # Check whether this is an Automake generated Makefile or not. 18922 # We used to match only the files named 'Makefile.in', but 18923 # some people rename them; so instead we look at the file content. 18924 # Grep'ing the first line is not enough: some people post-process 18925 # each Makefile.in and add a new line on top of each file to say so. 18926 # Grep'ing the whole file is not good either: AIX grep has a line 18927 # limit of 2048, but all sed's we know have understand at least 4000. 18928 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 18929 dirpart=`$as_dirname -- "$mf" || 18930$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18931 X"$mf" : 'X\(//\)[^/]' \| \ 18932 X"$mf" : 'X\(//\)$' \| \ 18933 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 18934$as_echo X"$mf" | 18935 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18936 s//\1/ 18937 q 18938 } 18939 /^X\(\/\/\)[^/].*/{ 18940 s//\1/ 18941 q 18942 } 18943 /^X\(\/\/\)$/{ 18944 s//\1/ 18945 q 18946 } 18947 /^X\(\/\).*/{ 18948 s//\1/ 18949 q 18950 } 18951 s/.*/./; q'` 18952 else 18953 continue 18954 fi 18955 # Extract the definition of DEPDIR, am__include, and am__quote 18956 # from the Makefile without running 'make'. 18957 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 18958 test -z "$DEPDIR" && continue 18959 am__include=`sed -n 's/^am__include = //p' < "$mf"` 18960 test -z "$am__include" && continue 18961 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 18962 # Find all dependency output files, they are included files with 18963 # $(DEPDIR) in their names. We invoke sed twice because it is the 18964 # simplest approach to changing $(DEPDIR) to its actual value in the 18965 # expansion. 18966 for file in `sed -n " 18967 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 18968 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 18969 # Make sure the directory exists. 18970 test -f "$dirpart/$file" && continue 18971 fdir=`$as_dirname -- "$file" || 18972$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18973 X"$file" : 'X\(//\)[^/]' \| \ 18974 X"$file" : 'X\(//\)$' \| \ 18975 X"$file" : 'X\(/\)' \| . 2>/dev/null || 18976$as_echo X"$file" | 18977 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18978 s//\1/ 18979 q 18980 } 18981 /^X\(\/\/\)[^/].*/{ 18982 s//\1/ 18983 q 18984 } 18985 /^X\(\/\/\)$/{ 18986 s//\1/ 18987 q 18988 } 18989 /^X\(\/\).*/{ 18990 s//\1/ 18991 q 18992 } 18993 s/.*/./; q'` 18994 as_dir=$dirpart/$fdir; as_fn_mkdir_p 18995 # echo "creating $dirpart/$file" 18996 echo '# dummy' > "$dirpart/$file" 18997 done 18998 done 18999} 19000 ;; 19001 "libtool":C) 19002 19003 # See if we are running on zsh, and set the options that allow our 19004 # commands through without removal of \ escapes. 19005 if test -n "${ZSH_VERSION+set}"; then 19006 setopt NO_GLOB_SUBST 19007 fi 19008 19009 cfgfile=${ofile}T 19010 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 19011 $RM "$cfgfile" 19012 19013 cat <<_LT_EOF >> "$cfgfile" 19014#! $SHELL 19015# Generated automatically by $as_me ($PACKAGE) $VERSION 19016# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 19017# NOTE: Changes made to this file will be lost: look at ltmain.sh. 19018 19019# Provide generalized library-building support services. 19020# Written by Gordon Matzigkeit, 1996 19021 19022# Copyright (C) 2014 Free Software Foundation, Inc. 19023# This is free software; see the source for copying conditions. There is NO 19024# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 19025 19026# GNU Libtool is free software; you can redistribute it and/or modify 19027# it under the terms of the GNU General Public License as published by 19028# the Free Software Foundation; either version 2 of of the License, or 19029# (at your option) any later version. 19030# 19031# As a special exception to the GNU General Public License, if you 19032# distribute this file as part of a program or library that is built 19033# using GNU Libtool, you may include this file under the same 19034# distribution terms that you use for the rest of that program. 19035# 19036# GNU Libtool is distributed in the hope that it will be useful, but 19037# WITHOUT ANY WARRANTY; without even the implied warranty of 19038# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19039# GNU General Public License for more details. 19040# 19041# You should have received a copy of the GNU General Public License 19042# along with this program. If not, see <http://www.gnu.org/licenses/>. 19043 19044 19045# The names of the tagged configurations supported by this script. 19046available_tags='CXX ' 19047 19048# Configured defaults for sys_lib_dlsearch_path munging. 19049: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 19050 19051# ### BEGIN LIBTOOL CONFIG 19052 19053# Which release of libtool.m4 was used? 19054macro_version=$macro_version 19055macro_revision=$macro_revision 19056 19057# Whether or not to build shared libraries. 19058build_libtool_libs=$enable_shared 19059 19060# Whether or not to build static libraries. 19061build_old_libs=$enable_static 19062 19063# What type of objects to build. 19064pic_mode=$pic_mode 19065 19066# Whether or not to optimize for fast installation. 19067fast_install=$enable_fast_install 19068 19069# Shared archive member basename,for filename based shared library versioning on AIX. 19070shared_archive_member_spec=$shared_archive_member_spec 19071 19072# Shell to use when invoking shell scripts. 19073SHELL=$lt_SHELL 19074 19075# An echo program that protects backslashes. 19076ECHO=$lt_ECHO 19077 19078# The PATH separator for the build system. 19079PATH_SEPARATOR=$lt_PATH_SEPARATOR 19080 19081# The host system. 19082host_alias=$host_alias 19083host=$host 19084host_os=$host_os 19085 19086# The build system. 19087build_alias=$build_alias 19088build=$build 19089build_os=$build_os 19090 19091# A sed program that does not truncate output. 19092SED=$lt_SED 19093 19094# Sed that helps us avoid accidentally triggering echo(1) options like -n. 19095Xsed="\$SED -e 1s/^X//" 19096 19097# A grep program that handles long lines. 19098GREP=$lt_GREP 19099 19100# An ERE matcher. 19101EGREP=$lt_EGREP 19102 19103# A literal string matcher. 19104FGREP=$lt_FGREP 19105 19106# A BSD- or MS-compatible name lister. 19107NM=$lt_NM 19108 19109# Whether we need soft or hard links. 19110LN_S=$lt_LN_S 19111 19112# What is the maximum length of a command? 19113max_cmd_len=$max_cmd_len 19114 19115# Object file suffix (normally "o"). 19116objext=$ac_objext 19117 19118# Executable file suffix (normally ""). 19119exeext=$exeext 19120 19121# whether the shell understands "unset". 19122lt_unset=$lt_unset 19123 19124# turn spaces into newlines. 19125SP2NL=$lt_lt_SP2NL 19126 19127# turn newlines into spaces. 19128NL2SP=$lt_lt_NL2SP 19129 19130# convert \$build file names to \$host format. 19131to_host_file_cmd=$lt_cv_to_host_file_cmd 19132 19133# convert \$build files to toolchain format. 19134to_tool_file_cmd=$lt_cv_to_tool_file_cmd 19135 19136# An object symbol dumper. 19137OBJDUMP=$lt_OBJDUMP 19138 19139# Method to check whether dependent libraries are shared objects. 19140deplibs_check_method=$lt_deplibs_check_method 19141 19142# Command to use when deplibs_check_method = "file_magic". 19143file_magic_cmd=$lt_file_magic_cmd 19144 19145# How to find potential files when deplibs_check_method = "file_magic". 19146file_magic_glob=$lt_file_magic_glob 19147 19148# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 19149want_nocaseglob=$lt_want_nocaseglob 19150 19151# DLL creation program. 19152DLLTOOL=$lt_DLLTOOL 19153 19154# Command to associate shared and link libraries. 19155sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 19156 19157# The archiver. 19158AR=$lt_AR 19159 19160# Flags to create an archive. 19161AR_FLAGS=$lt_AR_FLAGS 19162 19163# How to feed a file listing to the archiver. 19164archiver_list_spec=$lt_archiver_list_spec 19165 19166# A symbol stripping program. 19167STRIP=$lt_STRIP 19168 19169# Commands used to install an old-style archive. 19170RANLIB=$lt_RANLIB 19171old_postinstall_cmds=$lt_old_postinstall_cmds 19172old_postuninstall_cmds=$lt_old_postuninstall_cmds 19173 19174# Whether to use a lock for old archive extraction. 19175lock_old_archive_extraction=$lock_old_archive_extraction 19176 19177# A C compiler. 19178LTCC=$lt_CC 19179 19180# LTCC compiler flags. 19181LTCFLAGS=$lt_CFLAGS 19182 19183# Take the output of nm and produce a listing of raw symbols and C names. 19184global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 19185 19186# Transform the output of nm in a proper C declaration. 19187global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 19188 19189# Transform the output of nm into a list of symbols to manually relocate. 19190global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 19191 19192# Transform the output of nm in a C name address pair. 19193global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 19194 19195# Transform the output of nm in a C name address pair when lib prefix is needed. 19196global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 19197 19198# The name lister interface. 19199nm_interface=$lt_lt_cv_nm_interface 19200 19201# Specify filename containing input files for \$NM. 19202nm_file_list_spec=$lt_nm_file_list_spec 19203 19204# The root where to search for dependent libraries,and where our libraries should be installed. 19205lt_sysroot=$lt_sysroot 19206 19207# Command to truncate a binary pipe. 19208lt_truncate_bin=$lt_lt_cv_truncate_bin 19209 19210# The name of the directory that contains temporary libtool files. 19211objdir=$objdir 19212 19213# Used to examine libraries when file_magic_cmd begins with "file". 19214MAGIC_CMD=$MAGIC_CMD 19215 19216# Must we lock files when doing compilation? 19217need_locks=$lt_need_locks 19218 19219# Manifest tool. 19220MANIFEST_TOOL=$lt_MANIFEST_TOOL 19221 19222# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 19223DSYMUTIL=$lt_DSYMUTIL 19224 19225# Tool to change global to local symbols on Mac OS X. 19226NMEDIT=$lt_NMEDIT 19227 19228# Tool to manipulate fat objects and archives on Mac OS X. 19229LIPO=$lt_LIPO 19230 19231# ldd/readelf like tool for Mach-O binaries on Mac OS X. 19232OTOOL=$lt_OTOOL 19233 19234# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 19235OTOOL64=$lt_OTOOL64 19236 19237# Old archive suffix (normally "a"). 19238libext=$libext 19239 19240# Shared library suffix (normally ".so"). 19241shrext_cmds=$lt_shrext_cmds 19242 19243# The commands to extract the exported symbol list from a shared archive. 19244extract_expsyms_cmds=$lt_extract_expsyms_cmds 19245 19246# Variables whose values should be saved in libtool wrapper scripts and 19247# restored at link time. 19248variables_saved_for_relink=$lt_variables_saved_for_relink 19249 19250# Do we need the "lib" prefix for modules? 19251need_lib_prefix=$need_lib_prefix 19252 19253# Do we need a version for libraries? 19254need_version=$need_version 19255 19256# Library versioning type. 19257version_type=$version_type 19258 19259# Shared library runtime path variable. 19260runpath_var=$runpath_var 19261 19262# Shared library path variable. 19263shlibpath_var=$shlibpath_var 19264 19265# Is shlibpath searched before the hard-coded library search path? 19266shlibpath_overrides_runpath=$shlibpath_overrides_runpath 19267 19268# Format of library name prefix. 19269libname_spec=$lt_libname_spec 19270 19271# List of archive names. First name is the real one, the rest are links. 19272# The last name is the one that the linker finds with -lNAME 19273library_names_spec=$lt_library_names_spec 19274 19275# The coded name of the library, if different from the real name. 19276soname_spec=$lt_soname_spec 19277 19278# Permission mode override for installation of shared libraries. 19279install_override_mode=$lt_install_override_mode 19280 19281# Command to use after installation of a shared archive. 19282postinstall_cmds=$lt_postinstall_cmds 19283 19284# Command to use after uninstallation of a shared archive. 19285postuninstall_cmds=$lt_postuninstall_cmds 19286 19287# Commands used to finish a libtool library installation in a directory. 19288finish_cmds=$lt_finish_cmds 19289 19290# As "finish_cmds", except a single script fragment to be evaled but 19291# not shown. 19292finish_eval=$lt_finish_eval 19293 19294# Whether we should hardcode library paths into libraries. 19295hardcode_into_libs=$hardcode_into_libs 19296 19297# Compile-time system search path for libraries. 19298sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 19299 19300# Detected run-time system search path for libraries. 19301sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 19302 19303# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 19304configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 19305 19306# Whether dlopen is supported. 19307dlopen_support=$enable_dlopen 19308 19309# Whether dlopen of programs is supported. 19310dlopen_self=$enable_dlopen_self 19311 19312# Whether dlopen of statically linked programs is supported. 19313dlopen_self_static=$enable_dlopen_self_static 19314 19315# Commands to strip libraries. 19316old_striplib=$lt_old_striplib 19317striplib=$lt_striplib 19318 19319 19320# The linker used to build libraries. 19321LD=$lt_LD 19322 19323# How to create reloadable object files. 19324reload_flag=$lt_reload_flag 19325reload_cmds=$lt_reload_cmds 19326 19327# Commands used to build an old-style archive. 19328old_archive_cmds=$lt_old_archive_cmds 19329 19330# A language specific compiler. 19331CC=$lt_compiler 19332 19333# Is the compiler the GNU compiler? 19334with_gcc=$GCC 19335 19336# Compiler flag to turn off builtin functions. 19337no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 19338 19339# Additional compiler flags for building library objects. 19340pic_flag=$lt_lt_prog_compiler_pic 19341 19342# How to pass a linker flag through the compiler. 19343wl=$lt_lt_prog_compiler_wl 19344 19345# Compiler flag to prevent dynamic linking. 19346link_static_flag=$lt_lt_prog_compiler_static 19347 19348# Does compiler simultaneously support -c and -o options? 19349compiler_c_o=$lt_lt_cv_prog_compiler_c_o 19350 19351# Whether or not to add -lc for building shared libraries. 19352build_libtool_need_lc=$archive_cmds_need_lc 19353 19354# Whether or not to disallow shared libs when runtime libs are static. 19355allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 19356 19357# Compiler flag to allow reflexive dlopens. 19358export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 19359 19360# Compiler flag to generate shared objects directly from archives. 19361whole_archive_flag_spec=$lt_whole_archive_flag_spec 19362 19363# Whether the compiler copes with passing no objects directly. 19364compiler_needs_object=$lt_compiler_needs_object 19365 19366# Create an old-style archive from a shared archive. 19367old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 19368 19369# Create a temporary old-style archive to link instead of a shared archive. 19370old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 19371 19372# Commands used to build a shared archive. 19373archive_cmds=$lt_archive_cmds 19374archive_expsym_cmds=$lt_archive_expsym_cmds 19375 19376# Commands used to build a loadable module if different from building 19377# a shared archive. 19378module_cmds=$lt_module_cmds 19379module_expsym_cmds=$lt_module_expsym_cmds 19380 19381# Whether we are building with GNU ld or not. 19382with_gnu_ld=$lt_with_gnu_ld 19383 19384# Flag that allows shared libraries with undefined symbols to be built. 19385allow_undefined_flag=$lt_allow_undefined_flag 19386 19387# Flag that enforces no undefined symbols. 19388no_undefined_flag=$lt_no_undefined_flag 19389 19390# Flag to hardcode \$libdir into a binary during linking. 19391# This must work even if \$libdir does not exist 19392hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 19393 19394# Whether we need a single "-rpath" flag with a separated argument. 19395hardcode_libdir_separator=$lt_hardcode_libdir_separator 19396 19397# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 19398# DIR into the resulting binary. 19399hardcode_direct=$hardcode_direct 19400 19401# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 19402# DIR into the resulting binary and the resulting library dependency is 19403# "absolute",i.e impossible to change by setting \$shlibpath_var if the 19404# library is relocated. 19405hardcode_direct_absolute=$hardcode_direct_absolute 19406 19407# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 19408# into the resulting binary. 19409hardcode_minus_L=$hardcode_minus_L 19410 19411# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 19412# into the resulting binary. 19413hardcode_shlibpath_var=$hardcode_shlibpath_var 19414 19415# Set to "yes" if building a shared library automatically hardcodes DIR 19416# into the library and all subsequent libraries and executables linked 19417# against it. 19418hardcode_automatic=$hardcode_automatic 19419 19420# Set to yes if linker adds runtime paths of dependent libraries 19421# to runtime path list. 19422inherit_rpath=$inherit_rpath 19423 19424# Whether libtool must link a program against all its dependency libraries. 19425link_all_deplibs=$link_all_deplibs 19426 19427# Set to "yes" if exported symbols are required. 19428always_export_symbols=$always_export_symbols 19429 19430# The commands to list exported symbols. 19431export_symbols_cmds=$lt_export_symbols_cmds 19432 19433# Symbols that should not be listed in the preloaded symbols. 19434exclude_expsyms=$lt_exclude_expsyms 19435 19436# Symbols that must always be exported. 19437include_expsyms=$lt_include_expsyms 19438 19439# Commands necessary for linking programs (against libraries) with templates. 19440prelink_cmds=$lt_prelink_cmds 19441 19442# Commands necessary for finishing linking programs. 19443postlink_cmds=$lt_postlink_cmds 19444 19445# Specify filename containing input files. 19446file_list_spec=$lt_file_list_spec 19447 19448# How to hardcode a shared library path into an executable. 19449hardcode_action=$hardcode_action 19450 19451# The directories searched by this compiler when creating a shared library. 19452compiler_lib_search_dirs=$lt_compiler_lib_search_dirs 19453 19454# Dependencies to place before and after the objects being linked to 19455# create a shared library. 19456predep_objects=$lt_predep_objects 19457postdep_objects=$lt_postdep_objects 19458predeps=$lt_predeps 19459postdeps=$lt_postdeps 19460 19461# The library search path used internally by the compiler when linking 19462# a shared library. 19463compiler_lib_search_path=$lt_compiler_lib_search_path 19464 19465# ### END LIBTOOL CONFIG 19466 19467_LT_EOF 19468 19469 cat <<'_LT_EOF' >> "$cfgfile" 19470 19471# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 19472 19473# func_munge_path_list VARIABLE PATH 19474# ----------------------------------- 19475# VARIABLE is name of variable containing _space_ separated list of 19476# directories to be munged by the contents of PATH, which is string 19477# having a format: 19478# "DIR[:DIR]:" 19479# string "DIR[ DIR]" will be prepended to VARIABLE 19480# ":DIR[:DIR]" 19481# string "DIR[ DIR]" will be appended to VARIABLE 19482# "DIRP[:DIRP]::[DIRA:]DIRA" 19483# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 19484# "DIRA[ DIRA]" will be appended to VARIABLE 19485# "DIR[:DIR]" 19486# VARIABLE will be replaced by "DIR[ DIR]" 19487func_munge_path_list () 19488{ 19489 case x$2 in 19490 x) 19491 ;; 19492 *:) 19493 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 19494 ;; 19495 x:*) 19496 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 19497 ;; 19498 *::*) 19499 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 19500 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 19501 ;; 19502 *) 19503 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 19504 ;; 19505 esac 19506} 19507 19508 19509# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 19510func_cc_basename () 19511{ 19512 for cc_temp in $*""; do 19513 case $cc_temp in 19514 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 19515 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 19516 \-*) ;; 19517 *) break;; 19518 esac 19519 done 19520 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 19521} 19522 19523 19524# ### END FUNCTIONS SHARED WITH CONFIGURE 19525 19526_LT_EOF 19527 19528 case $host_os in 19529 aix3*) 19530 cat <<\_LT_EOF >> "$cfgfile" 19531# AIX sometimes has problems with the GCC collect2 program. For some 19532# reason, if we set the COLLECT_NAMES environment variable, the problems 19533# vanish in a puff of smoke. 19534if test set != "${COLLECT_NAMES+set}"; then 19535 COLLECT_NAMES= 19536 export COLLECT_NAMES 19537fi 19538_LT_EOF 19539 ;; 19540 esac 19541 19542 19543ltmain=$ac_aux_dir/ltmain.sh 19544 19545 19546 # We use sed instead of cat because bash on DJGPP gets confused if 19547 # if finds mixed CR/LF and LF-only lines. Since sed operates in 19548 # text mode, it properly converts lines to CR/LF. This bash problem 19549 # is reportedly fixed, but why not run on old versions too? 19550 sed '$q' "$ltmain" >> "$cfgfile" \ 19551 || (rm -f "$cfgfile"; exit 1) 19552 19553 mv -f "$cfgfile" "$ofile" || 19554 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 19555 chmod +x "$ofile" 19556 19557 19558 cat <<_LT_EOF >> "$ofile" 19559 19560# ### BEGIN LIBTOOL TAG CONFIG: CXX 19561 19562# The linker used to build libraries. 19563LD=$lt_LD_CXX 19564 19565# How to create reloadable object files. 19566reload_flag=$lt_reload_flag_CXX 19567reload_cmds=$lt_reload_cmds_CXX 19568 19569# Commands used to build an old-style archive. 19570old_archive_cmds=$lt_old_archive_cmds_CXX 19571 19572# A language specific compiler. 19573CC=$lt_compiler_CXX 19574 19575# Is the compiler the GNU compiler? 19576with_gcc=$GCC_CXX 19577 19578# Compiler flag to turn off builtin functions. 19579no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 19580 19581# Additional compiler flags for building library objects. 19582pic_flag=$lt_lt_prog_compiler_pic_CXX 19583 19584# How to pass a linker flag through the compiler. 19585wl=$lt_lt_prog_compiler_wl_CXX 19586 19587# Compiler flag to prevent dynamic linking. 19588link_static_flag=$lt_lt_prog_compiler_static_CXX 19589 19590# Does compiler simultaneously support -c and -o options? 19591compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX 19592 19593# Whether or not to add -lc for building shared libraries. 19594build_libtool_need_lc=$archive_cmds_need_lc_CXX 19595 19596# Whether or not to disallow shared libs when runtime libs are static. 19597allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX 19598 19599# Compiler flag to allow reflexive dlopens. 19600export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX 19601 19602# Compiler flag to generate shared objects directly from archives. 19603whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX 19604 19605# Whether the compiler copes with passing no objects directly. 19606compiler_needs_object=$lt_compiler_needs_object_CXX 19607 19608# Create an old-style archive from a shared archive. 19609old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX 19610 19611# Create a temporary old-style archive to link instead of a shared archive. 19612old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX 19613 19614# Commands used to build a shared archive. 19615archive_cmds=$lt_archive_cmds_CXX 19616archive_expsym_cmds=$lt_archive_expsym_cmds_CXX 19617 19618# Commands used to build a loadable module if different from building 19619# a shared archive. 19620module_cmds=$lt_module_cmds_CXX 19621module_expsym_cmds=$lt_module_expsym_cmds_CXX 19622 19623# Whether we are building with GNU ld or not. 19624with_gnu_ld=$lt_with_gnu_ld_CXX 19625 19626# Flag that allows shared libraries with undefined symbols to be built. 19627allow_undefined_flag=$lt_allow_undefined_flag_CXX 19628 19629# Flag that enforces no undefined symbols. 19630no_undefined_flag=$lt_no_undefined_flag_CXX 19631 19632# Flag to hardcode \$libdir into a binary during linking. 19633# This must work even if \$libdir does not exist 19634hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX 19635 19636# Whether we need a single "-rpath" flag with a separated argument. 19637hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX 19638 19639# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 19640# DIR into the resulting binary. 19641hardcode_direct=$hardcode_direct_CXX 19642 19643# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 19644# DIR into the resulting binary and the resulting library dependency is 19645# "absolute",i.e impossible to change by setting \$shlibpath_var if the 19646# library is relocated. 19647hardcode_direct_absolute=$hardcode_direct_absolute_CXX 19648 19649# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 19650# into the resulting binary. 19651hardcode_minus_L=$hardcode_minus_L_CXX 19652 19653# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 19654# into the resulting binary. 19655hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX 19656 19657# Set to "yes" if building a shared library automatically hardcodes DIR 19658# into the library and all subsequent libraries and executables linked 19659# against it. 19660hardcode_automatic=$hardcode_automatic_CXX 19661 19662# Set to yes if linker adds runtime paths of dependent libraries 19663# to runtime path list. 19664inherit_rpath=$inherit_rpath_CXX 19665 19666# Whether libtool must link a program against all its dependency libraries. 19667link_all_deplibs=$link_all_deplibs_CXX 19668 19669# Set to "yes" if exported symbols are required. 19670always_export_symbols=$always_export_symbols_CXX 19671 19672# The commands to list exported symbols. 19673export_symbols_cmds=$lt_export_symbols_cmds_CXX 19674 19675# Symbols that should not be listed in the preloaded symbols. 19676exclude_expsyms=$lt_exclude_expsyms_CXX 19677 19678# Symbols that must always be exported. 19679include_expsyms=$lt_include_expsyms_CXX 19680 19681# Commands necessary for linking programs (against libraries) with templates. 19682prelink_cmds=$lt_prelink_cmds_CXX 19683 19684# Commands necessary for finishing linking programs. 19685postlink_cmds=$lt_postlink_cmds_CXX 19686 19687# Specify filename containing input files. 19688file_list_spec=$lt_file_list_spec_CXX 19689 19690# How to hardcode a shared library path into an executable. 19691hardcode_action=$hardcode_action_CXX 19692 19693# The directories searched by this compiler when creating a shared library. 19694compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX 19695 19696# Dependencies to place before and after the objects being linked to 19697# create a shared library. 19698predep_objects=$lt_predep_objects_CXX 19699postdep_objects=$lt_postdep_objects_CXX 19700predeps=$lt_predeps_CXX 19701postdeps=$lt_postdeps_CXX 19702 19703# The library search path used internally by the compiler when linking 19704# a shared library. 19705compiler_lib_search_path=$lt_compiler_lib_search_path_CXX 19706 19707# ### END LIBTOOL TAG CONFIG: CXX 19708_LT_EOF 19709 19710 ;; 19711 19712 esac 19713done # for ac_tag 19714 19715 19716as_fn_exit 0 19717_ACEOF 19718ac_clean_files=$ac_clean_files_save 19719 19720test $ac_write_fail = 0 || 19721 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 19722 19723 19724# configure is writing to config.log, and then calls config.status. 19725# config.status does its own redirection, appending to config.log. 19726# Unfortunately, on DOS this fails, as config.log is still kept open 19727# by configure, so config.status won't be able to write to it; its 19728# output is simply discarded. So we exec the FD to /dev/null, 19729# effectively closing config.log, so it can be properly (re)opened and 19730# appended to by config.status. When coming back to configure, we 19731# need to make the FD available again. 19732if test "$no_create" != yes; then 19733 ac_cs_success=: 19734 ac_config_status_args= 19735 test "$silent" = yes && 19736 ac_config_status_args="$ac_config_status_args --quiet" 19737 exec 5>/dev/null 19738 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 19739 exec 5>>config.log 19740 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 19741 # would make configure fail if this is the last instruction. 19742 $ac_cs_success || as_fn_exit 1 19743fi 19744if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 19745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 19746$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 19747fi 19748 19749 19750