1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for xmlsec1 1.2.29. 4# 5# Report bugs to <http://www.aleksey.com/xmlsec>. 6# 7# 8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9# 10# 11# This configure script is free software; the Free Software Foundation 12# gives unlimited permission to copy, distribute and modify it. 13## -------------------- ## 14## M4sh Initialization. ## 15## -------------------- ## 16 17# Be more Bourne compatible 18DUALCASE=1; export DUALCASE # for MKS sh 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32esac 33fi 34 35 36as_nl=' 37' 38export as_nl 39# Printing a long string crashes Solaris 7 /usr/bin/printf. 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43# Prefer a ksh shell builtin over an external printf program on Solaris, 44# but without wasting forks for bash or zsh. 45if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83 84# IFS 85# We need space, tab and new line, in precisely that order. Quoting is 86# there to prevent editors from complaining about space-tab. 87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 88# splitting by setting IFS to empty value.) 89IFS=" "" $as_nl" 90 91# Find who we are. Look in the path if we contain no directory separator. 92as_myself= 93case $0 in #(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96for as_dir in $PATH 97do 98 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 102IFS=$as_save_IFS 103 104 ;; 105esac 106# We did not find ourselves, most probably we were run as `sh COMMAND' 107# in which case we are not to be found in the path. 108if test "x$as_myself" = x; then 109 as_myself=$0 110fi 111if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114fi 115 116# Unset variables that we do not need and which cause bugs (e.g. in 117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118# suppresses any "Segmentation fault" message there. '((' could 119# trigger a bug in pdksh 5.2.14. 120for as_var in BASH_ENV ENV MAIL MAILPATH 121do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123done 124PS1='$ ' 125PS2='> ' 126PS4='+ ' 127 128# NLS nuisances. 129LC_ALL=C 130export LC_ALL 131LANGUAGE=C 132export LANGUAGE 133 134# CDPATH. 135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137# Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142# neutralization value for shells without unset; and this also 143# works around shells that cannot unset nonexistent variables. 144# Preserve -v and -x to the replacement shell. 145BASH_ENV=/dev/null 146ENV=/dev/null 147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153esac 154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155# Admittedly, this is quite paranoid, since all the known shells bail 156# out after a failed `exec'. 157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176esac 177fi 178" 179 as_required="as_fn_return () { (exit \$1); } 180as_fn_success () { as_fn_return 0; } 181as_fn_failure () { as_fn_return 1; } 182as_fn_ret_success () { return 0; } 183as_fn_ret_failure () { return 1; } 184 185exitcode=0 186as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192else 193 exitcode=1; echo positional parameters were not saved. 194fi 195test x\$exitcode = x0 || exit 1 196test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201test \$(( 1 + 1 )) = 2 || exit 1 202 203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 207 PATH=/empty FPATH=/empty; export PATH FPATH 208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" 210 if (eval "$as_required") 2>/dev/null; then : 211 as_have_required=yes 212else 213 as_have_required=no 214fi 215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 216 217else 218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 219as_found=false 220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 221do 222 IFS=$as_save_IFS 223 test -z "$as_dir" && as_dir=. 224 as_found=: 225 case $as_dir in #( 226 /*) 227 for as_base in sh bash ksh sh5; do 228 # Try only shells that exist, to save several forks. 229 as_shell=$as_dir/$as_base 230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 CONFIG_SHELL=$as_shell as_have_required=yes 233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 234 break 2 235fi 236fi 237 done;; 238 esac 239 as_found=false 240done 241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 243 CONFIG_SHELL=$SHELL as_have_required=yes 244fi; } 245IFS=$as_save_IFS 246 247 248 if test "x$CONFIG_SHELL" != x; then : 249 export CONFIG_SHELL 250 # We cannot yet assume a decent shell, so we have to provide a 251# neutralization value for shells without unset; and this also 252# works around shells that cannot unset nonexistent variables. 253# Preserve -v and -x to the replacement shell. 254BASH_ENV=/dev/null 255ENV=/dev/null 256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 257case $- in # (((( 258 *v*x* | *x*v* ) as_opts=-vx ;; 259 *v* ) as_opts=-v ;; 260 *x* ) as_opts=-x ;; 261 * ) as_opts= ;; 262esac 263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 264# Admittedly, this is quite paranoid, since all the known shells bail 265# out after a failed `exec'. 266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 267exit 255 268fi 269 270 if test x$as_have_required = xno; then : 271 $as_echo "$0: This script requires a shell more modern than all" 272 $as_echo "$0: the shells that I found on your system." 273 if test x${ZSH_VERSION+set} = xset ; then 274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 275 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 276 else 277 $as_echo "$0: Please tell bug-autoconf@gnu.org and 278$0: http://www.aleksey.com/xmlsec about your system, 279$0: including any error possibly output before this 280$0: message. Then install a modern shell, or manually run 281$0: the script under such a shell if you do have one." 282 fi 283 exit 1 284fi 285fi 286fi 287SHELL=${CONFIG_SHELL-/bin/sh} 288export SHELL 289# Unset more variables known to interfere with behavior of common tools. 290CLICOLOR_FORCE= GREP_OPTIONS= 291unset CLICOLOR_FORCE GREP_OPTIONS 292 293## --------------------- ## 294## M4sh Shell Functions. ## 295## --------------------- ## 296# as_fn_unset VAR 297# --------------- 298# Portably unset VAR. 299as_fn_unset () 300{ 301 { eval $1=; unset $1;} 302} 303as_unset=as_fn_unset 304 305# as_fn_set_status STATUS 306# ----------------------- 307# Set $? to STATUS, without forking. 308as_fn_set_status () 309{ 310 return $1 311} # as_fn_set_status 312 313# as_fn_exit STATUS 314# ----------------- 315# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 316as_fn_exit () 317{ 318 set +e 319 as_fn_set_status $1 320 exit $1 321} # as_fn_exit 322 323# as_fn_mkdir_p 324# ------------- 325# Create "$as_dir" as a directory, including parents if necessary. 326as_fn_mkdir_p () 327{ 328 329 case $as_dir in #( 330 -*) as_dir=./$as_dir;; 331 esac 332 test -d "$as_dir" || eval $as_mkdir_p || { 333 as_dirs= 334 while :; do 335 case $as_dir in #( 336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 337 *) as_qdir=$as_dir;; 338 esac 339 as_dirs="'$as_qdir' $as_dirs" 340 as_dir=`$as_dirname -- "$as_dir" || 341$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 342 X"$as_dir" : 'X\(//\)[^/]' \| \ 343 X"$as_dir" : 'X\(//\)$' \| \ 344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 345$as_echo X"$as_dir" | 346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 347 s//\1/ 348 q 349 } 350 /^X\(\/\/\)[^/].*/{ 351 s//\1/ 352 q 353 } 354 /^X\(\/\/\)$/{ 355 s//\1/ 356 q 357 } 358 /^X\(\/\).*/{ 359 s//\1/ 360 q 361 } 362 s/.*/./; q'` 363 test -d "$as_dir" && break 364 done 365 test -z "$as_dirs" || eval "mkdir $as_dirs" 366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 367 368 369} # as_fn_mkdir_p 370 371# as_fn_executable_p FILE 372# ----------------------- 373# Test if FILE is an executable regular file. 374as_fn_executable_p () 375{ 376 test -f "$1" && test -x "$1" 377} # as_fn_executable_p 378# as_fn_append VAR VALUE 379# ---------------------- 380# Append the text in VALUE to the end of the definition contained in VAR. Take 381# advantage of any shell optimizations that allow amortized linear growth over 382# repeated appends, instead of the typical quadratic growth present in naive 383# implementations. 384if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 385 eval 'as_fn_append () 386 { 387 eval $1+=\$2 388 }' 389else 390 as_fn_append () 391 { 392 eval $1=\$$1\$2 393 } 394fi # as_fn_append 395 396# as_fn_arith ARG... 397# ------------------ 398# Perform arithmetic evaluation on the ARGs, and store the result in the 399# global $as_val. Take advantage of shells that can avoid forks. The arguments 400# must be portable across $(()) and expr. 401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 402 eval 'as_fn_arith () 403 { 404 as_val=$(( $* )) 405 }' 406else 407 as_fn_arith () 408 { 409 as_val=`expr "$@" || test $? -eq 1` 410 } 411fi # as_fn_arith 412 413 414# as_fn_error STATUS ERROR [LINENO LOG_FD] 415# ---------------------------------------- 416# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 417# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 418# script with STATUS, using 1 if that was 0. 419as_fn_error () 420{ 421 as_status=$1; test $as_status -eq 0 && as_status=1 422 if test "$4"; then 423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 425 fi 426 $as_echo "$as_me: error: $2" >&2 427 as_fn_exit $as_status 428} # as_fn_error 429 430if expr a : '\(a\)' >/dev/null 2>&1 && 431 test "X`expr 00001 : '.*\(...\)'`" = X001; then 432 as_expr=expr 433else 434 as_expr=false 435fi 436 437if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 438 as_basename=basename 439else 440 as_basename=false 441fi 442 443if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 444 as_dirname=dirname 445else 446 as_dirname=false 447fi 448 449as_me=`$as_basename -- "$0" || 450$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 451 X"$0" : 'X\(//\)$' \| \ 452 X"$0" : 'X\(/\)' \| . 2>/dev/null || 453$as_echo X/"$0" | 454 sed '/^.*\/\([^/][^/]*\)\/*$/{ 455 s//\1/ 456 q 457 } 458 /^X\/\(\/\/\)$/{ 459 s//\1/ 460 q 461 } 462 /^X\/\(\/\).*/{ 463 s//\1/ 464 q 465 } 466 s/.*/./; q'` 467 468# Avoid depending upon Character Ranges. 469as_cr_letters='abcdefghijklmnopqrstuvwxyz' 470as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 471as_cr_Letters=$as_cr_letters$as_cr_LETTERS 472as_cr_digits='0123456789' 473as_cr_alnum=$as_cr_Letters$as_cr_digits 474 475 476 as_lineno_1=$LINENO as_lineno_1a=$LINENO 477 as_lineno_2=$LINENO as_lineno_2a=$LINENO 478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 481 sed -n ' 482 p 483 /[$]LINENO/= 484 ' <$as_myself | 485 sed ' 486 s/[$]LINENO.*/&-/ 487 t lineno 488 b 489 :lineno 490 N 491 :loop 492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 493 t loop 494 s/-\n.*// 495 ' >$as_me.lineno && 496 chmod +x "$as_me.lineno" || 497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 498 499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 500 # already done that, so ensure we don't try to do so again and fall 501 # in an infinite loop. This has already happened in practice. 502 _as_can_reexec=no; export _as_can_reexec 503 # Don't try to exec as it changes $[0], causing all sort of problems 504 # (the dirname of $[0] is not the place where we might find the 505 # original and so on. Autoconf is especially sensitive to this). 506 . "./$as_me.lineno" 507 # Exit status is that of the last command. 508 exit 509} 510 511ECHO_C= ECHO_N= ECHO_T= 512case `echo -n x` in #((((( 513-n*) 514 case `echo 'xy\c'` in 515 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 516 xy) ECHO_C='\c';; 517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 518 ECHO_T=' ';; 519 esac;; 520*) 521 ECHO_N='-n';; 522esac 523 524rm -f conf$$ conf$$.exe conf$$.file 525if test -d conf$$.dir; then 526 rm -f conf$$.dir/conf$$.file 527else 528 rm -f conf$$.dir 529 mkdir conf$$.dir 2>/dev/null 530fi 531if (echo >conf$$.file) 2>/dev/null; then 532 if ln -s conf$$.file conf$$ 2>/dev/null; then 533 as_ln_s='ln -s' 534 # ... but there are two gotchas: 535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 537 # In both cases, we have to default to `cp -pR'. 538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 539 as_ln_s='cp -pR' 540 elif ln conf$$.file conf$$ 2>/dev/null; then 541 as_ln_s=ln 542 else 543 as_ln_s='cp -pR' 544 fi 545else 546 as_ln_s='cp -pR' 547fi 548rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 549rmdir conf$$.dir 2>/dev/null 550 551if mkdir -p . 2>/dev/null; then 552 as_mkdir_p='mkdir -p "$as_dir"' 553else 554 test -d ./-p && rmdir ./-p 555 as_mkdir_p=false 556fi 557 558as_test_x='test -x' 559as_executable_p=as_fn_executable_p 560 561# Sed expression to map a string onto a valid CPP name. 562as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 563 564# Sed expression to map a string onto a valid variable name. 565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 566 567SHELL=${CONFIG_SHELL-/bin/sh} 568 569 570test -n "$DJDIR" || exec 7<&0 </dev/null 571exec 6>&1 572 573# Name of the host. 574# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 575# so uname gets run too. 576ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 577 578# 579# Initializations. 580# 581ac_default_prefix=/usr/local 582ac_clean_files= 583ac_config_libobj_dir=. 584LIBOBJS= 585cross_compiling=no 586subdirs= 587MFLAGS= 588MAKEFLAGS= 589 590# Identity of this package. 591PACKAGE_NAME='xmlsec1' 592PACKAGE_TARNAME='xmlsec1' 593PACKAGE_VERSION='1.2.29' 594PACKAGE_STRING='xmlsec1 1.2.29' 595PACKAGE_BUGREPORT='http://www.aleksey.com/xmlsec' 596PACKAGE_URL='' 597 598# Factoring default headers for most tests. 599ac_includes_default="\ 600#include <stdio.h> 601#ifdef HAVE_SYS_TYPES_H 602# include <sys/types.h> 603#endif 604#ifdef HAVE_SYS_STAT_H 605# include <sys/stat.h> 606#endif 607#ifdef STDC_HEADERS 608# include <stdlib.h> 609# include <stddef.h> 610#else 611# ifdef HAVE_STDLIB_H 612# include <stdlib.h> 613# endif 614#endif 615#ifdef HAVE_STRING_H 616# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 617# include <memory.h> 618# endif 619# include <string.h> 620#endif 621#ifdef HAVE_STRINGS_H 622# include <strings.h> 623#endif 624#ifdef HAVE_INTTYPES_H 625# include <inttypes.h> 626#endif 627#ifdef HAVE_STDINT_H 628# include <stdint.h> 629#endif 630#ifdef HAVE_UNISTD_H 631# include <unistd.h> 632#endif" 633 634ac_subst_vars='am__EXEEXT_FALSE 635am__EXEEXT_TRUE 636LTLIBOBJS 637LIBOBJS 638XMLSEC_CRYPTO_PC_FILES_LIST 639XMLSEC_CRYPTO_LIBS 640XMLSEC_CRYPTO_CFLAGS 641XMLSEC_CRYPTO_LIB 642XMLSEC_CRYPTO_DISABLED_LIST 643XMLSEC_CRYPTO_LIST 644XMLSEC_DEFAULT_CRYPTO 645XMLSEC_CRYPTO_EXTRA_LDFLAGS 646XMLSEC_EXTRA_LDFLAGS 647XMLSEC_APP_DEFINES 648XMLSEC_DEFINES 649XMLSEC_LIBS 650XMLSEC_CFLAGS 651XMLSEC_NSS_LIBS 652XMLSEC_NSS_CFLAGS 653XMLSEC_GNUTLS_LIBS 654XMLSEC_GNUTLS_CFLAGS 655XMLSEC_GCRYPT_LIBS 656XMLSEC_GCRYPT_CFLAGS 657XMLSEC_OPENSSL_LIBS 658XMLSEC_OPENSSL_CFLAGS 659XMLSEC_LIBDIR 660XMLSEC_CORE_LIBS 661XMLSEC_CORE_CFLAGS 662XMLSEC_DOCDIR 663XMLSEC_NO_APPS_CRYPTO_DYNAMIC_LOADING 664XMLSEC_NO_APPS_CRYPTO_DYNAMIC_LOADING_FALSE 665XMLSEC_NO_APPS_CRYPTO_DYNAMIC_LOADING_TRUE 666XMLSEC_DL_LIBS 667XMLSEC_DL_INCLUDES 668XMLSEC_NO_CRYPTO_DYNAMIC_LOADING 669XMLSEC_NO_CRYPTO_DYNAMIC_LOADING_FALSE 670XMLSEC_NO_CRYPTO_DYNAMIC_LOADING_TRUE 671XMLSEC_STATIC_BINARIES 672XMLSEC_APPS 673XMLSEC_APPS_FALSE 674XMLSEC_APPS_TRUE 675XMLSEC_DOCS 676XMLSEC_DOCS_FALSE 677XMLSEC_DOCS_TRUE 678XMLSEC_MANS 679XMLSEC_MANS_FALSE 680XMLSEC_MANS_TRUE 681XMLSEC_ENABLE_SOAP_FALSE 682XMLSEC_ENABLE_SOAP_TRUE 683XMLSEC_NO_XMLENC 684XMLSEC_NO_XMLENC_FALSE 685XMLSEC_NO_XMLENC_TRUE 686XMLSEC_NO_XMLDSIG 687XMLSEC_NO_XMLDSIG_FALSE 688XMLSEC_NO_XMLDSIG_TRUE 689XMLSEC_NO_GOST2012 690XMLSEC_NO_GOST2012_FALSE 691XMLSEC_NO_GOST2012_TRUE 692XMLSEC_NO_GOST 693XMLSEC_NO_GOST_FALSE 694XMLSEC_NO_GOST_TRUE 695XMLSEC_NO_AES 696XMLSEC_NO_AES_FALSE 697XMLSEC_NO_AES_TRUE 698XMLSEC_NO_DES 699XMLSEC_NO_DES_FALSE 700XMLSEC_NO_DES_TRUE 701XMLSEC_NO_X509 702XMLSEC_NO_X509_FALSE 703XMLSEC_NO_X509_TRUE 704XMLSEC_NO_RSA 705XMLSEC_NO_RSA_FALSE 706XMLSEC_NO_RSA_TRUE 707XMLSEC_NO_DSA 708XMLSEC_NO_DSA_FALSE 709XMLSEC_NO_DSA_TRUE 710XMLSEC_NO_HMAC 711XMLSEC_NO_HMAC_FALSE 712XMLSEC_NO_HMAC_TRUE 713XMLSEC_NO_SHA512 714XMLSEC_NO_SHA512_FALSE 715XMLSEC_NO_SHA512_TRUE 716XMLSEC_NO_SHA384 717XMLSEC_NO_SHA384_FALSE 718XMLSEC_NO_SHA384_TRUE 719XMLSEC_NO_SHA256 720XMLSEC_NO_SHA256_FALSE 721XMLSEC_NO_SHA256_TRUE 722XMLSEC_NO_SHA224 723XMLSEC_NO_SHA224_FALSE 724XMLSEC_NO_SHA224_TRUE 725XMLSEC_NO_SHA1 726XMLSEC_NO_SHA1_FALSE 727XMLSEC_NO_SHA1_TRUE 728XMLSEC_NO_RIPEMD160 729XMLSEC_NO_RIPEMD160_FALSE 730XMLSEC_NO_RIPEMD160_TRUE 731XMLSEC_NO_MD5 732XMLSEC_NO_MD5_FALSE 733XMLSEC_NO_MD5_TRUE 734MSCNG_CRYPTO_LIB 735MSCNG_LIBS 736MSCNG_CFLAGS 737XMLSEC_NO_MSCNG 738XMLSEC_NO_MSCNG_FALSE 739XMLSEC_NO_MSCNG_TRUE 740MSCRYPTO_CRYPTO_LIB 741MSCRYPTO_LIBS 742MSCRYPTO_CFLAGS 743XMLSEC_NO_MSCRYPTO 744XMLSEC_NO_MSCRYPTO_FALSE 745XMLSEC_NO_MSCRYPTO_TRUE 746GNUTLS_MIN_VERSION 747GNUTLS_CRYPTO_LIB 748XMLSEC_NO_GNUTLS 749XMLSEC_NO_GNUTLS_FALSE 750XMLSEC_NO_GNUTLS_TRUE 751GNUTLS_LIBS 752GNUTLS_CFLAGS 753GCRYPT_MIN_VERSION 754GCRYPT_CRYPTO_LIB 755XMLSEC_NO_GCRYPT 756XMLSEC_NO_GCRYPT_FALSE 757XMLSEC_NO_GCRYPT_TRUE 758GCRYPT_CONFIG_PATH 759GCRYPT_LIBS 760GCRYPT_CFLAGS 761MOZILLA_MIN_VERSION 762NSPR_MIN_VERSION 763NSS_MIN_VERSION 764NSS_CRYPTO_LIB 765NSS_PACKAGE 766NSPR_PACKAGE 767XMLSEC_NO_NSS 768XMLSEC_NO_NSS_FALSE 769XMLSEC_NO_NSS_TRUE 770NSS_LIBS 771NSS_CFLAGS 772NSPR_LIBS 773NSPR_CFLAGS 774OPENSSL_MIN_VERSION 775OPENSSL_CRYPTO_LIB 776XMLSEC_NO_OPENSSL 777XMLSEC_NO_OPENSSL_FALSE 778XMLSEC_NO_OPENSSL_TRUE 779OPENSSL_LIBS 780OPENSSL_CFLAGS 781LIBXSLT_PC_FILE_COND 782LIBXSLT_MIN_VERSION 783LIBXSLT_CONFIG 784XMLSEC_NO_LIBXSLT 785LIBXSLT_CONFIG_PATH 786LIBXSLT_LIBS 787LIBXSLT_CFLAGS 788LIBXML_MIN_VERSION 789LIBXML_CONFIG 790LIBXML_CONFIG_PATH 791LIBXML_LIBS 792LIBXML_CFLAGS 793PKG_CONFIG_LIBDIR 794PKG_CONFIG_PATH 795PKG_CONFIG 796BUILD_API_DOCS_FALSE 797BUILD_API_DOCS_TRUE 798BUILD_MAN_DOCS_FALSE 799BUILD_MAN_DOCS_TRUE 800BUILD_MANPAGES_FALSE 801BUILD_MANPAGES_TRUE 802HAS_XSLTPROC_FALSE 803HAS_XSLTPROC_TRUE 804HAS_MAN2HTML_FALSE 805HAS_MAN2HTML_TRUE 806HAS_HELP2MAN_FALSE 807HAS_HELP2MAN_TRUE 808GTKDOC_SCAN 809GTKDOC_MKDB 810GTKDOC_MKHTML 811MAN2HTML 812XSLTPROC 813HELP2MAN 814PERL 815TAR 816MV 817CP 818RM 819LT_SYS_LIBRARY_PATH 820OTOOL64 821OTOOL 822LIPO 823NMEDIT 824DSYMUTIL 825MANIFEST_TOOL 826RANLIB 827ac_ct_AR 828AR 829DLLTOOL 830OBJDUMP 831LN_S 832NM 833ac_ct_DUMPBIN 834DUMPBIN 835LD 836FGREP 837SED 838LIBTOOL 839EGREP 840GREP 841CPP 842am__fastdepCC_FALSE 843am__fastdepCC_TRUE 844CCDEPMODE 845am__nodep 846AMDEPBACKSLASH 847AMDEP_FALSE 848AMDEP_TRUE 849am__quote 850am__include 851DEPDIR 852OBJEXT 853EXEEXT 854ac_ct_CC 855CPPFLAGS 856LDFLAGS 857CFLAGS 858CC 859MAINT 860MAINTAINER_MODE_FALSE 861MAINTAINER_MODE_TRUE 862AM_BACKSLASH 863AM_DEFAULT_VERBOSITY 864AM_DEFAULT_V 865AM_V 866am__untar 867am__tar 868AMTAR 869am__leading_dot 870SET_MAKE 871AWK 872mkdir_p 873MKDIR_P 874INSTALL_STRIP_PROGRAM 875STRIP 876install_sh 877MAKEINFO 878AUTOHEADER 879AUTOMAKE 880AUTOCONF 881ACLOCAL 882VERSION 883PACKAGE 884CYGPATH_W 885am__isrc 886INSTALL_DATA 887INSTALL_SCRIPT 888INSTALL_PROGRAM 889XMLSEC_VERSION_INFO 890XMLSEC_VERSION_SUBMINOR 891XMLSEC_VERSION_MINOR 892XMLSEC_VERSION_MAJOR 893XMLSEC_VERSION_SAFE 894XMLSEC_PACKAGE 895XMLSEC_VERSION 896host_os 897host_vendor 898host_cpu 899host 900build_os 901build_vendor 902build_cpu 903build 904target_alias 905host_alias 906build_alias 907LIBS 908ECHO_T 909ECHO_N 910ECHO_C 911DEFS 912mandir 913localedir 914libdir 915psdir 916pdfdir 917dvidir 918htmldir 919infodir 920docdir 921oldincludedir 922includedir 923runstatedir 924localstatedir 925sharedstatedir 926sysconfdir 927datadir 928datarootdir 929libexecdir 930sbindir 931bindir 932program_transform_name 933prefix 934exec_prefix 935PACKAGE_URL 936PACKAGE_BUGREPORT 937PACKAGE_STRING 938PACKAGE_VERSION 939PACKAGE_TARNAME 940PACKAGE_NAME 941PATH_SEPARATOR 942SHELL' 943ac_subst_files='' 944ac_user_opts=' 945enable_option_checking 946enable_silent_rules 947enable_maintainer_mode 948enable_dependency_tracking 949enable_shared 950enable_static 951with_pic 952enable_fast_install 953with_aix_soname 954with_gnu_ld 955with_sysroot 956enable_libtool_lock 957enable_development 958enable_manpages_build 959enable_docs_build 960enable_pkgconfig 961enable_custom_configs 962enable_folders_search 963with_libxml 964with_libxml_src 965with_libxslt 966with_libxslt_src 967with_openssl 968with_nss 969with_nspr 970with_seamonkey_ver 971with_mozilla_ver 972with_gcrypt 973with_gnutls 974enable_mscrypto 975enable_mscng 976with_default_crypto 977enable_unicode 978enable_md5 979enable_ripemd160 980enable_sha1 981enable_sha224 982enable_sha256 983enable_sha384 984enable_sha512 985enable_hmac 986enable_dsa 987enable_rsa 988enable_x509 989enable_des 990enable_aes 991enable_gost 992enable_gost2012 993enable_xmldsig 994enable_xmlenc 995enable_soap 996enable_mans 997enable_docs 998enable_apps 999enable_static_linking 1000enable_crypto_dl 1001enable_apps_crypto_dl 1002with_html_dir 1003enable_skm 1004enable_tmpl_tests 1005enable_debugging 1006enable_werror 1007enable_profiling 1008enable_pedantic 1009' 1010 ac_precious_vars='build_alias 1011host_alias 1012target_alias 1013CC 1014CFLAGS 1015LDFLAGS 1016LIBS 1017CPPFLAGS 1018CPP 1019LT_SYS_LIBRARY_PATH 1020PKG_CONFIG 1021PKG_CONFIG_PATH 1022PKG_CONFIG_LIBDIR 1023LIBXML_CFLAGS 1024LIBXML_LIBS 1025LIBXSLT_CFLAGS 1026LIBXSLT_LIBS 1027OPENSSL_CFLAGS 1028OPENSSL_LIBS 1029NSPR_CFLAGS 1030NSPR_LIBS 1031NSS_CFLAGS 1032NSS_LIBS 1033GCRYPT_CFLAGS 1034GCRYPT_LIBS 1035GNUTLS_CFLAGS 1036GNUTLS_LIBS' 1037 1038 1039# Initialize some variables set by options. 1040ac_init_help= 1041ac_init_version=false 1042ac_unrecognized_opts= 1043ac_unrecognized_sep= 1044# The variables have the same names as the options, with 1045# dashes changed to underlines. 1046cache_file=/dev/null 1047exec_prefix=NONE 1048no_create= 1049no_recursion= 1050prefix=NONE 1051program_prefix=NONE 1052program_suffix=NONE 1053program_transform_name=s,x,x, 1054silent= 1055site= 1056srcdir= 1057verbose= 1058x_includes=NONE 1059x_libraries=NONE 1060 1061# Installation directory options. 1062# These are left unexpanded so users can "make install exec_prefix=/foo" 1063# and all the variables that are supposed to be based on exec_prefix 1064# by default will actually change. 1065# Use braces instead of parens because sh, perl, etc. also accept them. 1066# (The list follows the same order as the GNU Coding Standards.) 1067bindir='${exec_prefix}/bin' 1068sbindir='${exec_prefix}/sbin' 1069libexecdir='${exec_prefix}/libexec' 1070datarootdir='${prefix}/share' 1071datadir='${datarootdir}' 1072sysconfdir='${prefix}/etc' 1073sharedstatedir='${prefix}/com' 1074localstatedir='${prefix}/var' 1075runstatedir='${localstatedir}/run' 1076includedir='${prefix}/include' 1077oldincludedir='/usr/include' 1078docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 1079infodir='${datarootdir}/info' 1080htmldir='${docdir}' 1081dvidir='${docdir}' 1082pdfdir='${docdir}' 1083psdir='${docdir}' 1084libdir='${exec_prefix}/lib' 1085localedir='${datarootdir}/locale' 1086mandir='${datarootdir}/man' 1087 1088ac_prev= 1089ac_dashdash= 1090for ac_option 1091do 1092 # If the previous option needs an argument, assign it. 1093 if test -n "$ac_prev"; then 1094 eval $ac_prev=\$ac_option 1095 ac_prev= 1096 continue 1097 fi 1098 1099 case $ac_option in 1100 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1101 *=) ac_optarg= ;; 1102 *) ac_optarg=yes ;; 1103 esac 1104 1105 # Accept the important Cygnus configure options, so we can diagnose typos. 1106 1107 case $ac_dashdash$ac_option in 1108 --) 1109 ac_dashdash=yes ;; 1110 1111 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1112 ac_prev=bindir ;; 1113 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1114 bindir=$ac_optarg ;; 1115 1116 -build | --build | --buil | --bui | --bu) 1117 ac_prev=build_alias ;; 1118 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1119 build_alias=$ac_optarg ;; 1120 1121 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1122 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1123 ac_prev=cache_file ;; 1124 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1125 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1126 cache_file=$ac_optarg ;; 1127 1128 --config-cache | -C) 1129 cache_file=config.cache ;; 1130 1131 -datadir | --datadir | --datadi | --datad) 1132 ac_prev=datadir ;; 1133 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1134 datadir=$ac_optarg ;; 1135 1136 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1137 | --dataroo | --dataro | --datar) 1138 ac_prev=datarootdir ;; 1139 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1140 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1141 datarootdir=$ac_optarg ;; 1142 1143 -disable-* | --disable-*) 1144 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1145 # Reject names that are not valid shell variable names. 1146 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1147 as_fn_error $? "invalid feature name: $ac_useropt" 1148 ac_useropt_orig=$ac_useropt 1149 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1150 case $ac_user_opts in 1151 *" 1152"enable_$ac_useropt" 1153"*) ;; 1154 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1155 ac_unrecognized_sep=', ';; 1156 esac 1157 eval enable_$ac_useropt=no ;; 1158 1159 -docdir | --docdir | --docdi | --doc | --do) 1160 ac_prev=docdir ;; 1161 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1162 docdir=$ac_optarg ;; 1163 1164 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1165 ac_prev=dvidir ;; 1166 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1167 dvidir=$ac_optarg ;; 1168 1169 -enable-* | --enable-*) 1170 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1171 # Reject names that are not valid shell variable names. 1172 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1173 as_fn_error $? "invalid feature name: $ac_useropt" 1174 ac_useropt_orig=$ac_useropt 1175 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1176 case $ac_user_opts in 1177 *" 1178"enable_$ac_useropt" 1179"*) ;; 1180 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1181 ac_unrecognized_sep=', ';; 1182 esac 1183 eval enable_$ac_useropt=\$ac_optarg ;; 1184 1185 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1186 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1187 | --exec | --exe | --ex) 1188 ac_prev=exec_prefix ;; 1189 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1190 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1191 | --exec=* | --exe=* | --ex=*) 1192 exec_prefix=$ac_optarg ;; 1193 1194 -gas | --gas | --ga | --g) 1195 # Obsolete; use --with-gas. 1196 with_gas=yes ;; 1197 1198 -help | --help | --hel | --he | -h) 1199 ac_init_help=long ;; 1200 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1201 ac_init_help=recursive ;; 1202 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1203 ac_init_help=short ;; 1204 1205 -host | --host | --hos | --ho) 1206 ac_prev=host_alias ;; 1207 -host=* | --host=* | --hos=* | --ho=*) 1208 host_alias=$ac_optarg ;; 1209 1210 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1211 ac_prev=htmldir ;; 1212 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1213 | --ht=*) 1214 htmldir=$ac_optarg ;; 1215 1216 -includedir | --includedir | --includedi | --included | --include \ 1217 | --includ | --inclu | --incl | --inc) 1218 ac_prev=includedir ;; 1219 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1220 | --includ=* | --inclu=* | --incl=* | --inc=*) 1221 includedir=$ac_optarg ;; 1222 1223 -infodir | --infodir | --infodi | --infod | --info | --inf) 1224 ac_prev=infodir ;; 1225 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1226 infodir=$ac_optarg ;; 1227 1228 -libdir | --libdir | --libdi | --libd) 1229 ac_prev=libdir ;; 1230 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1231 libdir=$ac_optarg ;; 1232 1233 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1234 | --libexe | --libex | --libe) 1235 ac_prev=libexecdir ;; 1236 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1237 | --libexe=* | --libex=* | --libe=*) 1238 libexecdir=$ac_optarg ;; 1239 1240 -localedir | --localedir | --localedi | --localed | --locale) 1241 ac_prev=localedir ;; 1242 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1243 localedir=$ac_optarg ;; 1244 1245 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1246 | --localstate | --localstat | --localsta | --localst | --locals) 1247 ac_prev=localstatedir ;; 1248 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1249 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1250 localstatedir=$ac_optarg ;; 1251 1252 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1253 ac_prev=mandir ;; 1254 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1255 mandir=$ac_optarg ;; 1256 1257 -nfp | --nfp | --nf) 1258 # Obsolete; use --without-fp. 1259 with_fp=no ;; 1260 1261 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1262 | --no-cr | --no-c | -n) 1263 no_create=yes ;; 1264 1265 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1266 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1267 no_recursion=yes ;; 1268 1269 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1270 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1271 | --oldin | --oldi | --old | --ol | --o) 1272 ac_prev=oldincludedir ;; 1273 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1274 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1275 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1276 oldincludedir=$ac_optarg ;; 1277 1278 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1279 ac_prev=prefix ;; 1280 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1281 prefix=$ac_optarg ;; 1282 1283 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1284 | --program-pre | --program-pr | --program-p) 1285 ac_prev=program_prefix ;; 1286 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1287 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1288 program_prefix=$ac_optarg ;; 1289 1290 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1291 | --program-suf | --program-su | --program-s) 1292 ac_prev=program_suffix ;; 1293 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1294 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1295 program_suffix=$ac_optarg ;; 1296 1297 -program-transform-name | --program-transform-name \ 1298 | --program-transform-nam | --program-transform-na \ 1299 | --program-transform-n | --program-transform- \ 1300 | --program-transform | --program-transfor \ 1301 | --program-transfo | --program-transf \ 1302 | --program-trans | --program-tran \ 1303 | --progr-tra | --program-tr | --program-t) 1304 ac_prev=program_transform_name ;; 1305 -program-transform-name=* | --program-transform-name=* \ 1306 | --program-transform-nam=* | --program-transform-na=* \ 1307 | --program-transform-n=* | --program-transform-=* \ 1308 | --program-transform=* | --program-transfor=* \ 1309 | --program-transfo=* | --program-transf=* \ 1310 | --program-trans=* | --program-tran=* \ 1311 | --progr-tra=* | --program-tr=* | --program-t=*) 1312 program_transform_name=$ac_optarg ;; 1313 1314 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1315 ac_prev=pdfdir ;; 1316 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1317 pdfdir=$ac_optarg ;; 1318 1319 -psdir | --psdir | --psdi | --psd | --ps) 1320 ac_prev=psdir ;; 1321 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1322 psdir=$ac_optarg ;; 1323 1324 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1325 | -silent | --silent | --silen | --sile | --sil) 1326 silent=yes ;; 1327 1328 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1329 | --runstate | --runstat | --runsta | --runst | --runs \ 1330 | --run | --ru | --r) 1331 ac_prev=runstatedir ;; 1332 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1333 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1334 | --run=* | --ru=* | --r=*) 1335 runstatedir=$ac_optarg ;; 1336 1337 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1338 ac_prev=sbindir ;; 1339 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1340 | --sbi=* | --sb=*) 1341 sbindir=$ac_optarg ;; 1342 1343 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1344 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1345 | --sharedst | --shareds | --shared | --share | --shar \ 1346 | --sha | --sh) 1347 ac_prev=sharedstatedir ;; 1348 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1349 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1350 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1351 | --sha=* | --sh=*) 1352 sharedstatedir=$ac_optarg ;; 1353 1354 -site | --site | --sit) 1355 ac_prev=site ;; 1356 -site=* | --site=* | --sit=*) 1357 site=$ac_optarg ;; 1358 1359 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1360 ac_prev=srcdir ;; 1361 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1362 srcdir=$ac_optarg ;; 1363 1364 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1365 | --syscon | --sysco | --sysc | --sys | --sy) 1366 ac_prev=sysconfdir ;; 1367 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1368 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1369 sysconfdir=$ac_optarg ;; 1370 1371 -target | --target | --targe | --targ | --tar | --ta | --t) 1372 ac_prev=target_alias ;; 1373 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1374 target_alias=$ac_optarg ;; 1375 1376 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1377 verbose=yes ;; 1378 1379 -version | --version | --versio | --versi | --vers | -V) 1380 ac_init_version=: ;; 1381 1382 -with-* | --with-*) 1383 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1384 # Reject names that are not valid shell variable names. 1385 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1386 as_fn_error $? "invalid package name: $ac_useropt" 1387 ac_useropt_orig=$ac_useropt 1388 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1389 case $ac_user_opts in 1390 *" 1391"with_$ac_useropt" 1392"*) ;; 1393 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1394 ac_unrecognized_sep=', ';; 1395 esac 1396 eval with_$ac_useropt=\$ac_optarg ;; 1397 1398 -without-* | --without-*) 1399 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1400 # Reject names that are not valid shell variable names. 1401 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1402 as_fn_error $? "invalid package name: $ac_useropt" 1403 ac_useropt_orig=$ac_useropt 1404 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1405 case $ac_user_opts in 1406 *" 1407"with_$ac_useropt" 1408"*) ;; 1409 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1410 ac_unrecognized_sep=', ';; 1411 esac 1412 eval with_$ac_useropt=no ;; 1413 1414 --x) 1415 # Obsolete; use --with-x. 1416 with_x=yes ;; 1417 1418 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1419 | --x-incl | --x-inc | --x-in | --x-i) 1420 ac_prev=x_includes ;; 1421 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1422 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1423 x_includes=$ac_optarg ;; 1424 1425 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1426 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1427 ac_prev=x_libraries ;; 1428 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1429 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1430 x_libraries=$ac_optarg ;; 1431 1432 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1433Try \`$0 --help' for more information" 1434 ;; 1435 1436 *=*) 1437 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1438 # Reject names that are not valid shell variable names. 1439 case $ac_envvar in #( 1440 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1441 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1442 esac 1443 eval $ac_envvar=\$ac_optarg 1444 export $ac_envvar ;; 1445 1446 *) 1447 # FIXME: should be removed in autoconf 3.0. 1448 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1449 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1450 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1451 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1452 ;; 1453 1454 esac 1455done 1456 1457if test -n "$ac_prev"; then 1458 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1459 as_fn_error $? "missing argument to $ac_option" 1460fi 1461 1462if test -n "$ac_unrecognized_opts"; then 1463 case $enable_option_checking in 1464 no) ;; 1465 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1466 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1467 esac 1468fi 1469 1470# Check all directory arguments for consistency. 1471for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1472 datadir sysconfdir sharedstatedir localstatedir includedir \ 1473 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1474 libdir localedir mandir runstatedir 1475do 1476 eval ac_val=\$$ac_var 1477 # Remove trailing slashes. 1478 case $ac_val in 1479 */ ) 1480 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1481 eval $ac_var=\$ac_val;; 1482 esac 1483 # Be sure to have absolute directory names. 1484 case $ac_val in 1485 [\\/$]* | ?:[\\/]* ) continue;; 1486 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1487 esac 1488 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1489done 1490 1491# There might be people who depend on the old broken behavior: `$host' 1492# used to hold the argument of --host etc. 1493# FIXME: To remove some day. 1494build=$build_alias 1495host=$host_alias 1496target=$target_alias 1497 1498# FIXME: To remove some day. 1499if test "x$host_alias" != x; then 1500 if test "x$build_alias" = x; then 1501 cross_compiling=maybe 1502 elif test "x$build_alias" != "x$host_alias"; then 1503 cross_compiling=yes 1504 fi 1505fi 1506 1507ac_tool_prefix= 1508test -n "$host_alias" && ac_tool_prefix=$host_alias- 1509 1510test "$silent" = yes && exec 6>/dev/null 1511 1512 1513ac_pwd=`pwd` && test -n "$ac_pwd" && 1514ac_ls_di=`ls -di .` && 1515ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1516 as_fn_error $? "working directory cannot be determined" 1517test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1518 as_fn_error $? "pwd does not report name of working directory" 1519 1520 1521# Find the source files, if location was not specified. 1522if test -z "$srcdir"; then 1523 ac_srcdir_defaulted=yes 1524 # Try the directory containing this script, then the parent directory. 1525 ac_confdir=`$as_dirname -- "$as_myself" || 1526$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1527 X"$as_myself" : 'X\(//\)[^/]' \| \ 1528 X"$as_myself" : 'X\(//\)$' \| \ 1529 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1530$as_echo X"$as_myself" | 1531 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1532 s//\1/ 1533 q 1534 } 1535 /^X\(\/\/\)[^/].*/{ 1536 s//\1/ 1537 q 1538 } 1539 /^X\(\/\/\)$/{ 1540 s//\1/ 1541 q 1542 } 1543 /^X\(\/\).*/{ 1544 s//\1/ 1545 q 1546 } 1547 s/.*/./; q'` 1548 srcdir=$ac_confdir 1549 if test ! -r "$srcdir/$ac_unique_file"; then 1550 srcdir=.. 1551 fi 1552else 1553 ac_srcdir_defaulted=no 1554fi 1555if test ! -r "$srcdir/$ac_unique_file"; then 1556 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1557 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1558fi 1559ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1560ac_abs_confdir=`( 1561 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1562 pwd)` 1563# When building in place, set srcdir=. 1564if test "$ac_abs_confdir" = "$ac_pwd"; then 1565 srcdir=. 1566fi 1567# Remove unnecessary trailing slashes from srcdir. 1568# Double slashes in file names in object file debugging info 1569# mess up M-x gdb in Emacs. 1570case $srcdir in 1571*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1572esac 1573for ac_var in $ac_precious_vars; do 1574 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1575 eval ac_env_${ac_var}_value=\$${ac_var} 1576 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1577 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1578done 1579 1580# 1581# Report the --help message. 1582# 1583if test "$ac_init_help" = "long"; then 1584 # Omit some internal or obsolete options to make the list less imposing. 1585 # This message is too long to be a string in the A/UX 3.1 sh. 1586 cat <<_ACEOF 1587\`configure' configures xmlsec1 1.2.29 to adapt to many kinds of systems. 1588 1589Usage: $0 [OPTION]... [VAR=VALUE]... 1590 1591To assign environment variables (e.g., CC, CFLAGS...), specify them as 1592VAR=VALUE. See below for descriptions of some of the useful variables. 1593 1594Defaults for the options are specified in brackets. 1595 1596Configuration: 1597 -h, --help display this help and exit 1598 --help=short display options specific to this package 1599 --help=recursive display the short help of all the included packages 1600 -V, --version display version information and exit 1601 -q, --quiet, --silent do not print \`checking ...' messages 1602 --cache-file=FILE cache test results in FILE [disabled] 1603 -C, --config-cache alias for \`--cache-file=config.cache' 1604 -n, --no-create do not create output files 1605 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1606 1607Installation directories: 1608 --prefix=PREFIX install architecture-independent files in PREFIX 1609 [$ac_default_prefix] 1610 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1611 [PREFIX] 1612 1613By default, \`make install' will install all the files in 1614\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1615an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1616for instance \`--prefix=\$HOME'. 1617 1618For better control, use the options below. 1619 1620Fine tuning of the installation directories: 1621 --bindir=DIR user executables [EPREFIX/bin] 1622 --sbindir=DIR system admin executables [EPREFIX/sbin] 1623 --libexecdir=DIR program executables [EPREFIX/libexec] 1624 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1625 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1626 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1627 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1628 --libdir=DIR object code libraries [EPREFIX/lib] 1629 --includedir=DIR C header files [PREFIX/include] 1630 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1631 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1632 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1633 --infodir=DIR info documentation [DATAROOTDIR/info] 1634 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1635 --mandir=DIR man documentation [DATAROOTDIR/man] 1636 --docdir=DIR documentation root [DATAROOTDIR/doc/xmlsec1] 1637 --htmldir=DIR html documentation [DOCDIR] 1638 --dvidir=DIR dvi documentation [DOCDIR] 1639 --pdfdir=DIR pdf documentation [DOCDIR] 1640 --psdir=DIR ps documentation [DOCDIR] 1641_ACEOF 1642 1643 cat <<\_ACEOF 1644 1645Program names: 1646 --program-prefix=PREFIX prepend PREFIX to installed program names 1647 --program-suffix=SUFFIX append SUFFIX to installed program names 1648 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1649 1650System types: 1651 --build=BUILD configure for building on BUILD [guessed] 1652 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1653_ACEOF 1654fi 1655 1656if test -n "$ac_init_help"; then 1657 case $ac_init_help in 1658 short | recursive ) echo "Configuration of xmlsec1 1.2.29:";; 1659 esac 1660 cat <<\_ACEOF 1661 1662Optional Features: 1663 --disable-option-checking ignore unrecognized --enable/--with options 1664 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1665 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1666 --enable-silent-rules less verbose build output (undo: "make V=1") 1667 --disable-silent-rules verbose build output (undo: "make V=0") 1668 --enable-maintainer-mode 1669 enable make rules and dependencies not useful (and 1670 sometimes confusing) to the casual installer 1671 --enable-dependency-tracking 1672 do not reject slow dependency extractors 1673 --disable-dependency-tracking 1674 speeds up one-time build 1675 --enable-shared[=PKGS] build shared libraries [default=yes] 1676 --enable-static[=PKGS] build static libraries [default=yes] 1677 --enable-fast-install[=PKGS] 1678 optimize for fast installation [default=yes] 1679 --disable-libtool-lock avoid locking (might break parallel builds) 1680 --enable-development enable development environment (no) 1681 --enable-manpages-build man pages build (no) 1682 --enable-docs-build docs build (no) 1683 --enable-pkgconfig enable pkgconfig for configuration (yes) 1684 --enable-custom-configs enable package-specific custom scripts for 1685 configuration (yes) 1686 --enable-folders-search enable searching for package installation in typical 1687 folders (yes) 1688 --enable-mscrypto enable mscrypto (no) 1689 --enable-mscng enable mscng (no) 1690 --enable-unicode enable Unicode support on Windows (yes) 1691 --enable-md5 enable MD5 support (yes) 1692 --enable-ripemd160 enable RIPEMD-160 support (yes) 1693 --enable-sha1 enable SHA1 support (yes) 1694 --enable-sha224 enable SHA224 support (yes) 1695 --enable-sha256 enable SHA256 support (yes) 1696 --enable-sha384 enable SHA384 support (yes) 1697 --enable-sha512 enable SHA512 support (yes) 1698 --enable-hmac enable HMAC support (yes) 1699 --enable-dsa enable DSA support (yes) 1700 --enable-rsa enable RSA support (yes) 1701 --enable-x509 enable x509 support (yes) 1702 --enable-des enable DES support (yes) 1703 --enable-aes enable AES support 1704 --enable-gost enable GOST support (no) 1705 --enable-gost2012 enable EXPERMIENTAL GOST2012 support (no) 1706 --enable-xmldsig enable XMLDSig support (yes) 1707 --enable-xmlenc enable XMLEnc support (yes) 1708 --enable-soap enable soap support (no) 1709 --enable-mans enable manual pages (yes) 1710 --enable-docs enable documentation (yes) 1711 --enable-apps enable applications (yes) 1712 --enable-static-linking enable static linking (no) 1713 --enable-crypto-dl enable dynamic loading support for xmlsec-crypto 1714 libraries (yes) 1715 --enable-apps-crypto-dl enable dynamic loading support for xmlsec-crypto 1716 libraries in xmlsec command line tool (yes) 1717 --enable-skm enable Simple Keys Manager testing (yes) 1718 --enable-tmpl-tests enable templates testing in xmlsec utility (yes) 1719 --enable-debugging enable debugging compilation flags (no) 1720 --enable-werror handle warnings as errors (no) 1721 --enable-profiling enable profiling compilation flags (no) 1722 --enable-pedantic enable pedantic compilation flags (no) 1723 1724Optional Packages: 1725 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1726 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1727 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1728 both] 1729 --with-aix-soname=aix|svr4|both 1730 shared library versioning (aka "SONAME") variant to 1731 provide on AIX, [default=aix]. 1732 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1733 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1734 compiler's sysroot if not specified). 1735 --with-libxml[=PFX] libxml2 location 1736 --with-libxml-src[=PFX] libxml2 source tree location 1737 --with-libxslt[=PFX] libxslt location 1738 --with-libxslt-src[=PFX] 1739 libxslt source tree location 1740 --with-openssl[=PFX] openssl location 1741 --with-nss[=PFX] nss location 1742 --with-nspr[=PFX] nspr location (needed for NSS) 1743 --with-seamonkey-ver[=VER] 1744 mozilla version (alt to --with-nss, --with-nspr) 1745 --with-mozilla-ver[=VER] 1746 mozilla version (alt to --with-nss, --with-nspr) 1747 --with-gcrypt[=PFX] gcrypt location 1748 --with-gnutls[=PFX] gnutls location 1749 --with-default-crypto=name 1750 default crypto name 1751 --with-html-dir=PATH path to installed docs 1752 1753Some influential environment variables: 1754 CC C compiler command 1755 CFLAGS C compiler flags 1756 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1757 nonstandard directory <lib dir> 1758 LIBS libraries to pass to the linker, e.g. -l<library> 1759 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1760 you have headers in a nonstandard directory <include dir> 1761 CPP C preprocessor 1762 LT_SYS_LIBRARY_PATH 1763 User-defined run-time library search path. 1764 PKG_CONFIG path to pkg-config utility 1765 PKG_CONFIG_PATH 1766 directories to add to pkg-config's search path 1767 PKG_CONFIG_LIBDIR 1768 path overriding pkg-config's built-in search path 1769 LIBXML_CFLAGS 1770 C compiler flags for LIBXML, overriding pkg-config 1771 LIBXML_LIBS linker flags for LIBXML, overriding pkg-config 1772 LIBXSLT_CFLAGS 1773 C compiler flags for LIBXSLT, overriding pkg-config 1774 LIBXSLT_LIBS 1775 linker flags for LIBXSLT, overriding pkg-config 1776 OPENSSL_CFLAGS 1777 C compiler flags for OPENSSL, overriding pkg-config 1778 OPENSSL_LIBS 1779 linker flags for OPENSSL, overriding pkg-config 1780 NSPR_CFLAGS C compiler flags for NSPR, overriding pkg-config 1781 NSPR_LIBS linker flags for NSPR, overriding pkg-config 1782 NSS_CFLAGS C compiler flags for NSS, overriding pkg-config 1783 NSS_LIBS linker flags for NSS, overriding pkg-config 1784 GCRYPT_CFLAGS 1785 C compiler flags for GCRYPT, overriding pkg-config 1786 GCRYPT_LIBS linker flags for GCRYPT, overriding pkg-config 1787 GNUTLS_CFLAGS 1788 C compiler flags for GNUTLS, overriding pkg-config 1789 GNUTLS_LIBS linker flags for GNUTLS, overriding pkg-config 1790 1791Use these variables to override the choices made by `configure' or to help 1792it to find libraries and programs with nonstandard names/locations. 1793 1794Report bugs to <http://www.aleksey.com/xmlsec>. 1795_ACEOF 1796ac_status=$? 1797fi 1798 1799if test "$ac_init_help" = "recursive"; then 1800 # If there are subdirs, report their specific --help. 1801 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1802 test -d "$ac_dir" || 1803 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1804 continue 1805 ac_builddir=. 1806 1807case "$ac_dir" in 1808.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1809*) 1810 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1811 # A ".." for each directory in $ac_dir_suffix. 1812 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1813 case $ac_top_builddir_sub in 1814 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1815 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1816 esac ;; 1817esac 1818ac_abs_top_builddir=$ac_pwd 1819ac_abs_builddir=$ac_pwd$ac_dir_suffix 1820# for backward compatibility: 1821ac_top_builddir=$ac_top_build_prefix 1822 1823case $srcdir in 1824 .) # We are building in place. 1825 ac_srcdir=. 1826 ac_top_srcdir=$ac_top_builddir_sub 1827 ac_abs_top_srcdir=$ac_pwd ;; 1828 [\\/]* | ?:[\\/]* ) # Absolute name. 1829 ac_srcdir=$srcdir$ac_dir_suffix; 1830 ac_top_srcdir=$srcdir 1831 ac_abs_top_srcdir=$srcdir ;; 1832 *) # Relative name. 1833 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1834 ac_top_srcdir=$ac_top_build_prefix$srcdir 1835 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1836esac 1837ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1838 1839 cd "$ac_dir" || { ac_status=$?; continue; } 1840 # Check for guested configure. 1841 if test -f "$ac_srcdir/configure.gnu"; then 1842 echo && 1843 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1844 elif test -f "$ac_srcdir/configure"; then 1845 echo && 1846 $SHELL "$ac_srcdir/configure" --help=recursive 1847 else 1848 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1849 fi || ac_status=$? 1850 cd "$ac_pwd" || { ac_status=$?; break; } 1851 done 1852fi 1853 1854test -n "$ac_init_help" && exit $ac_status 1855if $ac_init_version; then 1856 cat <<\_ACEOF 1857xmlsec1 configure 1.2.29 1858generated by GNU Autoconf 2.69 1859 1860Copyright (C) 2012 Free Software Foundation, Inc. 1861This configure script is free software; the Free Software Foundation 1862gives unlimited permission to copy, distribute and modify it. 1863_ACEOF 1864 exit 1865fi 1866 1867## ------------------------ ## 1868## Autoconf initialization. ## 1869## ------------------------ ## 1870 1871# ac_fn_c_try_compile LINENO 1872# -------------------------- 1873# Try to compile conftest.$ac_ext, and return whether this succeeded. 1874ac_fn_c_try_compile () 1875{ 1876 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1877 rm -f conftest.$ac_objext 1878 if { { ac_try="$ac_compile" 1879case "(($ac_try" in 1880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1881 *) ac_try_echo=$ac_try;; 1882esac 1883eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1884$as_echo "$ac_try_echo"; } >&5 1885 (eval "$ac_compile") 2>conftest.err 1886 ac_status=$? 1887 if test -s conftest.err; then 1888 grep -v '^ *+' conftest.err >conftest.er1 1889 cat conftest.er1 >&5 1890 mv -f conftest.er1 conftest.err 1891 fi 1892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1893 test $ac_status = 0; } && { 1894 test -z "$ac_c_werror_flag" || 1895 test ! -s conftest.err 1896 } && test -s conftest.$ac_objext; then : 1897 ac_retval=0 1898else 1899 $as_echo "$as_me: failed program was:" >&5 1900sed 's/^/| /' conftest.$ac_ext >&5 1901 1902 ac_retval=1 1903fi 1904 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1905 as_fn_set_status $ac_retval 1906 1907} # ac_fn_c_try_compile 1908 1909# ac_fn_c_try_cpp LINENO 1910# ---------------------- 1911# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1912ac_fn_c_try_cpp () 1913{ 1914 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1915 if { { ac_try="$ac_cpp conftest.$ac_ext" 1916case "(($ac_try" in 1917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1918 *) ac_try_echo=$ac_try;; 1919esac 1920eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1921$as_echo "$ac_try_echo"; } >&5 1922 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1923 ac_status=$? 1924 if test -s conftest.err; then 1925 grep -v '^ *+' conftest.err >conftest.er1 1926 cat conftest.er1 >&5 1927 mv -f conftest.er1 conftest.err 1928 fi 1929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1930 test $ac_status = 0; } > conftest.i && { 1931 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1932 test ! -s conftest.err 1933 }; then : 1934 ac_retval=0 1935else 1936 $as_echo "$as_me: failed program was:" >&5 1937sed 's/^/| /' conftest.$ac_ext >&5 1938 1939 ac_retval=1 1940fi 1941 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1942 as_fn_set_status $ac_retval 1943 1944} # ac_fn_c_try_cpp 1945 1946# ac_fn_c_try_run LINENO 1947# ---------------------- 1948# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1949# that executables *can* be run. 1950ac_fn_c_try_run () 1951{ 1952 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1953 if { { ac_try="$ac_link" 1954case "(($ac_try" in 1955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1956 *) ac_try_echo=$ac_try;; 1957esac 1958eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1959$as_echo "$ac_try_echo"; } >&5 1960 (eval "$ac_link") 2>&5 1961 ac_status=$? 1962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1963 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1964 { { case "(($ac_try" in 1965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1966 *) ac_try_echo=$ac_try;; 1967esac 1968eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1969$as_echo "$ac_try_echo"; } >&5 1970 (eval "$ac_try") 2>&5 1971 ac_status=$? 1972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1973 test $ac_status = 0; }; }; then : 1974 ac_retval=0 1975else 1976 $as_echo "$as_me: program exited with status $ac_status" >&5 1977 $as_echo "$as_me: failed program was:" >&5 1978sed 's/^/| /' conftest.$ac_ext >&5 1979 1980 ac_retval=$ac_status 1981fi 1982 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1983 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1984 as_fn_set_status $ac_retval 1985 1986} # ac_fn_c_try_run 1987 1988# ac_fn_c_try_link LINENO 1989# ----------------------- 1990# Try to link conftest.$ac_ext, and return whether this succeeded. 1991ac_fn_c_try_link () 1992{ 1993 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1994 rm -f conftest.$ac_objext conftest$ac_exeext 1995 if { { ac_try="$ac_link" 1996case "(($ac_try" in 1997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1998 *) ac_try_echo=$ac_try;; 1999esac 2000eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2001$as_echo "$ac_try_echo"; } >&5 2002 (eval "$ac_link") 2>conftest.err 2003 ac_status=$? 2004 if test -s conftest.err; then 2005 grep -v '^ *+' conftest.err >conftest.er1 2006 cat conftest.er1 >&5 2007 mv -f conftest.er1 conftest.err 2008 fi 2009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2010 test $ac_status = 0; } && { 2011 test -z "$ac_c_werror_flag" || 2012 test ! -s conftest.err 2013 } && test -s conftest$ac_exeext && { 2014 test "$cross_compiling" = yes || 2015 test -x conftest$ac_exeext 2016 }; then : 2017 ac_retval=0 2018else 2019 $as_echo "$as_me: failed program was:" >&5 2020sed 's/^/| /' conftest.$ac_ext >&5 2021 2022 ac_retval=1 2023fi 2024 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2025 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2026 # interfere with the next link command; also delete a directory that is 2027 # left behind by Apple's compiler. We do this before executing the actions. 2028 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2029 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2030 as_fn_set_status $ac_retval 2031 2032} # ac_fn_c_try_link 2033 2034# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 2035# ------------------------------------------------------- 2036# Tests whether HEADER exists and can be compiled using the include files in 2037# INCLUDES, setting the cache variable VAR accordingly. 2038ac_fn_c_check_header_compile () 2039{ 2040 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2042$as_echo_n "checking for $2... " >&6; } 2043if eval \${$3+:} false; then : 2044 $as_echo_n "(cached) " >&6 2045else 2046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2047/* end confdefs.h. */ 2048$4 2049#include <$2> 2050_ACEOF 2051if ac_fn_c_try_compile "$LINENO"; then : 2052 eval "$3=yes" 2053else 2054 eval "$3=no" 2055fi 2056rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2057fi 2058eval ac_res=\$$3 2059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2060$as_echo "$ac_res" >&6; } 2061 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2062 2063} # ac_fn_c_check_header_compile 2064 2065# ac_fn_c_check_func LINENO FUNC VAR 2066# ---------------------------------- 2067# Tests whether FUNC exists, setting the cache variable VAR accordingly 2068ac_fn_c_check_func () 2069{ 2070 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2072$as_echo_n "checking for $2... " >&6; } 2073if eval \${$3+:} false; then : 2074 $as_echo_n "(cached) " >&6 2075else 2076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2077/* end confdefs.h. */ 2078/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2079 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2080#define $2 innocuous_$2 2081 2082/* System header to define __stub macros and hopefully few prototypes, 2083 which can conflict with char $2 (); below. 2084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2085 <limits.h> exists even on freestanding compilers. */ 2086 2087#ifdef __STDC__ 2088# include <limits.h> 2089#else 2090# include <assert.h> 2091#endif 2092 2093#undef $2 2094 2095/* Override any GCC internal prototype to avoid an error. 2096 Use char because int might match the return type of a GCC 2097 builtin and then its argument prototype would still apply. */ 2098#ifdef __cplusplus 2099extern "C" 2100#endif 2101char $2 (); 2102/* The GNU C library defines this for functions which it implements 2103 to always fail with ENOSYS. Some functions are actually named 2104 something starting with __ and the normal name is an alias. */ 2105#if defined __stub_$2 || defined __stub___$2 2106choke me 2107#endif 2108 2109int 2110main () 2111{ 2112return $2 (); 2113 ; 2114 return 0; 2115} 2116_ACEOF 2117if ac_fn_c_try_link "$LINENO"; then : 2118 eval "$3=yes" 2119else 2120 eval "$3=no" 2121fi 2122rm -f core conftest.err conftest.$ac_objext \ 2123 conftest$ac_exeext conftest.$ac_ext 2124fi 2125eval ac_res=\$$3 2126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2127$as_echo "$ac_res" >&6; } 2128 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2129 2130} # ac_fn_c_check_func 2131 2132# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 2133# ------------------------------------------------------- 2134# Tests whether HEADER exists, giving a warning if it cannot be compiled using 2135# the include files in INCLUDES and setting the cache variable VAR 2136# accordingly. 2137ac_fn_c_check_header_mongrel () 2138{ 2139 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2140 if eval \${$3+:} false; then : 2141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2142$as_echo_n "checking for $2... " >&6; } 2143if eval \${$3+:} false; then : 2144 $as_echo_n "(cached) " >&6 2145fi 2146eval ac_res=\$$3 2147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2148$as_echo "$ac_res" >&6; } 2149else 2150 # Is the header compilable? 2151{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2152$as_echo_n "checking $2 usability... " >&6; } 2153cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2154/* end confdefs.h. */ 2155$4 2156#include <$2> 2157_ACEOF 2158if ac_fn_c_try_compile "$LINENO"; then : 2159 ac_header_compiler=yes 2160else 2161 ac_header_compiler=no 2162fi 2163rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2164{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2165$as_echo "$ac_header_compiler" >&6; } 2166 2167# Is the header present? 2168{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2169$as_echo_n "checking $2 presence... " >&6; } 2170cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2171/* end confdefs.h. */ 2172#include <$2> 2173_ACEOF 2174if ac_fn_c_try_cpp "$LINENO"; then : 2175 ac_header_preproc=yes 2176else 2177 ac_header_preproc=no 2178fi 2179rm -f conftest.err conftest.i conftest.$ac_ext 2180{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2181$as_echo "$ac_header_preproc" >&6; } 2182 2183# So? What about this header? 2184case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 2185 yes:no: ) 2186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2187$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2189$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2190 ;; 2191 no:yes:* ) 2192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2193$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2195$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2197$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2199$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2201$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2202( $as_echo "## -------------------------------------------- ## 2203## Report this to http://www.aleksey.com/xmlsec ## 2204## -------------------------------------------- ##" 2205 ) | sed "s/^/$as_me: WARNING: /" >&2 2206 ;; 2207esac 2208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2209$as_echo_n "checking for $2... " >&6; } 2210if eval \${$3+:} false; then : 2211 $as_echo_n "(cached) " >&6 2212else 2213 eval "$3=\$ac_header_compiler" 2214fi 2215eval ac_res=\$$3 2216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2217$as_echo "$ac_res" >&6; } 2218fi 2219 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2220 2221} # ac_fn_c_check_header_mongrel 2222 2223# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 2224# -------------------------------------------- 2225# Tries to find the compile-time value of EXPR in a program that includes 2226# INCLUDES, setting VAR accordingly. Returns whether the value could be 2227# computed 2228ac_fn_c_compute_int () 2229{ 2230 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2231 if test "$cross_compiling" = yes; then 2232 # Depending upon the size, compute the lo and hi bounds. 2233cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2234/* end confdefs.h. */ 2235$4 2236int 2237main () 2238{ 2239static int test_array [1 - 2 * !(($2) >= 0)]; 2240test_array [0] = 0; 2241return test_array [0]; 2242 2243 ; 2244 return 0; 2245} 2246_ACEOF 2247if ac_fn_c_try_compile "$LINENO"; then : 2248 ac_lo=0 ac_mid=0 2249 while :; do 2250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2251/* end confdefs.h. */ 2252$4 2253int 2254main () 2255{ 2256static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2257test_array [0] = 0; 2258return test_array [0]; 2259 2260 ; 2261 return 0; 2262} 2263_ACEOF 2264if ac_fn_c_try_compile "$LINENO"; then : 2265 ac_hi=$ac_mid; break 2266else 2267 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 2268 if test $ac_lo -le $ac_mid; then 2269 ac_lo= ac_hi= 2270 break 2271 fi 2272 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 2273fi 2274rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2275 done 2276else 2277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2278/* end confdefs.h. */ 2279$4 2280int 2281main () 2282{ 2283static int test_array [1 - 2 * !(($2) < 0)]; 2284test_array [0] = 0; 2285return test_array [0]; 2286 2287 ; 2288 return 0; 2289} 2290_ACEOF 2291if ac_fn_c_try_compile "$LINENO"; then : 2292 ac_hi=-1 ac_mid=-1 2293 while :; do 2294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2295/* end confdefs.h. */ 2296$4 2297int 2298main () 2299{ 2300static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 2301test_array [0] = 0; 2302return test_array [0]; 2303 2304 ; 2305 return 0; 2306} 2307_ACEOF 2308if ac_fn_c_try_compile "$LINENO"; then : 2309 ac_lo=$ac_mid; break 2310else 2311 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 2312 if test $ac_mid -le $ac_hi; then 2313 ac_lo= ac_hi= 2314 break 2315 fi 2316 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 2317fi 2318rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2319 done 2320else 2321 ac_lo= ac_hi= 2322fi 2323rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2324fi 2325rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2326# Binary search between lo and hi bounds. 2327while test "x$ac_lo" != "x$ac_hi"; do 2328 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 2329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2330/* end confdefs.h. */ 2331$4 2332int 2333main () 2334{ 2335static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2336test_array [0] = 0; 2337return test_array [0]; 2338 2339 ; 2340 return 0; 2341} 2342_ACEOF 2343if ac_fn_c_try_compile "$LINENO"; then : 2344 ac_hi=$ac_mid 2345else 2346 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2347fi 2348rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2349done 2350case $ac_lo in #(( 2351?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2352'') ac_retval=1 ;; 2353esac 2354 else 2355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2356/* end confdefs.h. */ 2357$4 2358static long int longval () { return $2; } 2359static unsigned long int ulongval () { return $2; } 2360#include <stdio.h> 2361#include <stdlib.h> 2362int 2363main () 2364{ 2365 2366 FILE *f = fopen ("conftest.val", "w"); 2367 if (! f) 2368 return 1; 2369 if (($2) < 0) 2370 { 2371 long int i = longval (); 2372 if (i != ($2)) 2373 return 1; 2374 fprintf (f, "%ld", i); 2375 } 2376 else 2377 { 2378 unsigned long int i = ulongval (); 2379 if (i != ($2)) 2380 return 1; 2381 fprintf (f, "%lu", i); 2382 } 2383 /* Do not output a trailing newline, as this causes \r\n confusion 2384 on some platforms. */ 2385 return ferror (f) || fclose (f) != 0; 2386 2387 ; 2388 return 0; 2389} 2390_ACEOF 2391if ac_fn_c_try_run "$LINENO"; then : 2392 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2393else 2394 ac_retval=1 2395fi 2396rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2397 conftest.$ac_objext conftest.beam conftest.$ac_ext 2398rm -f conftest.val 2399 2400 fi 2401 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2402 as_fn_set_status $ac_retval 2403 2404} # ac_fn_c_compute_int 2405cat >config.log <<_ACEOF 2406This file contains any messages produced by compilers while 2407running configure, to aid debugging if configure makes a mistake. 2408 2409It was created by xmlsec1 $as_me 1.2.29, which was 2410generated by GNU Autoconf 2.69. Invocation command line was 2411 2412 $ $0 $@ 2413 2414_ACEOF 2415exec 5>>config.log 2416{ 2417cat <<_ASUNAME 2418## --------- ## 2419## Platform. ## 2420## --------- ## 2421 2422hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2423uname -m = `(uname -m) 2>/dev/null || echo unknown` 2424uname -r = `(uname -r) 2>/dev/null || echo unknown` 2425uname -s = `(uname -s) 2>/dev/null || echo unknown` 2426uname -v = `(uname -v) 2>/dev/null || echo unknown` 2427 2428/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2429/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2430 2431/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2432/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2433/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2434/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2435/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2436/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2437/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2438 2439_ASUNAME 2440 2441as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2442for as_dir in $PATH 2443do 2444 IFS=$as_save_IFS 2445 test -z "$as_dir" && as_dir=. 2446 $as_echo "PATH: $as_dir" 2447 done 2448IFS=$as_save_IFS 2449 2450} >&5 2451 2452cat >&5 <<_ACEOF 2453 2454 2455## ----------- ## 2456## Core tests. ## 2457## ----------- ## 2458 2459_ACEOF 2460 2461 2462# Keep a trace of the command line. 2463# Strip out --no-create and --no-recursion so they do not pile up. 2464# Strip out --silent because we don't want to record it for future runs. 2465# Also quote any args containing shell meta-characters. 2466# Make two passes to allow for proper duplicate-argument suppression. 2467ac_configure_args= 2468ac_configure_args0= 2469ac_configure_args1= 2470ac_must_keep_next=false 2471for ac_pass in 1 2 2472do 2473 for ac_arg 2474 do 2475 case $ac_arg in 2476 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2477 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2478 | -silent | --silent | --silen | --sile | --sil) 2479 continue ;; 2480 *\'*) 2481 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2482 esac 2483 case $ac_pass in 2484 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2485 2) 2486 as_fn_append ac_configure_args1 " '$ac_arg'" 2487 if test $ac_must_keep_next = true; then 2488 ac_must_keep_next=false # Got value, back to normal. 2489 else 2490 case $ac_arg in 2491 *=* | --config-cache | -C | -disable-* | --disable-* \ 2492 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2493 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2494 | -with-* | --with-* | -without-* | --without-* | --x) 2495 case "$ac_configure_args0 " in 2496 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2497 esac 2498 ;; 2499 -* ) ac_must_keep_next=true ;; 2500 esac 2501 fi 2502 as_fn_append ac_configure_args " '$ac_arg'" 2503 ;; 2504 esac 2505 done 2506done 2507{ ac_configure_args0=; unset ac_configure_args0;} 2508{ ac_configure_args1=; unset ac_configure_args1;} 2509 2510# When interrupted or exit'd, cleanup temporary files, and complete 2511# config.log. We remove comments because anyway the quotes in there 2512# would cause problems or look ugly. 2513# WARNING: Use '\'' to represent an apostrophe within the trap. 2514# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2515trap 'exit_status=$? 2516 # Save into config.log some information that might help in debugging. 2517 { 2518 echo 2519 2520 $as_echo "## ---------------- ## 2521## Cache variables. ## 2522## ---------------- ##" 2523 echo 2524 # The following way of writing the cache mishandles newlines in values, 2525( 2526 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2527 eval ac_val=\$$ac_var 2528 case $ac_val in #( 2529 *${as_nl}*) 2530 case $ac_var in #( 2531 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2532$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2533 esac 2534 case $ac_var in #( 2535 _ | IFS | as_nl) ;; #( 2536 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2537 *) { eval $ac_var=; unset $ac_var;} ;; 2538 esac ;; 2539 esac 2540 done 2541 (set) 2>&1 | 2542 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2543 *${as_nl}ac_space=\ *) 2544 sed -n \ 2545 "s/'\''/'\''\\\\'\'''\''/g; 2546 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2547 ;; #( 2548 *) 2549 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2550 ;; 2551 esac | 2552 sort 2553) 2554 echo 2555 2556 $as_echo "## ----------------- ## 2557## Output variables. ## 2558## ----------------- ##" 2559 echo 2560 for ac_var in $ac_subst_vars 2561 do 2562 eval ac_val=\$$ac_var 2563 case $ac_val in 2564 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2565 esac 2566 $as_echo "$ac_var='\''$ac_val'\''" 2567 done | sort 2568 echo 2569 2570 if test -n "$ac_subst_files"; then 2571 $as_echo "## ------------------- ## 2572## File substitutions. ## 2573## ------------------- ##" 2574 echo 2575 for ac_var in $ac_subst_files 2576 do 2577 eval ac_val=\$$ac_var 2578 case $ac_val in 2579 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2580 esac 2581 $as_echo "$ac_var='\''$ac_val'\''" 2582 done | sort 2583 echo 2584 fi 2585 2586 if test -s confdefs.h; then 2587 $as_echo "## ----------- ## 2588## confdefs.h. ## 2589## ----------- ##" 2590 echo 2591 cat confdefs.h 2592 echo 2593 fi 2594 test "$ac_signal" != 0 && 2595 $as_echo "$as_me: caught signal $ac_signal" 2596 $as_echo "$as_me: exit $exit_status" 2597 } >&5 2598 rm -f core *.core core.conftest.* && 2599 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2600 exit $exit_status 2601' 0 2602for ac_signal in 1 2 13 15; do 2603 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2604done 2605ac_signal=0 2606 2607# confdefs.h avoids OS command line length limits that DEFS can exceed. 2608rm -f -r conftest* confdefs.h 2609 2610$as_echo "/* confdefs.h */" > confdefs.h 2611 2612# Predefined preprocessor variables. 2613 2614cat >>confdefs.h <<_ACEOF 2615#define PACKAGE_NAME "$PACKAGE_NAME" 2616_ACEOF 2617 2618cat >>confdefs.h <<_ACEOF 2619#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2620_ACEOF 2621 2622cat >>confdefs.h <<_ACEOF 2623#define PACKAGE_VERSION "$PACKAGE_VERSION" 2624_ACEOF 2625 2626cat >>confdefs.h <<_ACEOF 2627#define PACKAGE_STRING "$PACKAGE_STRING" 2628_ACEOF 2629 2630cat >>confdefs.h <<_ACEOF 2631#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2632_ACEOF 2633 2634cat >>confdefs.h <<_ACEOF 2635#define PACKAGE_URL "$PACKAGE_URL" 2636_ACEOF 2637 2638 2639# Let the site file select an alternate cache file if it wants to. 2640# Prefer an explicitly selected file to automatically selected ones. 2641ac_site_file1=NONE 2642ac_site_file2=NONE 2643if test -n "$CONFIG_SITE"; then 2644 # We do not want a PATH search for config.site. 2645 case $CONFIG_SITE in #(( 2646 -*) ac_site_file1=./$CONFIG_SITE;; 2647 */*) ac_site_file1=$CONFIG_SITE;; 2648 *) ac_site_file1=./$CONFIG_SITE;; 2649 esac 2650elif test "x$prefix" != xNONE; then 2651 ac_site_file1=$prefix/share/config.site 2652 ac_site_file2=$prefix/etc/config.site 2653else 2654 ac_site_file1=$ac_default_prefix/share/config.site 2655 ac_site_file2=$ac_default_prefix/etc/config.site 2656fi 2657for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2658do 2659 test "x$ac_site_file" = xNONE && continue 2660 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2661 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2662$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2663 sed 's/^/| /' "$ac_site_file" >&5 2664 . "$ac_site_file" \ 2665 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2666$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2667as_fn_error $? "failed to load site script $ac_site_file 2668See \`config.log' for more details" "$LINENO" 5; } 2669 fi 2670done 2671 2672if test -r "$cache_file"; then 2673 # Some versions of bash will fail to source /dev/null (special files 2674 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2675 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2676 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2677$as_echo "$as_me: loading cache $cache_file" >&6;} 2678 case $cache_file in 2679 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2680 *) . "./$cache_file";; 2681 esac 2682 fi 2683else 2684 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2685$as_echo "$as_me: creating cache $cache_file" >&6;} 2686 >$cache_file 2687fi 2688 2689# Check that the precious variables saved in the cache have kept the same 2690# value. 2691ac_cache_corrupted=false 2692for ac_var in $ac_precious_vars; do 2693 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2694 eval ac_new_set=\$ac_env_${ac_var}_set 2695 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2696 eval ac_new_val=\$ac_env_${ac_var}_value 2697 case $ac_old_set,$ac_new_set in 2698 set,) 2699 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2700$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2701 ac_cache_corrupted=: ;; 2702 ,set) 2703 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2704$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2705 ac_cache_corrupted=: ;; 2706 ,);; 2707 *) 2708 if test "x$ac_old_val" != "x$ac_new_val"; then 2709 # differences in whitespace do not lead to failure. 2710 ac_old_val_w=`echo x $ac_old_val` 2711 ac_new_val_w=`echo x $ac_new_val` 2712 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2713 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2714$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2715 ac_cache_corrupted=: 2716 else 2717 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2718$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2719 eval $ac_var=\$ac_old_val 2720 fi 2721 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2722$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2723 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2724$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2725 fi;; 2726 esac 2727 # Pass precious variables to config.status. 2728 if test "$ac_new_set" = set; then 2729 case $ac_new_val in 2730 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2731 *) ac_arg=$ac_var=$ac_new_val ;; 2732 esac 2733 case " $ac_configure_args " in 2734 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2735 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2736 esac 2737 fi 2738done 2739if $ac_cache_corrupted; then 2740 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2741$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2742 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2743$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2744 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2745fi 2746## -------------------- ## 2747## Main body of script. ## 2748## -------------------- ## 2749 2750ac_ext=c 2751ac_cpp='$CPP $CPPFLAGS' 2752ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2753ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2754ac_compiler_gnu=$ac_cv_c_compiler_gnu 2755 2756 2757 2758XMLSEC_PACKAGE=xmlsec1 2759XMLSEC_VERSION_MAJOR=1 2760XMLSEC_VERSION_MINOR=2 2761XMLSEC_VERSION_SUBMINOR=29 2762XMLSEC_VERSION="$XMLSEC_VERSION_MAJOR.$XMLSEC_VERSION_MINOR.$XMLSEC_VERSION_SUBMINOR" 2763XMLSEC_VERSION_INFO=`echo $XMLSEC_VERSION | awk -F. '{ printf "%d:%d:%d", $1+$2, $3, $2 }'` 2764XMLSEC_VERSION_SAFE=`echo $XMLSEC_VERSION | sed 's/\./_/g'` 2765 2766 2767ac_ext=c 2768ac_cpp='$CPP $CPPFLAGS' 2769ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2770ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2771ac_compiler_gnu=$ac_cv_c_compiler_gnu 2772 2773ac_aux_dir= 2774for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2775 if test -f "$ac_dir/install-sh"; then 2776 ac_aux_dir=$ac_dir 2777 ac_install_sh="$ac_aux_dir/install-sh -c" 2778 break 2779 elif test -f "$ac_dir/install.sh"; then 2780 ac_aux_dir=$ac_dir 2781 ac_install_sh="$ac_aux_dir/install.sh -c" 2782 break 2783 elif test -f "$ac_dir/shtool"; then 2784 ac_aux_dir=$ac_dir 2785 ac_install_sh="$ac_aux_dir/shtool install -c" 2786 break 2787 fi 2788done 2789if test -z "$ac_aux_dir"; then 2790 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2791fi 2792 2793# These three variables are undocumented and unsupported, 2794# and are intended to be withdrawn in a future Autoconf release. 2795# They can cause serious problems if a builder's source tree is in a directory 2796# whose full name contains unusual characters. 2797ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2798ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2799ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2800 2801 2802# Make sure we can run config.sub. 2803$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2804 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2805 2806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2807$as_echo_n "checking build system type... " >&6; } 2808if ${ac_cv_build+:} false; then : 2809 $as_echo_n "(cached) " >&6 2810else 2811 ac_build_alias=$build_alias 2812test "x$ac_build_alias" = x && 2813 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2814test "x$ac_build_alias" = x && 2815 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2816ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2817 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2818 2819fi 2820{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2821$as_echo "$ac_cv_build" >&6; } 2822case $ac_cv_build in 2823*-*-*) ;; 2824*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2825esac 2826build=$ac_cv_build 2827ac_save_IFS=$IFS; IFS='-' 2828set x $ac_cv_build 2829shift 2830build_cpu=$1 2831build_vendor=$2 2832shift; shift 2833# Remember, the first character of IFS is used to create $*, 2834# except with old shells: 2835build_os=$* 2836IFS=$ac_save_IFS 2837case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2838 2839 2840{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2841$as_echo_n "checking host system type... " >&6; } 2842if ${ac_cv_host+:} false; then : 2843 $as_echo_n "(cached) " >&6 2844else 2845 if test "x$host_alias" = x; then 2846 ac_cv_host=$ac_cv_build 2847else 2848 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2849 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2850fi 2851 2852fi 2853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2854$as_echo "$ac_cv_host" >&6; } 2855case $ac_cv_host in 2856*-*-*) ;; 2857*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2858esac 2859host=$ac_cv_host 2860ac_save_IFS=$IFS; IFS='-' 2861set x $ac_cv_host 2862shift 2863host_cpu=$1 2864host_vendor=$2 2865shift; shift 2866# Remember, the first character of IFS is used to create $*, 2867# except with old shells: 2868host_os=$* 2869IFS=$ac_save_IFS 2870case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883am__api_version='1.15' 2884 2885# Find a good install program. We prefer a C program (faster), 2886# so one script is as good as another. But avoid the broken or 2887# incompatible versions: 2888# SysV /etc/install, /usr/sbin/install 2889# SunOS /usr/etc/install 2890# IRIX /sbin/install 2891# AIX /bin/install 2892# AmigaOS /C/install, which installs bootblocks on floppy discs 2893# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2894# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2895# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2896# OS/2's system install, which has a completely different semantic 2897# ./install, which can be erroneously created by make from ./install.sh. 2898# Reject install programs that cannot install multiple files. 2899{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2900$as_echo_n "checking for a BSD-compatible install... " >&6; } 2901if test -z "$INSTALL"; then 2902if ${ac_cv_path_install+:} false; then : 2903 $as_echo_n "(cached) " >&6 2904else 2905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2906for as_dir in $PATH 2907do 2908 IFS=$as_save_IFS 2909 test -z "$as_dir" && as_dir=. 2910 # Account for people who put trailing slashes in PATH elements. 2911case $as_dir/ in #(( 2912 ./ | .// | /[cC]/* | \ 2913 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2914 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2915 /usr/ucb/* ) ;; 2916 *) 2917 # OSF1 and SCO ODT 3.0 have their own names for install. 2918 # Don't use installbsd from OSF since it installs stuff as root 2919 # by default. 2920 for ac_prog in ginstall scoinst install; do 2921 for ac_exec_ext in '' $ac_executable_extensions; do 2922 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2923 if test $ac_prog = install && 2924 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2925 # AIX install. It has an incompatible calling convention. 2926 : 2927 elif test $ac_prog = install && 2928 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2929 # program-specific install script used by HP pwplus--don't use. 2930 : 2931 else 2932 rm -rf conftest.one conftest.two conftest.dir 2933 echo one > conftest.one 2934 echo two > conftest.two 2935 mkdir conftest.dir 2936 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2937 test -s conftest.one && test -s conftest.two && 2938 test -s conftest.dir/conftest.one && 2939 test -s conftest.dir/conftest.two 2940 then 2941 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2942 break 3 2943 fi 2944 fi 2945 fi 2946 done 2947 done 2948 ;; 2949esac 2950 2951 done 2952IFS=$as_save_IFS 2953 2954rm -rf conftest.one conftest.two conftest.dir 2955 2956fi 2957 if test "${ac_cv_path_install+set}" = set; then 2958 INSTALL=$ac_cv_path_install 2959 else 2960 # As a last resort, use the slow shell script. Don't cache a 2961 # value for INSTALL within a source directory, because that will 2962 # break other packages using the cache if that directory is 2963 # removed, or if the value is a relative name. 2964 INSTALL=$ac_install_sh 2965 fi 2966fi 2967{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2968$as_echo "$INSTALL" >&6; } 2969 2970# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2971# It thinks the first close brace ends the variable substitution. 2972test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2973 2974test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2975 2976test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2977 2978{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2979$as_echo_n "checking whether build environment is sane... " >&6; } 2980# Reject unsafe characters in $srcdir or the absolute working directory 2981# name. Accept space and tab only in the latter. 2982am_lf=' 2983' 2984case `pwd` in 2985 *[\\\"\#\$\&\'\`$am_lf]*) 2986 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2987esac 2988case $srcdir in 2989 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2990 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2991esac 2992 2993# Do 'set' in a subshell so we don't clobber the current shell's 2994# arguments. Must try -L first in case configure is actually a 2995# symlink; some systems play weird games with the mod time of symlinks 2996# (eg FreeBSD returns the mod time of the symlink's containing 2997# directory). 2998if ( 2999 am_has_slept=no 3000 for am_try in 1 2; do 3001 echo "timestamp, slept: $am_has_slept" > conftest.file 3002 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 3003 if test "$*" = "X"; then 3004 # -L didn't work. 3005 set X `ls -t "$srcdir/configure" conftest.file` 3006 fi 3007 if test "$*" != "X $srcdir/configure conftest.file" \ 3008 && test "$*" != "X conftest.file $srcdir/configure"; then 3009 3010 # If neither matched, then we have a broken ls. This can happen 3011 # if, for instance, CONFIG_SHELL is bash and it inherits a 3012 # broken ls alias from the environment. This has actually 3013 # happened. Such a system could not be considered "sane". 3014 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 3015 alias in your environment" "$LINENO" 5 3016 fi 3017 if test "$2" = conftest.file || test $am_try -eq 2; then 3018 break 3019 fi 3020 # Just in case. 3021 sleep 1 3022 am_has_slept=yes 3023 done 3024 test "$2" = conftest.file 3025 ) 3026then 3027 # Ok. 3028 : 3029else 3030 as_fn_error $? "newly created file is older than distributed files! 3031Check your system clock" "$LINENO" 5 3032fi 3033{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3034$as_echo "yes" >&6; } 3035# If we didn't sleep, we still need to ensure time stamps of config.status and 3036# generated files are strictly newer. 3037am_sleep_pid= 3038if grep 'slept: no' conftest.file >/dev/null 2>&1; then 3039 ( sleep 1 ) & 3040 am_sleep_pid=$! 3041fi 3042 3043rm -f conftest.file 3044 3045test "$program_prefix" != NONE && 3046 program_transform_name="s&^&$program_prefix&;$program_transform_name" 3047# Use a double $ so make ignores it. 3048test "$program_suffix" != NONE && 3049 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 3050# Double any \ or $. 3051# By default was `s,x,x', remove it if useless. 3052ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 3053program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 3054 3055# Expand $ac_aux_dir to an absolute path. 3056am_aux_dir=`cd "$ac_aux_dir" && pwd` 3057 3058if test x"${MISSING+set}" != xset; then 3059 case $am_aux_dir in 3060 *\ * | *\ *) 3061 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 3062 *) 3063 MISSING="\${SHELL} $am_aux_dir/missing" ;; 3064 esac 3065fi 3066# Use eval to expand $SHELL 3067if eval "$MISSING --is-lightweight"; then 3068 am_missing_run="$MISSING " 3069else 3070 am_missing_run= 3071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 3072$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 3073fi 3074 3075if test x"${install_sh+set}" != xset; then 3076 case $am_aux_dir in 3077 *\ * | *\ *) 3078 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 3079 *) 3080 install_sh="\${SHELL} $am_aux_dir/install-sh" 3081 esac 3082fi 3083 3084# Installed binaries are usually stripped using 'strip' when the user 3085# run "make install-strip". However 'strip' might not be the right 3086# tool to use in cross-compilation environments, therefore Automake 3087# will honor the 'STRIP' environment variable to overrule this program. 3088if test "$cross_compiling" != no; then 3089 if test -n "$ac_tool_prefix"; then 3090 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 3091set dummy ${ac_tool_prefix}strip; ac_word=$2 3092{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3093$as_echo_n "checking for $ac_word... " >&6; } 3094if ${ac_cv_prog_STRIP+:} false; then : 3095 $as_echo_n "(cached) " >&6 3096else 3097 if test -n "$STRIP"; then 3098 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 3099else 3100as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3101for as_dir in $PATH 3102do 3103 IFS=$as_save_IFS 3104 test -z "$as_dir" && as_dir=. 3105 for ac_exec_ext in '' $ac_executable_extensions; do 3106 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3107 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 3108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3109 break 2 3110 fi 3111done 3112 done 3113IFS=$as_save_IFS 3114 3115fi 3116fi 3117STRIP=$ac_cv_prog_STRIP 3118if test -n "$STRIP"; then 3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 3120$as_echo "$STRIP" >&6; } 3121else 3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3123$as_echo "no" >&6; } 3124fi 3125 3126 3127fi 3128if test -z "$ac_cv_prog_STRIP"; then 3129 ac_ct_STRIP=$STRIP 3130 # Extract the first word of "strip", so it can be a program name with args. 3131set dummy strip; ac_word=$2 3132{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3133$as_echo_n "checking for $ac_word... " >&6; } 3134if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 3135 $as_echo_n "(cached) " >&6 3136else 3137 if test -n "$ac_ct_STRIP"; then 3138 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 3139else 3140as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3141for as_dir in $PATH 3142do 3143 IFS=$as_save_IFS 3144 test -z "$as_dir" && as_dir=. 3145 for ac_exec_ext in '' $ac_executable_extensions; do 3146 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3147 ac_cv_prog_ac_ct_STRIP="strip" 3148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3149 break 2 3150 fi 3151done 3152 done 3153IFS=$as_save_IFS 3154 3155fi 3156fi 3157ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 3158if test -n "$ac_ct_STRIP"; then 3159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 3160$as_echo "$ac_ct_STRIP" >&6; } 3161else 3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3163$as_echo "no" >&6; } 3164fi 3165 3166 if test "x$ac_ct_STRIP" = x; then 3167 STRIP=":" 3168 else 3169 case $cross_compiling:$ac_tool_warned in 3170yes:) 3171{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3172$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3173ac_tool_warned=yes ;; 3174esac 3175 STRIP=$ac_ct_STRIP 3176 fi 3177else 3178 STRIP="$ac_cv_prog_STRIP" 3179fi 3180 3181fi 3182INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3183 3184{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 3185$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3186if test -z "$MKDIR_P"; then 3187 if ${ac_cv_path_mkdir+:} false; then : 3188 $as_echo_n "(cached) " >&6 3189else 3190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3191for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 3192do 3193 IFS=$as_save_IFS 3194 test -z "$as_dir" && as_dir=. 3195 for ac_prog in mkdir gmkdir; do 3196 for ac_exec_ext in '' $ac_executable_extensions; do 3197 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 3198 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 3199 'mkdir (GNU coreutils) '* | \ 3200 'mkdir (coreutils) '* | \ 3201 'mkdir (fileutils) '4.1*) 3202 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 3203 break 3;; 3204 esac 3205 done 3206 done 3207 done 3208IFS=$as_save_IFS 3209 3210fi 3211 3212 test -d ./--version && rmdir ./--version 3213 if test "${ac_cv_path_mkdir+set}" = set; then 3214 MKDIR_P="$ac_cv_path_mkdir -p" 3215 else 3216 # As a last resort, use the slow shell script. Don't cache a 3217 # value for MKDIR_P within a source directory, because that will 3218 # break other packages using the cache if that directory is 3219 # removed, or if the value is a relative name. 3220 MKDIR_P="$ac_install_sh -d" 3221 fi 3222fi 3223{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 3224$as_echo "$MKDIR_P" >&6; } 3225 3226for ac_prog in gawk mawk nawk awk 3227do 3228 # Extract the first word of "$ac_prog", so it can be a program name with args. 3229set dummy $ac_prog; ac_word=$2 3230{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3231$as_echo_n "checking for $ac_word... " >&6; } 3232if ${ac_cv_prog_AWK+:} false; then : 3233 $as_echo_n "(cached) " >&6 3234else 3235 if test -n "$AWK"; then 3236 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3237else 3238as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3239for as_dir in $PATH 3240do 3241 IFS=$as_save_IFS 3242 test -z "$as_dir" && as_dir=. 3243 for ac_exec_ext in '' $ac_executable_extensions; do 3244 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3245 ac_cv_prog_AWK="$ac_prog" 3246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3247 break 2 3248 fi 3249done 3250 done 3251IFS=$as_save_IFS 3252 3253fi 3254fi 3255AWK=$ac_cv_prog_AWK 3256if test -n "$AWK"; then 3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3258$as_echo "$AWK" >&6; } 3259else 3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3261$as_echo "no" >&6; } 3262fi 3263 3264 3265 test -n "$AWK" && break 3266done 3267 3268{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3269$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3270set x ${MAKE-make} 3271ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3272if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3273 $as_echo_n "(cached) " >&6 3274else 3275 cat >conftest.make <<\_ACEOF 3276SHELL = /bin/sh 3277all: 3278 @echo '@@@%%%=$(MAKE)=@@@%%%' 3279_ACEOF 3280# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3281case `${MAKE-make} -f conftest.make 2>/dev/null` in 3282 *@@@%%%=?*=@@@%%%*) 3283 eval ac_cv_prog_make_${ac_make}_set=yes;; 3284 *) 3285 eval ac_cv_prog_make_${ac_make}_set=no;; 3286esac 3287rm -f conftest.make 3288fi 3289if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3291$as_echo "yes" >&6; } 3292 SET_MAKE= 3293else 3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3295$as_echo "no" >&6; } 3296 SET_MAKE="MAKE=${MAKE-make}" 3297fi 3298 3299rm -rf .tst 2>/dev/null 3300mkdir .tst 2>/dev/null 3301if test -d .tst; then 3302 am__leading_dot=. 3303else 3304 am__leading_dot=_ 3305fi 3306rmdir .tst 2>/dev/null 3307 3308# Check whether --enable-silent-rules was given. 3309if test "${enable_silent_rules+set}" = set; then : 3310 enableval=$enable_silent_rules; 3311fi 3312 3313case $enable_silent_rules in # ((( 3314 yes) AM_DEFAULT_VERBOSITY=0;; 3315 no) AM_DEFAULT_VERBOSITY=1;; 3316 *) AM_DEFAULT_VERBOSITY=1;; 3317esac 3318am_make=${MAKE-make} 3319{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3320$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3321if ${am_cv_make_support_nested_variables+:} false; then : 3322 $as_echo_n "(cached) " >&6 3323else 3324 if $as_echo 'TRUE=$(BAR$(V)) 3325BAR0=false 3326BAR1=true 3327V=1 3328am__doit: 3329 @$(TRUE) 3330.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3331 am_cv_make_support_nested_variables=yes 3332else 3333 am_cv_make_support_nested_variables=no 3334fi 3335fi 3336{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3337$as_echo "$am_cv_make_support_nested_variables" >&6; } 3338if test $am_cv_make_support_nested_variables = yes; then 3339 AM_V='$(V)' 3340 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3341else 3342 AM_V=$AM_DEFAULT_VERBOSITY 3343 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3344fi 3345AM_BACKSLASH='\' 3346 3347if test "`cd $srcdir && pwd`" != "`pwd`"; then 3348 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3349 # is not polluted with repeated "-I." 3350 am__isrc=' -I$(srcdir)' 3351 # test to see if srcdir already configured 3352 if test -f $srcdir/config.status; then 3353 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3354 fi 3355fi 3356 3357# test whether we have cygpath 3358if test -z "$CYGPATH_W"; then 3359 if (cygpath --version) >/dev/null 2>/dev/null; then 3360 CYGPATH_W='cygpath -w' 3361 else 3362 CYGPATH_W=echo 3363 fi 3364fi 3365 3366 3367# Define the identity of the package. 3368 PACKAGE='xmlsec1' 3369 VERSION='1.2.29' 3370 3371 3372cat >>confdefs.h <<_ACEOF 3373#define PACKAGE "$PACKAGE" 3374_ACEOF 3375 3376 3377cat >>confdefs.h <<_ACEOF 3378#define VERSION "$VERSION" 3379_ACEOF 3380 3381# Some tools Automake needs. 3382 3383ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3384 3385 3386AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3387 3388 3389AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3390 3391 3392AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3393 3394 3395MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3396 3397# For better backward compatibility. To be removed once Automake 1.9.x 3398# dies out for good. For more background, see: 3399# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 3400# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 3401mkdir_p='$(MKDIR_P)' 3402 3403# We need awk for the "check" target (and possibly the TAP driver). The 3404# system "awk" is bad on some platforms. 3405# Always define AMTAR for backward compatibility. Yes, it's still used 3406# in the wild :-( We should find a proper way to deprecate it ... 3407AMTAR='$${TAR-tar}' 3408 3409 3410# We'll loop over all known methods to create a tar archive until one works. 3411_am_tools='gnutar plaintar pax cpio none' 3412 3413# The POSIX 1988 'ustar' format is defined with fixed-size fields. 3414 # There is notably a 21 bits limit for the UID and the GID. In fact, 3415 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 3416 # and bug#13588). 3417 am_max_uid=2097151 # 2^21 - 1 3418 am_max_gid=$am_max_uid 3419 # The $UID and $GID variables are not portable, so we need to resort 3420 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls 3421 # below are definitely unexpected, so allow the users to see them 3422 # (that is, avoid stderr redirection). 3423 am_uid=`id -u || echo unknown` 3424 am_gid=`id -g || echo unknown` 3425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5 3426$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; } 3427 if test $am_uid -le $am_max_uid; then 3428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3429$as_echo "yes" >&6; } 3430 else 3431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3432$as_echo "no" >&6; } 3433 _am_tools=none 3434 fi 3435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5 3436$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; } 3437 if test $am_gid -le $am_max_gid; then 3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3439$as_echo "yes" >&6; } 3440 else 3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3442$as_echo "no" >&6; } 3443 _am_tools=none 3444 fi 3445 3446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5 3447$as_echo_n "checking how to create a ustar tar archive... " >&6; } 3448 3449 # Go ahead even if we have the value already cached. We do so because we 3450 # need to set the values for the 'am__tar' and 'am__untar' variables. 3451 _am_tools=${am_cv_prog_tar_ustar-$_am_tools} 3452 3453 for _am_tool in $_am_tools; do 3454 case $_am_tool in 3455 gnutar) 3456 for _am_tar in tar gnutar gtar; do 3457 { echo "$as_me:$LINENO: $_am_tar --version" >&5 3458 ($_am_tar --version) >&5 2>&5 3459 ac_status=$? 3460 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3461 (exit $ac_status); } && break 3462 done 3463 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"' 3464 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"' 3465 am__untar="$_am_tar -xf -" 3466 ;; 3467 plaintar) 3468 # Must skip GNU tar: if it does not support --format= it doesn't create 3469 # ustar tarball either. 3470 (tar --version) >/dev/null 2>&1 && continue 3471 am__tar='tar chf - "$$tardir"' 3472 am__tar_='tar chf - "$tardir"' 3473 am__untar='tar xf -' 3474 ;; 3475 pax) 3476 am__tar='pax -L -x ustar -w "$$tardir"' 3477 am__tar_='pax -L -x ustar -w "$tardir"' 3478 am__untar='pax -r' 3479 ;; 3480 cpio) 3481 am__tar='find "$$tardir" -print | cpio -o -H ustar -L' 3482 am__tar_='find "$tardir" -print | cpio -o -H ustar -L' 3483 am__untar='cpio -i -H ustar -d' 3484 ;; 3485 none) 3486 am__tar=false 3487 am__tar_=false 3488 am__untar=false 3489 ;; 3490 esac 3491 3492 # If the value was cached, stop now. We just wanted to have am__tar 3493 # and am__untar set. 3494 test -n "${am_cv_prog_tar_ustar}" && break 3495 3496 # tar/untar a dummy directory, and stop if the command works. 3497 rm -rf conftest.dir 3498 mkdir conftest.dir 3499 echo GrepMe > conftest.dir/file 3500 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 3501 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 3502 ac_status=$? 3503 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3504 (exit $ac_status); } 3505 rm -rf conftest.dir 3506 if test -s conftest.tar; then 3507 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5 3508 ($am__untar <conftest.tar) >&5 2>&5 3509 ac_status=$? 3510 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3511 (exit $ac_status); } 3512 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5 3513 (cat conftest.dir/file) >&5 2>&5 3514 ac_status=$? 3515 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3516 (exit $ac_status); } 3517 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 3518 fi 3519 done 3520 rm -rf conftest.dir 3521 3522 if ${am_cv_prog_tar_ustar+:} false; then : 3523 $as_echo_n "(cached) " >&6 3524else 3525 am_cv_prog_tar_ustar=$_am_tool 3526fi 3527 3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5 3529$as_echo "$am_cv_prog_tar_ustar" >&6; } 3530 3531 3532 3533 3534 3535 3536# POSIX will say in a future version that running "rm -f" with no argument 3537# is OK; and we want to be able to make that assumption in our Makefile 3538# recipes. So use an aggressive probe to check that the usage we want is 3539# actually supported "in the wild" to an acceptable degree. 3540# See automake bug#10828. 3541# To make any issue more visible, cause the running configure to be aborted 3542# by default if the 'rm' program in use doesn't match our expectations; the 3543# user can still override this though. 3544if rm -f && rm -fr && rm -rf; then : OK; else 3545 cat >&2 <<'END' 3546Oops! 3547 3548Your 'rm' program seems unable to run without file operands specified 3549on the command line, even when the '-f' option is present. This is contrary 3550to the behaviour of most rm programs out there, and not conforming with 3551the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3552 3553Please tell bug-automake@gnu.org about your system, including the value 3554of your $PATH and any error possibly output before this message. This 3555can help us improve future automake versions. 3556 3557END 3558 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3559 echo 'Configuration will proceed anyway, since you have set the' >&2 3560 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3561 echo >&2 3562 else 3563 cat >&2 <<'END' 3564Aborting the configuration process, to ensure you take notice of the issue. 3565 3566You can download and install GNU coreutils to get an 'rm' implementation 3567that behaves properly: <http://www.gnu.org/software/coreutils/>. 3568 3569If you want to complete the configuration process using your problematic 3570'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3571to "yes", and re-run configure. 3572 3573END 3574 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3575 fi 3576fi 3577 3578ac_config_headers="$ac_config_headers config.h" 3579 3580 3581{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3582$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3583 # Check whether --enable-maintainer-mode was given. 3584if test "${enable_maintainer_mode+set}" = set; then : 3585 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 3586else 3587 USE_MAINTAINER_MODE=no 3588fi 3589 3590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3591$as_echo "$USE_MAINTAINER_MODE" >&6; } 3592 if test $USE_MAINTAINER_MODE = yes; then 3593 MAINTAINER_MODE_TRUE= 3594 MAINTAINER_MODE_FALSE='#' 3595else 3596 MAINTAINER_MODE_TRUE='#' 3597 MAINTAINER_MODE_FALSE= 3598fi 3599 3600 MAINT=$MAINTAINER_MODE_TRUE 3601 3602 3603 3604# Support silent build rules, requires at least automake-1.11. Disable 3605# by either passing --disable-silent-rules to configure or passing V=1 3606# to make 3607# Check whether --enable-silent-rules was given. 3608if test "${enable_silent_rules+set}" = set; then : 3609 enableval=$enable_silent_rules; 3610fi 3611 3612case $enable_silent_rules in # ((( 3613 yes) AM_DEFAULT_VERBOSITY=0;; 3614 no) AM_DEFAULT_VERBOSITY=1;; 3615 *) AM_DEFAULT_VERBOSITY=0;; 3616esac 3617am_make=${MAKE-make} 3618{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3619$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3620if ${am_cv_make_support_nested_variables+:} false; then : 3621 $as_echo_n "(cached) " >&6 3622else 3623 if $as_echo 'TRUE=$(BAR$(V)) 3624BAR0=false 3625BAR1=true 3626V=1 3627am__doit: 3628 @$(TRUE) 3629.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3630 am_cv_make_support_nested_variables=yes 3631else 3632 am_cv_make_support_nested_variables=no 3633fi 3634fi 3635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3636$as_echo "$am_cv_make_support_nested_variables" >&6; } 3637if test $am_cv_make_support_nested_variables = yes; then 3638 AM_V='$(V)' 3639 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3640else 3641 AM_V=$AM_DEFAULT_VERBOSITY 3642 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3643fi 3644AM_BACKSLASH='\' 3645 3646 3647ac_ext=c 3648ac_cpp='$CPP $CPPFLAGS' 3649ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3650ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3651ac_compiler_gnu=$ac_cv_c_compiler_gnu 3652if test -n "$ac_tool_prefix"; then 3653 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3654set dummy ${ac_tool_prefix}gcc; ac_word=$2 3655{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3656$as_echo_n "checking for $ac_word... " >&6; } 3657if ${ac_cv_prog_CC+:} false; then : 3658 $as_echo_n "(cached) " >&6 3659else 3660 if test -n "$CC"; then 3661 ac_cv_prog_CC="$CC" # Let the user override the test. 3662else 3663as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3664for as_dir in $PATH 3665do 3666 IFS=$as_save_IFS 3667 test -z "$as_dir" && as_dir=. 3668 for ac_exec_ext in '' $ac_executable_extensions; do 3669 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3670 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3672 break 2 3673 fi 3674done 3675 done 3676IFS=$as_save_IFS 3677 3678fi 3679fi 3680CC=$ac_cv_prog_CC 3681if test -n "$CC"; then 3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3683$as_echo "$CC" >&6; } 3684else 3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3686$as_echo "no" >&6; } 3687fi 3688 3689 3690fi 3691if test -z "$ac_cv_prog_CC"; then 3692 ac_ct_CC=$CC 3693 # Extract the first word of "gcc", so it can be a program name with args. 3694set dummy gcc; ac_word=$2 3695{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3696$as_echo_n "checking for $ac_word... " >&6; } 3697if ${ac_cv_prog_ac_ct_CC+:} false; then : 3698 $as_echo_n "(cached) " >&6 3699else 3700 if test -n "$ac_ct_CC"; then 3701 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3702else 3703as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3704for as_dir in $PATH 3705do 3706 IFS=$as_save_IFS 3707 test -z "$as_dir" && as_dir=. 3708 for ac_exec_ext in '' $ac_executable_extensions; do 3709 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3710 ac_cv_prog_ac_ct_CC="gcc" 3711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3712 break 2 3713 fi 3714done 3715 done 3716IFS=$as_save_IFS 3717 3718fi 3719fi 3720ac_ct_CC=$ac_cv_prog_ac_ct_CC 3721if test -n "$ac_ct_CC"; then 3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3723$as_echo "$ac_ct_CC" >&6; } 3724else 3725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3726$as_echo "no" >&6; } 3727fi 3728 3729 if test "x$ac_ct_CC" = x; then 3730 CC="" 3731 else 3732 case $cross_compiling:$ac_tool_warned in 3733yes:) 3734{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3735$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3736ac_tool_warned=yes ;; 3737esac 3738 CC=$ac_ct_CC 3739 fi 3740else 3741 CC="$ac_cv_prog_CC" 3742fi 3743 3744if test -z "$CC"; then 3745 if test -n "$ac_tool_prefix"; then 3746 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3747set dummy ${ac_tool_prefix}cc; ac_word=$2 3748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3749$as_echo_n "checking for $ac_word... " >&6; } 3750if ${ac_cv_prog_CC+:} false; then : 3751 $as_echo_n "(cached) " >&6 3752else 3753 if test -n "$CC"; then 3754 ac_cv_prog_CC="$CC" # Let the user override the test. 3755else 3756as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3757for as_dir in $PATH 3758do 3759 IFS=$as_save_IFS 3760 test -z "$as_dir" && as_dir=. 3761 for ac_exec_ext in '' $ac_executable_extensions; do 3762 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3763 ac_cv_prog_CC="${ac_tool_prefix}cc" 3764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3765 break 2 3766 fi 3767done 3768 done 3769IFS=$as_save_IFS 3770 3771fi 3772fi 3773CC=$ac_cv_prog_CC 3774if test -n "$CC"; then 3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3776$as_echo "$CC" >&6; } 3777else 3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3779$as_echo "no" >&6; } 3780fi 3781 3782 3783 fi 3784fi 3785if test -z "$CC"; then 3786 # Extract the first word of "cc", so it can be a program name with args. 3787set dummy cc; ac_word=$2 3788{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3789$as_echo_n "checking for $ac_word... " >&6; } 3790if ${ac_cv_prog_CC+:} false; then : 3791 $as_echo_n "(cached) " >&6 3792else 3793 if test -n "$CC"; then 3794 ac_cv_prog_CC="$CC" # Let the user override the test. 3795else 3796 ac_prog_rejected=no 3797as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3798for as_dir in $PATH 3799do 3800 IFS=$as_save_IFS 3801 test -z "$as_dir" && as_dir=. 3802 for ac_exec_ext in '' $ac_executable_extensions; do 3803 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3804 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3805 ac_prog_rejected=yes 3806 continue 3807 fi 3808 ac_cv_prog_CC="cc" 3809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3810 break 2 3811 fi 3812done 3813 done 3814IFS=$as_save_IFS 3815 3816if test $ac_prog_rejected = yes; then 3817 # We found a bogon in the path, so make sure we never use it. 3818 set dummy $ac_cv_prog_CC 3819 shift 3820 if test $# != 0; then 3821 # We chose a different compiler from the bogus one. 3822 # However, it has the same basename, so the bogon will be chosen 3823 # first if we set CC to just the basename; use the full file name. 3824 shift 3825 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3826 fi 3827fi 3828fi 3829fi 3830CC=$ac_cv_prog_CC 3831if test -n "$CC"; then 3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3833$as_echo "$CC" >&6; } 3834else 3835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3836$as_echo "no" >&6; } 3837fi 3838 3839 3840fi 3841if test -z "$CC"; then 3842 if test -n "$ac_tool_prefix"; then 3843 for ac_prog in cl.exe 3844 do 3845 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3846set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3847{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3848$as_echo_n "checking for $ac_word... " >&6; } 3849if ${ac_cv_prog_CC+:} false; then : 3850 $as_echo_n "(cached) " >&6 3851else 3852 if test -n "$CC"; then 3853 ac_cv_prog_CC="$CC" # Let the user override the test. 3854else 3855as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3856for as_dir in $PATH 3857do 3858 IFS=$as_save_IFS 3859 test -z "$as_dir" && as_dir=. 3860 for ac_exec_ext in '' $ac_executable_extensions; do 3861 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3862 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3864 break 2 3865 fi 3866done 3867 done 3868IFS=$as_save_IFS 3869 3870fi 3871fi 3872CC=$ac_cv_prog_CC 3873if test -n "$CC"; then 3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3875$as_echo "$CC" >&6; } 3876else 3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3878$as_echo "no" >&6; } 3879fi 3880 3881 3882 test -n "$CC" && break 3883 done 3884fi 3885if test -z "$CC"; then 3886 ac_ct_CC=$CC 3887 for ac_prog in cl.exe 3888do 3889 # Extract the first word of "$ac_prog", so it can be a program name with args. 3890set dummy $ac_prog; ac_word=$2 3891{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3892$as_echo_n "checking for $ac_word... " >&6; } 3893if ${ac_cv_prog_ac_ct_CC+:} false; then : 3894 $as_echo_n "(cached) " >&6 3895else 3896 if test -n "$ac_ct_CC"; then 3897 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3898else 3899as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3900for as_dir in $PATH 3901do 3902 IFS=$as_save_IFS 3903 test -z "$as_dir" && as_dir=. 3904 for ac_exec_ext in '' $ac_executable_extensions; do 3905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3906 ac_cv_prog_ac_ct_CC="$ac_prog" 3907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3908 break 2 3909 fi 3910done 3911 done 3912IFS=$as_save_IFS 3913 3914fi 3915fi 3916ac_ct_CC=$ac_cv_prog_ac_ct_CC 3917if test -n "$ac_ct_CC"; then 3918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3919$as_echo "$ac_ct_CC" >&6; } 3920else 3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3922$as_echo "no" >&6; } 3923fi 3924 3925 3926 test -n "$ac_ct_CC" && break 3927done 3928 3929 if test "x$ac_ct_CC" = x; then 3930 CC="" 3931 else 3932 case $cross_compiling:$ac_tool_warned in 3933yes:) 3934{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3935$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3936ac_tool_warned=yes ;; 3937esac 3938 CC=$ac_ct_CC 3939 fi 3940fi 3941 3942fi 3943 3944 3945test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3946$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3947as_fn_error $? "no acceptable C compiler found in \$PATH 3948See \`config.log' for more details" "$LINENO" 5; } 3949 3950# Provide some information about the compiler. 3951$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3952set X $ac_compile 3953ac_compiler=$2 3954for ac_option in --version -v -V -qversion; do 3955 { { ac_try="$ac_compiler $ac_option >&5" 3956case "(($ac_try" in 3957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3958 *) ac_try_echo=$ac_try;; 3959esac 3960eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3961$as_echo "$ac_try_echo"; } >&5 3962 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3963 ac_status=$? 3964 if test -s conftest.err; then 3965 sed '10a\ 3966... rest of stderr output deleted ... 3967 10q' conftest.err >conftest.er1 3968 cat conftest.er1 >&5 3969 fi 3970 rm -f conftest.er1 conftest.err 3971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3972 test $ac_status = 0; } 3973done 3974 3975cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3976/* end confdefs.h. */ 3977 3978int 3979main () 3980{ 3981 3982 ; 3983 return 0; 3984} 3985_ACEOF 3986ac_clean_files_save=$ac_clean_files 3987ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3988# Try to create an executable without -o first, disregard a.out. 3989# It will help us diagnose broken compilers, and finding out an intuition 3990# of exeext. 3991{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3992$as_echo_n "checking whether the C compiler works... " >&6; } 3993ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3994 3995# The possible output files: 3996ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3997 3998ac_rmfiles= 3999for ac_file in $ac_files 4000do 4001 case $ac_file in 4002 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4003 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 4004 esac 4005done 4006rm -f $ac_rmfiles 4007 4008if { { ac_try="$ac_link_default" 4009case "(($ac_try" in 4010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4011 *) ac_try_echo=$ac_try;; 4012esac 4013eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4014$as_echo "$ac_try_echo"; } >&5 4015 (eval "$ac_link_default") 2>&5 4016 ac_status=$? 4017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4018 test $ac_status = 0; }; then : 4019 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 4020# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 4021# in a Makefile. We should not override ac_cv_exeext if it was cached, 4022# so that the user can short-circuit this test for compilers unknown to 4023# Autoconf. 4024for ac_file in $ac_files '' 4025do 4026 test -f "$ac_file" || continue 4027 case $ac_file in 4028 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 4029 ;; 4030 [ab].out ) 4031 # We found the default executable, but exeext='' is most 4032 # certainly right. 4033 break;; 4034 *.* ) 4035 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 4036 then :; else 4037 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4038 fi 4039 # We set ac_cv_exeext here because the later test for it is not 4040 # safe: cross compilers may not add the suffix if given an `-o' 4041 # argument, so we may need to know it at that point already. 4042 # Even if this section looks crufty: it has the advantage of 4043 # actually working. 4044 break;; 4045 * ) 4046 break;; 4047 esac 4048done 4049test "$ac_cv_exeext" = no && ac_cv_exeext= 4050 4051else 4052 ac_file='' 4053fi 4054if test -z "$ac_file"; then : 4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4056$as_echo "no" >&6; } 4057$as_echo "$as_me: failed program was:" >&5 4058sed 's/^/| /' conftest.$ac_ext >&5 4059 4060{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4061$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4062as_fn_error 77 "C compiler cannot create executables 4063See \`config.log' for more details" "$LINENO" 5; } 4064else 4065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4066$as_echo "yes" >&6; } 4067fi 4068{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 4069$as_echo_n "checking for C compiler default output file name... " >&6; } 4070{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 4071$as_echo "$ac_file" >&6; } 4072ac_exeext=$ac_cv_exeext 4073 4074rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 4075ac_clean_files=$ac_clean_files_save 4076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 4077$as_echo_n "checking for suffix of executables... " >&6; } 4078if { { ac_try="$ac_link" 4079case "(($ac_try" in 4080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4081 *) ac_try_echo=$ac_try;; 4082esac 4083eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4084$as_echo "$ac_try_echo"; } >&5 4085 (eval "$ac_link") 2>&5 4086 ac_status=$? 4087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4088 test $ac_status = 0; }; then : 4089 # If both `conftest.exe' and `conftest' are `present' (well, observable) 4090# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 4091# work properly (i.e., refer to `conftest.exe'), while it won't with 4092# `rm'. 4093for ac_file in conftest.exe conftest conftest.*; do 4094 test -f "$ac_file" || continue 4095 case $ac_file in 4096 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4097 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4098 break;; 4099 * ) break;; 4100 esac 4101done 4102else 4103 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4104$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4105as_fn_error $? "cannot compute suffix of executables: cannot compile and link 4106See \`config.log' for more details" "$LINENO" 5; } 4107fi 4108rm -f conftest conftest$ac_cv_exeext 4109{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 4110$as_echo "$ac_cv_exeext" >&6; } 4111 4112rm -f conftest.$ac_ext 4113EXEEXT=$ac_cv_exeext 4114ac_exeext=$EXEEXT 4115cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4116/* end confdefs.h. */ 4117#include <stdio.h> 4118int 4119main () 4120{ 4121FILE *f = fopen ("conftest.out", "w"); 4122 return ferror (f) || fclose (f) != 0; 4123 4124 ; 4125 return 0; 4126} 4127_ACEOF 4128ac_clean_files="$ac_clean_files conftest.out" 4129# Check that the compiler produces executables we can run. If not, either 4130# the compiler is broken, or we cross compile. 4131{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 4132$as_echo_n "checking whether we are cross compiling... " >&6; } 4133if test "$cross_compiling" != yes; then 4134 { { ac_try="$ac_link" 4135case "(($ac_try" in 4136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4137 *) ac_try_echo=$ac_try;; 4138esac 4139eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4140$as_echo "$ac_try_echo"; } >&5 4141 (eval "$ac_link") 2>&5 4142 ac_status=$? 4143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4144 test $ac_status = 0; } 4145 if { ac_try='./conftest$ac_cv_exeext' 4146 { { case "(($ac_try" in 4147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4148 *) ac_try_echo=$ac_try;; 4149esac 4150eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4151$as_echo "$ac_try_echo"; } >&5 4152 (eval "$ac_try") 2>&5 4153 ac_status=$? 4154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4155 test $ac_status = 0; }; }; then 4156 cross_compiling=no 4157 else 4158 if test "$cross_compiling" = maybe; then 4159 cross_compiling=yes 4160 else 4161 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4162$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4163as_fn_error $? "cannot run C compiled programs. 4164If you meant to cross compile, use \`--host'. 4165See \`config.log' for more details" "$LINENO" 5; } 4166 fi 4167 fi 4168fi 4169{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4170$as_echo "$cross_compiling" >&6; } 4171 4172rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 4173ac_clean_files=$ac_clean_files_save 4174{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4175$as_echo_n "checking for suffix of object files... " >&6; } 4176if ${ac_cv_objext+:} false; then : 4177 $as_echo_n "(cached) " >&6 4178else 4179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4180/* end confdefs.h. */ 4181 4182int 4183main () 4184{ 4185 4186 ; 4187 return 0; 4188} 4189_ACEOF 4190rm -f conftest.o conftest.obj 4191if { { ac_try="$ac_compile" 4192case "(($ac_try" in 4193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4194 *) ac_try_echo=$ac_try;; 4195esac 4196eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4197$as_echo "$ac_try_echo"; } >&5 4198 (eval "$ac_compile") 2>&5 4199 ac_status=$? 4200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4201 test $ac_status = 0; }; then : 4202 for ac_file in conftest.o conftest.obj conftest.*; do 4203 test -f "$ac_file" || continue; 4204 case $ac_file in 4205 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 4206 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 4207 break;; 4208 esac 4209done 4210else 4211 $as_echo "$as_me: failed program was:" >&5 4212sed 's/^/| /' conftest.$ac_ext >&5 4213 4214{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4215$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4216as_fn_error $? "cannot compute suffix of object files: cannot compile 4217See \`config.log' for more details" "$LINENO" 5; } 4218fi 4219rm -f conftest.$ac_cv_objext conftest.$ac_ext 4220fi 4221{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4222$as_echo "$ac_cv_objext" >&6; } 4223OBJEXT=$ac_cv_objext 4224ac_objext=$OBJEXT 4225{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4226$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4227if ${ac_cv_c_compiler_gnu+:} false; then : 4228 $as_echo_n "(cached) " >&6 4229else 4230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4231/* end confdefs.h. */ 4232 4233int 4234main () 4235{ 4236#ifndef __GNUC__ 4237 choke me 4238#endif 4239 4240 ; 4241 return 0; 4242} 4243_ACEOF 4244if ac_fn_c_try_compile "$LINENO"; then : 4245 ac_compiler_gnu=yes 4246else 4247 ac_compiler_gnu=no 4248fi 4249rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4250ac_cv_c_compiler_gnu=$ac_compiler_gnu 4251 4252fi 4253{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4254$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4255if test $ac_compiler_gnu = yes; then 4256 GCC=yes 4257else 4258 GCC= 4259fi 4260ac_test_CFLAGS=${CFLAGS+set} 4261ac_save_CFLAGS=$CFLAGS 4262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4263$as_echo_n "checking whether $CC accepts -g... " >&6; } 4264if ${ac_cv_prog_cc_g+:} false; then : 4265 $as_echo_n "(cached) " >&6 4266else 4267 ac_save_c_werror_flag=$ac_c_werror_flag 4268 ac_c_werror_flag=yes 4269 ac_cv_prog_cc_g=no 4270 CFLAGS="-g" 4271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4272/* end confdefs.h. */ 4273 4274int 4275main () 4276{ 4277 4278 ; 4279 return 0; 4280} 4281_ACEOF 4282if ac_fn_c_try_compile "$LINENO"; then : 4283 ac_cv_prog_cc_g=yes 4284else 4285 CFLAGS="" 4286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4287/* end confdefs.h. */ 4288 4289int 4290main () 4291{ 4292 4293 ; 4294 return 0; 4295} 4296_ACEOF 4297if ac_fn_c_try_compile "$LINENO"; then : 4298 4299else 4300 ac_c_werror_flag=$ac_save_c_werror_flag 4301 CFLAGS="-g" 4302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4303/* end confdefs.h. */ 4304 4305int 4306main () 4307{ 4308 4309 ; 4310 return 0; 4311} 4312_ACEOF 4313if ac_fn_c_try_compile "$LINENO"; then : 4314 ac_cv_prog_cc_g=yes 4315fi 4316rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4317fi 4318rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4319fi 4320rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4321 ac_c_werror_flag=$ac_save_c_werror_flag 4322fi 4323{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4324$as_echo "$ac_cv_prog_cc_g" >&6; } 4325if test "$ac_test_CFLAGS" = set; then 4326 CFLAGS=$ac_save_CFLAGS 4327elif test $ac_cv_prog_cc_g = yes; then 4328 if test "$GCC" = yes; then 4329 CFLAGS="-g -O2" 4330 else 4331 CFLAGS="-g" 4332 fi 4333else 4334 if test "$GCC" = yes; then 4335 CFLAGS="-O2" 4336 else 4337 CFLAGS= 4338 fi 4339fi 4340{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4341$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4342if ${ac_cv_prog_cc_c89+:} false; then : 4343 $as_echo_n "(cached) " >&6 4344else 4345 ac_cv_prog_cc_c89=no 4346ac_save_CC=$CC 4347cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4348/* end confdefs.h. */ 4349#include <stdarg.h> 4350#include <stdio.h> 4351struct stat; 4352/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4353struct buf { int x; }; 4354FILE * (*rcsopen) (struct buf *, struct stat *, int); 4355static char *e (p, i) 4356 char **p; 4357 int i; 4358{ 4359 return p[i]; 4360} 4361static char *f (char * (*g) (char **, int), char **p, ...) 4362{ 4363 char *s; 4364 va_list v; 4365 va_start (v,p); 4366 s = g (p, va_arg (v,int)); 4367 va_end (v); 4368 return s; 4369} 4370 4371/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4372 function prototypes and stuff, but not '\xHH' hex character constants. 4373 These don't provoke an error unfortunately, instead are silently treated 4374 as 'x'. The following induces an error, until -std is added to get 4375 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4376 array size at least. It's necessary to write '\x00'==0 to get something 4377 that's true only with -std. */ 4378int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4379 4380/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4381 inside strings and character constants. */ 4382#define FOO(x) 'x' 4383int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4384 4385int test (int i, double x); 4386struct s1 {int (*f) (int a);}; 4387struct s2 {int (*f) (double a);}; 4388int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4389int argc; 4390char **argv; 4391int 4392main () 4393{ 4394return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4395 ; 4396 return 0; 4397} 4398_ACEOF 4399for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4400 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4401do 4402 CC="$ac_save_CC $ac_arg" 4403 if ac_fn_c_try_compile "$LINENO"; then : 4404 ac_cv_prog_cc_c89=$ac_arg 4405fi 4406rm -f core conftest.err conftest.$ac_objext 4407 test "x$ac_cv_prog_cc_c89" != "xno" && break 4408done 4409rm -f conftest.$ac_ext 4410CC=$ac_save_CC 4411 4412fi 4413# AC_CACHE_VAL 4414case "x$ac_cv_prog_cc_c89" in 4415 x) 4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4417$as_echo "none needed" >&6; } ;; 4418 xno) 4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4420$as_echo "unsupported" >&6; } ;; 4421 *) 4422 CC="$CC $ac_cv_prog_cc_c89" 4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4424$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4425esac 4426if test "x$ac_cv_prog_cc_c89" != xno; then : 4427 4428fi 4429 4430ac_ext=c 4431ac_cpp='$CPP $CPPFLAGS' 4432ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4433ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4434ac_compiler_gnu=$ac_cv_c_compiler_gnu 4435 4436ac_ext=c 4437ac_cpp='$CPP $CPPFLAGS' 4438ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4439ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4440ac_compiler_gnu=$ac_cv_c_compiler_gnu 4441{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 4442$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 4443if ${am_cv_prog_cc_c_o+:} false; then : 4444 $as_echo_n "(cached) " >&6 4445else 4446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4447/* end confdefs.h. */ 4448 4449int 4450main () 4451{ 4452 4453 ; 4454 return 0; 4455} 4456_ACEOF 4457 # Make sure it works both with $CC and with simple cc. 4458 # Following AC_PROG_CC_C_O, we do the test twice because some 4459 # compilers refuse to overwrite an existing .o file with -o, 4460 # though they will create one. 4461 am_cv_prog_cc_c_o=yes 4462 for am_i in 1 2; do 4463 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 4464 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 4465 ac_status=$? 4466 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4467 (exit $ac_status); } \ 4468 && test -f conftest2.$ac_objext; then 4469 : OK 4470 else 4471 am_cv_prog_cc_c_o=no 4472 break 4473 fi 4474 done 4475 rm -f core conftest* 4476 unset am_i 4477fi 4478{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 4479$as_echo "$am_cv_prog_cc_c_o" >&6; } 4480if test "$am_cv_prog_cc_c_o" != yes; then 4481 # Losing compiler, so override with the script. 4482 # FIXME: It is wrong to rewrite CC. 4483 # But if we don't then we get into trouble of one sort or another. 4484 # A longer-term fix would be to have automake use am__CC in this case, 4485 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 4486 CC="$am_aux_dir/compile $CC" 4487fi 4488ac_ext=c 4489ac_cpp='$CPP $CPPFLAGS' 4490ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4491ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4492ac_compiler_gnu=$ac_cv_c_compiler_gnu 4493 4494DEPDIR="${am__leading_dot}deps" 4495 4496ac_config_commands="$ac_config_commands depfiles" 4497 4498 4499am_make=${MAKE-make} 4500cat > confinc << 'END' 4501am__doit: 4502 @echo this is the am__doit target 4503.PHONY: am__doit 4504END 4505# If we don't find an include directive, just comment out the code. 4506{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 4507$as_echo_n "checking for style of include used by $am_make... " >&6; } 4508am__include="#" 4509am__quote= 4510_am_result=none 4511# First try GNU make style include. 4512echo "include confinc" > confmf 4513# Ignore all kinds of additional output from 'make'. 4514case `$am_make -s -f confmf 2> /dev/null` in #( 4515*the\ am__doit\ target*) 4516 am__include=include 4517 am__quote= 4518 _am_result=GNU 4519 ;; 4520esac 4521# Now try BSD make style include. 4522if test "$am__include" = "#"; then 4523 echo '.include "confinc"' > confmf 4524 case `$am_make -s -f confmf 2> /dev/null` in #( 4525 *the\ am__doit\ target*) 4526 am__include=.include 4527 am__quote="\"" 4528 _am_result=BSD 4529 ;; 4530 esac 4531fi 4532 4533 4534{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 4535$as_echo "$_am_result" >&6; } 4536rm -f confinc confmf 4537 4538# Check whether --enable-dependency-tracking was given. 4539if test "${enable_dependency_tracking+set}" = set; then : 4540 enableval=$enable_dependency_tracking; 4541fi 4542 4543if test "x$enable_dependency_tracking" != xno; then 4544 am_depcomp="$ac_aux_dir/depcomp" 4545 AMDEPBACKSLASH='\' 4546 am__nodep='_no' 4547fi 4548 if test "x$enable_dependency_tracking" != xno; then 4549 AMDEP_TRUE= 4550 AMDEP_FALSE='#' 4551else 4552 AMDEP_TRUE='#' 4553 AMDEP_FALSE= 4554fi 4555 4556 4557 4558depcc="$CC" am_compiler_list= 4559 4560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4561$as_echo_n "checking dependency style of $depcc... " >&6; } 4562if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4563 $as_echo_n "(cached) " >&6 4564else 4565 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4566 # We make a subdir and do the tests there. Otherwise we can end up 4567 # making bogus files that we don't know about and never remove. For 4568 # instance it was reported that on HP-UX the gcc test will end up 4569 # making a dummy file named 'D' -- because '-MD' means "put the output 4570 # in D". 4571 rm -rf conftest.dir 4572 mkdir conftest.dir 4573 # Copy depcomp to subdir because otherwise we won't find it if we're 4574 # using a relative directory. 4575 cp "$am_depcomp" conftest.dir 4576 cd conftest.dir 4577 # We will build objects and dependencies in a subdirectory because 4578 # it helps to detect inapplicable dependency modes. For instance 4579 # both Tru64's cc and ICC support -MD to output dependencies as a 4580 # side effect of compilation, but ICC will put the dependencies in 4581 # the current directory while Tru64 will put them in the object 4582 # directory. 4583 mkdir sub 4584 4585 am_cv_CC_dependencies_compiler_type=none 4586 if test "$am_compiler_list" = ""; then 4587 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4588 fi 4589 am__universal=false 4590 case " $depcc " in #( 4591 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4592 esac 4593 4594 for depmode in $am_compiler_list; do 4595 # Setup a source with many dependencies, because some compilers 4596 # like to wrap large dependency lists on column 80 (with \), and 4597 # we should not choose a depcomp mode which is confused by this. 4598 # 4599 # We need to recreate these files for each test, as the compiler may 4600 # overwrite some of them when testing with obscure command lines. 4601 # This happens at least with the AIX C compiler. 4602 : > sub/conftest.c 4603 for i in 1 2 3 4 5 6; do 4604 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4605 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4606 # Solaris 10 /bin/sh. 4607 echo '/* dummy */' > sub/conftst$i.h 4608 done 4609 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4610 4611 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4612 # mode. It turns out that the SunPro C++ compiler does not properly 4613 # handle '-M -o', and we need to detect this. Also, some Intel 4614 # versions had trouble with output in subdirs. 4615 am__obj=sub/conftest.${OBJEXT-o} 4616 am__minus_obj="-o $am__obj" 4617 case $depmode in 4618 gcc) 4619 # This depmode causes a compiler race in universal mode. 4620 test "$am__universal" = false || continue 4621 ;; 4622 nosideeffect) 4623 # After this tag, mechanisms are not by side-effect, so they'll 4624 # only be used when explicitly requested. 4625 if test "x$enable_dependency_tracking" = xyes; then 4626 continue 4627 else 4628 break 4629 fi 4630 ;; 4631 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4632 # This compiler won't grok '-c -o', but also, the minuso test has 4633 # not run yet. These depmodes are late enough in the game, and 4634 # so weak that their functioning should not be impacted. 4635 am__obj=conftest.${OBJEXT-o} 4636 am__minus_obj= 4637 ;; 4638 none) break ;; 4639 esac 4640 if depmode=$depmode \ 4641 source=sub/conftest.c object=$am__obj \ 4642 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4643 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4644 >/dev/null 2>conftest.err && 4645 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4646 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4647 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4648 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4649 # icc doesn't choke on unknown options, it will just issue warnings 4650 # or remarks (even with -Werror). So we grep stderr for any message 4651 # that says an option was ignored or not supported. 4652 # When given -MP, icc 7.0 and 7.1 complain thusly: 4653 # icc: Command line warning: ignoring option '-M'; no argument required 4654 # The diagnosis changed in icc 8.0: 4655 # icc: Command line remark: option '-MP' not supported 4656 if (grep 'ignoring option' conftest.err || 4657 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4658 am_cv_CC_dependencies_compiler_type=$depmode 4659 break 4660 fi 4661 fi 4662 done 4663 4664 cd .. 4665 rm -rf conftest.dir 4666else 4667 am_cv_CC_dependencies_compiler_type=none 4668fi 4669 4670fi 4671{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4672$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4673CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4674 4675 if 4676 test "x$enable_dependency_tracking" != xno \ 4677 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4678 am__fastdepCC_TRUE= 4679 am__fastdepCC_FALSE='#' 4680else 4681 am__fastdepCC_TRUE='#' 4682 am__fastdepCC_FALSE= 4683fi 4684 4685 4686 4687 4688ac_ext=c 4689ac_cpp='$CPP $CPPFLAGS' 4690ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4691ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4692ac_compiler_gnu=$ac_cv_c_compiler_gnu 4693{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4694$as_echo_n "checking how to run the C preprocessor... " >&6; } 4695# On Suns, sometimes $CPP names a directory. 4696if test -n "$CPP" && test -d "$CPP"; then 4697 CPP= 4698fi 4699if test -z "$CPP"; then 4700 if ${ac_cv_prog_CPP+:} false; then : 4701 $as_echo_n "(cached) " >&6 4702else 4703 # Double quotes because CPP needs to be expanded 4704 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4705 do 4706 ac_preproc_ok=false 4707for ac_c_preproc_warn_flag in '' yes 4708do 4709 # Use a header file that comes with gcc, so configuring glibc 4710 # with a fresh cross-compiler works. 4711 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4712 # <limits.h> exists even on freestanding compilers. 4713 # On the NeXT, cc -E runs the code through the compiler's parser, 4714 # not just through cpp. "Syntax error" is here to catch this case. 4715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4716/* end confdefs.h. */ 4717#ifdef __STDC__ 4718# include <limits.h> 4719#else 4720# include <assert.h> 4721#endif 4722 Syntax error 4723_ACEOF 4724if ac_fn_c_try_cpp "$LINENO"; then : 4725 4726else 4727 # Broken: fails on valid input. 4728continue 4729fi 4730rm -f conftest.err conftest.i conftest.$ac_ext 4731 4732 # OK, works on sane cases. Now check whether nonexistent headers 4733 # can be detected and how. 4734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4735/* end confdefs.h. */ 4736#include <ac_nonexistent.h> 4737_ACEOF 4738if ac_fn_c_try_cpp "$LINENO"; then : 4739 # Broken: success on invalid input. 4740continue 4741else 4742 # Passes both tests. 4743ac_preproc_ok=: 4744break 4745fi 4746rm -f conftest.err conftest.i conftest.$ac_ext 4747 4748done 4749# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4750rm -f conftest.i conftest.err conftest.$ac_ext 4751if $ac_preproc_ok; then : 4752 break 4753fi 4754 4755 done 4756 ac_cv_prog_CPP=$CPP 4757 4758fi 4759 CPP=$ac_cv_prog_CPP 4760else 4761 ac_cv_prog_CPP=$CPP 4762fi 4763{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4764$as_echo "$CPP" >&6; } 4765ac_preproc_ok=false 4766for ac_c_preproc_warn_flag in '' yes 4767do 4768 # Use a header file that comes with gcc, so configuring glibc 4769 # with a fresh cross-compiler works. 4770 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4771 # <limits.h> exists even on freestanding compilers. 4772 # On the NeXT, cc -E runs the code through the compiler's parser, 4773 # not just through cpp. "Syntax error" is here to catch this case. 4774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4775/* end confdefs.h. */ 4776#ifdef __STDC__ 4777# include <limits.h> 4778#else 4779# include <assert.h> 4780#endif 4781 Syntax error 4782_ACEOF 4783if ac_fn_c_try_cpp "$LINENO"; then : 4784 4785else 4786 # Broken: fails on valid input. 4787continue 4788fi 4789rm -f conftest.err conftest.i conftest.$ac_ext 4790 4791 # OK, works on sane cases. Now check whether nonexistent headers 4792 # can be detected and how. 4793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4794/* end confdefs.h. */ 4795#include <ac_nonexistent.h> 4796_ACEOF 4797if ac_fn_c_try_cpp "$LINENO"; then : 4798 # Broken: success on invalid input. 4799continue 4800else 4801 # Passes both tests. 4802ac_preproc_ok=: 4803break 4804fi 4805rm -f conftest.err conftest.i conftest.$ac_ext 4806 4807done 4808# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4809rm -f conftest.i conftest.err conftest.$ac_ext 4810if $ac_preproc_ok; then : 4811 4812else 4813 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4814$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4815as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4816See \`config.log' for more details" "$LINENO" 5; } 4817fi 4818 4819ac_ext=c 4820ac_cpp='$CPP $CPPFLAGS' 4821ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4822ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4823ac_compiler_gnu=$ac_cv_c_compiler_gnu 4824 4825 4826{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4827$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4828if ${ac_cv_path_GREP+:} false; then : 4829 $as_echo_n "(cached) " >&6 4830else 4831 if test -z "$GREP"; then 4832 ac_path_GREP_found=false 4833 # Loop through the user's path and test for each of PROGNAME-LIST 4834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4835for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4836do 4837 IFS=$as_save_IFS 4838 test -z "$as_dir" && as_dir=. 4839 for ac_prog in grep ggrep; do 4840 for ac_exec_ext in '' $ac_executable_extensions; do 4841 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4842 as_fn_executable_p "$ac_path_GREP" || continue 4843# Check for GNU ac_path_GREP and select it if it is found. 4844 # Check for GNU $ac_path_GREP 4845case `"$ac_path_GREP" --version 2>&1` in 4846*GNU*) 4847 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4848*) 4849 ac_count=0 4850 $as_echo_n 0123456789 >"conftest.in" 4851 while : 4852 do 4853 cat "conftest.in" "conftest.in" >"conftest.tmp" 4854 mv "conftest.tmp" "conftest.in" 4855 cp "conftest.in" "conftest.nl" 4856 $as_echo 'GREP' >> "conftest.nl" 4857 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4858 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4859 as_fn_arith $ac_count + 1 && ac_count=$as_val 4860 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4861 # Best one so far, save it but keep looking for a better one 4862 ac_cv_path_GREP="$ac_path_GREP" 4863 ac_path_GREP_max=$ac_count 4864 fi 4865 # 10*(2^10) chars as input seems more than enough 4866 test $ac_count -gt 10 && break 4867 done 4868 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4869esac 4870 4871 $ac_path_GREP_found && break 3 4872 done 4873 done 4874 done 4875IFS=$as_save_IFS 4876 if test -z "$ac_cv_path_GREP"; then 4877 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4878 fi 4879else 4880 ac_cv_path_GREP=$GREP 4881fi 4882 4883fi 4884{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4885$as_echo "$ac_cv_path_GREP" >&6; } 4886 GREP="$ac_cv_path_GREP" 4887 4888 4889{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4890$as_echo_n "checking for egrep... " >&6; } 4891if ${ac_cv_path_EGREP+:} false; then : 4892 $as_echo_n "(cached) " >&6 4893else 4894 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4895 then ac_cv_path_EGREP="$GREP -E" 4896 else 4897 if test -z "$EGREP"; then 4898 ac_path_EGREP_found=false 4899 # Loop through the user's path and test for each of PROGNAME-LIST 4900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4901for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4902do 4903 IFS=$as_save_IFS 4904 test -z "$as_dir" && as_dir=. 4905 for ac_prog in egrep; do 4906 for ac_exec_ext in '' $ac_executable_extensions; do 4907 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4908 as_fn_executable_p "$ac_path_EGREP" || continue 4909# Check for GNU ac_path_EGREP and select it if it is found. 4910 # Check for GNU $ac_path_EGREP 4911case `"$ac_path_EGREP" --version 2>&1` in 4912*GNU*) 4913 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4914*) 4915 ac_count=0 4916 $as_echo_n 0123456789 >"conftest.in" 4917 while : 4918 do 4919 cat "conftest.in" "conftest.in" >"conftest.tmp" 4920 mv "conftest.tmp" "conftest.in" 4921 cp "conftest.in" "conftest.nl" 4922 $as_echo 'EGREP' >> "conftest.nl" 4923 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4924 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4925 as_fn_arith $ac_count + 1 && ac_count=$as_val 4926 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4927 # Best one so far, save it but keep looking for a better one 4928 ac_cv_path_EGREP="$ac_path_EGREP" 4929 ac_path_EGREP_max=$ac_count 4930 fi 4931 # 10*(2^10) chars as input seems more than enough 4932 test $ac_count -gt 10 && break 4933 done 4934 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4935esac 4936 4937 $ac_path_EGREP_found && break 3 4938 done 4939 done 4940 done 4941IFS=$as_save_IFS 4942 if test -z "$ac_cv_path_EGREP"; then 4943 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4944 fi 4945else 4946 ac_cv_path_EGREP=$EGREP 4947fi 4948 4949 fi 4950fi 4951{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4952$as_echo "$ac_cv_path_EGREP" >&6; } 4953 EGREP="$ac_cv_path_EGREP" 4954 4955 4956{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4957$as_echo_n "checking for ANSI C header files... " >&6; } 4958if ${ac_cv_header_stdc+:} false; then : 4959 $as_echo_n "(cached) " >&6 4960else 4961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4962/* end confdefs.h. */ 4963#include <stdlib.h> 4964#include <stdarg.h> 4965#include <string.h> 4966#include <float.h> 4967 4968int 4969main () 4970{ 4971 4972 ; 4973 return 0; 4974} 4975_ACEOF 4976if ac_fn_c_try_compile "$LINENO"; then : 4977 ac_cv_header_stdc=yes 4978else 4979 ac_cv_header_stdc=no 4980fi 4981rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4982 4983if test $ac_cv_header_stdc = yes; then 4984 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4986/* end confdefs.h. */ 4987#include <string.h> 4988 4989_ACEOF 4990if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4991 $EGREP "memchr" >/dev/null 2>&1; then : 4992 4993else 4994 ac_cv_header_stdc=no 4995fi 4996rm -f conftest* 4997 4998fi 4999 5000if test $ac_cv_header_stdc = yes; then 5001 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 5002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5003/* end confdefs.h. */ 5004#include <stdlib.h> 5005 5006_ACEOF 5007if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5008 $EGREP "free" >/dev/null 2>&1; then : 5009 5010else 5011 ac_cv_header_stdc=no 5012fi 5013rm -f conftest* 5014 5015fi 5016 5017if test $ac_cv_header_stdc = yes; then 5018 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 5019 if test "$cross_compiling" = yes; then : 5020 : 5021else 5022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5023/* end confdefs.h. */ 5024#include <ctype.h> 5025#include <stdlib.h> 5026#if ((' ' & 0x0FF) == 0x020) 5027# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 5028# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 5029#else 5030# define ISLOWER(c) \ 5031 (('a' <= (c) && (c) <= 'i') \ 5032 || ('j' <= (c) && (c) <= 'r') \ 5033 || ('s' <= (c) && (c) <= 'z')) 5034# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 5035#endif 5036 5037#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 5038int 5039main () 5040{ 5041 int i; 5042 for (i = 0; i < 256; i++) 5043 if (XOR (islower (i), ISLOWER (i)) 5044 || toupper (i) != TOUPPER (i)) 5045 return 2; 5046 return 0; 5047} 5048_ACEOF 5049if ac_fn_c_try_run "$LINENO"; then : 5050 5051else 5052 ac_cv_header_stdc=no 5053fi 5054rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5055 conftest.$ac_objext conftest.beam conftest.$ac_ext 5056fi 5057 5058fi 5059fi 5060{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 5061$as_echo "$ac_cv_header_stdc" >&6; } 5062if test $ac_cv_header_stdc = yes; then 5063 5064$as_echo "#define STDC_HEADERS 1" >>confdefs.h 5065 5066fi 5067 5068case `pwd` in 5069 *\ * | *\ *) 5070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 5071$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 5072esac 5073 5074 5075 5076macro_version='2.4.6' 5077macro_revision='2.4.6' 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091ltmain=$ac_aux_dir/ltmain.sh 5092 5093# Backslashify metacharacters that are still active within 5094# double-quoted strings. 5095sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 5096 5097# Same as above, but do not quote variable references. 5098double_quote_subst='s/\(["`\\]\)/\\\1/g' 5099 5100# Sed substitution to delay expansion of an escaped shell variable in a 5101# double_quote_subst'ed string. 5102delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 5103 5104# Sed substitution to delay expansion of an escaped single quote. 5105delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 5106 5107# Sed substitution to avoid accidental globbing in evaled expressions 5108no_glob_subst='s/\*/\\\*/g' 5109 5110ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 5111ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 5112ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 5113 5114{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 5115$as_echo_n "checking how to print strings... " >&6; } 5116# Test print first, because it will be a builtin if present. 5117if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 5118 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 5119 ECHO='print -r --' 5120elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 5121 ECHO='printf %s\n' 5122else 5123 # Use this function as a fallback that always works. 5124 func_fallback_echo () 5125 { 5126 eval 'cat <<_LTECHO_EOF 5127$1 5128_LTECHO_EOF' 5129 } 5130 ECHO='func_fallback_echo' 5131fi 5132 5133# func_echo_all arg... 5134# Invoke $ECHO with all args, space-separated. 5135func_echo_all () 5136{ 5137 $ECHO "" 5138} 5139 5140case $ECHO in 5141 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 5142$as_echo "printf" >&6; } ;; 5143 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 5144$as_echo "print -r" >&6; } ;; 5145 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 5146$as_echo "cat" >&6; } ;; 5147esac 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 5163$as_echo_n "checking for a sed that does not truncate output... " >&6; } 5164if ${ac_cv_path_SED+:} false; then : 5165 $as_echo_n "(cached) " >&6 5166else 5167 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 5168 for ac_i in 1 2 3 4 5 6 7; do 5169 ac_script="$ac_script$as_nl$ac_script" 5170 done 5171 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 5172 { ac_script=; unset ac_script;} 5173 if test -z "$SED"; then 5174 ac_path_SED_found=false 5175 # Loop through the user's path and test for each of PROGNAME-LIST 5176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5177for as_dir in $PATH 5178do 5179 IFS=$as_save_IFS 5180 test -z "$as_dir" && as_dir=. 5181 for ac_prog in sed gsed; do 5182 for ac_exec_ext in '' $ac_executable_extensions; do 5183 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 5184 as_fn_executable_p "$ac_path_SED" || continue 5185# Check for GNU ac_path_SED and select it if it is found. 5186 # Check for GNU $ac_path_SED 5187case `"$ac_path_SED" --version 2>&1` in 5188*GNU*) 5189 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 5190*) 5191 ac_count=0 5192 $as_echo_n 0123456789 >"conftest.in" 5193 while : 5194 do 5195 cat "conftest.in" "conftest.in" >"conftest.tmp" 5196 mv "conftest.tmp" "conftest.in" 5197 cp "conftest.in" "conftest.nl" 5198 $as_echo '' >> "conftest.nl" 5199 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 5200 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5201 as_fn_arith $ac_count + 1 && ac_count=$as_val 5202 if test $ac_count -gt ${ac_path_SED_max-0}; then 5203 # Best one so far, save it but keep looking for a better one 5204 ac_cv_path_SED="$ac_path_SED" 5205 ac_path_SED_max=$ac_count 5206 fi 5207 # 10*(2^10) chars as input seems more than enough 5208 test $ac_count -gt 10 && break 5209 done 5210 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5211esac 5212 5213 $ac_path_SED_found && break 3 5214 done 5215 done 5216 done 5217IFS=$as_save_IFS 5218 if test -z "$ac_cv_path_SED"; then 5219 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 5220 fi 5221else 5222 ac_cv_path_SED=$SED 5223fi 5224 5225fi 5226{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 5227$as_echo "$ac_cv_path_SED" >&6; } 5228 SED="$ac_cv_path_SED" 5229 rm -f conftest.sed 5230 5231test -z "$SED" && SED=sed 5232Xsed="$SED -e 1s/^X//" 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 5245$as_echo_n "checking for fgrep... " >&6; } 5246if ${ac_cv_path_FGREP+:} false; then : 5247 $as_echo_n "(cached) " >&6 5248else 5249 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 5250 then ac_cv_path_FGREP="$GREP -F" 5251 else 5252 if test -z "$FGREP"; then 5253 ac_path_FGREP_found=false 5254 # Loop through the user's path and test for each of PROGNAME-LIST 5255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5256for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5257do 5258 IFS=$as_save_IFS 5259 test -z "$as_dir" && as_dir=. 5260 for ac_prog in fgrep; do 5261 for ac_exec_ext in '' $ac_executable_extensions; do 5262 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 5263 as_fn_executable_p "$ac_path_FGREP" || continue 5264# Check for GNU ac_path_FGREP and select it if it is found. 5265 # Check for GNU $ac_path_FGREP 5266case `"$ac_path_FGREP" --version 2>&1` in 5267*GNU*) 5268 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 5269*) 5270 ac_count=0 5271 $as_echo_n 0123456789 >"conftest.in" 5272 while : 5273 do 5274 cat "conftest.in" "conftest.in" >"conftest.tmp" 5275 mv "conftest.tmp" "conftest.in" 5276 cp "conftest.in" "conftest.nl" 5277 $as_echo 'FGREP' >> "conftest.nl" 5278 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 5279 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5280 as_fn_arith $ac_count + 1 && ac_count=$as_val 5281 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 5282 # Best one so far, save it but keep looking for a better one 5283 ac_cv_path_FGREP="$ac_path_FGREP" 5284 ac_path_FGREP_max=$ac_count 5285 fi 5286 # 10*(2^10) chars as input seems more than enough 5287 test $ac_count -gt 10 && break 5288 done 5289 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5290esac 5291 5292 $ac_path_FGREP_found && break 3 5293 done 5294 done 5295 done 5296IFS=$as_save_IFS 5297 if test -z "$ac_cv_path_FGREP"; then 5298 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5299 fi 5300else 5301 ac_cv_path_FGREP=$FGREP 5302fi 5303 5304 fi 5305fi 5306{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 5307$as_echo "$ac_cv_path_FGREP" >&6; } 5308 FGREP="$ac_cv_path_FGREP" 5309 5310 5311test -z "$GREP" && GREP=grep 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331# Check whether --with-gnu-ld was given. 5332if test "${with_gnu_ld+set}" = set; then : 5333 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 5334else 5335 with_gnu_ld=no 5336fi 5337 5338ac_prog=ld 5339if test yes = "$GCC"; then 5340 # Check if gcc -print-prog-name=ld gives a path. 5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 5342$as_echo_n "checking for ld used by $CC... " >&6; } 5343 case $host in 5344 *-*-mingw*) 5345 # gcc leaves a trailing carriage return, which upsets mingw 5346 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 5347 *) 5348 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 5349 esac 5350 case $ac_prog in 5351 # Accept absolute paths. 5352 [\\/]* | ?:[\\/]*) 5353 re_direlt='/[^/][^/]*/\.\./' 5354 # Canonicalize the pathname of ld 5355 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 5356 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 5357 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 5358 done 5359 test -z "$LD" && LD=$ac_prog 5360 ;; 5361 "") 5362 # If it fails, then pretend we aren't using GCC. 5363 ac_prog=ld 5364 ;; 5365 *) 5366 # If it is relative, then search for the first ld in PATH. 5367 with_gnu_ld=unknown 5368 ;; 5369 esac 5370elif test yes = "$with_gnu_ld"; then 5371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 5372$as_echo_n "checking for GNU ld... " >&6; } 5373else 5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 5375$as_echo_n "checking for non-GNU ld... " >&6; } 5376fi 5377if ${lt_cv_path_LD+:} false; then : 5378 $as_echo_n "(cached) " >&6 5379else 5380 if test -z "$LD"; then 5381 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 5382 for ac_dir in $PATH; do 5383 IFS=$lt_save_ifs 5384 test -z "$ac_dir" && ac_dir=. 5385 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 5386 lt_cv_path_LD=$ac_dir/$ac_prog 5387 # Check to see if the program is GNU ld. I'd rather use --version, 5388 # but apparently some variants of GNU ld only accept -v. 5389 # Break only if it was the GNU/non-GNU ld that we prefer. 5390 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 5391 *GNU* | *'with BFD'*) 5392 test no != "$with_gnu_ld" && break 5393 ;; 5394 *) 5395 test yes != "$with_gnu_ld" && break 5396 ;; 5397 esac 5398 fi 5399 done 5400 IFS=$lt_save_ifs 5401else 5402 lt_cv_path_LD=$LD # Let the user override the test with a path. 5403fi 5404fi 5405 5406LD=$lt_cv_path_LD 5407if test -n "$LD"; then 5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 5409$as_echo "$LD" >&6; } 5410else 5411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5412$as_echo "no" >&6; } 5413fi 5414test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 5415{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 5416$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 5417if ${lt_cv_prog_gnu_ld+:} false; then : 5418 $as_echo_n "(cached) " >&6 5419else 5420 # I'd rather use --version here, but apparently some GNU lds only accept -v. 5421case `$LD -v 2>&1 </dev/null` in 5422*GNU* | *'with BFD'*) 5423 lt_cv_prog_gnu_ld=yes 5424 ;; 5425*) 5426 lt_cv_prog_gnu_ld=no 5427 ;; 5428esac 5429fi 5430{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 5431$as_echo "$lt_cv_prog_gnu_ld" >&6; } 5432with_gnu_ld=$lt_cv_prog_gnu_ld 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 5443$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 5444if ${lt_cv_path_NM+:} false; then : 5445 $as_echo_n "(cached) " >&6 5446else 5447 if test -n "$NM"; then 5448 # Let the user override the test. 5449 lt_cv_path_NM=$NM 5450else 5451 lt_nm_to_check=${ac_tool_prefix}nm 5452 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 5453 lt_nm_to_check="$lt_nm_to_check nm" 5454 fi 5455 for lt_tmp_nm in $lt_nm_to_check; do 5456 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 5457 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 5458 IFS=$lt_save_ifs 5459 test -z "$ac_dir" && ac_dir=. 5460 tmp_nm=$ac_dir/$lt_tmp_nm 5461 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 5462 # Check to see if the nm accepts a BSD-compat flag. 5463 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 5464 # nm: unknown option "B" ignored 5465 # Tru64's nm complains that /dev/null is an invalid object file 5466 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 5467 case $build_os in 5468 mingw*) lt_bad_file=conftest.nm/nofile ;; 5469 *) lt_bad_file=/dev/null ;; 5470 esac 5471 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 5472 *$lt_bad_file* | *'Invalid file or object type'*) 5473 lt_cv_path_NM="$tmp_nm -B" 5474 break 2 5475 ;; 5476 *) 5477 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 5478 */dev/null*) 5479 lt_cv_path_NM="$tmp_nm -p" 5480 break 2 5481 ;; 5482 *) 5483 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 5484 continue # so that we can try to find one that supports BSD flags 5485 ;; 5486 esac 5487 ;; 5488 esac 5489 fi 5490 done 5491 IFS=$lt_save_ifs 5492 done 5493 : ${lt_cv_path_NM=no} 5494fi 5495fi 5496{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 5497$as_echo "$lt_cv_path_NM" >&6; } 5498if test no != "$lt_cv_path_NM"; then 5499 NM=$lt_cv_path_NM 5500else 5501 # Didn't find any BSD compatible name lister, look for dumpbin. 5502 if test -n "$DUMPBIN"; then : 5503 # Let the user override the test. 5504 else 5505 if test -n "$ac_tool_prefix"; then 5506 for ac_prog in dumpbin "link -dump" 5507 do 5508 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5509set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5510{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5511$as_echo_n "checking for $ac_word... " >&6; } 5512if ${ac_cv_prog_DUMPBIN+:} false; then : 5513 $as_echo_n "(cached) " >&6 5514else 5515 if test -n "$DUMPBIN"; then 5516 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 5517else 5518as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5519for as_dir in $PATH 5520do 5521 IFS=$as_save_IFS 5522 test -z "$as_dir" && as_dir=. 5523 for ac_exec_ext in '' $ac_executable_extensions; do 5524 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5525 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 5526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5527 break 2 5528 fi 5529done 5530 done 5531IFS=$as_save_IFS 5532 5533fi 5534fi 5535DUMPBIN=$ac_cv_prog_DUMPBIN 5536if test -n "$DUMPBIN"; then 5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 5538$as_echo "$DUMPBIN" >&6; } 5539else 5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5541$as_echo "no" >&6; } 5542fi 5543 5544 5545 test -n "$DUMPBIN" && break 5546 done 5547fi 5548if test -z "$DUMPBIN"; then 5549 ac_ct_DUMPBIN=$DUMPBIN 5550 for ac_prog in dumpbin "link -dump" 5551do 5552 # Extract the first word of "$ac_prog", so it can be a program name with args. 5553set dummy $ac_prog; ac_word=$2 5554{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5555$as_echo_n "checking for $ac_word... " >&6; } 5556if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 5557 $as_echo_n "(cached) " >&6 5558else 5559 if test -n "$ac_ct_DUMPBIN"; then 5560 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 5561else 5562as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5563for as_dir in $PATH 5564do 5565 IFS=$as_save_IFS 5566 test -z "$as_dir" && as_dir=. 5567 for ac_exec_ext in '' $ac_executable_extensions; do 5568 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5569 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 5570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5571 break 2 5572 fi 5573done 5574 done 5575IFS=$as_save_IFS 5576 5577fi 5578fi 5579ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 5580if test -n "$ac_ct_DUMPBIN"; then 5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 5582$as_echo "$ac_ct_DUMPBIN" >&6; } 5583else 5584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5585$as_echo "no" >&6; } 5586fi 5587 5588 5589 test -n "$ac_ct_DUMPBIN" && break 5590done 5591 5592 if test "x$ac_ct_DUMPBIN" = x; then 5593 DUMPBIN=":" 5594 else 5595 case $cross_compiling:$ac_tool_warned in 5596yes:) 5597{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5598$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5599ac_tool_warned=yes ;; 5600esac 5601 DUMPBIN=$ac_ct_DUMPBIN 5602 fi 5603fi 5604 5605 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 5606 *COFF*) 5607 DUMPBIN="$DUMPBIN -symbols -headers" 5608 ;; 5609 *) 5610 DUMPBIN=: 5611 ;; 5612 esac 5613 fi 5614 5615 if test : != "$DUMPBIN"; then 5616 NM=$DUMPBIN 5617 fi 5618fi 5619test -z "$NM" && NM=nm 5620 5621 5622 5623 5624 5625 5626{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5627$as_echo_n "checking the name lister ($NM) interface... " >&6; } 5628if ${lt_cv_nm_interface+:} false; then : 5629 $as_echo_n "(cached) " >&6 5630else 5631 lt_cv_nm_interface="BSD nm" 5632 echo "int some_variable = 0;" > conftest.$ac_ext 5633 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 5634 (eval "$ac_compile" 2>conftest.err) 5635 cat conftest.err >&5 5636 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5637 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5638 cat conftest.err >&5 5639 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 5640 cat conftest.out >&5 5641 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5642 lt_cv_nm_interface="MS dumpbin" 5643 fi 5644 rm -f conftest* 5645fi 5646{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5647$as_echo "$lt_cv_nm_interface" >&6; } 5648 5649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5650$as_echo_n "checking whether ln -s works... " >&6; } 5651LN_S=$as_ln_s 5652if test "$LN_S" = "ln -s"; then 5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5654$as_echo "yes" >&6; } 5655else 5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5657$as_echo "no, using $LN_S" >&6; } 5658fi 5659 5660# find the maximum length of command line arguments 5661{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5662$as_echo_n "checking the maximum length of command line arguments... " >&6; } 5663if ${lt_cv_sys_max_cmd_len+:} false; then : 5664 $as_echo_n "(cached) " >&6 5665else 5666 i=0 5667 teststring=ABCD 5668 5669 case $build_os in 5670 msdosdjgpp*) 5671 # On DJGPP, this test can blow up pretty badly due to problems in libc 5672 # (any single argument exceeding 2000 bytes causes a buffer overrun 5673 # during glob expansion). Even if it were fixed, the result of this 5674 # check would be larger than it should be. 5675 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5676 ;; 5677 5678 gnu*) 5679 # Under GNU Hurd, this test is not required because there is 5680 # no limit to the length of command line arguments. 5681 # Libtool will interpret -1 as no limit whatsoever 5682 lt_cv_sys_max_cmd_len=-1; 5683 ;; 5684 5685 cygwin* | mingw* | cegcc*) 5686 # On Win9x/ME, this test blows up -- it succeeds, but takes 5687 # about 5 minutes as the teststring grows exponentially. 5688 # Worse, since 9x/ME are not pre-emptively multitasking, 5689 # you end up with a "frozen" computer, even though with patience 5690 # the test eventually succeeds (with a max line length of 256k). 5691 # Instead, let's just punt: use the minimum linelength reported by 5692 # all of the supported platforms: 8192 (on NT/2K/XP). 5693 lt_cv_sys_max_cmd_len=8192; 5694 ;; 5695 5696 mint*) 5697 # On MiNT this can take a long time and run out of memory. 5698 lt_cv_sys_max_cmd_len=8192; 5699 ;; 5700 5701 amigaos*) 5702 # On AmigaOS with pdksh, this test takes hours, literally. 5703 # So we just punt and use a minimum line length of 8192. 5704 lt_cv_sys_max_cmd_len=8192; 5705 ;; 5706 5707 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 5708 # This has been around since 386BSD, at least. Likely further. 5709 if test -x /sbin/sysctl; then 5710 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5711 elif test -x /usr/sbin/sysctl; then 5712 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5713 else 5714 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5715 fi 5716 # And add a safety zone 5717 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5718 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5719 ;; 5720 5721 interix*) 5722 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5723 lt_cv_sys_max_cmd_len=196608 5724 ;; 5725 5726 os2*) 5727 # The test takes a long time on OS/2. 5728 lt_cv_sys_max_cmd_len=8192 5729 ;; 5730 5731 osf*) 5732 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5733 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5734 # nice to cause kernel panics so lets avoid the loop below. 5735 # First set a reasonable default. 5736 lt_cv_sys_max_cmd_len=16384 5737 # 5738 if test -x /sbin/sysconfig; then 5739 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5740 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5741 esac 5742 fi 5743 ;; 5744 sco3.2v5*) 5745 lt_cv_sys_max_cmd_len=102400 5746 ;; 5747 sysv5* | sco5v6* | sysv4.2uw2*) 5748 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5749 if test -n "$kargmax"; then 5750 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5751 else 5752 lt_cv_sys_max_cmd_len=32768 5753 fi 5754 ;; 5755 *) 5756 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5757 if test -n "$lt_cv_sys_max_cmd_len" && \ 5758 test undefined != "$lt_cv_sys_max_cmd_len"; then 5759 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5760 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5761 else 5762 # Make teststring a little bigger before we do anything with it. 5763 # a 1K string should be a reasonable start. 5764 for i in 1 2 3 4 5 6 7 8; do 5765 teststring=$teststring$teststring 5766 done 5767 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5768 # If test is not a shell built-in, we'll probably end up computing a 5769 # maximum length that is only half of the actual maximum length, but 5770 # we can't tell. 5771 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 5772 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5773 test 17 != "$i" # 1/2 MB should be enough 5774 do 5775 i=`expr $i + 1` 5776 teststring=$teststring$teststring 5777 done 5778 # Only check the string length outside the loop. 5779 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5780 teststring= 5781 # Add a significant safety factor because C++ compilers can tack on 5782 # massive amounts of additional arguments before passing them to the 5783 # linker. It appears as though 1/2 is a usable value. 5784 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5785 fi 5786 ;; 5787 esac 5788 5789fi 5790 5791if test -n "$lt_cv_sys_max_cmd_len"; then 5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5793$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5794else 5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5796$as_echo "none" >&6; } 5797fi 5798max_cmd_len=$lt_cv_sys_max_cmd_len 5799 5800 5801 5802 5803 5804 5805: ${CP="cp -f"} 5806: ${MV="mv -f"} 5807: ${RM="rm -f"} 5808 5809if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5810 lt_unset=unset 5811else 5812 lt_unset=false 5813fi 5814 5815 5816 5817 5818 5819# test EBCDIC or ASCII 5820case `echo X|tr X '\101'` in 5821 A) # ASCII based system 5822 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5823 lt_SP2NL='tr \040 \012' 5824 lt_NL2SP='tr \015\012 \040\040' 5825 ;; 5826 *) # EBCDIC based system 5827 lt_SP2NL='tr \100 \n' 5828 lt_NL2SP='tr \r\n \100\100' 5829 ;; 5830esac 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5841$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5842if ${lt_cv_to_host_file_cmd+:} false; then : 5843 $as_echo_n "(cached) " >&6 5844else 5845 case $host in 5846 *-*-mingw* ) 5847 case $build in 5848 *-*-mingw* ) # actually msys 5849 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5850 ;; 5851 *-*-cygwin* ) 5852 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5853 ;; 5854 * ) # otherwise, assume *nix 5855 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5856 ;; 5857 esac 5858 ;; 5859 *-*-cygwin* ) 5860 case $build in 5861 *-*-mingw* ) # actually msys 5862 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5863 ;; 5864 *-*-cygwin* ) 5865 lt_cv_to_host_file_cmd=func_convert_file_noop 5866 ;; 5867 * ) # otherwise, assume *nix 5868 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5869 ;; 5870 esac 5871 ;; 5872 * ) # unhandled hosts (and "normal" native builds) 5873 lt_cv_to_host_file_cmd=func_convert_file_noop 5874 ;; 5875esac 5876 5877fi 5878 5879to_host_file_cmd=$lt_cv_to_host_file_cmd 5880{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5881$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5882 5883 5884 5885 5886 5887{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5888$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5889if ${lt_cv_to_tool_file_cmd+:} false; then : 5890 $as_echo_n "(cached) " >&6 5891else 5892 #assume ordinary cross tools, or native build. 5893lt_cv_to_tool_file_cmd=func_convert_file_noop 5894case $host in 5895 *-*-mingw* ) 5896 case $build in 5897 *-*-mingw* ) # actually msys 5898 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5899 ;; 5900 esac 5901 ;; 5902esac 5903 5904fi 5905 5906to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5907{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5908$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5909 5910 5911 5912 5913 5914{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5915$as_echo_n "checking for $LD option to reload object files... " >&6; } 5916if ${lt_cv_ld_reload_flag+:} false; then : 5917 $as_echo_n "(cached) " >&6 5918else 5919 lt_cv_ld_reload_flag='-r' 5920fi 5921{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5922$as_echo "$lt_cv_ld_reload_flag" >&6; } 5923reload_flag=$lt_cv_ld_reload_flag 5924case $reload_flag in 5925"" | " "*) ;; 5926*) reload_flag=" $reload_flag" ;; 5927esac 5928reload_cmds='$LD$reload_flag -o $output$reload_objs' 5929case $host_os in 5930 cygwin* | mingw* | pw32* | cegcc*) 5931 if test yes != "$GCC"; then 5932 reload_cmds=false 5933 fi 5934 ;; 5935 darwin*) 5936 if test yes = "$GCC"; then 5937 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 5938 else 5939 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5940 fi 5941 ;; 5942esac 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952if test -n "$ac_tool_prefix"; then 5953 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5954set dummy ${ac_tool_prefix}objdump; ac_word=$2 5955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5956$as_echo_n "checking for $ac_word... " >&6; } 5957if ${ac_cv_prog_OBJDUMP+:} false; then : 5958 $as_echo_n "(cached) " >&6 5959else 5960 if test -n "$OBJDUMP"; then 5961 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5962else 5963as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5964for as_dir in $PATH 5965do 5966 IFS=$as_save_IFS 5967 test -z "$as_dir" && as_dir=. 5968 for ac_exec_ext in '' $ac_executable_extensions; do 5969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5970 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5972 break 2 5973 fi 5974done 5975 done 5976IFS=$as_save_IFS 5977 5978fi 5979fi 5980OBJDUMP=$ac_cv_prog_OBJDUMP 5981if test -n "$OBJDUMP"; then 5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5983$as_echo "$OBJDUMP" >&6; } 5984else 5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5986$as_echo "no" >&6; } 5987fi 5988 5989 5990fi 5991if test -z "$ac_cv_prog_OBJDUMP"; then 5992 ac_ct_OBJDUMP=$OBJDUMP 5993 # Extract the first word of "objdump", so it can be a program name with args. 5994set dummy objdump; ac_word=$2 5995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5996$as_echo_n "checking for $ac_word... " >&6; } 5997if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5998 $as_echo_n "(cached) " >&6 5999else 6000 if test -n "$ac_ct_OBJDUMP"; then 6001 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 6002else 6003as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6004for as_dir in $PATH 6005do 6006 IFS=$as_save_IFS 6007 test -z "$as_dir" && as_dir=. 6008 for ac_exec_ext in '' $ac_executable_extensions; do 6009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6010 ac_cv_prog_ac_ct_OBJDUMP="objdump" 6011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6012 break 2 6013 fi 6014done 6015 done 6016IFS=$as_save_IFS 6017 6018fi 6019fi 6020ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 6021if test -n "$ac_ct_OBJDUMP"; then 6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 6023$as_echo "$ac_ct_OBJDUMP" >&6; } 6024else 6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6026$as_echo "no" >&6; } 6027fi 6028 6029 if test "x$ac_ct_OBJDUMP" = x; then 6030 OBJDUMP="false" 6031 else 6032 case $cross_compiling:$ac_tool_warned in 6033yes:) 6034{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6035$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6036ac_tool_warned=yes ;; 6037esac 6038 OBJDUMP=$ac_ct_OBJDUMP 6039 fi 6040else 6041 OBJDUMP="$ac_cv_prog_OBJDUMP" 6042fi 6043 6044test -z "$OBJDUMP" && OBJDUMP=objdump 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 6055$as_echo_n "checking how to recognize dependent libraries... " >&6; } 6056if ${lt_cv_deplibs_check_method+:} false; then : 6057 $as_echo_n "(cached) " >&6 6058else 6059 lt_cv_file_magic_cmd='$MAGIC_CMD' 6060lt_cv_file_magic_test_file= 6061lt_cv_deplibs_check_method='unknown' 6062# Need to set the preceding variable on all platforms that support 6063# interlibrary dependencies. 6064# 'none' -- dependencies not supported. 6065# 'unknown' -- same as none, but documents that we really don't know. 6066# 'pass_all' -- all dependencies passed with no checks. 6067# 'test_compile' -- check by making test program. 6068# 'file_magic [[regex]]' -- check by looking for files in library path 6069# that responds to the $file_magic_cmd with a given extended regex. 6070# If you have 'file' or equivalent on your system and you're not sure 6071# whether 'pass_all' will *always* work, you probably want this one. 6072 6073case $host_os in 6074aix[4-9]*) 6075 lt_cv_deplibs_check_method=pass_all 6076 ;; 6077 6078beos*) 6079 lt_cv_deplibs_check_method=pass_all 6080 ;; 6081 6082bsdi[45]*) 6083 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 6084 lt_cv_file_magic_cmd='/usr/bin/file -L' 6085 lt_cv_file_magic_test_file=/shlib/libc.so 6086 ;; 6087 6088cygwin*) 6089 # func_win32_libid is a shell function defined in ltmain.sh 6090 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6091 lt_cv_file_magic_cmd='func_win32_libid' 6092 ;; 6093 6094mingw* | pw32*) 6095 # Base MSYS/MinGW do not provide the 'file' command needed by 6096 # func_win32_libid shell function, so use a weaker test based on 'objdump', 6097 # unless we find 'file', for example because we are cross-compiling. 6098 if ( file / ) >/dev/null 2>&1; then 6099 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6100 lt_cv_file_magic_cmd='func_win32_libid' 6101 else 6102 # Keep this pattern in sync with the one in func_win32_libid. 6103 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 6104 lt_cv_file_magic_cmd='$OBJDUMP -f' 6105 fi 6106 ;; 6107 6108cegcc*) 6109 # use the weaker test based on 'objdump'. See mingw*. 6110 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 6111 lt_cv_file_magic_cmd='$OBJDUMP -f' 6112 ;; 6113 6114darwin* | rhapsody*) 6115 lt_cv_deplibs_check_method=pass_all 6116 ;; 6117 6118freebsd* | dragonfly*) 6119 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6120 case $host_cpu in 6121 i*86 ) 6122 # Not sure whether the presence of OpenBSD here was a mistake. 6123 # Let's accept both of them until this is cleared up. 6124 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 6125 lt_cv_file_magic_cmd=/usr/bin/file 6126 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 6127 ;; 6128 esac 6129 else 6130 lt_cv_deplibs_check_method=pass_all 6131 fi 6132 ;; 6133 6134haiku*) 6135 lt_cv_deplibs_check_method=pass_all 6136 ;; 6137 6138hpux10.20* | hpux11*) 6139 lt_cv_file_magic_cmd=/usr/bin/file 6140 case $host_cpu in 6141 ia64*) 6142 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 6143 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 6144 ;; 6145 hppa*64*) 6146 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]' 6147 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 6148 ;; 6149 *) 6150 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 6151 lt_cv_file_magic_test_file=/usr/lib/libc.sl 6152 ;; 6153 esac 6154 ;; 6155 6156interix[3-9]*) 6157 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 6158 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 6159 ;; 6160 6161irix5* | irix6* | nonstopux*) 6162 case $LD in 6163 *-32|*"-32 ") libmagic=32-bit;; 6164 *-n32|*"-n32 ") libmagic=N32;; 6165 *-64|*"-64 ") libmagic=64-bit;; 6166 *) libmagic=never-match;; 6167 esac 6168 lt_cv_deplibs_check_method=pass_all 6169 ;; 6170 6171# This must be glibc/ELF. 6172linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 6173 lt_cv_deplibs_check_method=pass_all 6174 ;; 6175 6176netbsd* | netbsdelf*-gnu) 6177 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6178 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6179 else 6180 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 6181 fi 6182 ;; 6183 6184newos6*) 6185 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 6186 lt_cv_file_magic_cmd=/usr/bin/file 6187 lt_cv_file_magic_test_file=/usr/lib/libnls.so 6188 ;; 6189 6190*nto* | *qnx*) 6191 lt_cv_deplibs_check_method=pass_all 6192 ;; 6193 6194openbsd* | bitrig*) 6195 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 6196 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 6197 else 6198 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6199 fi 6200 ;; 6201 6202osf3* | osf4* | osf5*) 6203 lt_cv_deplibs_check_method=pass_all 6204 ;; 6205 6206rdos*) 6207 lt_cv_deplibs_check_method=pass_all 6208 ;; 6209 6210solaris*) 6211 lt_cv_deplibs_check_method=pass_all 6212 ;; 6213 6214sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 6215 lt_cv_deplibs_check_method=pass_all 6216 ;; 6217 6218sysv4 | sysv4.3*) 6219 case $host_vendor in 6220 motorola) 6221 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]' 6222 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 6223 ;; 6224 ncr) 6225 lt_cv_deplibs_check_method=pass_all 6226 ;; 6227 sequent) 6228 lt_cv_file_magic_cmd='/bin/file' 6229 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 6230 ;; 6231 sni) 6232 lt_cv_file_magic_cmd='/bin/file' 6233 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 6234 lt_cv_file_magic_test_file=/lib/libc.so 6235 ;; 6236 siemens) 6237 lt_cv_deplibs_check_method=pass_all 6238 ;; 6239 pc) 6240 lt_cv_deplibs_check_method=pass_all 6241 ;; 6242 esac 6243 ;; 6244 6245tpf*) 6246 lt_cv_deplibs_check_method=pass_all 6247 ;; 6248os2*) 6249 lt_cv_deplibs_check_method=pass_all 6250 ;; 6251esac 6252 6253fi 6254{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 6255$as_echo "$lt_cv_deplibs_check_method" >&6; } 6256 6257file_magic_glob= 6258want_nocaseglob=no 6259if test "$build" = "$host"; then 6260 case $host_os in 6261 mingw* | pw32*) 6262 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 6263 want_nocaseglob=yes 6264 else 6265 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 6266 fi 6267 ;; 6268 esac 6269fi 6270 6271file_magic_cmd=$lt_cv_file_magic_cmd 6272deplibs_check_method=$lt_cv_deplibs_check_method 6273test -z "$deplibs_check_method" && deplibs_check_method=unknown 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296if test -n "$ac_tool_prefix"; then 6297 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 6298set dummy ${ac_tool_prefix}dlltool; ac_word=$2 6299{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6300$as_echo_n "checking for $ac_word... " >&6; } 6301if ${ac_cv_prog_DLLTOOL+:} false; then : 6302 $as_echo_n "(cached) " >&6 6303else 6304 if test -n "$DLLTOOL"; then 6305 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 6306else 6307as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6308for as_dir in $PATH 6309do 6310 IFS=$as_save_IFS 6311 test -z "$as_dir" && as_dir=. 6312 for ac_exec_ext in '' $ac_executable_extensions; do 6313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6314 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 6315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6316 break 2 6317 fi 6318done 6319 done 6320IFS=$as_save_IFS 6321 6322fi 6323fi 6324DLLTOOL=$ac_cv_prog_DLLTOOL 6325if test -n "$DLLTOOL"; then 6326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 6327$as_echo "$DLLTOOL" >&6; } 6328else 6329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6330$as_echo "no" >&6; } 6331fi 6332 6333 6334fi 6335if test -z "$ac_cv_prog_DLLTOOL"; then 6336 ac_ct_DLLTOOL=$DLLTOOL 6337 # Extract the first word of "dlltool", so it can be a program name with args. 6338set dummy dlltool; ac_word=$2 6339{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6340$as_echo_n "checking for $ac_word... " >&6; } 6341if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 6342 $as_echo_n "(cached) " >&6 6343else 6344 if test -n "$ac_ct_DLLTOOL"; then 6345 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 6346else 6347as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6348for as_dir in $PATH 6349do 6350 IFS=$as_save_IFS 6351 test -z "$as_dir" && as_dir=. 6352 for ac_exec_ext in '' $ac_executable_extensions; do 6353 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6354 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 6355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6356 break 2 6357 fi 6358done 6359 done 6360IFS=$as_save_IFS 6361 6362fi 6363fi 6364ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 6365if test -n "$ac_ct_DLLTOOL"; then 6366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 6367$as_echo "$ac_ct_DLLTOOL" >&6; } 6368else 6369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6370$as_echo "no" >&6; } 6371fi 6372 6373 if test "x$ac_ct_DLLTOOL" = x; then 6374 DLLTOOL="false" 6375 else 6376 case $cross_compiling:$ac_tool_warned in 6377yes:) 6378{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6379$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6380ac_tool_warned=yes ;; 6381esac 6382 DLLTOOL=$ac_ct_DLLTOOL 6383 fi 6384else 6385 DLLTOOL="$ac_cv_prog_DLLTOOL" 6386fi 6387 6388test -z "$DLLTOOL" && DLLTOOL=dlltool 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 6400$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 6401if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 6402 $as_echo_n "(cached) " >&6 6403else 6404 lt_cv_sharedlib_from_linklib_cmd='unknown' 6405 6406case $host_os in 6407cygwin* | mingw* | pw32* | cegcc*) 6408 # two different shell functions defined in ltmain.sh; 6409 # decide which one to use based on capabilities of $DLLTOOL 6410 case `$DLLTOOL --help 2>&1` in 6411 *--identify-strict*) 6412 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 6413 ;; 6414 *) 6415 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 6416 ;; 6417 esac 6418 ;; 6419*) 6420 # fallback: assume linklib IS sharedlib 6421 lt_cv_sharedlib_from_linklib_cmd=$ECHO 6422 ;; 6423esac 6424 6425fi 6426{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 6427$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 6428sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 6429test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 6430 6431 6432 6433 6434 6435 6436 6437if test -n "$ac_tool_prefix"; then 6438 for ac_prog in ar 6439 do 6440 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6441set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6442{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6443$as_echo_n "checking for $ac_word... " >&6; } 6444if ${ac_cv_prog_AR+:} false; then : 6445 $as_echo_n "(cached) " >&6 6446else 6447 if test -n "$AR"; then 6448 ac_cv_prog_AR="$AR" # Let the user override the test. 6449else 6450as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6451for as_dir in $PATH 6452do 6453 IFS=$as_save_IFS 6454 test -z "$as_dir" && as_dir=. 6455 for ac_exec_ext in '' $ac_executable_extensions; do 6456 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6457 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 6458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6459 break 2 6460 fi 6461done 6462 done 6463IFS=$as_save_IFS 6464 6465fi 6466fi 6467AR=$ac_cv_prog_AR 6468if test -n "$AR"; then 6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 6470$as_echo "$AR" >&6; } 6471else 6472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6473$as_echo "no" >&6; } 6474fi 6475 6476 6477 test -n "$AR" && break 6478 done 6479fi 6480if test -z "$AR"; then 6481 ac_ct_AR=$AR 6482 for ac_prog in ar 6483do 6484 # Extract the first word of "$ac_prog", so it can be a program name with args. 6485set dummy $ac_prog; ac_word=$2 6486{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6487$as_echo_n "checking for $ac_word... " >&6; } 6488if ${ac_cv_prog_ac_ct_AR+:} false; then : 6489 $as_echo_n "(cached) " >&6 6490else 6491 if test -n "$ac_ct_AR"; then 6492 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 6493else 6494as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6495for as_dir in $PATH 6496do 6497 IFS=$as_save_IFS 6498 test -z "$as_dir" && as_dir=. 6499 for ac_exec_ext in '' $ac_executable_extensions; do 6500 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6501 ac_cv_prog_ac_ct_AR="$ac_prog" 6502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6503 break 2 6504 fi 6505done 6506 done 6507IFS=$as_save_IFS 6508 6509fi 6510fi 6511ac_ct_AR=$ac_cv_prog_ac_ct_AR 6512if test -n "$ac_ct_AR"; then 6513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 6514$as_echo "$ac_ct_AR" >&6; } 6515else 6516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6517$as_echo "no" >&6; } 6518fi 6519 6520 6521 test -n "$ac_ct_AR" && break 6522done 6523 6524 if test "x$ac_ct_AR" = x; then 6525 AR="false" 6526 else 6527 case $cross_compiling:$ac_tool_warned in 6528yes:) 6529{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6530$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6531ac_tool_warned=yes ;; 6532esac 6533 AR=$ac_ct_AR 6534 fi 6535fi 6536 6537: ${AR=ar} 6538: ${AR_FLAGS=cru} 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 6551$as_echo_n "checking for archiver @FILE support... " >&6; } 6552if ${lt_cv_ar_at_file+:} false; then : 6553 $as_echo_n "(cached) " >&6 6554else 6555 lt_cv_ar_at_file=no 6556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6557/* end confdefs.h. */ 6558 6559int 6560main () 6561{ 6562 6563 ; 6564 return 0; 6565} 6566_ACEOF 6567if ac_fn_c_try_compile "$LINENO"; then : 6568 echo conftest.$ac_objext > conftest.lst 6569 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 6570 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6571 (eval $lt_ar_try) 2>&5 6572 ac_status=$? 6573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6574 test $ac_status = 0; } 6575 if test 0 -eq "$ac_status"; then 6576 # Ensure the archiver fails upon bogus file names. 6577 rm -f conftest.$ac_objext libconftest.a 6578 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6579 (eval $lt_ar_try) 2>&5 6580 ac_status=$? 6581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6582 test $ac_status = 0; } 6583 if test 0 -ne "$ac_status"; then 6584 lt_cv_ar_at_file=@ 6585 fi 6586 fi 6587 rm -f conftest.* libconftest.a 6588 6589fi 6590rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6591 6592fi 6593{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 6594$as_echo "$lt_cv_ar_at_file" >&6; } 6595 6596if test no = "$lt_cv_ar_at_file"; then 6597 archiver_list_spec= 6598else 6599 archiver_list_spec=$lt_cv_ar_at_file 6600fi 6601 6602 6603 6604 6605 6606 6607 6608if test -n "$ac_tool_prefix"; then 6609 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6610set dummy ${ac_tool_prefix}strip; ac_word=$2 6611{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6612$as_echo_n "checking for $ac_word... " >&6; } 6613if ${ac_cv_prog_STRIP+:} false; then : 6614 $as_echo_n "(cached) " >&6 6615else 6616 if test -n "$STRIP"; then 6617 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6618else 6619as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6620for as_dir in $PATH 6621do 6622 IFS=$as_save_IFS 6623 test -z "$as_dir" && as_dir=. 6624 for ac_exec_ext in '' $ac_executable_extensions; do 6625 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6626 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6628 break 2 6629 fi 6630done 6631 done 6632IFS=$as_save_IFS 6633 6634fi 6635fi 6636STRIP=$ac_cv_prog_STRIP 6637if test -n "$STRIP"; then 6638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 6639$as_echo "$STRIP" >&6; } 6640else 6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6642$as_echo "no" >&6; } 6643fi 6644 6645 6646fi 6647if test -z "$ac_cv_prog_STRIP"; then 6648 ac_ct_STRIP=$STRIP 6649 # Extract the first word of "strip", so it can be a program name with args. 6650set dummy strip; ac_word=$2 6651{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6652$as_echo_n "checking for $ac_word... " >&6; } 6653if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 6654 $as_echo_n "(cached) " >&6 6655else 6656 if test -n "$ac_ct_STRIP"; then 6657 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6658else 6659as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6660for as_dir in $PATH 6661do 6662 IFS=$as_save_IFS 6663 test -z "$as_dir" && as_dir=. 6664 for ac_exec_ext in '' $ac_executable_extensions; do 6665 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6666 ac_cv_prog_ac_ct_STRIP="strip" 6667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6668 break 2 6669 fi 6670done 6671 done 6672IFS=$as_save_IFS 6673 6674fi 6675fi 6676ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6677if test -n "$ac_ct_STRIP"; then 6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 6679$as_echo "$ac_ct_STRIP" >&6; } 6680else 6681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6682$as_echo "no" >&6; } 6683fi 6684 6685 if test "x$ac_ct_STRIP" = x; then 6686 STRIP=":" 6687 else 6688 case $cross_compiling:$ac_tool_warned in 6689yes:) 6690{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6691$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6692ac_tool_warned=yes ;; 6693esac 6694 STRIP=$ac_ct_STRIP 6695 fi 6696else 6697 STRIP="$ac_cv_prog_STRIP" 6698fi 6699 6700test -z "$STRIP" && STRIP=: 6701 6702 6703 6704 6705 6706 6707if test -n "$ac_tool_prefix"; then 6708 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6709set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6710{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6711$as_echo_n "checking for $ac_word... " >&6; } 6712if ${ac_cv_prog_RANLIB+:} false; then : 6713 $as_echo_n "(cached) " >&6 6714else 6715 if test -n "$RANLIB"; then 6716 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6717else 6718as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6719for as_dir in $PATH 6720do 6721 IFS=$as_save_IFS 6722 test -z "$as_dir" && as_dir=. 6723 for ac_exec_ext in '' $ac_executable_extensions; do 6724 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6725 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6727 break 2 6728 fi 6729done 6730 done 6731IFS=$as_save_IFS 6732 6733fi 6734fi 6735RANLIB=$ac_cv_prog_RANLIB 6736if test -n "$RANLIB"; then 6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6738$as_echo "$RANLIB" >&6; } 6739else 6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6741$as_echo "no" >&6; } 6742fi 6743 6744 6745fi 6746if test -z "$ac_cv_prog_RANLIB"; then 6747 ac_ct_RANLIB=$RANLIB 6748 # Extract the first word of "ranlib", so it can be a program name with args. 6749set dummy ranlib; ac_word=$2 6750{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6751$as_echo_n "checking for $ac_word... " >&6; } 6752if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 6753 $as_echo_n "(cached) " >&6 6754else 6755 if test -n "$ac_ct_RANLIB"; then 6756 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6757else 6758as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6759for as_dir in $PATH 6760do 6761 IFS=$as_save_IFS 6762 test -z "$as_dir" && as_dir=. 6763 for ac_exec_ext in '' $ac_executable_extensions; do 6764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6765 ac_cv_prog_ac_ct_RANLIB="ranlib" 6766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6767 break 2 6768 fi 6769done 6770 done 6771IFS=$as_save_IFS 6772 6773fi 6774fi 6775ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6776if test -n "$ac_ct_RANLIB"; then 6777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6778$as_echo "$ac_ct_RANLIB" >&6; } 6779else 6780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6781$as_echo "no" >&6; } 6782fi 6783 6784 if test "x$ac_ct_RANLIB" = x; then 6785 RANLIB=":" 6786 else 6787 case $cross_compiling:$ac_tool_warned in 6788yes:) 6789{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6790$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6791ac_tool_warned=yes ;; 6792esac 6793 RANLIB=$ac_ct_RANLIB 6794 fi 6795else 6796 RANLIB="$ac_cv_prog_RANLIB" 6797fi 6798 6799test -z "$RANLIB" && RANLIB=: 6800 6801 6802 6803 6804 6805 6806# Determine commands to create old-style static archives. 6807old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6808old_postinstall_cmds='chmod 644 $oldlib' 6809old_postuninstall_cmds= 6810 6811if test -n "$RANLIB"; then 6812 case $host_os in 6813 bitrig* | openbsd*) 6814 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 6815 ;; 6816 *) 6817 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 6818 ;; 6819 esac 6820 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 6821fi 6822 6823case $host_os in 6824 darwin*) 6825 lock_old_archive_extraction=yes ;; 6826 *) 6827 lock_old_archive_extraction=no ;; 6828esac 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868# If no C compiler was specified, use CC. 6869LTCC=${LTCC-"$CC"} 6870 6871# If no C compiler flags were specified, use CFLAGS. 6872LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6873 6874# Allow CC to be a program name with arguments. 6875compiler=$CC 6876 6877 6878# Check for command to grab the raw symbol name followed by C symbol from nm. 6879{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6880$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6881if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6882 $as_echo_n "(cached) " >&6 6883else 6884 6885# These are sane defaults that work on at least a few old systems. 6886# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6887 6888# Character class describing NM global symbol codes. 6889symcode='[BCDEGRST]' 6890 6891# Regexp to match symbols that can be accessed directly from C. 6892sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6893 6894# Define system-specific variables. 6895case $host_os in 6896aix*) 6897 symcode='[BCDT]' 6898 ;; 6899cygwin* | mingw* | pw32* | cegcc*) 6900 symcode='[ABCDGISTW]' 6901 ;; 6902hpux*) 6903 if test ia64 = "$host_cpu"; then 6904 symcode='[ABCDEGRST]' 6905 fi 6906 ;; 6907irix* | nonstopux*) 6908 symcode='[BCDEGRST]' 6909 ;; 6910osf*) 6911 symcode='[BCDEGQRST]' 6912 ;; 6913solaris*) 6914 symcode='[BDRT]' 6915 ;; 6916sco3.2v5*) 6917 symcode='[DT]' 6918 ;; 6919sysv4.2uw2*) 6920 symcode='[DT]' 6921 ;; 6922sysv5* | sco5v6* | unixware* | OpenUNIX*) 6923 symcode='[ABDT]' 6924 ;; 6925sysv4) 6926 symcode='[DFNSTU]' 6927 ;; 6928esac 6929 6930# If we're using GNU nm, then use its standard symbol codes. 6931case `$NM -V 2>&1` in 6932*GNU* | *'with BFD'*) 6933 symcode='[ABCDGIRSTW]' ;; 6934esac 6935 6936if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6937 # Gets list of data symbols to import. 6938 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 6939 # Adjust the below global symbol transforms to fixup imported variables. 6940 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 6941 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 6942 lt_c_name_lib_hook="\ 6943 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 6944 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 6945else 6946 # Disable hooks by default. 6947 lt_cv_sys_global_symbol_to_import= 6948 lt_cdecl_hook= 6949 lt_c_name_hook= 6950 lt_c_name_lib_hook= 6951fi 6952 6953# Transform an extracted symbol line into a proper C declaration. 6954# Some systems (esp. on ia64) link data and code symbols differently, 6955# so use this general approach. 6956lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 6957$lt_cdecl_hook\ 6958" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 6959" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 6960 6961# Transform an extracted symbol line into symbol name and symbol address 6962lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 6963$lt_c_name_hook\ 6964" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6965" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 6966 6967# Transform an extracted symbol line into symbol name with lib prefix and 6968# symbol address. 6969lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 6970$lt_c_name_lib_hook\ 6971" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 6972" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 6973" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 6974 6975# Handle CRLF in mingw tool chain 6976opt_cr= 6977case $build_os in 6978mingw*) 6979 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6980 ;; 6981esac 6982 6983# Try without a prefix underscore, then with it. 6984for ac_symprfx in "" "_"; do 6985 6986 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6987 symxfrm="\\1 $ac_symprfx\\2 \\2" 6988 6989 # Write the raw and C identifiers. 6990 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6991 # Fake it for dumpbin and say T for any non-static function, 6992 # D for any global variable and I for any imported variable. 6993 # Also find C++ and __fastcall symbols from MSVC++, 6994 # which start with @ or ?. 6995 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6996" {last_section=section; section=\$ 3};"\ 6997" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6998" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6999" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 7000" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 7001" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 7002" \$ 0!~/External *\|/{next};"\ 7003" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 7004" {if(hide[section]) next};"\ 7005" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 7006" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 7007" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 7008" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 7009" ' prfx=^$ac_symprfx" 7010 else 7011 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 7012 fi 7013 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 7014 7015 # Check to see that the pipe works correctly. 7016 pipe_works=no 7017 7018 rm -f conftest* 7019 cat > conftest.$ac_ext <<_LT_EOF 7020#ifdef __cplusplus 7021extern "C" { 7022#endif 7023char nm_test_var; 7024void nm_test_func(void); 7025void nm_test_func(void){} 7026#ifdef __cplusplus 7027} 7028#endif 7029int main(){nm_test_var='a';nm_test_func();return(0);} 7030_LT_EOF 7031 7032 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7033 (eval $ac_compile) 2>&5 7034 ac_status=$? 7035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7036 test $ac_status = 0; }; then 7037 # Now try to grab the symbols. 7038 nlist=conftest.nm 7039 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 7040 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 7041 ac_status=$? 7042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7043 test $ac_status = 0; } && test -s "$nlist"; then 7044 # Try sorting and uniquifying the output. 7045 if sort "$nlist" | uniq > "$nlist"T; then 7046 mv -f "$nlist"T "$nlist" 7047 else 7048 rm -f "$nlist"T 7049 fi 7050 7051 # Make sure that we snagged all the symbols we need. 7052 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 7053 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 7054 cat <<_LT_EOF > conftest.$ac_ext 7055/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 7056#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 7057/* DATA imports from DLLs on WIN32 can't be const, because runtime 7058 relocations are performed -- see ld's documentation on pseudo-relocs. */ 7059# define LT_DLSYM_CONST 7060#elif defined __osf__ 7061/* This system does not cope well with relocations in const data. */ 7062# define LT_DLSYM_CONST 7063#else 7064# define LT_DLSYM_CONST const 7065#endif 7066 7067#ifdef __cplusplus 7068extern "C" { 7069#endif 7070 7071_LT_EOF 7072 # Now generate the symbol file. 7073 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 7074 7075 cat <<_LT_EOF >> conftest.$ac_ext 7076 7077/* The mapping between symbol names and symbols. */ 7078LT_DLSYM_CONST struct { 7079 const char *name; 7080 void *address; 7081} 7082lt__PROGRAM__LTX_preloaded_symbols[] = 7083{ 7084 { "@PROGRAM@", (void *) 0 }, 7085_LT_EOF 7086 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 7087 cat <<\_LT_EOF >> conftest.$ac_ext 7088 {0, (void *) 0} 7089}; 7090 7091/* This works around a problem in FreeBSD linker */ 7092#ifdef FREEBSD_WORKAROUND 7093static const void *lt_preloaded_setup() { 7094 return lt__PROGRAM__LTX_preloaded_symbols; 7095} 7096#endif 7097 7098#ifdef __cplusplus 7099} 7100#endif 7101_LT_EOF 7102 # Now try linking the two files. 7103 mv conftest.$ac_objext conftstm.$ac_objext 7104 lt_globsym_save_LIBS=$LIBS 7105 lt_globsym_save_CFLAGS=$CFLAGS 7106 LIBS=conftstm.$ac_objext 7107 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 7108 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 7109 (eval $ac_link) 2>&5 7110 ac_status=$? 7111 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7112 test $ac_status = 0; } && test -s conftest$ac_exeext; then 7113 pipe_works=yes 7114 fi 7115 LIBS=$lt_globsym_save_LIBS 7116 CFLAGS=$lt_globsym_save_CFLAGS 7117 else 7118 echo "cannot find nm_test_func in $nlist" >&5 7119 fi 7120 else 7121 echo "cannot find nm_test_var in $nlist" >&5 7122 fi 7123 else 7124 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 7125 fi 7126 else 7127 echo "$progname: failed program was:" >&5 7128 cat conftest.$ac_ext >&5 7129 fi 7130 rm -rf conftest* conftst* 7131 7132 # Do not use the global_symbol_pipe unless it works. 7133 if test yes = "$pipe_works"; then 7134 break 7135 else 7136 lt_cv_sys_global_symbol_pipe= 7137 fi 7138done 7139 7140fi 7141 7142if test -z "$lt_cv_sys_global_symbol_pipe"; then 7143 lt_cv_sys_global_symbol_to_cdecl= 7144fi 7145if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 7146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 7147$as_echo "failed" >&6; } 7148else 7149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 7150$as_echo "ok" >&6; } 7151fi 7152 7153# Response file support. 7154if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7155 nm_file_list_spec='@' 7156elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 7157 nm_file_list_spec='@' 7158fi 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 7197$as_echo_n "checking for sysroot... " >&6; } 7198 7199# Check whether --with-sysroot was given. 7200if test "${with_sysroot+set}" = set; then : 7201 withval=$with_sysroot; 7202else 7203 with_sysroot=no 7204fi 7205 7206 7207lt_sysroot= 7208case $with_sysroot in #( 7209 yes) 7210 if test yes = "$GCC"; then 7211 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 7212 fi 7213 ;; #( 7214 /*) 7215 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 7216 ;; #( 7217 no|'') 7218 ;; #( 7219 *) 7220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 7221$as_echo "$with_sysroot" >&6; } 7222 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 7223 ;; 7224esac 7225 7226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 7227$as_echo "${lt_sysroot:-no}" >&6; } 7228 7229 7230 7231 7232 7233{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 7234$as_echo_n "checking for a working dd... " >&6; } 7235if ${ac_cv_path_lt_DD+:} false; then : 7236 $as_echo_n "(cached) " >&6 7237else 7238 printf 0123456789abcdef0123456789abcdef >conftest.i 7239cat conftest.i conftest.i >conftest2.i 7240: ${lt_DD:=$DD} 7241if test -z "$lt_DD"; then 7242 ac_path_lt_DD_found=false 7243 # Loop through the user's path and test for each of PROGNAME-LIST 7244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7245for as_dir in $PATH 7246do 7247 IFS=$as_save_IFS 7248 test -z "$as_dir" && as_dir=. 7249 for ac_prog in dd; do 7250 for ac_exec_ext in '' $ac_executable_extensions; do 7251 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 7252 as_fn_executable_p "$ac_path_lt_DD" || continue 7253if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 7254 cmp -s conftest.i conftest.out \ 7255 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 7256fi 7257 $ac_path_lt_DD_found && break 3 7258 done 7259 done 7260 done 7261IFS=$as_save_IFS 7262 if test -z "$ac_cv_path_lt_DD"; then 7263 : 7264 fi 7265else 7266 ac_cv_path_lt_DD=$lt_DD 7267fi 7268 7269rm -f conftest.i conftest2.i conftest.out 7270fi 7271{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 7272$as_echo "$ac_cv_path_lt_DD" >&6; } 7273 7274 7275{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 7276$as_echo_n "checking how to truncate binary pipes... " >&6; } 7277if ${lt_cv_truncate_bin+:} false; then : 7278 $as_echo_n "(cached) " >&6 7279else 7280 printf 0123456789abcdef0123456789abcdef >conftest.i 7281cat conftest.i conftest.i >conftest2.i 7282lt_cv_truncate_bin= 7283if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 7284 cmp -s conftest.i conftest.out \ 7285 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 7286fi 7287rm -f conftest.i conftest2.i conftest.out 7288test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 7289fi 7290{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 7291$as_echo "$lt_cv_truncate_bin" >&6; } 7292 7293 7294 7295 7296 7297 7298 7299# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 7300func_cc_basename () 7301{ 7302 for cc_temp in $*""; do 7303 case $cc_temp in 7304 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7305 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7306 \-*) ;; 7307 *) break;; 7308 esac 7309 done 7310 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 7311} 7312 7313# Check whether --enable-libtool-lock was given. 7314if test "${enable_libtool_lock+set}" = set; then : 7315 enableval=$enable_libtool_lock; 7316fi 7317 7318test no = "$enable_libtool_lock" || enable_libtool_lock=yes 7319 7320# Some flags need to be propagated to the compiler or linker for good 7321# libtool support. 7322case $host in 7323ia64-*-hpux*) 7324 # Find out what ABI is being produced by ac_compile, and set mode 7325 # options accordingly. 7326 echo 'int i;' > conftest.$ac_ext 7327 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7328 (eval $ac_compile) 2>&5 7329 ac_status=$? 7330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7331 test $ac_status = 0; }; then 7332 case `/usr/bin/file conftest.$ac_objext` in 7333 *ELF-32*) 7334 HPUX_IA64_MODE=32 7335 ;; 7336 *ELF-64*) 7337 HPUX_IA64_MODE=64 7338 ;; 7339 esac 7340 fi 7341 rm -rf conftest* 7342 ;; 7343*-*-irix6*) 7344 # Find out what ABI is being produced by ac_compile, and set linker 7345 # options accordingly. 7346 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 7347 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7348 (eval $ac_compile) 2>&5 7349 ac_status=$? 7350 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7351 test $ac_status = 0; }; then 7352 if test yes = "$lt_cv_prog_gnu_ld"; then 7353 case `/usr/bin/file conftest.$ac_objext` in 7354 *32-bit*) 7355 LD="${LD-ld} -melf32bsmip" 7356 ;; 7357 *N32*) 7358 LD="${LD-ld} -melf32bmipn32" 7359 ;; 7360 *64-bit*) 7361 LD="${LD-ld} -melf64bmip" 7362 ;; 7363 esac 7364 else 7365 case `/usr/bin/file conftest.$ac_objext` in 7366 *32-bit*) 7367 LD="${LD-ld} -32" 7368 ;; 7369 *N32*) 7370 LD="${LD-ld} -n32" 7371 ;; 7372 *64-bit*) 7373 LD="${LD-ld} -64" 7374 ;; 7375 esac 7376 fi 7377 fi 7378 rm -rf conftest* 7379 ;; 7380 7381mips64*-*linux*) 7382 # Find out what ABI is being produced by ac_compile, and set linker 7383 # options accordingly. 7384 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 7385 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7386 (eval $ac_compile) 2>&5 7387 ac_status=$? 7388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7389 test $ac_status = 0; }; then 7390 emul=elf 7391 case `/usr/bin/file conftest.$ac_objext` in 7392 *32-bit*) 7393 emul="${emul}32" 7394 ;; 7395 *64-bit*) 7396 emul="${emul}64" 7397 ;; 7398 esac 7399 case `/usr/bin/file conftest.$ac_objext` in 7400 *MSB*) 7401 emul="${emul}btsmip" 7402 ;; 7403 *LSB*) 7404 emul="${emul}ltsmip" 7405 ;; 7406 esac 7407 case `/usr/bin/file conftest.$ac_objext` in 7408 *N32*) 7409 emul="${emul}n32" 7410 ;; 7411 esac 7412 LD="${LD-ld} -m $emul" 7413 fi 7414 rm -rf conftest* 7415 ;; 7416 7417x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 7418s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 7419 # Find out what ABI is being produced by ac_compile, and set linker 7420 # options accordingly. Note that the listed cases only cover the 7421 # situations where additional linker options are needed (such as when 7422 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 7423 # vice versa); the common cases where no linker options are needed do 7424 # not appear in the list. 7425 echo 'int i;' > conftest.$ac_ext 7426 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7427 (eval $ac_compile) 2>&5 7428 ac_status=$? 7429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7430 test $ac_status = 0; }; then 7431 case `/usr/bin/file conftest.o` in 7432 *32-bit*) 7433 case $host in 7434 x86_64-*kfreebsd*-gnu) 7435 LD="${LD-ld} -m elf_i386_fbsd" 7436 ;; 7437 x86_64-*linux*) 7438 case `/usr/bin/file conftest.o` in 7439 *x86-64*) 7440 LD="${LD-ld} -m elf32_x86_64" 7441 ;; 7442 *) 7443 LD="${LD-ld} -m elf_i386" 7444 ;; 7445 esac 7446 ;; 7447 powerpc64le-*linux*) 7448 LD="${LD-ld} -m elf32lppclinux" 7449 ;; 7450 powerpc64-*linux*) 7451 LD="${LD-ld} -m elf32ppclinux" 7452 ;; 7453 s390x-*linux*) 7454 LD="${LD-ld} -m elf_s390" 7455 ;; 7456 sparc64-*linux*) 7457 LD="${LD-ld} -m elf32_sparc" 7458 ;; 7459 esac 7460 ;; 7461 *64-bit*) 7462 case $host in 7463 x86_64-*kfreebsd*-gnu) 7464 LD="${LD-ld} -m elf_x86_64_fbsd" 7465 ;; 7466 x86_64-*linux*) 7467 LD="${LD-ld} -m elf_x86_64" 7468 ;; 7469 powerpcle-*linux*) 7470 LD="${LD-ld} -m elf64lppc" 7471 ;; 7472 powerpc-*linux*) 7473 LD="${LD-ld} -m elf64ppc" 7474 ;; 7475 s390*-*linux*|s390*-*tpf*) 7476 LD="${LD-ld} -m elf64_s390" 7477 ;; 7478 sparc*-*linux*) 7479 LD="${LD-ld} -m elf64_sparc" 7480 ;; 7481 esac 7482 ;; 7483 esac 7484 fi 7485 rm -rf conftest* 7486 ;; 7487 7488*-*-sco3.2v5*) 7489 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 7490 SAVE_CFLAGS=$CFLAGS 7491 CFLAGS="$CFLAGS -belf" 7492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 7493$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 7494if ${lt_cv_cc_needs_belf+:} false; then : 7495 $as_echo_n "(cached) " >&6 7496else 7497 ac_ext=c 7498ac_cpp='$CPP $CPPFLAGS' 7499ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7500ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7501ac_compiler_gnu=$ac_cv_c_compiler_gnu 7502 7503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7504/* end confdefs.h. */ 7505 7506int 7507main () 7508{ 7509 7510 ; 7511 return 0; 7512} 7513_ACEOF 7514if ac_fn_c_try_link "$LINENO"; then : 7515 lt_cv_cc_needs_belf=yes 7516else 7517 lt_cv_cc_needs_belf=no 7518fi 7519rm -f core conftest.err conftest.$ac_objext \ 7520 conftest$ac_exeext conftest.$ac_ext 7521 ac_ext=c 7522ac_cpp='$CPP $CPPFLAGS' 7523ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7524ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7525ac_compiler_gnu=$ac_cv_c_compiler_gnu 7526 7527fi 7528{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 7529$as_echo "$lt_cv_cc_needs_belf" >&6; } 7530 if test yes != "$lt_cv_cc_needs_belf"; then 7531 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 7532 CFLAGS=$SAVE_CFLAGS 7533 fi 7534 ;; 7535*-*solaris*) 7536 # Find out what ABI is being produced by ac_compile, and set linker 7537 # options accordingly. 7538 echo 'int i;' > conftest.$ac_ext 7539 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7540 (eval $ac_compile) 2>&5 7541 ac_status=$? 7542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7543 test $ac_status = 0; }; then 7544 case `/usr/bin/file conftest.o` in 7545 *64-bit*) 7546 case $lt_cv_prog_gnu_ld in 7547 yes*) 7548 case $host in 7549 i?86-*-solaris*|x86_64-*-solaris*) 7550 LD="${LD-ld} -m elf_x86_64" 7551 ;; 7552 sparc*-*-solaris*) 7553 LD="${LD-ld} -m elf64_sparc" 7554 ;; 7555 esac 7556 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 7557 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 7558 LD=${LD-ld}_sol2 7559 fi 7560 ;; 7561 *) 7562 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 7563 LD="${LD-ld} -64" 7564 fi 7565 ;; 7566 esac 7567 ;; 7568 esac 7569 fi 7570 rm -rf conftest* 7571 ;; 7572esac 7573 7574need_locks=$enable_libtool_lock 7575 7576if test -n "$ac_tool_prefix"; then 7577 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 7578set dummy ${ac_tool_prefix}mt; ac_word=$2 7579{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7580$as_echo_n "checking for $ac_word... " >&6; } 7581if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 7582 $as_echo_n "(cached) " >&6 7583else 7584 if test -n "$MANIFEST_TOOL"; then 7585 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 7586else 7587as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7588for as_dir in $PATH 7589do 7590 IFS=$as_save_IFS 7591 test -z "$as_dir" && as_dir=. 7592 for ac_exec_ext in '' $ac_executable_extensions; do 7593 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7594 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 7595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7596 break 2 7597 fi 7598done 7599 done 7600IFS=$as_save_IFS 7601 7602fi 7603fi 7604MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 7605if test -n "$MANIFEST_TOOL"; then 7606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 7607$as_echo "$MANIFEST_TOOL" >&6; } 7608else 7609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7610$as_echo "no" >&6; } 7611fi 7612 7613 7614fi 7615if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 7616 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 7617 # Extract the first word of "mt", so it can be a program name with args. 7618set dummy mt; ac_word=$2 7619{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7620$as_echo_n "checking for $ac_word... " >&6; } 7621if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 7622 $as_echo_n "(cached) " >&6 7623else 7624 if test -n "$ac_ct_MANIFEST_TOOL"; then 7625 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 7626else 7627as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7628for as_dir in $PATH 7629do 7630 IFS=$as_save_IFS 7631 test -z "$as_dir" && as_dir=. 7632 for ac_exec_ext in '' $ac_executable_extensions; do 7633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7634 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 7635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7636 break 2 7637 fi 7638done 7639 done 7640IFS=$as_save_IFS 7641 7642fi 7643fi 7644ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 7645if test -n "$ac_ct_MANIFEST_TOOL"; then 7646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 7647$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 7648else 7649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7650$as_echo "no" >&6; } 7651fi 7652 7653 if test "x$ac_ct_MANIFEST_TOOL" = x; then 7654 MANIFEST_TOOL=":" 7655 else 7656 case $cross_compiling:$ac_tool_warned in 7657yes:) 7658{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7659$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7660ac_tool_warned=yes ;; 7661esac 7662 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 7663 fi 7664else 7665 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 7666fi 7667 7668test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 7669{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 7670$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 7671if ${lt_cv_path_mainfest_tool+:} false; then : 7672 $as_echo_n "(cached) " >&6 7673else 7674 lt_cv_path_mainfest_tool=no 7675 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 7676 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 7677 cat conftest.err >&5 7678 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 7679 lt_cv_path_mainfest_tool=yes 7680 fi 7681 rm -f conftest* 7682fi 7683{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 7684$as_echo "$lt_cv_path_mainfest_tool" >&6; } 7685if test yes != "$lt_cv_path_mainfest_tool"; then 7686 MANIFEST_TOOL=: 7687fi 7688 7689 7690 7691 7692 7693 7694 case $host_os in 7695 rhapsody* | darwin*) 7696 if test -n "$ac_tool_prefix"; then 7697 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7698set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7699{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7700$as_echo_n "checking for $ac_word... " >&6; } 7701if ${ac_cv_prog_DSYMUTIL+:} false; then : 7702 $as_echo_n "(cached) " >&6 7703else 7704 if test -n "$DSYMUTIL"; then 7705 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7706else 7707as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7708for as_dir in $PATH 7709do 7710 IFS=$as_save_IFS 7711 test -z "$as_dir" && as_dir=. 7712 for ac_exec_ext in '' $ac_executable_extensions; do 7713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7714 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7716 break 2 7717 fi 7718done 7719 done 7720IFS=$as_save_IFS 7721 7722fi 7723fi 7724DSYMUTIL=$ac_cv_prog_DSYMUTIL 7725if test -n "$DSYMUTIL"; then 7726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 7727$as_echo "$DSYMUTIL" >&6; } 7728else 7729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7730$as_echo "no" >&6; } 7731fi 7732 7733 7734fi 7735if test -z "$ac_cv_prog_DSYMUTIL"; then 7736 ac_ct_DSYMUTIL=$DSYMUTIL 7737 # Extract the first word of "dsymutil", so it can be a program name with args. 7738set dummy dsymutil; ac_word=$2 7739{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7740$as_echo_n "checking for $ac_word... " >&6; } 7741if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 7742 $as_echo_n "(cached) " >&6 7743else 7744 if test -n "$ac_ct_DSYMUTIL"; then 7745 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7746else 7747as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7748for as_dir in $PATH 7749do 7750 IFS=$as_save_IFS 7751 test -z "$as_dir" && as_dir=. 7752 for ac_exec_ext in '' $ac_executable_extensions; do 7753 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7754 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7756 break 2 7757 fi 7758done 7759 done 7760IFS=$as_save_IFS 7761 7762fi 7763fi 7764ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7765if test -n "$ac_ct_DSYMUTIL"; then 7766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 7767$as_echo "$ac_ct_DSYMUTIL" >&6; } 7768else 7769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7770$as_echo "no" >&6; } 7771fi 7772 7773 if test "x$ac_ct_DSYMUTIL" = x; then 7774 DSYMUTIL=":" 7775 else 7776 case $cross_compiling:$ac_tool_warned in 7777yes:) 7778{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7779$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7780ac_tool_warned=yes ;; 7781esac 7782 DSYMUTIL=$ac_ct_DSYMUTIL 7783 fi 7784else 7785 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7786fi 7787 7788 if test -n "$ac_tool_prefix"; then 7789 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7790set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7791{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7792$as_echo_n "checking for $ac_word... " >&6; } 7793if ${ac_cv_prog_NMEDIT+:} false; then : 7794 $as_echo_n "(cached) " >&6 7795else 7796 if test -n "$NMEDIT"; then 7797 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7798else 7799as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7800for as_dir in $PATH 7801do 7802 IFS=$as_save_IFS 7803 test -z "$as_dir" && as_dir=. 7804 for ac_exec_ext in '' $ac_executable_extensions; do 7805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7806 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7808 break 2 7809 fi 7810done 7811 done 7812IFS=$as_save_IFS 7813 7814fi 7815fi 7816NMEDIT=$ac_cv_prog_NMEDIT 7817if test -n "$NMEDIT"; then 7818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 7819$as_echo "$NMEDIT" >&6; } 7820else 7821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7822$as_echo "no" >&6; } 7823fi 7824 7825 7826fi 7827if test -z "$ac_cv_prog_NMEDIT"; then 7828 ac_ct_NMEDIT=$NMEDIT 7829 # Extract the first word of "nmedit", so it can be a program name with args. 7830set dummy nmedit; ac_word=$2 7831{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7832$as_echo_n "checking for $ac_word... " >&6; } 7833if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 7834 $as_echo_n "(cached) " >&6 7835else 7836 if test -n "$ac_ct_NMEDIT"; then 7837 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7838else 7839as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7840for as_dir in $PATH 7841do 7842 IFS=$as_save_IFS 7843 test -z "$as_dir" && as_dir=. 7844 for ac_exec_ext in '' $ac_executable_extensions; do 7845 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7846 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7848 break 2 7849 fi 7850done 7851 done 7852IFS=$as_save_IFS 7853 7854fi 7855fi 7856ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7857if test -n "$ac_ct_NMEDIT"; then 7858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7859$as_echo "$ac_ct_NMEDIT" >&6; } 7860else 7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7862$as_echo "no" >&6; } 7863fi 7864 7865 if test "x$ac_ct_NMEDIT" = x; then 7866 NMEDIT=":" 7867 else 7868 case $cross_compiling:$ac_tool_warned in 7869yes:) 7870{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7871$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7872ac_tool_warned=yes ;; 7873esac 7874 NMEDIT=$ac_ct_NMEDIT 7875 fi 7876else 7877 NMEDIT="$ac_cv_prog_NMEDIT" 7878fi 7879 7880 if test -n "$ac_tool_prefix"; then 7881 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7882set dummy ${ac_tool_prefix}lipo; ac_word=$2 7883{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7884$as_echo_n "checking for $ac_word... " >&6; } 7885if ${ac_cv_prog_LIPO+:} false; then : 7886 $as_echo_n "(cached) " >&6 7887else 7888 if test -n "$LIPO"; then 7889 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7890else 7891as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7892for as_dir in $PATH 7893do 7894 IFS=$as_save_IFS 7895 test -z "$as_dir" && as_dir=. 7896 for ac_exec_ext in '' $ac_executable_extensions; do 7897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7898 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7900 break 2 7901 fi 7902done 7903 done 7904IFS=$as_save_IFS 7905 7906fi 7907fi 7908LIPO=$ac_cv_prog_LIPO 7909if test -n "$LIPO"; then 7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7911$as_echo "$LIPO" >&6; } 7912else 7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7914$as_echo "no" >&6; } 7915fi 7916 7917 7918fi 7919if test -z "$ac_cv_prog_LIPO"; then 7920 ac_ct_LIPO=$LIPO 7921 # Extract the first word of "lipo", so it can be a program name with args. 7922set dummy lipo; ac_word=$2 7923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7924$as_echo_n "checking for $ac_word... " >&6; } 7925if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 7926 $as_echo_n "(cached) " >&6 7927else 7928 if test -n "$ac_ct_LIPO"; then 7929 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7930else 7931as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7932for as_dir in $PATH 7933do 7934 IFS=$as_save_IFS 7935 test -z "$as_dir" && as_dir=. 7936 for ac_exec_ext in '' $ac_executable_extensions; do 7937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7938 ac_cv_prog_ac_ct_LIPO="lipo" 7939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7940 break 2 7941 fi 7942done 7943 done 7944IFS=$as_save_IFS 7945 7946fi 7947fi 7948ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7949if test -n "$ac_ct_LIPO"; then 7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7951$as_echo "$ac_ct_LIPO" >&6; } 7952else 7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7954$as_echo "no" >&6; } 7955fi 7956 7957 if test "x$ac_ct_LIPO" = x; then 7958 LIPO=":" 7959 else 7960 case $cross_compiling:$ac_tool_warned in 7961yes:) 7962{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7963$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7964ac_tool_warned=yes ;; 7965esac 7966 LIPO=$ac_ct_LIPO 7967 fi 7968else 7969 LIPO="$ac_cv_prog_LIPO" 7970fi 7971 7972 if test -n "$ac_tool_prefix"; then 7973 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7974set dummy ${ac_tool_prefix}otool; ac_word=$2 7975{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7976$as_echo_n "checking for $ac_word... " >&6; } 7977if ${ac_cv_prog_OTOOL+:} false; then : 7978 $as_echo_n "(cached) " >&6 7979else 7980 if test -n "$OTOOL"; then 7981 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7982else 7983as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7984for as_dir in $PATH 7985do 7986 IFS=$as_save_IFS 7987 test -z "$as_dir" && as_dir=. 7988 for ac_exec_ext in '' $ac_executable_extensions; do 7989 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7990 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7992 break 2 7993 fi 7994done 7995 done 7996IFS=$as_save_IFS 7997 7998fi 7999fi 8000OTOOL=$ac_cv_prog_OTOOL 8001if test -n "$OTOOL"; then 8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 8003$as_echo "$OTOOL" >&6; } 8004else 8005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8006$as_echo "no" >&6; } 8007fi 8008 8009 8010fi 8011if test -z "$ac_cv_prog_OTOOL"; then 8012 ac_ct_OTOOL=$OTOOL 8013 # Extract the first word of "otool", so it can be a program name with args. 8014set dummy otool; ac_word=$2 8015{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8016$as_echo_n "checking for $ac_word... " >&6; } 8017if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 8018 $as_echo_n "(cached) " >&6 8019else 8020 if test -n "$ac_ct_OTOOL"; then 8021 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 8022else 8023as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8024for as_dir in $PATH 8025do 8026 IFS=$as_save_IFS 8027 test -z "$as_dir" && as_dir=. 8028 for ac_exec_ext in '' $ac_executable_extensions; do 8029 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8030 ac_cv_prog_ac_ct_OTOOL="otool" 8031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8032 break 2 8033 fi 8034done 8035 done 8036IFS=$as_save_IFS 8037 8038fi 8039fi 8040ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 8041if test -n "$ac_ct_OTOOL"; then 8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 8043$as_echo "$ac_ct_OTOOL" >&6; } 8044else 8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8046$as_echo "no" >&6; } 8047fi 8048 8049 if test "x$ac_ct_OTOOL" = x; then 8050 OTOOL=":" 8051 else 8052 case $cross_compiling:$ac_tool_warned in 8053yes:) 8054{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8055$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8056ac_tool_warned=yes ;; 8057esac 8058 OTOOL=$ac_ct_OTOOL 8059 fi 8060else 8061 OTOOL="$ac_cv_prog_OTOOL" 8062fi 8063 8064 if test -n "$ac_tool_prefix"; then 8065 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 8066set dummy ${ac_tool_prefix}otool64; ac_word=$2 8067{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8068$as_echo_n "checking for $ac_word... " >&6; } 8069if ${ac_cv_prog_OTOOL64+:} false; then : 8070 $as_echo_n "(cached) " >&6 8071else 8072 if test -n "$OTOOL64"; then 8073 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 8074else 8075as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8076for as_dir in $PATH 8077do 8078 IFS=$as_save_IFS 8079 test -z "$as_dir" && as_dir=. 8080 for ac_exec_ext in '' $ac_executable_extensions; do 8081 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8082 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 8083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8084 break 2 8085 fi 8086done 8087 done 8088IFS=$as_save_IFS 8089 8090fi 8091fi 8092OTOOL64=$ac_cv_prog_OTOOL64 8093if test -n "$OTOOL64"; then 8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 8095$as_echo "$OTOOL64" >&6; } 8096else 8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8098$as_echo "no" >&6; } 8099fi 8100 8101 8102fi 8103if test -z "$ac_cv_prog_OTOOL64"; then 8104 ac_ct_OTOOL64=$OTOOL64 8105 # Extract the first word of "otool64", so it can be a program name with args. 8106set dummy otool64; ac_word=$2 8107{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8108$as_echo_n "checking for $ac_word... " >&6; } 8109if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 8110 $as_echo_n "(cached) " >&6 8111else 8112 if test -n "$ac_ct_OTOOL64"; then 8113 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 8114else 8115as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8116for as_dir in $PATH 8117do 8118 IFS=$as_save_IFS 8119 test -z "$as_dir" && as_dir=. 8120 for ac_exec_ext in '' $ac_executable_extensions; do 8121 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8122 ac_cv_prog_ac_ct_OTOOL64="otool64" 8123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8124 break 2 8125 fi 8126done 8127 done 8128IFS=$as_save_IFS 8129 8130fi 8131fi 8132ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 8133if test -n "$ac_ct_OTOOL64"; then 8134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 8135$as_echo "$ac_ct_OTOOL64" >&6; } 8136else 8137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8138$as_echo "no" >&6; } 8139fi 8140 8141 if test "x$ac_ct_OTOOL64" = x; then 8142 OTOOL64=":" 8143 else 8144 case $cross_compiling:$ac_tool_warned in 8145yes:) 8146{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8147$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8148ac_tool_warned=yes ;; 8149esac 8150 OTOOL64=$ac_ct_OTOOL64 8151 fi 8152else 8153 OTOOL64="$ac_cv_prog_OTOOL64" 8154fi 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 8183$as_echo_n "checking for -single_module linker flag... " >&6; } 8184if ${lt_cv_apple_cc_single_mod+:} false; then : 8185 $as_echo_n "(cached) " >&6 8186else 8187 lt_cv_apple_cc_single_mod=no 8188 if test -z "$LT_MULTI_MODULE"; then 8189 # By default we will add the -single_module flag. You can override 8190 # by either setting the environment variable LT_MULTI_MODULE 8191 # non-empty at configure time, or by adding -multi_module to the 8192 # link flags. 8193 rm -rf libconftest.dylib* 8194 echo "int foo(void){return 1;}" > conftest.c 8195 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8196-dynamiclib -Wl,-single_module conftest.c" >&5 8197 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8198 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 8199 _lt_result=$? 8200 # If there is a non-empty error log, and "single_module" 8201 # appears in it, assume the flag caused a linker warning 8202 if test -s conftest.err && $GREP single_module conftest.err; then 8203 cat conftest.err >&5 8204 # Otherwise, if the output was created with a 0 exit code from 8205 # the compiler, it worked. 8206 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 8207 lt_cv_apple_cc_single_mod=yes 8208 else 8209 cat conftest.err >&5 8210 fi 8211 rm -rf libconftest.dylib* 8212 rm -f conftest.* 8213 fi 8214fi 8215{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 8216$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 8217 8218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 8219$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 8220if ${lt_cv_ld_exported_symbols_list+:} false; then : 8221 $as_echo_n "(cached) " >&6 8222else 8223 lt_cv_ld_exported_symbols_list=no 8224 save_LDFLAGS=$LDFLAGS 8225 echo "_main" > conftest.sym 8226 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 8227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8228/* end confdefs.h. */ 8229 8230int 8231main () 8232{ 8233 8234 ; 8235 return 0; 8236} 8237_ACEOF 8238if ac_fn_c_try_link "$LINENO"; then : 8239 lt_cv_ld_exported_symbols_list=yes 8240else 8241 lt_cv_ld_exported_symbols_list=no 8242fi 8243rm -f core conftest.err conftest.$ac_objext \ 8244 conftest$ac_exeext conftest.$ac_ext 8245 LDFLAGS=$save_LDFLAGS 8246 8247fi 8248{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 8249$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 8250 8251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 8252$as_echo_n "checking for -force_load linker flag... " >&6; } 8253if ${lt_cv_ld_force_load+:} false; then : 8254 $as_echo_n "(cached) " >&6 8255else 8256 lt_cv_ld_force_load=no 8257 cat > conftest.c << _LT_EOF 8258int forced_loaded() { return 2;} 8259_LT_EOF 8260 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 8261 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 8262 echo "$AR cru libconftest.a conftest.o" >&5 8263 $AR cru libconftest.a conftest.o 2>&5 8264 echo "$RANLIB libconftest.a" >&5 8265 $RANLIB libconftest.a 2>&5 8266 cat > conftest.c << _LT_EOF 8267int main() { return 0;} 8268_LT_EOF 8269 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 8270 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 8271 _lt_result=$? 8272 if test -s conftest.err && $GREP force_load conftest.err; then 8273 cat conftest.err >&5 8274 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 8275 lt_cv_ld_force_load=yes 8276 else 8277 cat conftest.err >&5 8278 fi 8279 rm -f conftest.err libconftest.a conftest conftest.c 8280 rm -rf conftest.dSYM 8281 8282fi 8283{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 8284$as_echo "$lt_cv_ld_force_load" >&6; } 8285 case $host_os in 8286 rhapsody* | darwin1.[012]) 8287 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 8288 darwin1.*) 8289 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 8290 darwin*) # darwin 5.x on 8291 # if running on 10.5 or later, the deployment target defaults 8292 # to the OS version, if on x86, and 10.4, the deployment 8293 # target defaults to 10.4. Don't you love it? 8294 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 8295 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 8296 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 8297 10.[012][,.]*) 8298 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 8299 10.*) 8300 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 8301 esac 8302 ;; 8303 esac 8304 if test yes = "$lt_cv_apple_cc_single_mod"; then 8305 _lt_dar_single_mod='$single_module' 8306 fi 8307 if test yes = "$lt_cv_ld_exported_symbols_list"; then 8308 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 8309 else 8310 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 8311 fi 8312 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 8313 _lt_dsymutil='~$DSYMUTIL $lib || :' 8314 else 8315 _lt_dsymutil= 8316 fi 8317 ;; 8318 esac 8319 8320# func_munge_path_list VARIABLE PATH 8321# ----------------------------------- 8322# VARIABLE is name of variable containing _space_ separated list of 8323# directories to be munged by the contents of PATH, which is string 8324# having a format: 8325# "DIR[:DIR]:" 8326# string "DIR[ DIR]" will be prepended to VARIABLE 8327# ":DIR[:DIR]" 8328# string "DIR[ DIR]" will be appended to VARIABLE 8329# "DIRP[:DIRP]::[DIRA:]DIRA" 8330# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 8331# "DIRA[ DIRA]" will be appended to VARIABLE 8332# "DIR[:DIR]" 8333# VARIABLE will be replaced by "DIR[ DIR]" 8334func_munge_path_list () 8335{ 8336 case x$2 in 8337 x) 8338 ;; 8339 *:) 8340 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 8341 ;; 8342 x:*) 8343 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 8344 ;; 8345 *::*) 8346 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 8347 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 8348 ;; 8349 *) 8350 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 8351 ;; 8352 esac 8353} 8354 8355# On IRIX 5.3, sys/types and inttypes.h are conflicting. 8356for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 8357 inttypes.h stdint.h unistd.h 8358do : 8359 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8360ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 8361" 8362if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 8363 cat >>confdefs.h <<_ACEOF 8364#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8365_ACEOF 8366 8367fi 8368 8369done 8370 8371 8372for ac_header in dlfcn.h 8373do : 8374 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 8375" 8376if test "x$ac_cv_header_dlfcn_h" = xyes; then : 8377 cat >>confdefs.h <<_ACEOF 8378#define HAVE_DLFCN_H 1 8379_ACEOF 8380 8381fi 8382 8383done 8384 8385 8386 8387 8388 8389# Set options 8390 8391 8392 8393 enable_dlopen=no 8394 8395 8396 enable_win32_dll=no 8397 8398 8399 # Check whether --enable-shared was given. 8400if test "${enable_shared+set}" = set; then : 8401 enableval=$enable_shared; p=${PACKAGE-default} 8402 case $enableval in 8403 yes) enable_shared=yes ;; 8404 no) enable_shared=no ;; 8405 *) 8406 enable_shared=no 8407 # Look at the argument we got. We use all the common list separators. 8408 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8409 for pkg in $enableval; do 8410 IFS=$lt_save_ifs 8411 if test "X$pkg" = "X$p"; then 8412 enable_shared=yes 8413 fi 8414 done 8415 IFS=$lt_save_ifs 8416 ;; 8417 esac 8418else 8419 enable_shared=yes 8420fi 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 # Check whether --enable-static was given. 8431if test "${enable_static+set}" = set; then : 8432 enableval=$enable_static; p=${PACKAGE-default} 8433 case $enableval in 8434 yes) enable_static=yes ;; 8435 no) enable_static=no ;; 8436 *) 8437 enable_static=no 8438 # Look at the argument we got. We use all the common list separators. 8439 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8440 for pkg in $enableval; do 8441 IFS=$lt_save_ifs 8442 if test "X$pkg" = "X$p"; then 8443 enable_static=yes 8444 fi 8445 done 8446 IFS=$lt_save_ifs 8447 ;; 8448 esac 8449else 8450 enable_static=yes 8451fi 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462# Check whether --with-pic was given. 8463if test "${with_pic+set}" = set; then : 8464 withval=$with_pic; lt_p=${PACKAGE-default} 8465 case $withval in 8466 yes|no) pic_mode=$withval ;; 8467 *) 8468 pic_mode=default 8469 # Look at the argument we got. We use all the common list separators. 8470 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8471 for lt_pkg in $withval; do 8472 IFS=$lt_save_ifs 8473 if test "X$lt_pkg" = "X$lt_p"; then 8474 pic_mode=yes 8475 fi 8476 done 8477 IFS=$lt_save_ifs 8478 ;; 8479 esac 8480else 8481 pic_mode=default 8482fi 8483 8484 8485 8486 8487 8488 8489 8490 8491 # Check whether --enable-fast-install was given. 8492if test "${enable_fast_install+set}" = set; then : 8493 enableval=$enable_fast_install; p=${PACKAGE-default} 8494 case $enableval in 8495 yes) enable_fast_install=yes ;; 8496 no) enable_fast_install=no ;; 8497 *) 8498 enable_fast_install=no 8499 # Look at the argument we got. We use all the common list separators. 8500 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8501 for pkg in $enableval; do 8502 IFS=$lt_save_ifs 8503 if test "X$pkg" = "X$p"; then 8504 enable_fast_install=yes 8505 fi 8506 done 8507 IFS=$lt_save_ifs 8508 ;; 8509 esac 8510else 8511 enable_fast_install=yes 8512fi 8513 8514 8515 8516 8517 8518 8519 8520 8521 shared_archive_member_spec= 8522case $host,$enable_shared in 8523power*-*-aix[5-9]*,yes) 8524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 8525$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 8526 8527# Check whether --with-aix-soname was given. 8528if test "${with_aix_soname+set}" = set; then : 8529 withval=$with_aix_soname; case $withval in 8530 aix|svr4|both) 8531 ;; 8532 *) 8533 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 8534 ;; 8535 esac 8536 lt_cv_with_aix_soname=$with_aix_soname 8537else 8538 if ${lt_cv_with_aix_soname+:} false; then : 8539 $as_echo_n "(cached) " >&6 8540else 8541 lt_cv_with_aix_soname=aix 8542fi 8543 8544 with_aix_soname=$lt_cv_with_aix_soname 8545fi 8546 8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 8548$as_echo "$with_aix_soname" >&6; } 8549 if test aix != "$with_aix_soname"; then 8550 # For the AIX way of multilib, we name the shared archive member 8551 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 8552 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 8553 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 8554 # the AIX toolchain works better with OBJECT_MODE set (default 32). 8555 if test 64 = "${OBJECT_MODE-32}"; then 8556 shared_archive_member_spec=shr_64 8557 else 8558 shared_archive_member_spec=shr 8559 fi 8560 fi 8561 ;; 8562*) 8563 with_aix_soname=aix 8564 ;; 8565esac 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576# This can be used to rebuild libtool when needed 8577LIBTOOL_DEPS=$ltmain 8578 8579# Always use our own libtool. 8580LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611test -z "$LN_S" && LN_S="ln -s" 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626if test -n "${ZSH_VERSION+set}"; then 8627 setopt NO_GLOB_SUBST 8628fi 8629 8630{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8631$as_echo_n "checking for objdir... " >&6; } 8632if ${lt_cv_objdir+:} false; then : 8633 $as_echo_n "(cached) " >&6 8634else 8635 rm -f .libs 2>/dev/null 8636mkdir .libs 2>/dev/null 8637if test -d .libs; then 8638 lt_cv_objdir=.libs 8639else 8640 # MS-DOS does not allow filenames that begin with a dot. 8641 lt_cv_objdir=_libs 8642fi 8643rmdir .libs 2>/dev/null 8644fi 8645{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 8646$as_echo "$lt_cv_objdir" >&6; } 8647objdir=$lt_cv_objdir 8648 8649 8650 8651 8652 8653cat >>confdefs.h <<_ACEOF 8654#define LT_OBJDIR "$lt_cv_objdir/" 8655_ACEOF 8656 8657 8658 8659 8660case $host_os in 8661aix3*) 8662 # AIX sometimes has problems with the GCC collect2 program. For some 8663 # reason, if we set the COLLECT_NAMES environment variable, the problems 8664 # vanish in a puff of smoke. 8665 if test set != "${COLLECT_NAMES+set}"; then 8666 COLLECT_NAMES= 8667 export COLLECT_NAMES 8668 fi 8669 ;; 8670esac 8671 8672# Global variables: 8673ofile=libtool 8674can_build_shared=yes 8675 8676# All known linkers require a '.a' archive for static linking (except MSVC, 8677# which needs '.lib'). 8678libext=a 8679 8680with_gnu_ld=$lt_cv_prog_gnu_ld 8681 8682old_CC=$CC 8683old_CFLAGS=$CFLAGS 8684 8685# Set sane defaults for various variables 8686test -z "$CC" && CC=cc 8687test -z "$LTCC" && LTCC=$CC 8688test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 8689test -z "$LD" && LD=ld 8690test -z "$ac_objext" && ac_objext=o 8691 8692func_cc_basename $compiler 8693cc_basename=$func_cc_basename_result 8694 8695 8696# Only perform the check for file, if the check method requires it 8697test -z "$MAGIC_CMD" && MAGIC_CMD=file 8698case $deplibs_check_method in 8699file_magic*) 8700 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8702$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8703if ${lt_cv_path_MAGIC_CMD+:} false; then : 8704 $as_echo_n "(cached) " >&6 8705else 8706 case $MAGIC_CMD in 8707[\\/*] | ?:[\\/]*) 8708 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8709 ;; 8710*) 8711 lt_save_MAGIC_CMD=$MAGIC_CMD 8712 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8713 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8714 for ac_dir in $ac_dummy; do 8715 IFS=$lt_save_ifs 8716 test -z "$ac_dir" && ac_dir=. 8717 if test -f "$ac_dir/${ac_tool_prefix}file"; then 8718 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 8719 if test -n "$file_magic_test_file"; then 8720 case $deplibs_check_method in 8721 "file_magic "*) 8722 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8723 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8724 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8725 $EGREP "$file_magic_regex" > /dev/null; then 8726 : 8727 else 8728 cat <<_LT_EOF 1>&2 8729 8730*** Warning: the command libtool uses to detect shared libraries, 8731*** $file_magic_cmd, produces output that libtool cannot recognize. 8732*** The result is that libtool may fail to recognize shared libraries 8733*** as such. This will affect the creation of libtool libraries that 8734*** depend on shared libraries, but programs linked with such libtool 8735*** libraries will work regardless of this problem. Nevertheless, you 8736*** may want to report the problem to your system manager and/or to 8737*** bug-libtool@gnu.org 8738 8739_LT_EOF 8740 fi ;; 8741 esac 8742 fi 8743 break 8744 fi 8745 done 8746 IFS=$lt_save_ifs 8747 MAGIC_CMD=$lt_save_MAGIC_CMD 8748 ;; 8749esac 8750fi 8751 8752MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8753if test -n "$MAGIC_CMD"; then 8754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8755$as_echo "$MAGIC_CMD" >&6; } 8756else 8757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8758$as_echo "no" >&6; } 8759fi 8760 8761 8762 8763 8764 8765if test -z "$lt_cv_path_MAGIC_CMD"; then 8766 if test -n "$ac_tool_prefix"; then 8767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8768$as_echo_n "checking for file... " >&6; } 8769if ${lt_cv_path_MAGIC_CMD+:} false; then : 8770 $as_echo_n "(cached) " >&6 8771else 8772 case $MAGIC_CMD in 8773[\\/*] | ?:[\\/]*) 8774 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 8775 ;; 8776*) 8777 lt_save_MAGIC_CMD=$MAGIC_CMD 8778 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 8779 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8780 for ac_dir in $ac_dummy; do 8781 IFS=$lt_save_ifs 8782 test -z "$ac_dir" && ac_dir=. 8783 if test -f "$ac_dir/file"; then 8784 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 8785 if test -n "$file_magic_test_file"; then 8786 case $deplibs_check_method in 8787 "file_magic "*) 8788 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8789 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8790 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8791 $EGREP "$file_magic_regex" > /dev/null; then 8792 : 8793 else 8794 cat <<_LT_EOF 1>&2 8795 8796*** Warning: the command libtool uses to detect shared libraries, 8797*** $file_magic_cmd, produces output that libtool cannot recognize. 8798*** The result is that libtool may fail to recognize shared libraries 8799*** as such. This will affect the creation of libtool libraries that 8800*** depend on shared libraries, but programs linked with such libtool 8801*** libraries will work regardless of this problem. Nevertheless, you 8802*** may want to report the problem to your system manager and/or to 8803*** bug-libtool@gnu.org 8804 8805_LT_EOF 8806 fi ;; 8807 esac 8808 fi 8809 break 8810 fi 8811 done 8812 IFS=$lt_save_ifs 8813 MAGIC_CMD=$lt_save_MAGIC_CMD 8814 ;; 8815esac 8816fi 8817 8818MAGIC_CMD=$lt_cv_path_MAGIC_CMD 8819if test -n "$MAGIC_CMD"; then 8820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8821$as_echo "$MAGIC_CMD" >&6; } 8822else 8823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8824$as_echo "no" >&6; } 8825fi 8826 8827 8828 else 8829 MAGIC_CMD=: 8830 fi 8831fi 8832 8833 fi 8834 ;; 8835esac 8836 8837# Use C for the default configuration in the libtool script 8838 8839lt_save_CC=$CC 8840ac_ext=c 8841ac_cpp='$CPP $CPPFLAGS' 8842ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8843ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8844ac_compiler_gnu=$ac_cv_c_compiler_gnu 8845 8846 8847# Source file extension for C test sources. 8848ac_ext=c 8849 8850# Object file extension for compiled C test sources. 8851objext=o 8852objext=$objext 8853 8854# Code to be used in simple compile tests 8855lt_simple_compile_test_code="int some_variable = 0;" 8856 8857# Code to be used in simple link tests 8858lt_simple_link_test_code='int main(){return(0);}' 8859 8860 8861 8862 8863 8864 8865 8866# If no C compiler was specified, use CC. 8867LTCC=${LTCC-"$CC"} 8868 8869# If no C compiler flags were specified, use CFLAGS. 8870LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8871 8872# Allow CC to be a program name with arguments. 8873compiler=$CC 8874 8875# Save the default compiler, since it gets overwritten when the other 8876# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8877compiler_DEFAULT=$CC 8878 8879# save warnings/boilerplate of simple test code 8880ac_outfile=conftest.$ac_objext 8881echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8882eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8883_lt_compiler_boilerplate=`cat conftest.err` 8884$RM conftest* 8885 8886ac_outfile=conftest.$ac_objext 8887echo "$lt_simple_link_test_code" >conftest.$ac_ext 8888eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8889_lt_linker_boilerplate=`cat conftest.err` 8890$RM -r conftest* 8891 8892 8893## CAVEAT EMPTOR: 8894## There is no encapsulation within the following macros, do not change 8895## the running order or otherwise move them around unless you know exactly 8896## what you are doing... 8897if test -n "$compiler"; then 8898 8899lt_prog_compiler_no_builtin_flag= 8900 8901if test yes = "$GCC"; then 8902 case $cc_basename in 8903 nvcc*) 8904 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 8905 *) 8906 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8907 esac 8908 8909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8910$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8911if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 8912 $as_echo_n "(cached) " >&6 8913else 8914 lt_cv_prog_compiler_rtti_exceptions=no 8915 ac_outfile=conftest.$ac_objext 8916 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8917 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 8918 # Insert the option either (1) after the last *FLAGS variable, or 8919 # (2) before a word containing "conftest.", or (3) at the end. 8920 # Note that $ac_compile itself does not contain backslashes and begins 8921 # with a dollar sign (not a hyphen), so the echo should work correctly. 8922 # The option is referenced via a variable to avoid confusing sed. 8923 lt_compile=`echo "$ac_compile" | $SED \ 8924 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8925 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8926 -e 's:$: $lt_compiler_flag:'` 8927 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8928 (eval "$lt_compile" 2>conftest.err) 8929 ac_status=$? 8930 cat conftest.err >&5 8931 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8932 if (exit $ac_status) && test -s "$ac_outfile"; then 8933 # The compiler can only warn and ignore the option if not recognized 8934 # So say no if there are warnings other than the usual output. 8935 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8936 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8937 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8938 lt_cv_prog_compiler_rtti_exceptions=yes 8939 fi 8940 fi 8941 $RM conftest* 8942 8943fi 8944{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8945$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8946 8947if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 8948 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8949else 8950 : 8951fi 8952 8953fi 8954 8955 8956 8957 8958 8959 8960 lt_prog_compiler_wl= 8961lt_prog_compiler_pic= 8962lt_prog_compiler_static= 8963 8964 8965 if test yes = "$GCC"; then 8966 lt_prog_compiler_wl='-Wl,' 8967 lt_prog_compiler_static='-static' 8968 8969 case $host_os in 8970 aix*) 8971 # All AIX code is PIC. 8972 if test ia64 = "$host_cpu"; then 8973 # AIX 5 now supports IA64 processor 8974 lt_prog_compiler_static='-Bstatic' 8975 fi 8976 lt_prog_compiler_pic='-fPIC' 8977 ;; 8978 8979 amigaos*) 8980 case $host_cpu in 8981 powerpc) 8982 # see comment about AmigaOS4 .so support 8983 lt_prog_compiler_pic='-fPIC' 8984 ;; 8985 m68k) 8986 # FIXME: we need at least 68020 code to build shared libraries, but 8987 # adding the '-m68020' flag to GCC prevents building anything better, 8988 # like '-m68040'. 8989 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8990 ;; 8991 esac 8992 ;; 8993 8994 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8995 # PIC is the default for these OSes. 8996 ;; 8997 8998 mingw* | cygwin* | pw32* | os2* | cegcc*) 8999 # This hack is so that the source file can tell whether it is being 9000 # built for inclusion in a dll (and should export symbols for example). 9001 # Although the cygwin gcc ignores -fPIC, still need this for old-style 9002 # (--disable-auto-import) libraries 9003 lt_prog_compiler_pic='-DDLL_EXPORT' 9004 case $host_os in 9005 os2*) 9006 lt_prog_compiler_static='$wl-static' 9007 ;; 9008 esac 9009 ;; 9010 9011 darwin* | rhapsody*) 9012 # PIC is the default on this platform 9013 # Common symbols not allowed in MH_DYLIB files 9014 lt_prog_compiler_pic='-fno-common' 9015 ;; 9016 9017 haiku*) 9018 # PIC is the default for Haiku. 9019 # The "-static" flag exists, but is broken. 9020 lt_prog_compiler_static= 9021 ;; 9022 9023 hpux*) 9024 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 9025 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 9026 # sets the default TLS model and affects inlining. 9027 case $host_cpu in 9028 hppa*64*) 9029 # +Z the default 9030 ;; 9031 *) 9032 lt_prog_compiler_pic='-fPIC' 9033 ;; 9034 esac 9035 ;; 9036 9037 interix[3-9]*) 9038 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 9039 # Instead, we relocate shared libraries at runtime. 9040 ;; 9041 9042 msdosdjgpp*) 9043 # Just because we use GCC doesn't mean we suddenly get shared libraries 9044 # on systems that don't support them. 9045 lt_prog_compiler_can_build_shared=no 9046 enable_shared=no 9047 ;; 9048 9049 *nto* | *qnx*) 9050 # QNX uses GNU C++, but need to define -shared option too, otherwise 9051 # it will coredump. 9052 lt_prog_compiler_pic='-fPIC -shared' 9053 ;; 9054 9055 sysv4*MP*) 9056 if test -d /usr/nec; then 9057 lt_prog_compiler_pic=-Kconform_pic 9058 fi 9059 ;; 9060 9061 *) 9062 lt_prog_compiler_pic='-fPIC' 9063 ;; 9064 esac 9065 9066 case $cc_basename in 9067 nvcc*) # Cuda Compiler Driver 2.2 9068 lt_prog_compiler_wl='-Xlinker ' 9069 if test -n "$lt_prog_compiler_pic"; then 9070 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 9071 fi 9072 ;; 9073 esac 9074 else 9075 # PORTME Check for flag to pass linker flags through the system compiler. 9076 case $host_os in 9077 aix*) 9078 lt_prog_compiler_wl='-Wl,' 9079 if test ia64 = "$host_cpu"; then 9080 # AIX 5 now supports IA64 processor 9081 lt_prog_compiler_static='-Bstatic' 9082 else 9083 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 9084 fi 9085 ;; 9086 9087 darwin* | rhapsody*) 9088 # PIC is the default on this platform 9089 # Common symbols not allowed in MH_DYLIB files 9090 lt_prog_compiler_pic='-fno-common' 9091 case $cc_basename in 9092 nagfor*) 9093 # NAG Fortran compiler 9094 lt_prog_compiler_wl='-Wl,-Wl,,' 9095 lt_prog_compiler_pic='-PIC' 9096 lt_prog_compiler_static='-Bstatic' 9097 ;; 9098 esac 9099 ;; 9100 9101 mingw* | cygwin* | pw32* | os2* | cegcc*) 9102 # This hack is so that the source file can tell whether it is being 9103 # built for inclusion in a dll (and should export symbols for example). 9104 lt_prog_compiler_pic='-DDLL_EXPORT' 9105 case $host_os in 9106 os2*) 9107 lt_prog_compiler_static='$wl-static' 9108 ;; 9109 esac 9110 ;; 9111 9112 hpux9* | hpux10* | hpux11*) 9113 lt_prog_compiler_wl='-Wl,' 9114 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 9115 # not for PA HP-UX. 9116 case $host_cpu in 9117 hppa*64*|ia64*) 9118 # +Z the default 9119 ;; 9120 *) 9121 lt_prog_compiler_pic='+Z' 9122 ;; 9123 esac 9124 # Is there a better lt_prog_compiler_static that works with the bundled CC? 9125 lt_prog_compiler_static='$wl-a ${wl}archive' 9126 ;; 9127 9128 irix5* | irix6* | nonstopux*) 9129 lt_prog_compiler_wl='-Wl,' 9130 # PIC (with -KPIC) is the default. 9131 lt_prog_compiler_static='-non_shared' 9132 ;; 9133 9134 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 9135 case $cc_basename in 9136 # old Intel for x86_64, which still supported -KPIC. 9137 ecc*) 9138 lt_prog_compiler_wl='-Wl,' 9139 lt_prog_compiler_pic='-KPIC' 9140 lt_prog_compiler_static='-static' 9141 ;; 9142 # icc used to be incompatible with GCC. 9143 # ICC 10 doesn't accept -KPIC any more. 9144 icc* | ifort*) 9145 lt_prog_compiler_wl='-Wl,' 9146 lt_prog_compiler_pic='-fPIC' 9147 lt_prog_compiler_static='-static' 9148 ;; 9149 # Lahey Fortran 8.1. 9150 lf95*) 9151 lt_prog_compiler_wl='-Wl,' 9152 lt_prog_compiler_pic='--shared' 9153 lt_prog_compiler_static='--static' 9154 ;; 9155 nagfor*) 9156 # NAG Fortran compiler 9157 lt_prog_compiler_wl='-Wl,-Wl,,' 9158 lt_prog_compiler_pic='-PIC' 9159 lt_prog_compiler_static='-Bstatic' 9160 ;; 9161 tcc*) 9162 # Fabrice Bellard et al's Tiny C Compiler 9163 lt_prog_compiler_wl='-Wl,' 9164 lt_prog_compiler_pic='-fPIC' 9165 lt_prog_compiler_static='-static' 9166 ;; 9167 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 9168 # Portland Group compilers (*not* the Pentium gcc compiler, 9169 # which looks to be a dead project) 9170 lt_prog_compiler_wl='-Wl,' 9171 lt_prog_compiler_pic='-fpic' 9172 lt_prog_compiler_static='-Bstatic' 9173 ;; 9174 ccc*) 9175 lt_prog_compiler_wl='-Wl,' 9176 # All Alpha code is PIC. 9177 lt_prog_compiler_static='-non_shared' 9178 ;; 9179 xl* | bgxl* | bgf* | mpixl*) 9180 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 9181 lt_prog_compiler_wl='-Wl,' 9182 lt_prog_compiler_pic='-qpic' 9183 lt_prog_compiler_static='-qstaticlink' 9184 ;; 9185 *) 9186 case `$CC -V 2>&1 | sed 5q` in 9187 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 9188 # Sun Fortran 8.3 passes all unrecognized flags to the linker 9189 lt_prog_compiler_pic='-KPIC' 9190 lt_prog_compiler_static='-Bstatic' 9191 lt_prog_compiler_wl='' 9192 ;; 9193 *Sun\ F* | *Sun*Fortran*) 9194 lt_prog_compiler_pic='-KPIC' 9195 lt_prog_compiler_static='-Bstatic' 9196 lt_prog_compiler_wl='-Qoption ld ' 9197 ;; 9198 *Sun\ C*) 9199 # Sun C 5.9 9200 lt_prog_compiler_pic='-KPIC' 9201 lt_prog_compiler_static='-Bstatic' 9202 lt_prog_compiler_wl='-Wl,' 9203 ;; 9204 *Intel*\ [CF]*Compiler*) 9205 lt_prog_compiler_wl='-Wl,' 9206 lt_prog_compiler_pic='-fPIC' 9207 lt_prog_compiler_static='-static' 9208 ;; 9209 *Portland\ Group*) 9210 lt_prog_compiler_wl='-Wl,' 9211 lt_prog_compiler_pic='-fpic' 9212 lt_prog_compiler_static='-Bstatic' 9213 ;; 9214 esac 9215 ;; 9216 esac 9217 ;; 9218 9219 newsos6) 9220 lt_prog_compiler_pic='-KPIC' 9221 lt_prog_compiler_static='-Bstatic' 9222 ;; 9223 9224 *nto* | *qnx*) 9225 # QNX uses GNU C++, but need to define -shared option too, otherwise 9226 # it will coredump. 9227 lt_prog_compiler_pic='-fPIC -shared' 9228 ;; 9229 9230 osf3* | osf4* | osf5*) 9231 lt_prog_compiler_wl='-Wl,' 9232 # All OSF/1 code is PIC. 9233 lt_prog_compiler_static='-non_shared' 9234 ;; 9235 9236 rdos*) 9237 lt_prog_compiler_static='-non_shared' 9238 ;; 9239 9240 solaris*) 9241 lt_prog_compiler_pic='-KPIC' 9242 lt_prog_compiler_static='-Bstatic' 9243 case $cc_basename in 9244 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 9245 lt_prog_compiler_wl='-Qoption ld ';; 9246 *) 9247 lt_prog_compiler_wl='-Wl,';; 9248 esac 9249 ;; 9250 9251 sunos4*) 9252 lt_prog_compiler_wl='-Qoption ld ' 9253 lt_prog_compiler_pic='-PIC' 9254 lt_prog_compiler_static='-Bstatic' 9255 ;; 9256 9257 sysv4 | sysv4.2uw2* | sysv4.3*) 9258 lt_prog_compiler_wl='-Wl,' 9259 lt_prog_compiler_pic='-KPIC' 9260 lt_prog_compiler_static='-Bstatic' 9261 ;; 9262 9263 sysv4*MP*) 9264 if test -d /usr/nec; then 9265 lt_prog_compiler_pic='-Kconform_pic' 9266 lt_prog_compiler_static='-Bstatic' 9267 fi 9268 ;; 9269 9270 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 9271 lt_prog_compiler_wl='-Wl,' 9272 lt_prog_compiler_pic='-KPIC' 9273 lt_prog_compiler_static='-Bstatic' 9274 ;; 9275 9276 unicos*) 9277 lt_prog_compiler_wl='-Wl,' 9278 lt_prog_compiler_can_build_shared=no 9279 ;; 9280 9281 uts4*) 9282 lt_prog_compiler_pic='-pic' 9283 lt_prog_compiler_static='-Bstatic' 9284 ;; 9285 9286 *) 9287 lt_prog_compiler_can_build_shared=no 9288 ;; 9289 esac 9290 fi 9291 9292case $host_os in 9293 # For platforms that do not support PIC, -DPIC is meaningless: 9294 *djgpp*) 9295 lt_prog_compiler_pic= 9296 ;; 9297 *) 9298 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 9299 ;; 9300esac 9301 9302{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 9303$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 9304if ${lt_cv_prog_compiler_pic+:} false; then : 9305 $as_echo_n "(cached) " >&6 9306else 9307 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 9308fi 9309{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 9310$as_echo "$lt_cv_prog_compiler_pic" >&6; } 9311lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 9312 9313# 9314# Check to make sure the PIC flag actually works. 9315# 9316if test -n "$lt_prog_compiler_pic"; then 9317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 9318$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 9319if ${lt_cv_prog_compiler_pic_works+:} false; then : 9320 $as_echo_n "(cached) " >&6 9321else 9322 lt_cv_prog_compiler_pic_works=no 9323 ac_outfile=conftest.$ac_objext 9324 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9325 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 9326 # Insert the option either (1) after the last *FLAGS variable, or 9327 # (2) before a word containing "conftest.", or (3) at the end. 9328 # Note that $ac_compile itself does not contain backslashes and begins 9329 # with a dollar sign (not a hyphen), so the echo should work correctly. 9330 # The option is referenced via a variable to avoid confusing sed. 9331 lt_compile=`echo "$ac_compile" | $SED \ 9332 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9333 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9334 -e 's:$: $lt_compiler_flag:'` 9335 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9336 (eval "$lt_compile" 2>conftest.err) 9337 ac_status=$? 9338 cat conftest.err >&5 9339 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9340 if (exit $ac_status) && test -s "$ac_outfile"; then 9341 # The compiler can only warn and ignore the option if not recognized 9342 # So say no if there are warnings other than the usual output. 9343 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9344 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9345 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9346 lt_cv_prog_compiler_pic_works=yes 9347 fi 9348 fi 9349 $RM conftest* 9350 9351fi 9352{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 9353$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 9354 9355if test yes = "$lt_cv_prog_compiler_pic_works"; then 9356 case $lt_prog_compiler_pic in 9357 "" | " "*) ;; 9358 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 9359 esac 9360else 9361 lt_prog_compiler_pic= 9362 lt_prog_compiler_can_build_shared=no 9363fi 9364 9365fi 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377# 9378# Check to make sure the static flag actually works. 9379# 9380wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 9381{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 9382$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 9383if ${lt_cv_prog_compiler_static_works+:} false; then : 9384 $as_echo_n "(cached) " >&6 9385else 9386 lt_cv_prog_compiler_static_works=no 9387 save_LDFLAGS=$LDFLAGS 9388 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 9389 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9390 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9391 # The linker can only warn and ignore the option if not recognized 9392 # So say no if there are warnings 9393 if test -s conftest.err; then 9394 # Append any errors to the config.log. 9395 cat conftest.err 1>&5 9396 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9397 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9398 if diff conftest.exp conftest.er2 >/dev/null; then 9399 lt_cv_prog_compiler_static_works=yes 9400 fi 9401 else 9402 lt_cv_prog_compiler_static_works=yes 9403 fi 9404 fi 9405 $RM -r conftest* 9406 LDFLAGS=$save_LDFLAGS 9407 9408fi 9409{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 9410$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 9411 9412if test yes = "$lt_cv_prog_compiler_static_works"; then 9413 : 9414else 9415 lt_prog_compiler_static= 9416fi 9417 9418 9419 9420 9421 9422 9423 9424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9425$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9426if ${lt_cv_prog_compiler_c_o+:} false; then : 9427 $as_echo_n "(cached) " >&6 9428else 9429 lt_cv_prog_compiler_c_o=no 9430 $RM -r conftest 2>/dev/null 9431 mkdir conftest 9432 cd conftest 9433 mkdir out 9434 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9435 9436 lt_compiler_flag="-o out/conftest2.$ac_objext" 9437 # Insert the option either (1) after the last *FLAGS variable, or 9438 # (2) before a word containing "conftest.", or (3) at the end. 9439 # Note that $ac_compile itself does not contain backslashes and begins 9440 # with a dollar sign (not a hyphen), so the echo should work correctly. 9441 lt_compile=`echo "$ac_compile" | $SED \ 9442 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9443 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9444 -e 's:$: $lt_compiler_flag:'` 9445 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9446 (eval "$lt_compile" 2>out/conftest.err) 9447 ac_status=$? 9448 cat out/conftest.err >&5 9449 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9450 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9451 then 9452 # The compiler can only warn and ignore the option if not recognized 9453 # So say no if there are warnings 9454 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9455 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9456 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9457 lt_cv_prog_compiler_c_o=yes 9458 fi 9459 fi 9460 chmod u+w . 2>&5 9461 $RM conftest* 9462 # SGI C++ compiler will create directory out/ii_files/ for 9463 # template instantiation 9464 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9465 $RM out/* && rmdir out 9466 cd .. 9467 $RM -r conftest 9468 $RM conftest* 9469 9470fi 9471{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9472$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9473 9474 9475 9476 9477 9478 9479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9480$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9481if ${lt_cv_prog_compiler_c_o+:} false; then : 9482 $as_echo_n "(cached) " >&6 9483else 9484 lt_cv_prog_compiler_c_o=no 9485 $RM -r conftest 2>/dev/null 9486 mkdir conftest 9487 cd conftest 9488 mkdir out 9489 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9490 9491 lt_compiler_flag="-o out/conftest2.$ac_objext" 9492 # Insert the option either (1) after the last *FLAGS variable, or 9493 # (2) before a word containing "conftest.", or (3) at the end. 9494 # Note that $ac_compile itself does not contain backslashes and begins 9495 # with a dollar sign (not a hyphen), so the echo should work correctly. 9496 lt_compile=`echo "$ac_compile" | $SED \ 9497 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9498 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9499 -e 's:$: $lt_compiler_flag:'` 9500 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9501 (eval "$lt_compile" 2>out/conftest.err) 9502 ac_status=$? 9503 cat out/conftest.err >&5 9504 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9505 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9506 then 9507 # The compiler can only warn and ignore the option if not recognized 9508 # So say no if there are warnings 9509 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9510 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9511 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9512 lt_cv_prog_compiler_c_o=yes 9513 fi 9514 fi 9515 chmod u+w . 2>&5 9516 $RM conftest* 9517 # SGI C++ compiler will create directory out/ii_files/ for 9518 # template instantiation 9519 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9520 $RM out/* && rmdir out 9521 cd .. 9522 $RM -r conftest 9523 $RM conftest* 9524 9525fi 9526{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9527$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9528 9529 9530 9531 9532hard_links=nottested 9533if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 9534 # do not overwrite the value of need_locks provided by the user 9535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 9536$as_echo_n "checking if we can lock with hard links... " >&6; } 9537 hard_links=yes 9538 $RM conftest* 9539 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9540 touch conftest.a 9541 ln conftest.a conftest.b 2>&5 || hard_links=no 9542 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 9544$as_echo "$hard_links" >&6; } 9545 if test no = "$hard_links"; then 9546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 9547$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 9548 need_locks=warn 9549 fi 9550else 9551 need_locks=no 9552fi 9553 9554 9555 9556 9557 9558 9559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9560$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9561 9562 runpath_var= 9563 allow_undefined_flag= 9564 always_export_symbols=no 9565 archive_cmds= 9566 archive_expsym_cmds= 9567 compiler_needs_object=no 9568 enable_shared_with_static_runtimes=no 9569 export_dynamic_flag_spec= 9570 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9571 hardcode_automatic=no 9572 hardcode_direct=no 9573 hardcode_direct_absolute=no 9574 hardcode_libdir_flag_spec= 9575 hardcode_libdir_separator= 9576 hardcode_minus_L=no 9577 hardcode_shlibpath_var=unsupported 9578 inherit_rpath=no 9579 link_all_deplibs=unknown 9580 module_cmds= 9581 module_expsym_cmds= 9582 old_archive_from_new_cmds= 9583 old_archive_from_expsyms_cmds= 9584 thread_safe_flag_spec= 9585 whole_archive_flag_spec= 9586 # include_expsyms should be a list of space-separated symbols to be *always* 9587 # included in the symbol list 9588 include_expsyms= 9589 # exclude_expsyms can be an extended regexp of symbols to exclude 9590 # it will be wrapped by ' (' and ')$', so one must not match beginning or 9591 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 9592 # as well as any symbol that contains 'd'. 9593 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9594 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9595 # platforms (ab)use it in PIC code, but their linkers get confused if 9596 # the symbol is explicitly referenced. Since portable code cannot 9597 # rely on this symbol name, it's probably fine to never include it in 9598 # preloaded symbol tables. 9599 # Exclude shared library initialization/finalization symbols. 9600 extract_expsyms_cmds= 9601 9602 case $host_os in 9603 cygwin* | mingw* | pw32* | cegcc*) 9604 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9605 # When not using gcc, we currently assume that we are using 9606 # Microsoft Visual C++. 9607 if test yes != "$GCC"; then 9608 with_gnu_ld=no 9609 fi 9610 ;; 9611 interix*) 9612 # we just hope/assume this is gcc and not c89 (= MSVC++) 9613 with_gnu_ld=yes 9614 ;; 9615 openbsd* | bitrig*) 9616 with_gnu_ld=no 9617 ;; 9618 linux* | k*bsd*-gnu | gnu*) 9619 link_all_deplibs=no 9620 ;; 9621 esac 9622 9623 ld_shlibs=yes 9624 9625 # On some targets, GNU ld is compatible enough with the native linker 9626 # that we're better off using the native interface for both. 9627 lt_use_gnu_ld_interface=no 9628 if test yes = "$with_gnu_ld"; then 9629 case $host_os in 9630 aix*) 9631 # The AIX port of GNU ld has always aspired to compatibility 9632 # with the native linker. However, as the warning in the GNU ld 9633 # block says, versions before 2.19.5* couldn't really create working 9634 # shared libraries, regardless of the interface used. 9635 case `$LD -v 2>&1` in 9636 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 9637 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 9638 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 9639 *) 9640 lt_use_gnu_ld_interface=yes 9641 ;; 9642 esac 9643 ;; 9644 *) 9645 lt_use_gnu_ld_interface=yes 9646 ;; 9647 esac 9648 fi 9649 9650 if test yes = "$lt_use_gnu_ld_interface"; then 9651 # If archive_cmds runs LD, not CC, wlarc should be empty 9652 wlarc='$wl' 9653 9654 # Set some defaults for GNU ld with shared library support. These 9655 # are reset later if shared libraries are not supported. Putting them 9656 # here allows them to be overridden if necessary. 9657 runpath_var=LD_RUN_PATH 9658 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9659 export_dynamic_flag_spec='$wl--export-dynamic' 9660 # ancient GNU ld didn't support --whole-archive et. al. 9661 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9662 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 9663 else 9664 whole_archive_flag_spec= 9665 fi 9666 supports_anon_versioning=no 9667 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 9668 *GNU\ gold*) supports_anon_versioning=yes ;; 9669 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 9670 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 9671 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 9672 *\ 2.11.*) ;; # other 2.11 versions 9673 *) supports_anon_versioning=yes ;; 9674 esac 9675 9676 # See if GNU ld supports shared libraries. 9677 case $host_os in 9678 aix[3-9]*) 9679 # On AIX/PPC, the GNU linker is very broken 9680 if test ia64 != "$host_cpu"; then 9681 ld_shlibs=no 9682 cat <<_LT_EOF 1>&2 9683 9684*** Warning: the GNU linker, at least up to release 2.19, is reported 9685*** to be unable to reliably create shared libraries on AIX. 9686*** Therefore, libtool is disabling shared libraries support. If you 9687*** really care for shared libraries, you may want to install binutils 9688*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 9689*** You will then need to restart the configuration process. 9690 9691_LT_EOF 9692 fi 9693 ;; 9694 9695 amigaos*) 9696 case $host_cpu in 9697 powerpc) 9698 # see comment about AmigaOS4 .so support 9699 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9700 archive_expsym_cmds='' 9701 ;; 9702 m68k) 9703 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)' 9704 hardcode_libdir_flag_spec='-L$libdir' 9705 hardcode_minus_L=yes 9706 ;; 9707 esac 9708 ;; 9709 9710 beos*) 9711 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9712 allow_undefined_flag=unsupported 9713 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 9714 # support --undefined. This deserves some investigation. FIXME 9715 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9716 else 9717 ld_shlibs=no 9718 fi 9719 ;; 9720 9721 cygwin* | mingw* | pw32* | cegcc*) 9722 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9723 # as there is no search path for DLLs. 9724 hardcode_libdir_flag_spec='-L$libdir' 9725 export_dynamic_flag_spec='$wl--export-all-symbols' 9726 allow_undefined_flag=unsupported 9727 always_export_symbols=no 9728 enable_shared_with_static_runtimes=yes 9729 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' 9730 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 9731 9732 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9733 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9734 # If the export-symbols file already is a .def file, use it as 9735 # is; otherwise, prepend EXPORTS... 9736 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 9737 cp $export_symbols $output_objdir/$soname.def; 9738 else 9739 echo EXPORTS > $output_objdir/$soname.def; 9740 cat $export_symbols >> $output_objdir/$soname.def; 9741 fi~ 9742 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9743 else 9744 ld_shlibs=no 9745 fi 9746 ;; 9747 9748 haiku*) 9749 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9750 link_all_deplibs=yes 9751 ;; 9752 9753 os2*) 9754 hardcode_libdir_flag_spec='-L$libdir' 9755 hardcode_minus_L=yes 9756 allow_undefined_flag=unsupported 9757 shrext_cmds=.dll 9758 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9759 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9760 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9761 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9762 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 9763 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9764 emximp -o $lib $output_objdir/$libname.def' 9765 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 9766 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 9767 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 9768 $ECHO EXPORTS >> $output_objdir/$libname.def~ 9769 prefix_cmds="$SED"~ 9770 if test EXPORTS = "`$SED 1q $export_symbols`"; then 9771 prefix_cmds="$prefix_cmds -e 1d"; 9772 fi~ 9773 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 9774 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 9775 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 9776 emximp -o $lib $output_objdir/$libname.def' 9777 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 9778 enable_shared_with_static_runtimes=yes 9779 ;; 9780 9781 interix[3-9]*) 9782 hardcode_direct=no 9783 hardcode_shlibpath_var=no 9784 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 9785 export_dynamic_flag_spec='$wl-E' 9786 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9787 # Instead, shared libraries are loaded at an image base (0x10000000 by 9788 # default) and relocated if they conflict, which is a slow very memory 9789 # consuming and fragmenting process. To avoid this, we pick a random, 9790 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9791 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9792 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9793 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' 9794 ;; 9795 9796 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9797 tmp_diet=no 9798 if test linux-dietlibc = "$host_os"; then 9799 case $cc_basename in 9800 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9801 esac 9802 fi 9803 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9804 && test no = "$tmp_diet" 9805 then 9806 tmp_addflag=' $pic_flag' 9807 tmp_sharedflag='-shared' 9808 case $cc_basename,$host_cpu in 9809 pgcc*) # Portland Group C compiler 9810 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' 9811 tmp_addflag=' $pic_flag' 9812 ;; 9813 pgf77* | pgf90* | pgf95* | pgfortran*) 9814 # Portland Group f77 and f90 compilers 9815 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' 9816 tmp_addflag=' $pic_flag -Mnomain' ;; 9817 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9818 tmp_addflag=' -i_dynamic' ;; 9819 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9820 tmp_addflag=' -i_dynamic -nofor_main' ;; 9821 ifc* | ifort*) # Intel Fortran compiler 9822 tmp_addflag=' -nofor_main' ;; 9823 lf95*) # Lahey Fortran 8.1 9824 whole_archive_flag_spec= 9825 tmp_sharedflag='--shared' ;; 9826 nagfor*) # NAGFOR 5.3 9827 tmp_sharedflag='-Wl,-shared' ;; 9828 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9829 tmp_sharedflag='-qmkshrobj' 9830 tmp_addflag= ;; 9831 nvcc*) # Cuda Compiler Driver 2.2 9832 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' 9833 compiler_needs_object=yes 9834 ;; 9835 esac 9836 case `$CC -V 2>&1 | sed 5q` in 9837 *Sun\ C*) # Sun C 5.9 9838 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' 9839 compiler_needs_object=yes 9840 tmp_sharedflag='-G' ;; 9841 *Sun\ F*) # Sun Fortran 8.3 9842 tmp_sharedflag='-G' ;; 9843 esac 9844 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9845 9846 if test yes = "$supports_anon_versioning"; then 9847 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9848 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9849 echo "local: *; };" >> $output_objdir/$libname.ver~ 9850 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 9851 fi 9852 9853 case $cc_basename in 9854 tcc*) 9855 export_dynamic_flag_spec='-rdynamic' 9856 ;; 9857 xlf* | bgf* | bgxlf* | mpixlf*) 9858 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9859 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9860 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9861 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 9862 if test yes = "$supports_anon_versioning"; then 9863 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9864 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9865 echo "local: *; };" >> $output_objdir/$libname.ver~ 9866 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9867 fi 9868 ;; 9869 esac 9870 else 9871 ld_shlibs=no 9872 fi 9873 ;; 9874 9875 netbsd* | netbsdelf*-gnu) 9876 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9877 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9878 wlarc= 9879 else 9880 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9881 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9882 fi 9883 ;; 9884 9885 solaris*) 9886 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9887 ld_shlibs=no 9888 cat <<_LT_EOF 1>&2 9889 9890*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9891*** create shared libraries on Solaris systems. Therefore, libtool 9892*** is disabling shared libraries support. We urge you to upgrade GNU 9893*** binutils to release 2.9.1 or newer. Another option is to modify 9894*** your PATH or compiler configuration so that the native linker is 9895*** used, and then restart. 9896 9897_LT_EOF 9898 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9899 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9900 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9901 else 9902 ld_shlibs=no 9903 fi 9904 ;; 9905 9906 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9907 case `$LD -v 2>&1` in 9908 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9909 ld_shlibs=no 9910 cat <<_LT_EOF 1>&2 9911 9912*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 9913*** reliably create shared libraries on SCO systems. Therefore, libtool 9914*** is disabling shared libraries support. We urge you to upgrade GNU 9915*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9916*** your PATH or compiler configuration so that the native linker is 9917*** used, and then restart. 9918 9919_LT_EOF 9920 ;; 9921 *) 9922 # For security reasons, it is highly recommended that you always 9923 # use absolute paths for naming shared libraries, and exclude the 9924 # DT_RUNPATH tag from executables and libraries. But doing so 9925 # requires that you compile everything twice, which is a pain. 9926 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9927 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 9928 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9929 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9930 else 9931 ld_shlibs=no 9932 fi 9933 ;; 9934 esac 9935 ;; 9936 9937 sunos4*) 9938 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9939 wlarc= 9940 hardcode_direct=yes 9941 hardcode_shlibpath_var=no 9942 ;; 9943 9944 *) 9945 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9946 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 9947 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 9948 else 9949 ld_shlibs=no 9950 fi 9951 ;; 9952 esac 9953 9954 if test no = "$ld_shlibs"; then 9955 runpath_var= 9956 hardcode_libdir_flag_spec= 9957 export_dynamic_flag_spec= 9958 whole_archive_flag_spec= 9959 fi 9960 else 9961 # PORTME fill in a description of your system's linker (not GNU ld) 9962 case $host_os in 9963 aix3*) 9964 allow_undefined_flag=unsupported 9965 always_export_symbols=yes 9966 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' 9967 # Note: this linker hardcodes the directories in LIBPATH if there 9968 # are no directories specified by -L. 9969 hardcode_minus_L=yes 9970 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 9971 # Neither direct hardcoding nor static linking is supported with a 9972 # broken collect2. 9973 hardcode_direct=unsupported 9974 fi 9975 ;; 9976 9977 aix[4-9]*) 9978 if test ia64 = "$host_cpu"; then 9979 # On IA64, the linker does run time linking by default, so we don't 9980 # have to do anything special. 9981 aix_use_runtimelinking=no 9982 exp_sym_flag='-Bexport' 9983 no_entry_flag= 9984 else 9985 # If we're using GNU nm, then we don't want the "-C" option. 9986 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 9987 # Without the "-l" option, or with the "-B" option, AIX nm treats 9988 # weak defined symbols like other global defined symbols, whereas 9989 # GNU nm marks them as "W". 9990 # While the 'weak' keyword is ignored in the Export File, we need 9991 # it in the Import File for the 'aix-soname' feature, so we have 9992 # to replace the "-B" option with "-P" for AIX nm. 9993 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9994 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' 9995 else 9996 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' 9997 fi 9998 aix_use_runtimelinking=no 9999 10000 # Test if we are trying to use run time linking or normal 10001 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 10002 # have runtime linking enabled, and use it for executables. 10003 # For shared libraries, we enable/disable runtime linking 10004 # depending on the kind of the shared library created - 10005 # when "with_aix_soname,aix_use_runtimelinking" is: 10006 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 10007 # "aix,yes" lib.so shared, rtl:yes, for executables 10008 # lib.a static archive 10009 # "both,no" lib.so.V(shr.o) shared, rtl:yes 10010 # lib.a(lib.so.V) shared, rtl:no, for executables 10011 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 10012 # lib.a(lib.so.V) shared, rtl:no 10013 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 10014 # lib.a static archive 10015 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 10016 for ld_flag in $LDFLAGS; do 10017 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 10018 aix_use_runtimelinking=yes 10019 break 10020 fi 10021 done 10022 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 10023 # With aix-soname=svr4, we create the lib.so.V shared archives only, 10024 # so we don't have lib.a shared libs to link our executables. 10025 # We have to force runtime linking in this case. 10026 aix_use_runtimelinking=yes 10027 LDFLAGS="$LDFLAGS -Wl,-brtl" 10028 fi 10029 ;; 10030 esac 10031 10032 exp_sym_flag='-bexport' 10033 no_entry_flag='-bnoentry' 10034 fi 10035 10036 # When large executables or shared objects are built, AIX ld can 10037 # have problems creating the table of contents. If linking a library 10038 # or program results in "error TOC overflow" add -mminimal-toc to 10039 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 10040 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 10041 10042 archive_cmds='' 10043 hardcode_direct=yes 10044 hardcode_direct_absolute=yes 10045 hardcode_libdir_separator=':' 10046 link_all_deplibs=yes 10047 file_list_spec='$wl-f,' 10048 case $with_aix_soname,$aix_use_runtimelinking in 10049 aix,*) ;; # traditional, no import file 10050 svr4,* | *,yes) # use import file 10051 # The Import File defines what to hardcode. 10052 hardcode_direct=no 10053 hardcode_direct_absolute=no 10054 ;; 10055 esac 10056 10057 if test yes = "$GCC"; then 10058 case $host_os in aix4.[012]|aix4.[012].*) 10059 # We only want to do this on AIX 4.2 and lower, the check 10060 # below for broken collect2 doesn't work under 4.3+ 10061 collect2name=`$CC -print-prog-name=collect2` 10062 if test -f "$collect2name" && 10063 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 10064 then 10065 # We have reworked collect2 10066 : 10067 else 10068 # We have old collect2 10069 hardcode_direct=unsupported 10070 # It fails to find uninstalled libraries when the uninstalled 10071 # path is not listed in the libpath. Setting hardcode_minus_L 10072 # to unsupported forces relinking 10073 hardcode_minus_L=yes 10074 hardcode_libdir_flag_spec='-L$libdir' 10075 hardcode_libdir_separator= 10076 fi 10077 ;; 10078 esac 10079 shared_flag='-shared' 10080 if test yes = "$aix_use_runtimelinking"; then 10081 shared_flag="$shared_flag "'$wl-G' 10082 fi 10083 # Need to ensure runtime linking is disabled for the traditional 10084 # shared library, or the linker may eventually find shared libraries 10085 # /with/ Import File - we do not want to mix them. 10086 shared_flag_aix='-shared' 10087 shared_flag_svr4='-shared $wl-G' 10088 else 10089 # not using gcc 10090 if test ia64 = "$host_cpu"; then 10091 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 10092 # chokes on -Wl,-G. The following line is correct: 10093 shared_flag='-G' 10094 else 10095 if test yes = "$aix_use_runtimelinking"; then 10096 shared_flag='$wl-G' 10097 else 10098 shared_flag='$wl-bM:SRE' 10099 fi 10100 shared_flag_aix='$wl-bM:SRE' 10101 shared_flag_svr4='$wl-G' 10102 fi 10103 fi 10104 10105 export_dynamic_flag_spec='$wl-bexpall' 10106 # It seems that -bexpall does not export symbols beginning with 10107 # underscore (_), so it is better to generate a list of symbols to export. 10108 always_export_symbols=yes 10109 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 10110 # Warning - without using the other runtime loading flags (-brtl), 10111 # -berok will link without error, but may produce a broken library. 10112 allow_undefined_flag='-berok' 10113 # Determine the default libpath from the value encoded in an 10114 # empty executable. 10115 if test set = "${lt_cv_aix_libpath+set}"; then 10116 aix_libpath=$lt_cv_aix_libpath 10117else 10118 if ${lt_cv_aix_libpath_+:} false; then : 10119 $as_echo_n "(cached) " >&6 10120else 10121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10122/* end confdefs.h. */ 10123 10124int 10125main () 10126{ 10127 10128 ; 10129 return 0; 10130} 10131_ACEOF 10132if ac_fn_c_try_link "$LINENO"; then : 10133 10134 lt_aix_libpath_sed=' 10135 /Import File Strings/,/^$/ { 10136 /^0/ { 10137 s/^0 *\([^ ]*\) *$/\1/ 10138 p 10139 } 10140 }' 10141 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10142 # Check for a 64-bit object if we didn't find anything. 10143 if test -z "$lt_cv_aix_libpath_"; then 10144 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10145 fi 10146fi 10147rm -f core conftest.err conftest.$ac_objext \ 10148 conftest$ac_exeext conftest.$ac_ext 10149 if test -z "$lt_cv_aix_libpath_"; then 10150 lt_cv_aix_libpath_=/usr/lib:/lib 10151 fi 10152 10153fi 10154 10155 aix_libpath=$lt_cv_aix_libpath_ 10156fi 10157 10158 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 10159 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 10160 else 10161 if test ia64 = "$host_cpu"; then 10162 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 10163 allow_undefined_flag="-z nodefs" 10164 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" 10165 else 10166 # Determine the default libpath from the value encoded in an 10167 # empty executable. 10168 if test set = "${lt_cv_aix_libpath+set}"; then 10169 aix_libpath=$lt_cv_aix_libpath 10170else 10171 if ${lt_cv_aix_libpath_+:} false; then : 10172 $as_echo_n "(cached) " >&6 10173else 10174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10175/* end confdefs.h. */ 10176 10177int 10178main () 10179{ 10180 10181 ; 10182 return 0; 10183} 10184_ACEOF 10185if ac_fn_c_try_link "$LINENO"; then : 10186 10187 lt_aix_libpath_sed=' 10188 /Import File Strings/,/^$/ { 10189 /^0/ { 10190 s/^0 *\([^ ]*\) *$/\1/ 10191 p 10192 } 10193 }' 10194 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10195 # Check for a 64-bit object if we didn't find anything. 10196 if test -z "$lt_cv_aix_libpath_"; then 10197 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10198 fi 10199fi 10200rm -f core conftest.err conftest.$ac_objext \ 10201 conftest$ac_exeext conftest.$ac_ext 10202 if test -z "$lt_cv_aix_libpath_"; then 10203 lt_cv_aix_libpath_=/usr/lib:/lib 10204 fi 10205 10206fi 10207 10208 aix_libpath=$lt_cv_aix_libpath_ 10209fi 10210 10211 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 10212 # Warning - without using the other run time loading flags, 10213 # -berok will link without error, but may produce a broken library. 10214 no_undefined_flag=' $wl-bernotok' 10215 allow_undefined_flag=' $wl-berok' 10216 if test yes = "$with_gnu_ld"; then 10217 # We only use this code for GNU lds that support --whole-archive. 10218 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 10219 else 10220 # Exported symbols can be pulled into shared objects from archives 10221 whole_archive_flag_spec='$convenience' 10222 fi 10223 archive_cmds_need_lc=yes 10224 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 10225 # -brtl affects multiple linker settings, -berok does not and is overridden later 10226 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 10227 if test svr4 != "$with_aix_soname"; then 10228 # This is similar to how AIX traditionally builds its shared libraries. 10229 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' 10230 fi 10231 if test aix != "$with_aix_soname"; then 10232 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' 10233 else 10234 # used by -dlpreopen to get the symbols 10235 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 10236 fi 10237 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 10238 fi 10239 fi 10240 ;; 10241 10242 amigaos*) 10243 case $host_cpu in 10244 powerpc) 10245 # see comment about AmigaOS4 .so support 10246 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10247 archive_expsym_cmds='' 10248 ;; 10249 m68k) 10250 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)' 10251 hardcode_libdir_flag_spec='-L$libdir' 10252 hardcode_minus_L=yes 10253 ;; 10254 esac 10255 ;; 10256 10257 bsdi[45]*) 10258 export_dynamic_flag_spec=-rdynamic 10259 ;; 10260 10261 cygwin* | mingw* | pw32* | cegcc*) 10262 # When not using gcc, we currently assume that we are using 10263 # Microsoft Visual C++. 10264 # hardcode_libdir_flag_spec is actually meaningless, as there is 10265 # no search path for DLLs. 10266 case $cc_basename in 10267 cl*) 10268 # Native MSVC 10269 hardcode_libdir_flag_spec=' ' 10270 allow_undefined_flag=unsupported 10271 always_export_symbols=yes 10272 file_list_spec='@' 10273 # Tell ltmain to make .lib files, not .a files. 10274 libext=lib 10275 # Tell ltmain to make .dll files, not .so files. 10276 shrext_cmds=.dll 10277 # FIXME: Setting linknames here is a bad hack. 10278 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 10279 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 10280 cp "$export_symbols" "$output_objdir/$soname.def"; 10281 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 10282 else 10283 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 10284 fi~ 10285 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 10286 linknames=' 10287 # The linker will not automatically build a static lib if we build a DLL. 10288 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 10289 enable_shared_with_static_runtimes=yes 10290 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 10291 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 10292 # Don't use ranlib 10293 old_postinstall_cmds='chmod 644 $oldlib' 10294 postlink_cmds='lt_outputfile="@OUTPUT@"~ 10295 lt_tool_outputfile="@TOOL_OUTPUT@"~ 10296 case $lt_outputfile in 10297 *.exe|*.EXE) ;; 10298 *) 10299 lt_outputfile=$lt_outputfile.exe 10300 lt_tool_outputfile=$lt_tool_outputfile.exe 10301 ;; 10302 esac~ 10303 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 10304 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 10305 $RM "$lt_outputfile.manifest"; 10306 fi' 10307 ;; 10308 *) 10309 # Assume MSVC wrapper 10310 hardcode_libdir_flag_spec=' ' 10311 allow_undefined_flag=unsupported 10312 # Tell ltmain to make .lib files, not .a files. 10313 libext=lib 10314 # Tell ltmain to make .dll files, not .so files. 10315 shrext_cmds=.dll 10316 # FIXME: Setting linknames here is a bad hack. 10317 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 10318 # The linker will automatically build a .lib file if we build a DLL. 10319 old_archive_from_new_cmds='true' 10320 # FIXME: Should let the user specify the lib program. 10321 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 10322 enable_shared_with_static_runtimes=yes 10323 ;; 10324 esac 10325 ;; 10326 10327 darwin* | rhapsody*) 10328 10329 10330 archive_cmds_need_lc=no 10331 hardcode_direct=no 10332 hardcode_automatic=yes 10333 hardcode_shlibpath_var=unsupported 10334 if test yes = "$lt_cv_ld_force_load"; then 10335 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\"`' 10336 10337 else 10338 whole_archive_flag_spec='' 10339 fi 10340 link_all_deplibs=yes 10341 allow_undefined_flag=$_lt_dar_allow_undefined 10342 case $cc_basename in 10343 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 10344 *) _lt_dar_can_shared=$GCC ;; 10345 esac 10346 if test yes = "$_lt_dar_can_shared"; then 10347 output_verbose_link_cmd=func_echo_all 10348 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 10349 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 10350 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" 10351 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" 10352 10353 else 10354 ld_shlibs=no 10355 fi 10356 10357 ;; 10358 10359 dgux*) 10360 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10361 hardcode_libdir_flag_spec='-L$libdir' 10362 hardcode_shlibpath_var=no 10363 ;; 10364 10365 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 10366 # support. Future versions do this automatically, but an explicit c++rt0.o 10367 # does not break anything, and helps significantly (at the cost of a little 10368 # extra space). 10369 freebsd2.2*) 10370 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 10371 hardcode_libdir_flag_spec='-R$libdir' 10372 hardcode_direct=yes 10373 hardcode_shlibpath_var=no 10374 ;; 10375 10376 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 10377 freebsd2.*) 10378 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10379 hardcode_direct=yes 10380 hardcode_minus_L=yes 10381 hardcode_shlibpath_var=no 10382 ;; 10383 10384 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 10385 freebsd* | dragonfly*) 10386 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10387 hardcode_libdir_flag_spec='-R$libdir' 10388 hardcode_direct=yes 10389 hardcode_shlibpath_var=no 10390 ;; 10391 10392 hpux9*) 10393 if test yes = "$GCC"; then 10394 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' 10395 else 10396 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' 10397 fi 10398 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10399 hardcode_libdir_separator=: 10400 hardcode_direct=yes 10401 10402 # hardcode_minus_L: Not really in the search PATH, 10403 # but as the default location of the library. 10404 hardcode_minus_L=yes 10405 export_dynamic_flag_spec='$wl-E' 10406 ;; 10407 10408 hpux10*) 10409 if test yes,no = "$GCC,$with_gnu_ld"; then 10410 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10411 else 10412 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10413 fi 10414 if test no = "$with_gnu_ld"; then 10415 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10416 hardcode_libdir_separator=: 10417 hardcode_direct=yes 10418 hardcode_direct_absolute=yes 10419 export_dynamic_flag_spec='$wl-E' 10420 # hardcode_minus_L: Not really in the search PATH, 10421 # but as the default location of the library. 10422 hardcode_minus_L=yes 10423 fi 10424 ;; 10425 10426 hpux11*) 10427 if test yes,no = "$GCC,$with_gnu_ld"; then 10428 case $host_cpu in 10429 hppa*64*) 10430 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10431 ;; 10432 ia64*) 10433 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10434 ;; 10435 *) 10436 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10437 ;; 10438 esac 10439 else 10440 case $host_cpu in 10441 hppa*64*) 10442 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10443 ;; 10444 ia64*) 10445 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10446 ;; 10447 *) 10448 10449 # Older versions of the 11.00 compiler do not understand -b yet 10450 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 10451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 10452$as_echo_n "checking if $CC understands -b... " >&6; } 10453if ${lt_cv_prog_compiler__b+:} false; then : 10454 $as_echo_n "(cached) " >&6 10455else 10456 lt_cv_prog_compiler__b=no 10457 save_LDFLAGS=$LDFLAGS 10458 LDFLAGS="$LDFLAGS -b" 10459 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10460 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10461 # The linker can only warn and ignore the option if not recognized 10462 # So say no if there are warnings 10463 if test -s conftest.err; then 10464 # Append any errors to the config.log. 10465 cat conftest.err 1>&5 10466 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10467 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10468 if diff conftest.exp conftest.er2 >/dev/null; then 10469 lt_cv_prog_compiler__b=yes 10470 fi 10471 else 10472 lt_cv_prog_compiler__b=yes 10473 fi 10474 fi 10475 $RM -r conftest* 10476 LDFLAGS=$save_LDFLAGS 10477 10478fi 10479{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 10480$as_echo "$lt_cv_prog_compiler__b" >&6; } 10481 10482if test yes = "$lt_cv_prog_compiler__b"; then 10483 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10484else 10485 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10486fi 10487 10488 ;; 10489 esac 10490 fi 10491 if test no = "$with_gnu_ld"; then 10492 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 10493 hardcode_libdir_separator=: 10494 10495 case $host_cpu in 10496 hppa*64*|ia64*) 10497 hardcode_direct=no 10498 hardcode_shlibpath_var=no 10499 ;; 10500 *) 10501 hardcode_direct=yes 10502 hardcode_direct_absolute=yes 10503 export_dynamic_flag_spec='$wl-E' 10504 10505 # hardcode_minus_L: Not really in the search PATH, 10506 # but as the default location of the library. 10507 hardcode_minus_L=yes 10508 ;; 10509 esac 10510 fi 10511 ;; 10512 10513 irix5* | irix6* | nonstopux*) 10514 if test yes = "$GCC"; then 10515 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' 10516 # Try to use the -exported_symbol ld option, if it does not 10517 # work, assume that -exports_file does not work either and 10518 # implicitly export all symbols. 10519 # This should be the same for all languages, so no per-tag cache variable. 10520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 10521$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 10522if ${lt_cv_irix_exported_symbol+:} false; then : 10523 $as_echo_n "(cached) " >&6 10524else 10525 save_LDFLAGS=$LDFLAGS 10526 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 10527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10528/* end confdefs.h. */ 10529int foo (void) { return 0; } 10530_ACEOF 10531if ac_fn_c_try_link "$LINENO"; then : 10532 lt_cv_irix_exported_symbol=yes 10533else 10534 lt_cv_irix_exported_symbol=no 10535fi 10536rm -f core conftest.err conftest.$ac_objext \ 10537 conftest$ac_exeext conftest.$ac_ext 10538 LDFLAGS=$save_LDFLAGS 10539fi 10540{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 10541$as_echo "$lt_cv_irix_exported_symbol" >&6; } 10542 if test yes = "$lt_cv_irix_exported_symbol"; then 10543 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' 10544 fi 10545 link_all_deplibs=no 10546 else 10547 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' 10548 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' 10549 fi 10550 archive_cmds_need_lc='no' 10551 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10552 hardcode_libdir_separator=: 10553 inherit_rpath=yes 10554 link_all_deplibs=yes 10555 ;; 10556 10557 linux*) 10558 case $cc_basename in 10559 tcc*) 10560 # Fabrice Bellard et al's Tiny C Compiler 10561 ld_shlibs=yes 10562 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10563 ;; 10564 esac 10565 ;; 10566 10567 netbsd* | netbsdelf*-gnu) 10568 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10569 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 10570 else 10571 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 10572 fi 10573 hardcode_libdir_flag_spec='-R$libdir' 10574 hardcode_direct=yes 10575 hardcode_shlibpath_var=no 10576 ;; 10577 10578 newsos6) 10579 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10580 hardcode_direct=yes 10581 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10582 hardcode_libdir_separator=: 10583 hardcode_shlibpath_var=no 10584 ;; 10585 10586 *nto* | *qnx*) 10587 ;; 10588 10589 openbsd* | bitrig*) 10590 if test -f /usr/libexec/ld.so; then 10591 hardcode_direct=yes 10592 hardcode_shlibpath_var=no 10593 hardcode_direct_absolute=yes 10594 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 10595 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10596 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 10597 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10598 export_dynamic_flag_spec='$wl-E' 10599 else 10600 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10601 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10602 fi 10603 else 10604 ld_shlibs=no 10605 fi 10606 ;; 10607 10608 os2*) 10609 hardcode_libdir_flag_spec='-L$libdir' 10610 hardcode_minus_L=yes 10611 allow_undefined_flag=unsupported 10612 shrext_cmds=.dll 10613 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10614 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10615 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10616 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10617 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10618 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10619 emximp -o $lib $output_objdir/$libname.def' 10620 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10621 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10622 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10623 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10624 prefix_cmds="$SED"~ 10625 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10626 prefix_cmds="$prefix_cmds -e 1d"; 10627 fi~ 10628 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10629 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10630 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10631 emximp -o $lib $output_objdir/$libname.def' 10632 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10633 enable_shared_with_static_runtimes=yes 10634 ;; 10635 10636 osf3*) 10637 if test yes = "$GCC"; then 10638 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10639 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' 10640 else 10641 allow_undefined_flag=' -expect_unresolved \*' 10642 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' 10643 fi 10644 archive_cmds_need_lc='no' 10645 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10646 hardcode_libdir_separator=: 10647 ;; 10648 10649 osf4* | osf5*) # as osf3* with the addition of -msym flag 10650 if test yes = "$GCC"; then 10651 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 10652 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' 10653 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10654 else 10655 allow_undefined_flag=' -expect_unresolved \*' 10656 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' 10657 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~ 10658 $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' 10659 10660 # Both c and cxx compiler support -rpath directly 10661 hardcode_libdir_flag_spec='-rpath $libdir' 10662 fi 10663 archive_cmds_need_lc='no' 10664 hardcode_libdir_separator=: 10665 ;; 10666 10667 solaris*) 10668 no_undefined_flag=' -z defs' 10669 if test yes = "$GCC"; then 10670 wlarc='$wl' 10671 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 10672 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10673 $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' 10674 else 10675 case `$CC -V 2>&1` in 10676 *"Compilers 5.0"*) 10677 wlarc='' 10678 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 10679 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10680 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10681 ;; 10682 *) 10683 wlarc='$wl' 10684 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10685 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10686 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10687 ;; 10688 esac 10689 fi 10690 hardcode_libdir_flag_spec='-R$libdir' 10691 hardcode_shlibpath_var=no 10692 case $host_os in 10693 solaris2.[0-5] | solaris2.[0-5].*) ;; 10694 *) 10695 # The compiler driver will combine and reorder linker options, 10696 # but understands '-z linker_flag'. GCC discards it without '$wl', 10697 # but is careful enough not to reorder. 10698 # Supported since Solaris 2.6 (maybe 2.5.1?) 10699 if test yes = "$GCC"; then 10700 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 10701 else 10702 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10703 fi 10704 ;; 10705 esac 10706 link_all_deplibs=yes 10707 ;; 10708 10709 sunos4*) 10710 if test sequent = "$host_vendor"; then 10711 # Use $CC to link under sequent, because it throws in some extra .o 10712 # files that make .init and .fini sections work. 10713 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10714 else 10715 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10716 fi 10717 hardcode_libdir_flag_spec='-L$libdir' 10718 hardcode_direct=yes 10719 hardcode_minus_L=yes 10720 hardcode_shlibpath_var=no 10721 ;; 10722 10723 sysv4) 10724 case $host_vendor in 10725 sni) 10726 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10727 hardcode_direct=yes # is this really true??? 10728 ;; 10729 siemens) 10730 ## LD is ld it makes a PLAMLIB 10731 ## CC just makes a GrossModule. 10732 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10733 reload_cmds='$CC -r -o $output$reload_objs' 10734 hardcode_direct=no 10735 ;; 10736 motorola) 10737 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10738 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10739 ;; 10740 esac 10741 runpath_var='LD_RUN_PATH' 10742 hardcode_shlibpath_var=no 10743 ;; 10744 10745 sysv4.3*) 10746 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10747 hardcode_shlibpath_var=no 10748 export_dynamic_flag_spec='-Bexport' 10749 ;; 10750 10751 sysv4*MP*) 10752 if test -d /usr/nec; then 10753 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10754 hardcode_shlibpath_var=no 10755 runpath_var=LD_RUN_PATH 10756 hardcode_runpath_var=yes 10757 ld_shlibs=yes 10758 fi 10759 ;; 10760 10761 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10762 no_undefined_flag='$wl-z,text' 10763 archive_cmds_need_lc=no 10764 hardcode_shlibpath_var=no 10765 runpath_var='LD_RUN_PATH' 10766 10767 if test yes = "$GCC"; then 10768 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10769 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10770 else 10771 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10772 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10773 fi 10774 ;; 10775 10776 sysv5* | sco3.2v5* | sco5v6*) 10777 # Note: We CANNOT use -z defs as we might desire, because we do not 10778 # link with -lc, and that would cause any symbols used from libc to 10779 # always be unresolved, which means just about no library would 10780 # ever link correctly. If we're not using GNU ld we use -z text 10781 # though, which does catch some bad symbols but isn't as heavy-handed 10782 # as -z defs. 10783 no_undefined_flag='$wl-z,text' 10784 allow_undefined_flag='$wl-z,nodefs' 10785 archive_cmds_need_lc=no 10786 hardcode_shlibpath_var=no 10787 hardcode_libdir_flag_spec='$wl-R,$libdir' 10788 hardcode_libdir_separator=':' 10789 link_all_deplibs=yes 10790 export_dynamic_flag_spec='$wl-Bexport' 10791 runpath_var='LD_RUN_PATH' 10792 10793 if test yes = "$GCC"; then 10794 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10795 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10796 else 10797 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10798 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10799 fi 10800 ;; 10801 10802 uts4*) 10803 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10804 hardcode_libdir_flag_spec='-L$libdir' 10805 hardcode_shlibpath_var=no 10806 ;; 10807 10808 *) 10809 ld_shlibs=no 10810 ;; 10811 esac 10812 10813 if test sni = "$host_vendor"; then 10814 case $host in 10815 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10816 export_dynamic_flag_spec='$wl-Blargedynsym' 10817 ;; 10818 esac 10819 fi 10820 fi 10821 10822{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 10823$as_echo "$ld_shlibs" >&6; } 10824test no = "$ld_shlibs" && can_build_shared=no 10825 10826with_gnu_ld=$with_gnu_ld 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842# 10843# Do we need to explicitly link libc? 10844# 10845case "x$archive_cmds_need_lc" in 10846x|xyes) 10847 # Assume -lc should be added 10848 archive_cmds_need_lc=yes 10849 10850 if test yes,yes = "$GCC,$enable_shared"; then 10851 case $archive_cmds in 10852 *'~'*) 10853 # FIXME: we may have to deal with multi-command sequences. 10854 ;; 10855 '$CC '*) 10856 # Test whether the compiler implicitly links with -lc since on some 10857 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10858 # to ld, don't add -lc before -lgcc. 10859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10860$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10861if ${lt_cv_archive_cmds_need_lc+:} false; then : 10862 $as_echo_n "(cached) " >&6 10863else 10864 $RM conftest* 10865 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10866 10867 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10868 (eval $ac_compile) 2>&5 10869 ac_status=$? 10870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10871 test $ac_status = 0; } 2>conftest.err; then 10872 soname=conftest 10873 lib=conftest 10874 libobjs=conftest.$ac_objext 10875 deplibs= 10876 wl=$lt_prog_compiler_wl 10877 pic_flag=$lt_prog_compiler_pic 10878 compiler_flags=-v 10879 linker_flags=-v 10880 verstring= 10881 output_objdir=. 10882 libname=conftest 10883 lt_save_allow_undefined_flag=$allow_undefined_flag 10884 allow_undefined_flag= 10885 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10886 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10887 ac_status=$? 10888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10889 test $ac_status = 0; } 10890 then 10891 lt_cv_archive_cmds_need_lc=no 10892 else 10893 lt_cv_archive_cmds_need_lc=yes 10894 fi 10895 allow_undefined_flag=$lt_save_allow_undefined_flag 10896 else 10897 cat conftest.err 1>&5 10898 fi 10899 $RM conftest* 10900 10901fi 10902{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 10903$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 10904 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 10905 ;; 10906 esac 10907 fi 10908 ;; 10909esac 10910 10911 10912 10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 11063$as_echo_n "checking dynamic linker characteristics... " >&6; } 11064 11065if test yes = "$GCC"; then 11066 case $host_os in 11067 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 11068 *) lt_awk_arg='/^libraries:/' ;; 11069 esac 11070 case $host_os in 11071 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 11072 *) lt_sed_strip_eq='s|=/|/|g' ;; 11073 esac 11074 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 11075 case $lt_search_path_spec in 11076 *\;*) 11077 # if the path contains ";" then we assume it to be the separator 11078 # otherwise default to the standard path separator (i.e. ":") - it is 11079 # assumed that no part of a normal pathname contains ";" but that should 11080 # okay in the real world where ";" in dirpaths is itself problematic. 11081 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 11082 ;; 11083 *) 11084 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 11085 ;; 11086 esac 11087 # Ok, now we have the path, separated by spaces, we can step through it 11088 # and add multilib dir if necessary... 11089 lt_tmp_lt_search_path_spec= 11090 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 11091 # ...but if some path component already ends with the multilib dir we assume 11092 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 11093 case "$lt_multi_os_dir; $lt_search_path_spec " in 11094 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 11095 lt_multi_os_dir= 11096 ;; 11097 esac 11098 for lt_sys_path in $lt_search_path_spec; do 11099 if test -d "$lt_sys_path$lt_multi_os_dir"; then 11100 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 11101 elif test -n "$lt_multi_os_dir"; then 11102 test -d "$lt_sys_path" && \ 11103 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 11104 fi 11105 done 11106 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 11107BEGIN {RS = " "; FS = "/|\n";} { 11108 lt_foo = ""; 11109 lt_count = 0; 11110 for (lt_i = NF; lt_i > 0; lt_i--) { 11111 if ($lt_i != "" && $lt_i != ".") { 11112 if ($lt_i == "..") { 11113 lt_count++; 11114 } else { 11115 if (lt_count == 0) { 11116 lt_foo = "/" $lt_i lt_foo; 11117 } else { 11118 lt_count--; 11119 } 11120 } 11121 } 11122 } 11123 if (lt_foo != "") { lt_freq[lt_foo]++; } 11124 if (lt_freq[lt_foo] == 1) { print lt_foo; } 11125}'` 11126 # AWK program above erroneously prepends '/' to C:/dos/paths 11127 # for these hosts. 11128 case $host_os in 11129 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 11130 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 11131 esac 11132 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 11133else 11134 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11135fi 11136library_names_spec= 11137libname_spec='lib$name' 11138soname_spec= 11139shrext_cmds=.so 11140postinstall_cmds= 11141postuninstall_cmds= 11142finish_cmds= 11143finish_eval= 11144shlibpath_var= 11145shlibpath_overrides_runpath=unknown 11146version_type=none 11147dynamic_linker="$host_os ld.so" 11148sys_lib_dlsearch_path_spec="/lib /usr/lib" 11149need_lib_prefix=unknown 11150hardcode_into_libs=no 11151 11152# when you set need_version to no, make sure it does not cause -set_version 11153# flags to be left without arguments 11154need_version=unknown 11155 11156 11157 11158case $host_os in 11159aix3*) 11160 version_type=linux # correct to gnu/linux during the next big refactor 11161 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 11162 shlibpath_var=LIBPATH 11163 11164 # AIX 3 has no versioning support, so we append a major version to the name. 11165 soname_spec='$libname$release$shared_ext$major' 11166 ;; 11167 11168aix[4-9]*) 11169 version_type=linux # correct to gnu/linux during the next big refactor 11170 need_lib_prefix=no 11171 need_version=no 11172 hardcode_into_libs=yes 11173 if test ia64 = "$host_cpu"; then 11174 # AIX 5 supports IA64 11175 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 11176 shlibpath_var=LD_LIBRARY_PATH 11177 else 11178 # With GCC up to 2.95.x, collect2 would create an import file 11179 # for dependence libraries. The import file would start with 11180 # the line '#! .'. This would cause the generated library to 11181 # depend on '.', always an invalid library. This was fixed in 11182 # development snapshots of GCC prior to 3.0. 11183 case $host_os in 11184 aix4 | aix4.[01] | aix4.[01].*) 11185 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 11186 echo ' yes ' 11187 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 11188 : 11189 else 11190 can_build_shared=no 11191 fi 11192 ;; 11193 esac 11194 # Using Import Files as archive members, it is possible to support 11195 # filename-based versioning of shared library archives on AIX. While 11196 # this would work for both with and without runtime linking, it will 11197 # prevent static linking of such archives. So we do filename-based 11198 # shared library versioning with .so extension only, which is used 11199 # when both runtime linking and shared linking is enabled. 11200 # Unfortunately, runtime linking may impact performance, so we do 11201 # not want this to be the default eventually. Also, we use the 11202 # versioned .so libs for executables only if there is the -brtl 11203 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 11204 # To allow for filename-based versioning support, we need to create 11205 # libNAME.so.V as an archive file, containing: 11206 # *) an Import File, referring to the versioned filename of the 11207 # archive as well as the shared archive member, telling the 11208 # bitwidth (32 or 64) of that shared object, and providing the 11209 # list of exported symbols of that shared object, eventually 11210 # decorated with the 'weak' keyword 11211 # *) the shared object with the F_LOADONLY flag set, to really avoid 11212 # it being seen by the linker. 11213 # At run time we better use the real file rather than another symlink, 11214 # but for link time we create the symlink libNAME.so -> libNAME.so.V 11215 11216 case $with_aix_soname,$aix_use_runtimelinking in 11217 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 11218 # soname into executable. Probably we can add versioning support to 11219 # collect2, so additional links can be useful in future. 11220 aix,yes) # traditional libtool 11221 dynamic_linker='AIX unversionable lib.so' 11222 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 11223 # instead of lib<name>.a to let people know that these are not 11224 # typical AIX shared libraries. 11225 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11226 ;; 11227 aix,no) # traditional AIX only 11228 dynamic_linker='AIX lib.a(lib.so.V)' 11229 # We preserve .a as extension for shared libraries through AIX4.2 11230 # and later when we are not doing run time linking. 11231 library_names_spec='$libname$release.a $libname.a' 11232 soname_spec='$libname$release$shared_ext$major' 11233 ;; 11234 svr4,*) # full svr4 only 11235 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 11236 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 11237 # We do not specify a path in Import Files, so LIBPATH fires. 11238 shlibpath_overrides_runpath=yes 11239 ;; 11240 *,yes) # both, prefer svr4 11241 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 11242 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 11243 # unpreferred sharedlib libNAME.a needs extra handling 11244 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"' 11245 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"' 11246 # We do not specify a path in Import Files, so LIBPATH fires. 11247 shlibpath_overrides_runpath=yes 11248 ;; 11249 *,no) # both, prefer aix 11250 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 11251 library_names_spec='$libname$release.a $libname.a' 11252 soname_spec='$libname$release$shared_ext$major' 11253 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 11254 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)' 11255 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"' 11256 ;; 11257 esac 11258 shlibpath_var=LIBPATH 11259 fi 11260 ;; 11261 11262amigaos*) 11263 case $host_cpu in 11264 powerpc) 11265 # Since July 2007 AmigaOS4 officially supports .so libraries. 11266 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 11267 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11268 ;; 11269 m68k) 11270 library_names_spec='$libname.ixlibrary $libname.a' 11271 # Create ${libname}_ixlibrary.a entries in /sys/libs. 11272 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' 11273 ;; 11274 esac 11275 ;; 11276 11277beos*) 11278 library_names_spec='$libname$shared_ext' 11279 dynamic_linker="$host_os ld.so" 11280 shlibpath_var=LIBRARY_PATH 11281 ;; 11282 11283bsdi[45]*) 11284 version_type=linux # correct to gnu/linux during the next big refactor 11285 need_version=no 11286 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11287 soname_spec='$libname$release$shared_ext$major' 11288 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 11289 shlibpath_var=LD_LIBRARY_PATH 11290 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 11291 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 11292 # the default ld.so.conf also contains /usr/contrib/lib and 11293 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 11294 # libtool to hard-code these into programs 11295 ;; 11296 11297cygwin* | mingw* | pw32* | cegcc*) 11298 version_type=windows 11299 shrext_cmds=.dll 11300 need_version=no 11301 need_lib_prefix=no 11302 11303 case $GCC,$cc_basename in 11304 yes,*) 11305 # gcc 11306 library_names_spec='$libname.dll.a' 11307 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11308 postinstall_cmds='base_file=`basename \$file`~ 11309 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11310 dldir=$destdir/`dirname \$dlpath`~ 11311 test -d \$dldir || mkdir -p \$dldir~ 11312 $install_prog $dir/$dlname \$dldir/$dlname~ 11313 chmod a+x \$dldir/$dlname~ 11314 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11315 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11316 fi' 11317 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11318 dlpath=$dir/\$dldll~ 11319 $RM \$dlpath' 11320 shlibpath_overrides_runpath=yes 11321 11322 case $host_os in 11323 cygwin*) 11324 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 11325 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11326 11327 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 11328 ;; 11329 mingw* | cegcc*) 11330 # MinGW DLLs use traditional 'lib' prefix 11331 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11332 ;; 11333 pw32*) 11334 # pw32 DLLs use 'pw' prefix rather than 'lib' 11335 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11336 ;; 11337 esac 11338 dynamic_linker='Win32 ld.exe' 11339 ;; 11340 11341 *,cl*) 11342 # Native MSVC 11343 libname_spec='$name' 11344 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 11345 library_names_spec='$libname.dll.lib' 11346 11347 case $build_os in 11348 mingw*) 11349 sys_lib_search_path_spec= 11350 lt_save_ifs=$IFS 11351 IFS=';' 11352 for lt_path in $LIB 11353 do 11354 IFS=$lt_save_ifs 11355 # Let DOS variable expansion print the short 8.3 style file name. 11356 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 11357 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 11358 done 11359 IFS=$lt_save_ifs 11360 # Convert to MSYS style. 11361 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 11362 ;; 11363 cygwin*) 11364 # Convert to unix form, then to dos form, then back to unix form 11365 # but this time dos style (no spaces!) so that the unix form looks 11366 # like /cygdrive/c/PROGRA~1:/cygdr... 11367 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 11368 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 11369 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11370 ;; 11371 *) 11372 sys_lib_search_path_spec=$LIB 11373 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 11374 # It is most probably a Windows format PATH. 11375 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 11376 else 11377 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 11378 fi 11379 # FIXME: find the short name or the path components, as spaces are 11380 # common. (e.g. "Program Files" -> "PROGRA~1") 11381 ;; 11382 esac 11383 11384 # DLL is installed to $(libdir)/../bin by postinstall_cmds 11385 postinstall_cmds='base_file=`basename \$file`~ 11386 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 11387 dldir=$destdir/`dirname \$dlpath`~ 11388 test -d \$dldir || mkdir -p \$dldir~ 11389 $install_prog $dir/$dlname \$dldir/$dlname' 11390 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 11391 dlpath=$dir/\$dldll~ 11392 $RM \$dlpath' 11393 shlibpath_overrides_runpath=yes 11394 dynamic_linker='Win32 link.exe' 11395 ;; 11396 11397 *) 11398 # Assume MSVC wrapper 11399 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 11400 dynamic_linker='Win32 ld.exe' 11401 ;; 11402 esac 11403 # FIXME: first we should search . and the directory the executable is in 11404 shlibpath_var=PATH 11405 ;; 11406 11407darwin* | rhapsody*) 11408 dynamic_linker="$host_os dyld" 11409 version_type=darwin 11410 need_lib_prefix=no 11411 need_version=no 11412 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 11413 soname_spec='$libname$release$major$shared_ext' 11414 shlibpath_overrides_runpath=yes 11415 shlibpath_var=DYLD_LIBRARY_PATH 11416 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 11417 11418 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 11419 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 11420 ;; 11421 11422dgux*) 11423 version_type=linux # correct to gnu/linux during the next big refactor 11424 need_lib_prefix=no 11425 need_version=no 11426 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11427 soname_spec='$libname$release$shared_ext$major' 11428 shlibpath_var=LD_LIBRARY_PATH 11429 ;; 11430 11431freebsd* | dragonfly*) 11432 # DragonFly does not have aout. When/if they implement a new 11433 # versioning mechanism, adjust this. 11434 if test -x /usr/bin/objformat; then 11435 objformat=`/usr/bin/objformat` 11436 else 11437 case $host_os in 11438 freebsd[23].*) objformat=aout ;; 11439 *) objformat=elf ;; 11440 esac 11441 fi 11442 version_type=freebsd-$objformat 11443 case $version_type in 11444 freebsd-elf*) 11445 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11446 soname_spec='$libname$release$shared_ext$major' 11447 need_version=no 11448 need_lib_prefix=no 11449 ;; 11450 freebsd-*) 11451 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11452 need_version=yes 11453 ;; 11454 esac 11455 shlibpath_var=LD_LIBRARY_PATH 11456 case $host_os in 11457 freebsd2.*) 11458 shlibpath_overrides_runpath=yes 11459 ;; 11460 freebsd3.[01]* | freebsdelf3.[01]*) 11461 shlibpath_overrides_runpath=yes 11462 hardcode_into_libs=yes 11463 ;; 11464 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 11465 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 11466 shlibpath_overrides_runpath=no 11467 hardcode_into_libs=yes 11468 ;; 11469 *) # from 4.6 on, and DragonFly 11470 shlibpath_overrides_runpath=yes 11471 hardcode_into_libs=yes 11472 ;; 11473 esac 11474 ;; 11475 11476haiku*) 11477 version_type=linux # correct to gnu/linux during the next big refactor 11478 need_lib_prefix=no 11479 need_version=no 11480 dynamic_linker="$host_os runtime_loader" 11481 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11482 soname_spec='$libname$release$shared_ext$major' 11483 shlibpath_var=LIBRARY_PATH 11484 shlibpath_overrides_runpath=no 11485 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 11486 hardcode_into_libs=yes 11487 ;; 11488 11489hpux9* | hpux10* | hpux11*) 11490 # Give a soname corresponding to the major version so that dld.sl refuses to 11491 # link against other versions. 11492 version_type=sunos 11493 need_lib_prefix=no 11494 need_version=no 11495 case $host_cpu in 11496 ia64*) 11497 shrext_cmds='.so' 11498 hardcode_into_libs=yes 11499 dynamic_linker="$host_os dld.so" 11500 shlibpath_var=LD_LIBRARY_PATH 11501 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11502 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11503 soname_spec='$libname$release$shared_ext$major' 11504 if test 32 = "$HPUX_IA64_MODE"; then 11505 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 11506 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 11507 else 11508 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 11509 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 11510 fi 11511 ;; 11512 hppa*64*) 11513 shrext_cmds='.sl' 11514 hardcode_into_libs=yes 11515 dynamic_linker="$host_os dld.sl" 11516 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 11517 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11518 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11519 soname_spec='$libname$release$shared_ext$major' 11520 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 11521 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11522 ;; 11523 *) 11524 shrext_cmds='.sl' 11525 dynamic_linker="$host_os dld.sl" 11526 shlibpath_var=SHLIB_PATH 11527 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 11528 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11529 soname_spec='$libname$release$shared_ext$major' 11530 ;; 11531 esac 11532 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 11533 postinstall_cmds='chmod 555 $lib' 11534 # or fails outright, so override atomically: 11535 install_override_mode=555 11536 ;; 11537 11538interix[3-9]*) 11539 version_type=linux # correct to gnu/linux during the next big refactor 11540 need_lib_prefix=no 11541 need_version=no 11542 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11543 soname_spec='$libname$release$shared_ext$major' 11544 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 11545 shlibpath_var=LD_LIBRARY_PATH 11546 shlibpath_overrides_runpath=no 11547 hardcode_into_libs=yes 11548 ;; 11549 11550irix5* | irix6* | nonstopux*) 11551 case $host_os in 11552 nonstopux*) version_type=nonstopux ;; 11553 *) 11554 if test yes = "$lt_cv_prog_gnu_ld"; then 11555 version_type=linux # correct to gnu/linux during the next big refactor 11556 else 11557 version_type=irix 11558 fi ;; 11559 esac 11560 need_lib_prefix=no 11561 need_version=no 11562 soname_spec='$libname$release$shared_ext$major' 11563 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 11564 case $host_os in 11565 irix5* | nonstopux*) 11566 libsuff= shlibsuff= 11567 ;; 11568 *) 11569 case $LD in # libtool.m4 will add one of these switches to LD 11570 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 11571 libsuff= shlibsuff= libmagic=32-bit;; 11572 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 11573 libsuff=32 shlibsuff=N32 libmagic=N32;; 11574 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 11575 libsuff=64 shlibsuff=64 libmagic=64-bit;; 11576 *) libsuff= shlibsuff= libmagic=never-match;; 11577 esac 11578 ;; 11579 esac 11580 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 11581 shlibpath_overrides_runpath=no 11582 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 11583 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 11584 hardcode_into_libs=yes 11585 ;; 11586 11587# No shared lib support for Linux oldld, aout, or coff. 11588linux*oldld* | linux*aout* | linux*coff*) 11589 dynamic_linker=no 11590 ;; 11591 11592linux*android*) 11593 version_type=none # Android doesn't support versioned libraries. 11594 need_lib_prefix=no 11595 need_version=no 11596 library_names_spec='$libname$release$shared_ext' 11597 soname_spec='$libname$release$shared_ext' 11598 finish_cmds= 11599 shlibpath_var=LD_LIBRARY_PATH 11600 shlibpath_overrides_runpath=yes 11601 11602 # This implies no fast_install, which is unacceptable. 11603 # Some rework will be needed to allow for fast_install 11604 # before this can be enabled. 11605 hardcode_into_libs=yes 11606 11607 dynamic_linker='Android linker' 11608 # Don't embed -rpath directories since the linker doesn't support them. 11609 hardcode_libdir_flag_spec='-L$libdir' 11610 ;; 11611 11612# This must be glibc/ELF. 11613linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 11614 version_type=linux # correct to gnu/linux during the next big refactor 11615 need_lib_prefix=no 11616 need_version=no 11617 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11618 soname_spec='$libname$release$shared_ext$major' 11619 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 11620 shlibpath_var=LD_LIBRARY_PATH 11621 shlibpath_overrides_runpath=no 11622 11623 # Some binutils ld are patched to set DT_RUNPATH 11624 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 11625 $as_echo_n "(cached) " >&6 11626else 11627 lt_cv_shlibpath_overrides_runpath=no 11628 save_LDFLAGS=$LDFLAGS 11629 save_libdir=$libdir 11630 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 11631 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 11632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11633/* end confdefs.h. */ 11634 11635int 11636main () 11637{ 11638 11639 ; 11640 return 0; 11641} 11642_ACEOF 11643if ac_fn_c_try_link "$LINENO"; then : 11644 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 11645 lt_cv_shlibpath_overrides_runpath=yes 11646fi 11647fi 11648rm -f core conftest.err conftest.$ac_objext \ 11649 conftest$ac_exeext conftest.$ac_ext 11650 LDFLAGS=$save_LDFLAGS 11651 libdir=$save_libdir 11652 11653fi 11654 11655 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 11656 11657 # This implies no fast_install, which is unacceptable. 11658 # Some rework will be needed to allow for fast_install 11659 # before this can be enabled. 11660 hardcode_into_libs=yes 11661 11662 # Ideally, we could use ldconfig to report *all* directores which are 11663 # searched for libraries, however this is still not possible. Aside from not 11664 # being certain /sbin/ldconfig is available, command 11665 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 11666 # even though it is searched at run-time. Try to do the best guess by 11667 # appending ld.so.conf contents (and includes) to the search path. 11668 if test -f /etc/ld.so.conf; then 11669 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' ' '` 11670 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 11671 fi 11672 11673 # We used to test for /lib/ld.so.1 and disable shared libraries on 11674 # powerpc, because MkLinux only supported shared libraries with the 11675 # GNU dynamic linker. Since this was broken with cross compilers, 11676 # most powerpc-linux boxes support dynamic linking these days and 11677 # people can always --disable-shared, the test was removed, and we 11678 # assume the GNU/Linux dynamic linker is in use. 11679 dynamic_linker='GNU/Linux ld.so' 11680 ;; 11681 11682netbsdelf*-gnu) 11683 version_type=linux 11684 need_lib_prefix=no 11685 need_version=no 11686 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11687 soname_spec='${libname}${release}${shared_ext}$major' 11688 shlibpath_var=LD_LIBRARY_PATH 11689 shlibpath_overrides_runpath=no 11690 hardcode_into_libs=yes 11691 dynamic_linker='NetBSD ld.elf_so' 11692 ;; 11693 11694netbsd*) 11695 version_type=sunos 11696 need_lib_prefix=no 11697 need_version=no 11698 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11699 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11700 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11701 dynamic_linker='NetBSD (a.out) ld.so' 11702 else 11703 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11704 soname_spec='$libname$release$shared_ext$major' 11705 dynamic_linker='NetBSD ld.elf_so' 11706 fi 11707 shlibpath_var=LD_LIBRARY_PATH 11708 shlibpath_overrides_runpath=yes 11709 hardcode_into_libs=yes 11710 ;; 11711 11712newsos6) 11713 version_type=linux # correct to gnu/linux during the next big refactor 11714 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11715 shlibpath_var=LD_LIBRARY_PATH 11716 shlibpath_overrides_runpath=yes 11717 ;; 11718 11719*nto* | *qnx*) 11720 version_type=qnx 11721 need_lib_prefix=no 11722 need_version=no 11723 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11724 soname_spec='$libname$release$shared_ext$major' 11725 shlibpath_var=LD_LIBRARY_PATH 11726 shlibpath_overrides_runpath=no 11727 hardcode_into_libs=yes 11728 dynamic_linker='ldqnx.so' 11729 ;; 11730 11731openbsd* | bitrig*) 11732 version_type=sunos 11733 sys_lib_dlsearch_path_spec=/usr/lib 11734 need_lib_prefix=no 11735 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 11736 need_version=no 11737 else 11738 need_version=yes 11739 fi 11740 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11741 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11742 shlibpath_var=LD_LIBRARY_PATH 11743 shlibpath_overrides_runpath=yes 11744 ;; 11745 11746os2*) 11747 libname_spec='$name' 11748 version_type=windows 11749 shrext_cmds=.dll 11750 need_version=no 11751 need_lib_prefix=no 11752 # OS/2 can only load a DLL with a base name of 8 characters or less. 11753 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 11754 v=$($ECHO $release$versuffix | tr -d .-); 11755 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 11756 $ECHO $n$v`$shared_ext' 11757 library_names_spec='${libname}_dll.$libext' 11758 dynamic_linker='OS/2 ld.exe' 11759 shlibpath_var=BEGINLIBPATH 11760 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 11761 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11762 postinstall_cmds='base_file=`basename \$file`~ 11763 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 11764 dldir=$destdir/`dirname \$dlpath`~ 11765 test -d \$dldir || mkdir -p \$dldir~ 11766 $install_prog $dir/$dlname \$dldir/$dlname~ 11767 chmod a+x \$dldir/$dlname~ 11768 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 11769 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 11770 fi' 11771 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 11772 dlpath=$dir/\$dldll~ 11773 $RM \$dlpath' 11774 ;; 11775 11776osf3* | osf4* | osf5*) 11777 version_type=osf 11778 need_lib_prefix=no 11779 need_version=no 11780 soname_spec='$libname$release$shared_ext$major' 11781 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11782 shlibpath_var=LD_LIBRARY_PATH 11783 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11784 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11785 ;; 11786 11787rdos*) 11788 dynamic_linker=no 11789 ;; 11790 11791solaris*) 11792 version_type=linux # correct to gnu/linux during the next big refactor 11793 need_lib_prefix=no 11794 need_version=no 11795 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11796 soname_spec='$libname$release$shared_ext$major' 11797 shlibpath_var=LD_LIBRARY_PATH 11798 shlibpath_overrides_runpath=yes 11799 hardcode_into_libs=yes 11800 # ldd complains unless libraries are executable 11801 postinstall_cmds='chmod +x $lib' 11802 ;; 11803 11804sunos4*) 11805 version_type=sunos 11806 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 11807 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11808 shlibpath_var=LD_LIBRARY_PATH 11809 shlibpath_overrides_runpath=yes 11810 if test yes = "$with_gnu_ld"; then 11811 need_lib_prefix=no 11812 fi 11813 need_version=yes 11814 ;; 11815 11816sysv4 | sysv4.3*) 11817 version_type=linux # correct to gnu/linux during the next big refactor 11818 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11819 soname_spec='$libname$release$shared_ext$major' 11820 shlibpath_var=LD_LIBRARY_PATH 11821 case $host_vendor in 11822 sni) 11823 shlibpath_overrides_runpath=no 11824 need_lib_prefix=no 11825 runpath_var=LD_RUN_PATH 11826 ;; 11827 siemens) 11828 need_lib_prefix=no 11829 ;; 11830 motorola) 11831 need_lib_prefix=no 11832 need_version=no 11833 shlibpath_overrides_runpath=no 11834 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11835 ;; 11836 esac 11837 ;; 11838 11839sysv4*MP*) 11840 if test -d /usr/nec; then 11841 version_type=linux # correct to gnu/linux during the next big refactor 11842 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 11843 soname_spec='$libname$shared_ext.$major' 11844 shlibpath_var=LD_LIBRARY_PATH 11845 fi 11846 ;; 11847 11848sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11849 version_type=sco 11850 need_lib_prefix=no 11851 need_version=no 11852 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 11853 soname_spec='$libname$release$shared_ext$major' 11854 shlibpath_var=LD_LIBRARY_PATH 11855 shlibpath_overrides_runpath=yes 11856 hardcode_into_libs=yes 11857 if test yes = "$with_gnu_ld"; then 11858 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11859 else 11860 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11861 case $host_os in 11862 sco3.2v5*) 11863 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11864 ;; 11865 esac 11866 fi 11867 sys_lib_dlsearch_path_spec='/usr/lib' 11868 ;; 11869 11870tpf*) 11871 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11872 version_type=linux # correct to gnu/linux during the next big refactor 11873 need_lib_prefix=no 11874 need_version=no 11875 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11876 shlibpath_var=LD_LIBRARY_PATH 11877 shlibpath_overrides_runpath=no 11878 hardcode_into_libs=yes 11879 ;; 11880 11881uts4*) 11882 version_type=linux # correct to gnu/linux during the next big refactor 11883 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 11884 soname_spec='$libname$release$shared_ext$major' 11885 shlibpath_var=LD_LIBRARY_PATH 11886 ;; 11887 11888*) 11889 dynamic_linker=no 11890 ;; 11891esac 11892{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 11893$as_echo "$dynamic_linker" >&6; } 11894test no = "$dynamic_linker" && can_build_shared=no 11895 11896variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11897if test yes = "$GCC"; then 11898 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11899fi 11900 11901if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 11902 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 11903fi 11904 11905if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 11906 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 11907fi 11908 11909# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 11910configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 11911 11912# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 11913func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 11914 11915# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 11916configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 11917 11918 11919 11920 11921 11922 11923 11924 11925 11926 11927 11928 11929 11930 11931 11932 11933 11934 11935 11936 11937 11938 11939 11940 11941 11942 11943 11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 11958 11959 11960 11961 11962 11963 11964 11965 11966 11967 11968 11969 11970 11971 11972 11973 11974 11975 11976 11977 11978 11979 11980 11981 11982 11983 11984 11985 11986 11987 11988 11989 11990 11991 11992 11993 11994 11995 11996 11997 11998 11999 12000 12001 12002 12003 12004 12005 12006 12007 12008 12009 12010 12011 12012 12013 12014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 12015$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 12016hardcode_action= 12017if test -n "$hardcode_libdir_flag_spec" || 12018 test -n "$runpath_var" || 12019 test yes = "$hardcode_automatic"; then 12020 12021 # We can hardcode non-existent directories. 12022 if test no != "$hardcode_direct" && 12023 # If the only mechanism to avoid hardcoding is shlibpath_var, we 12024 # have to relink, otherwise we might link with an installed library 12025 # when we should be linking with a yet-to-be-installed one 12026 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 12027 test no != "$hardcode_minus_L"; then 12028 # Linking always hardcodes the temporary library directory. 12029 hardcode_action=relink 12030 else 12031 # We can link without hardcoding, and we can hardcode nonexisting dirs. 12032 hardcode_action=immediate 12033 fi 12034else 12035 # We cannot hardcode anything, or else we can only hardcode existing 12036 # directories. 12037 hardcode_action=unsupported 12038fi 12039{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 12040$as_echo "$hardcode_action" >&6; } 12041 12042if test relink = "$hardcode_action" || 12043 test yes = "$inherit_rpath"; then 12044 # Fast installation is not supported 12045 enable_fast_install=no 12046elif test yes = "$shlibpath_overrides_runpath" || 12047 test no = "$enable_shared"; then 12048 # Fast installation is not necessary 12049 enable_fast_install=needless 12050fi 12051 12052 12053 12054 12055 12056 12057 if test yes != "$enable_dlopen"; then 12058 enable_dlopen=unknown 12059 enable_dlopen_self=unknown 12060 enable_dlopen_self_static=unknown 12061else 12062 lt_cv_dlopen=no 12063 lt_cv_dlopen_libs= 12064 12065 case $host_os in 12066 beos*) 12067 lt_cv_dlopen=load_add_on 12068 lt_cv_dlopen_libs= 12069 lt_cv_dlopen_self=yes 12070 ;; 12071 12072 mingw* | pw32* | cegcc*) 12073 lt_cv_dlopen=LoadLibrary 12074 lt_cv_dlopen_libs= 12075 ;; 12076 12077 cygwin*) 12078 lt_cv_dlopen=dlopen 12079 lt_cv_dlopen_libs= 12080 ;; 12081 12082 darwin*) 12083 # if libdl is installed we need to link against it 12084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12085$as_echo_n "checking for dlopen in -ldl... " >&6; } 12086if ${ac_cv_lib_dl_dlopen+:} false; then : 12087 $as_echo_n "(cached) " >&6 12088else 12089 ac_check_lib_save_LIBS=$LIBS 12090LIBS="-ldl $LIBS" 12091cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12092/* end confdefs.h. */ 12093 12094/* Override any GCC internal prototype to avoid an error. 12095 Use char because int might match the return type of a GCC 12096 builtin and then its argument prototype would still apply. */ 12097#ifdef __cplusplus 12098extern "C" 12099#endif 12100char dlopen (); 12101int 12102main () 12103{ 12104return dlopen (); 12105 ; 12106 return 0; 12107} 12108_ACEOF 12109if ac_fn_c_try_link "$LINENO"; then : 12110 ac_cv_lib_dl_dlopen=yes 12111else 12112 ac_cv_lib_dl_dlopen=no 12113fi 12114rm -f core conftest.err conftest.$ac_objext \ 12115 conftest$ac_exeext conftest.$ac_ext 12116LIBS=$ac_check_lib_save_LIBS 12117fi 12118{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12119$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12120if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12121 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 12122else 12123 12124 lt_cv_dlopen=dyld 12125 lt_cv_dlopen_libs= 12126 lt_cv_dlopen_self=yes 12127 12128fi 12129 12130 ;; 12131 12132 tpf*) 12133 # Don't try to run any link tests for TPF. We know it's impossible 12134 # because TPF is a cross-compiler, and we know how we open DSOs. 12135 lt_cv_dlopen=dlopen 12136 lt_cv_dlopen_libs= 12137 lt_cv_dlopen_self=no 12138 ;; 12139 12140 *) 12141 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 12142if test "x$ac_cv_func_shl_load" = xyes; then : 12143 lt_cv_dlopen=shl_load 12144else 12145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 12146$as_echo_n "checking for shl_load in -ldld... " >&6; } 12147if ${ac_cv_lib_dld_shl_load+:} false; then : 12148 $as_echo_n "(cached) " >&6 12149else 12150 ac_check_lib_save_LIBS=$LIBS 12151LIBS="-ldld $LIBS" 12152cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12153/* end confdefs.h. */ 12154 12155/* Override any GCC internal prototype to avoid an error. 12156 Use char because int might match the return type of a GCC 12157 builtin and then its argument prototype would still apply. */ 12158#ifdef __cplusplus 12159extern "C" 12160#endif 12161char shl_load (); 12162int 12163main () 12164{ 12165return shl_load (); 12166 ; 12167 return 0; 12168} 12169_ACEOF 12170if ac_fn_c_try_link "$LINENO"; then : 12171 ac_cv_lib_dld_shl_load=yes 12172else 12173 ac_cv_lib_dld_shl_load=no 12174fi 12175rm -f core conftest.err conftest.$ac_objext \ 12176 conftest$ac_exeext conftest.$ac_ext 12177LIBS=$ac_check_lib_save_LIBS 12178fi 12179{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 12180$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 12181if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 12182 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 12183else 12184 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 12185if test "x$ac_cv_func_dlopen" = xyes; then : 12186 lt_cv_dlopen=dlopen 12187else 12188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12189$as_echo_n "checking for dlopen in -ldl... " >&6; } 12190if ${ac_cv_lib_dl_dlopen+:} false; then : 12191 $as_echo_n "(cached) " >&6 12192else 12193 ac_check_lib_save_LIBS=$LIBS 12194LIBS="-ldl $LIBS" 12195cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12196/* end confdefs.h. */ 12197 12198/* Override any GCC internal prototype to avoid an error. 12199 Use char because int might match the return type of a GCC 12200 builtin and then its argument prototype would still apply. */ 12201#ifdef __cplusplus 12202extern "C" 12203#endif 12204char dlopen (); 12205int 12206main () 12207{ 12208return dlopen (); 12209 ; 12210 return 0; 12211} 12212_ACEOF 12213if ac_fn_c_try_link "$LINENO"; then : 12214 ac_cv_lib_dl_dlopen=yes 12215else 12216 ac_cv_lib_dl_dlopen=no 12217fi 12218rm -f core conftest.err conftest.$ac_objext \ 12219 conftest$ac_exeext conftest.$ac_ext 12220LIBS=$ac_check_lib_save_LIBS 12221fi 12222{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 12223$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12224if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 12225 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 12226else 12227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 12228$as_echo_n "checking for dlopen in -lsvld... " >&6; } 12229if ${ac_cv_lib_svld_dlopen+:} false; then : 12230 $as_echo_n "(cached) " >&6 12231else 12232 ac_check_lib_save_LIBS=$LIBS 12233LIBS="-lsvld $LIBS" 12234cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12235/* end confdefs.h. */ 12236 12237/* Override any GCC internal prototype to avoid an error. 12238 Use char because int might match the return type of a GCC 12239 builtin and then its argument prototype would still apply. */ 12240#ifdef __cplusplus 12241extern "C" 12242#endif 12243char dlopen (); 12244int 12245main () 12246{ 12247return dlopen (); 12248 ; 12249 return 0; 12250} 12251_ACEOF 12252if ac_fn_c_try_link "$LINENO"; then : 12253 ac_cv_lib_svld_dlopen=yes 12254else 12255 ac_cv_lib_svld_dlopen=no 12256fi 12257rm -f core conftest.err conftest.$ac_objext \ 12258 conftest$ac_exeext conftest.$ac_ext 12259LIBS=$ac_check_lib_save_LIBS 12260fi 12261{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 12262$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 12263if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 12264 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 12265else 12266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 12267$as_echo_n "checking for dld_link in -ldld... " >&6; } 12268if ${ac_cv_lib_dld_dld_link+:} false; then : 12269 $as_echo_n "(cached) " >&6 12270else 12271 ac_check_lib_save_LIBS=$LIBS 12272LIBS="-ldld $LIBS" 12273cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12274/* end confdefs.h. */ 12275 12276/* Override any GCC internal prototype to avoid an error. 12277 Use char because int might match the return type of a GCC 12278 builtin and then its argument prototype would still apply. */ 12279#ifdef __cplusplus 12280extern "C" 12281#endif 12282char dld_link (); 12283int 12284main () 12285{ 12286return dld_link (); 12287 ; 12288 return 0; 12289} 12290_ACEOF 12291if ac_fn_c_try_link "$LINENO"; then : 12292 ac_cv_lib_dld_dld_link=yes 12293else 12294 ac_cv_lib_dld_dld_link=no 12295fi 12296rm -f core conftest.err conftest.$ac_objext \ 12297 conftest$ac_exeext conftest.$ac_ext 12298LIBS=$ac_check_lib_save_LIBS 12299fi 12300{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 12301$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 12302if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 12303 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 12304fi 12305 12306 12307fi 12308 12309 12310fi 12311 12312 12313fi 12314 12315 12316fi 12317 12318 12319fi 12320 12321 ;; 12322 esac 12323 12324 if test no = "$lt_cv_dlopen"; then 12325 enable_dlopen=no 12326 else 12327 enable_dlopen=yes 12328 fi 12329 12330 case $lt_cv_dlopen in 12331 dlopen) 12332 save_CPPFLAGS=$CPPFLAGS 12333 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 12334 12335 save_LDFLAGS=$LDFLAGS 12336 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 12337 12338 save_LIBS=$LIBS 12339 LIBS="$lt_cv_dlopen_libs $LIBS" 12340 12341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 12342$as_echo_n "checking whether a program can dlopen itself... " >&6; } 12343if ${lt_cv_dlopen_self+:} false; then : 12344 $as_echo_n "(cached) " >&6 12345else 12346 if test yes = "$cross_compiling"; then : 12347 lt_cv_dlopen_self=cross 12348else 12349 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12350 lt_status=$lt_dlunknown 12351 cat > conftest.$ac_ext <<_LT_EOF 12352#line $LINENO "configure" 12353#include "confdefs.h" 12354 12355#if HAVE_DLFCN_H 12356#include <dlfcn.h> 12357#endif 12358 12359#include <stdio.h> 12360 12361#ifdef RTLD_GLOBAL 12362# define LT_DLGLOBAL RTLD_GLOBAL 12363#else 12364# ifdef DL_GLOBAL 12365# define LT_DLGLOBAL DL_GLOBAL 12366# else 12367# define LT_DLGLOBAL 0 12368# endif 12369#endif 12370 12371/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12372 find out it does not work in some platform. */ 12373#ifndef LT_DLLAZY_OR_NOW 12374# ifdef RTLD_LAZY 12375# define LT_DLLAZY_OR_NOW RTLD_LAZY 12376# else 12377# ifdef DL_LAZY 12378# define LT_DLLAZY_OR_NOW DL_LAZY 12379# else 12380# ifdef RTLD_NOW 12381# define LT_DLLAZY_OR_NOW RTLD_NOW 12382# else 12383# ifdef DL_NOW 12384# define LT_DLLAZY_OR_NOW DL_NOW 12385# else 12386# define LT_DLLAZY_OR_NOW 0 12387# endif 12388# endif 12389# endif 12390# endif 12391#endif 12392 12393/* When -fvisibility=hidden is used, assume the code has been annotated 12394 correspondingly for the symbols needed. */ 12395#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12396int fnord () __attribute__((visibility("default"))); 12397#endif 12398 12399int fnord () { return 42; } 12400int main () 12401{ 12402 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12403 int status = $lt_dlunknown; 12404 12405 if (self) 12406 { 12407 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12408 else 12409 { 12410 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12411 else puts (dlerror ()); 12412 } 12413 /* dlclose (self); */ 12414 } 12415 else 12416 puts (dlerror ()); 12417 12418 return status; 12419} 12420_LT_EOF 12421 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12422 (eval $ac_link) 2>&5 12423 ac_status=$? 12424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12425 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12426 (./conftest; exit; ) >&5 2>/dev/null 12427 lt_status=$? 12428 case x$lt_status in 12429 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 12430 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 12431 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 12432 esac 12433 else : 12434 # compilation failed 12435 lt_cv_dlopen_self=no 12436 fi 12437fi 12438rm -fr conftest* 12439 12440 12441fi 12442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 12443$as_echo "$lt_cv_dlopen_self" >&6; } 12444 12445 if test yes = "$lt_cv_dlopen_self"; then 12446 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 12447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 12448$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 12449if ${lt_cv_dlopen_self_static+:} false; then : 12450 $as_echo_n "(cached) " >&6 12451else 12452 if test yes = "$cross_compiling"; then : 12453 lt_cv_dlopen_self_static=cross 12454else 12455 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12456 lt_status=$lt_dlunknown 12457 cat > conftest.$ac_ext <<_LT_EOF 12458#line $LINENO "configure" 12459#include "confdefs.h" 12460 12461#if HAVE_DLFCN_H 12462#include <dlfcn.h> 12463#endif 12464 12465#include <stdio.h> 12466 12467#ifdef RTLD_GLOBAL 12468# define LT_DLGLOBAL RTLD_GLOBAL 12469#else 12470# ifdef DL_GLOBAL 12471# define LT_DLGLOBAL DL_GLOBAL 12472# else 12473# define LT_DLGLOBAL 0 12474# endif 12475#endif 12476 12477/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12478 find out it does not work in some platform. */ 12479#ifndef LT_DLLAZY_OR_NOW 12480# ifdef RTLD_LAZY 12481# define LT_DLLAZY_OR_NOW RTLD_LAZY 12482# else 12483# ifdef DL_LAZY 12484# define LT_DLLAZY_OR_NOW DL_LAZY 12485# else 12486# ifdef RTLD_NOW 12487# define LT_DLLAZY_OR_NOW RTLD_NOW 12488# else 12489# ifdef DL_NOW 12490# define LT_DLLAZY_OR_NOW DL_NOW 12491# else 12492# define LT_DLLAZY_OR_NOW 0 12493# endif 12494# endif 12495# endif 12496# endif 12497#endif 12498 12499/* When -fvisibility=hidden is used, assume the code has been annotated 12500 correspondingly for the symbols needed. */ 12501#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12502int fnord () __attribute__((visibility("default"))); 12503#endif 12504 12505int fnord () { return 42; } 12506int main () 12507{ 12508 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12509 int status = $lt_dlunknown; 12510 12511 if (self) 12512 { 12513 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12514 else 12515 { 12516 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12517 else puts (dlerror ()); 12518 } 12519 /* dlclose (self); */ 12520 } 12521 else 12522 puts (dlerror ()); 12523 12524 return status; 12525} 12526_LT_EOF 12527 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 12528 (eval $ac_link) 2>&5 12529 ac_status=$? 12530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 12531 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 12532 (./conftest; exit; ) >&5 2>/dev/null 12533 lt_status=$? 12534 case x$lt_status in 12535 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 12536 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 12537 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 12538 esac 12539 else : 12540 # compilation failed 12541 lt_cv_dlopen_self_static=no 12542 fi 12543fi 12544rm -fr conftest* 12545 12546 12547fi 12548{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 12549$as_echo "$lt_cv_dlopen_self_static" >&6; } 12550 fi 12551 12552 CPPFLAGS=$save_CPPFLAGS 12553 LDFLAGS=$save_LDFLAGS 12554 LIBS=$save_LIBS 12555 ;; 12556 esac 12557 12558 case $lt_cv_dlopen_self in 12559 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 12560 *) enable_dlopen_self=unknown ;; 12561 esac 12562 12563 case $lt_cv_dlopen_self_static in 12564 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 12565 *) enable_dlopen_self_static=unknown ;; 12566 esac 12567fi 12568 12569 12570 12571 12572 12573 12574 12575 12576 12577 12578 12579 12580 12581 12582 12583 12584 12585striplib= 12586old_striplib= 12587{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 12588$as_echo_n "checking whether stripping libraries is possible... " >&6; } 12589if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 12590 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 12591 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 12592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12593$as_echo "yes" >&6; } 12594else 12595# FIXME - insert some real tests, host_os isn't really good enough 12596 case $host_os in 12597 darwin*) 12598 if test -n "$STRIP"; then 12599 striplib="$STRIP -x" 12600 old_striplib="$STRIP -S" 12601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12602$as_echo "yes" >&6; } 12603 else 12604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12605$as_echo "no" >&6; } 12606 fi 12607 ;; 12608 *) 12609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12610$as_echo "no" >&6; } 12611 ;; 12612 esac 12613fi 12614 12615 12616 12617 12618 12619 12620 12621 12622 12623 12624 12625 12626 # Report what library types will actually be built 12627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 12628$as_echo_n "checking if libtool supports shared libraries... " >&6; } 12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 12630$as_echo "$can_build_shared" >&6; } 12631 12632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 12633$as_echo_n "checking whether to build shared libraries... " >&6; } 12634 test no = "$can_build_shared" && enable_shared=no 12635 12636 # On AIX, shared libraries and static libraries use the same namespace, and 12637 # are all built from PIC. 12638 case $host_os in 12639 aix3*) 12640 test yes = "$enable_shared" && enable_static=no 12641 if test -n "$RANLIB"; then 12642 archive_cmds="$archive_cmds~\$RANLIB \$lib" 12643 postinstall_cmds='$RANLIB $lib' 12644 fi 12645 ;; 12646 12647 aix[4-9]*) 12648 if test ia64 != "$host_cpu"; then 12649 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 12650 yes,aix,yes) ;; # shared object as lib.so file only 12651 yes,svr4,*) ;; # shared object as lib.so archive member only 12652 yes,*) enable_static=no ;; # shared object in lib.a archive as well 12653 esac 12654 fi 12655 ;; 12656 esac 12657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 12658$as_echo "$enable_shared" >&6; } 12659 12660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 12661$as_echo_n "checking whether to build static libraries... " >&6; } 12662 # Make sure either enable_shared or enable_static is yes. 12663 test yes = "$enable_shared" || enable_static=yes 12664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 12665$as_echo "$enable_static" >&6; } 12666 12667 12668 12669 12670fi 12671ac_ext=c 12672ac_cpp='$CPP $CPPFLAGS' 12673ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12674ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12675ac_compiler_gnu=$ac_cv_c_compiler_gnu 12676 12677CC=$lt_save_CC 12678 12679 12680 12681 12682 12683 12684 12685 12686 12687 12688 12689 12690 12691 12692 12693 ac_config_commands="$ac_config_commands libtool" 12694 12695 12696 12697 12698# Only expand once: 12699 12700 12701 12702 12703 12704if test "z$RM" = "z" ; then 12705 # Extract the first word of "rm", so it can be a program name with args. 12706set dummy rm; ac_word=$2 12707{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12708$as_echo_n "checking for $ac_word... " >&6; } 12709if ${ac_cv_path_RM+:} false; then : 12710 $as_echo_n "(cached) " >&6 12711else 12712 case $RM in 12713 [\\/]* | ?:[\\/]*) 12714 ac_cv_path_RM="$RM" # Let the user override the test with a path. 12715 ;; 12716 *) 12717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12718for as_dir in $PATH 12719do 12720 IFS=$as_save_IFS 12721 test -z "$as_dir" && as_dir=. 12722 for ac_exec_ext in '' $ac_executable_extensions; do 12723 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12724 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext" 12725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12726 break 2 12727 fi 12728done 12729 done 12730IFS=$as_save_IFS 12731 12732 test -z "$ac_cv_path_RM" && ac_cv_path_RM="/bin/rm" 12733 ;; 12734esac 12735fi 12736RM=$ac_cv_path_RM 12737if test -n "$RM"; then 12738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5 12739$as_echo "$RM" >&6; } 12740else 12741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12742$as_echo "no" >&6; } 12743fi 12744 12745 12746fi 12747# Extract the first word of "cp", so it can be a program name with args. 12748set dummy cp; ac_word=$2 12749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12750$as_echo_n "checking for $ac_word... " >&6; } 12751if ${ac_cv_path_CP+:} false; then : 12752 $as_echo_n "(cached) " >&6 12753else 12754 case $CP in 12755 [\\/]* | ?:[\\/]*) 12756 ac_cv_path_CP="$CP" # Let the user override the test with a path. 12757 ;; 12758 *) 12759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12760for as_dir in $PATH 12761do 12762 IFS=$as_save_IFS 12763 test -z "$as_dir" && as_dir=. 12764 for ac_exec_ext in '' $ac_executable_extensions; do 12765 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12766 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext" 12767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12768 break 2 12769 fi 12770done 12771 done 12772IFS=$as_save_IFS 12773 12774 test -z "$ac_cv_path_CP" && ac_cv_path_CP="/bin/cp" 12775 ;; 12776esac 12777fi 12778CP=$ac_cv_path_CP 12779if test -n "$CP"; then 12780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5 12781$as_echo "$CP" >&6; } 12782else 12783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12784$as_echo "no" >&6; } 12785fi 12786 12787 12788# Extract the first word of "mv", so it can be a program name with args. 12789set dummy mv; ac_word=$2 12790{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12791$as_echo_n "checking for $ac_word... " >&6; } 12792if ${ac_cv_path_MV+:} false; then : 12793 $as_echo_n "(cached) " >&6 12794else 12795 case $MV in 12796 [\\/]* | ?:[\\/]*) 12797 ac_cv_path_MV="$MV" # Let the user override the test with a path. 12798 ;; 12799 *) 12800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12801for as_dir in $PATH 12802do 12803 IFS=$as_save_IFS 12804 test -z "$as_dir" && as_dir=. 12805 for ac_exec_ext in '' $ac_executable_extensions; do 12806 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12807 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext" 12808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12809 break 2 12810 fi 12811done 12812 done 12813IFS=$as_save_IFS 12814 12815 test -z "$ac_cv_path_MV" && ac_cv_path_MV="/bin/mv" 12816 ;; 12817esac 12818fi 12819MV=$ac_cv_path_MV 12820if test -n "$MV"; then 12821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5 12822$as_echo "$MV" >&6; } 12823else 12824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12825$as_echo "no" >&6; } 12826fi 12827 12828 12829# Extract the first word of "tar", so it can be a program name with args. 12830set dummy tar; ac_word=$2 12831{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12832$as_echo_n "checking for $ac_word... " >&6; } 12833if ${ac_cv_path_TAR+:} false; then : 12834 $as_echo_n "(cached) " >&6 12835else 12836 case $TAR in 12837 [\\/]* | ?:[\\/]*) 12838 ac_cv_path_TAR="$TAR" # Let the user override the test with a path. 12839 ;; 12840 *) 12841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12842for as_dir in $PATH 12843do 12844 IFS=$as_save_IFS 12845 test -z "$as_dir" && as_dir=. 12846 for ac_exec_ext in '' $ac_executable_extensions; do 12847 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12848 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext" 12849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12850 break 2 12851 fi 12852done 12853 done 12854IFS=$as_save_IFS 12855 12856 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR="/bin/tar" 12857 ;; 12858esac 12859fi 12860TAR=$ac_cv_path_TAR 12861if test -n "$TAR"; then 12862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5 12863$as_echo "$TAR" >&6; } 12864else 12865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12866$as_echo "no" >&6; } 12867fi 12868 12869 12870# Extract the first word of "perl", so it can be a program name with args. 12871set dummy perl; ac_word=$2 12872{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12873$as_echo_n "checking for $ac_word... " >&6; } 12874if ${ac_cv_path_PERL+:} false; then : 12875 $as_echo_n "(cached) " >&6 12876else 12877 case $PERL in 12878 [\\/]* | ?:[\\/]*) 12879 ac_cv_path_PERL="$PERL" # Let the user override the test with a path. 12880 ;; 12881 *) 12882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12883for as_dir in $PATH 12884do 12885 IFS=$as_save_IFS 12886 test -z "$as_dir" && as_dir=. 12887 for ac_exec_ext in '' $ac_executable_extensions; do 12888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12889 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 12890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12891 break 2 12892 fi 12893done 12894 done 12895IFS=$as_save_IFS 12896 12897 ;; 12898esac 12899fi 12900PERL=$ac_cv_path_PERL 12901if test -n "$PERL"; then 12902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 12903$as_echo "$PERL" >&6; } 12904else 12905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12906$as_echo "no" >&6; } 12907fi 12908 12909 12910 12911# Extract the first word of "help2man", so it can be a program name with args. 12912set dummy help2man; ac_word=$2 12913{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12914$as_echo_n "checking for $ac_word... " >&6; } 12915if ${ac_cv_path_HELP2MAN+:} false; then : 12916 $as_echo_n "(cached) " >&6 12917else 12918 case $HELP2MAN in 12919 [\\/]* | ?:[\\/]*) 12920 ac_cv_path_HELP2MAN="$HELP2MAN" # Let the user override the test with a path. 12921 ;; 12922 *) 12923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12924for as_dir in $PATH 12925do 12926 IFS=$as_save_IFS 12927 test -z "$as_dir" && as_dir=. 12928 for ac_exec_ext in '' $ac_executable_extensions; do 12929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12930 ac_cv_path_HELP2MAN="$as_dir/$ac_word$ac_exec_ext" 12931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12932 break 2 12933 fi 12934done 12935 done 12936IFS=$as_save_IFS 12937 12938 ;; 12939esac 12940fi 12941HELP2MAN=$ac_cv_path_HELP2MAN 12942if test -n "$HELP2MAN"; then 12943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HELP2MAN" >&5 12944$as_echo "$HELP2MAN" >&6; } 12945else 12946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12947$as_echo "no" >&6; } 12948fi 12949 12950 12951# Extract the first word of "xsltproc", so it can be a program name with args. 12952set dummy xsltproc; ac_word=$2 12953{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12954$as_echo_n "checking for $ac_word... " >&6; } 12955if ${ac_cv_path_XSLTPROC+:} false; then : 12956 $as_echo_n "(cached) " >&6 12957else 12958 case $XSLTPROC in 12959 [\\/]* | ?:[\\/]*) 12960 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path. 12961 ;; 12962 *) 12963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12964for as_dir in $PATH 12965do 12966 IFS=$as_save_IFS 12967 test -z "$as_dir" && as_dir=. 12968 for ac_exec_ext in '' $ac_executable_extensions; do 12969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12970 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext" 12971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12972 break 2 12973 fi 12974done 12975 done 12976IFS=$as_save_IFS 12977 12978 ;; 12979esac 12980fi 12981XSLTPROC=$ac_cv_path_XSLTPROC 12982if test -n "$XSLTPROC"; then 12983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5 12984$as_echo "$XSLTPROC" >&6; } 12985else 12986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12987$as_echo "no" >&6; } 12988fi 12989 12990 12991# Extract the first word of "man2html", so it can be a program name with args. 12992set dummy man2html; ac_word=$2 12993{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12994$as_echo_n "checking for $ac_word... " >&6; } 12995if ${ac_cv_path_MAN2HTML+:} false; then : 12996 $as_echo_n "(cached) " >&6 12997else 12998 case $MAN2HTML in 12999 [\\/]* | ?:[\\/]*) 13000 ac_cv_path_MAN2HTML="$MAN2HTML" # Let the user override the test with a path. 13001 ;; 13002 *) 13003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13004for as_dir in $PATH 13005do 13006 IFS=$as_save_IFS 13007 test -z "$as_dir" && as_dir=. 13008 for ac_exec_ext in '' $ac_executable_extensions; do 13009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13010 ac_cv_path_MAN2HTML="$as_dir/$ac_word$ac_exec_ext" 13011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13012 break 2 13013 fi 13014done 13015 done 13016IFS=$as_save_IFS 13017 13018 ;; 13019esac 13020fi 13021MAN2HTML=$ac_cv_path_MAN2HTML 13022if test -n "$MAN2HTML"; then 13023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAN2HTML" >&5 13024$as_echo "$MAN2HTML" >&6; } 13025else 13026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13027$as_echo "no" >&6; } 13028fi 13029 13030 13031# Extract the first word of "gtkdoc-mkhtml", so it can be a program name with args. 13032set dummy gtkdoc-mkhtml; ac_word=$2 13033{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13034$as_echo_n "checking for $ac_word... " >&6; } 13035if ${ac_cv_path_GTKDOC_MKHTML+:} false; then : 13036 $as_echo_n "(cached) " >&6 13037else 13038 case $GTKDOC_MKHTML in 13039 [\\/]* | ?:[\\/]*) 13040 ac_cv_path_GTKDOC_MKHTML="$GTKDOC_MKHTML" # Let the user override the test with a path. 13041 ;; 13042 *) 13043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13044for as_dir in $PATH 13045do 13046 IFS=$as_save_IFS 13047 test -z "$as_dir" && as_dir=. 13048 for ac_exec_ext in '' $ac_executable_extensions; do 13049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13050 ac_cv_path_GTKDOC_MKHTML="$as_dir/$ac_word$ac_exec_ext" 13051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13052 break 2 13053 fi 13054done 13055 done 13056IFS=$as_save_IFS 13057 13058 ;; 13059esac 13060fi 13061GTKDOC_MKHTML=$ac_cv_path_GTKDOC_MKHTML 13062if test -n "$GTKDOC_MKHTML"; then 13063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKHTML" >&5 13064$as_echo "$GTKDOC_MKHTML" >&6; } 13065else 13066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13067$as_echo "no" >&6; } 13068fi 13069 13070 13071# Extract the first word of "gtkdoc-mkdb", so it can be a program name with args. 13072set dummy gtkdoc-mkdb; ac_word=$2 13073{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13074$as_echo_n "checking for $ac_word... " >&6; } 13075if ${ac_cv_path_GTKDOC_MKDB+:} false; then : 13076 $as_echo_n "(cached) " >&6 13077else 13078 case $GTKDOC_MKDB in 13079 [\\/]* | ?:[\\/]*) 13080 ac_cv_path_GTKDOC_MKDB="$GTKDOC_MKDB" # Let the user override the test with a path. 13081 ;; 13082 *) 13083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13084for as_dir in $PATH 13085do 13086 IFS=$as_save_IFS 13087 test -z "$as_dir" && as_dir=. 13088 for ac_exec_ext in '' $ac_executable_extensions; do 13089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13090 ac_cv_path_GTKDOC_MKDB="$as_dir/$ac_word$ac_exec_ext" 13091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13092 break 2 13093 fi 13094done 13095 done 13096IFS=$as_save_IFS 13097 13098 ;; 13099esac 13100fi 13101GTKDOC_MKDB=$ac_cv_path_GTKDOC_MKDB 13102if test -n "$GTKDOC_MKDB"; then 13103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKDB" >&5 13104$as_echo "$GTKDOC_MKDB" >&6; } 13105else 13106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13107$as_echo "no" >&6; } 13108fi 13109 13110 13111# Extract the first word of "gtkdoc-scan", so it can be a program name with args. 13112set dummy gtkdoc-scan; ac_word=$2 13113{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13114$as_echo_n "checking for $ac_word... " >&6; } 13115if ${ac_cv_path_GTKDOC_SCAN+:} false; then : 13116 $as_echo_n "(cached) " >&6 13117else 13118 case $GTKDOC_SCAN in 13119 [\\/]* | ?:[\\/]*) 13120 ac_cv_path_GTKDOC_SCAN="$GTKDOC_SCAN" # Let the user override the test with a path. 13121 ;; 13122 *) 13123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13124for as_dir in $PATH 13125do 13126 IFS=$as_save_IFS 13127 test -z "$as_dir" && as_dir=. 13128 for ac_exec_ext in '' $ac_executable_extensions; do 13129 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13130 ac_cv_path_GTKDOC_SCAN="$as_dir/$ac_word$ac_exec_ext" 13131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13132 break 2 13133 fi 13134done 13135 done 13136IFS=$as_save_IFS 13137 13138 ;; 13139esac 13140fi 13141GTKDOC_SCAN=$ac_cv_path_GTKDOC_SCAN 13142if test -n "$GTKDOC_SCAN"; then 13143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_SCAN" >&5 13144$as_echo "$GTKDOC_SCAN" >&6; } 13145else 13146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13147$as_echo "no" >&6; } 13148fi 13149 13150 13151 if test x"$HELP2MAN" != x; then 13152 HAS_HELP2MAN_TRUE= 13153 HAS_HELP2MAN_FALSE='#' 13154else 13155 HAS_HELP2MAN_TRUE='#' 13156 HAS_HELP2MAN_FALSE= 13157fi 13158 13159 if test x"$MAN2HTML" != x; then 13160 HAS_MAN2HTML_TRUE= 13161 HAS_MAN2HTML_FALSE='#' 13162else 13163 HAS_MAN2HTML_TRUE='#' 13164 HAS_MAN2HTML_FALSE= 13165fi 13166 13167 if test x"$XSLTPROC" != x; then 13168 HAS_XSLTPROC_TRUE= 13169 HAS_XSLTPROC_FALSE='#' 13170else 13171 HAS_XSLTPROC_TRUE='#' 13172 HAS_XSLTPROC_FALSE= 13173fi 13174 13175 13176ac_header_dirent=no 13177for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 13178 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 13179{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 13180$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } 13181if eval \${$as_ac_Header+:} false; then : 13182 $as_echo_n "(cached) " >&6 13183else 13184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13185/* end confdefs.h. */ 13186#include <sys/types.h> 13187#include <$ac_hdr> 13188 13189int 13190main () 13191{ 13192if ((DIR *) 0) 13193return 0; 13194 ; 13195 return 0; 13196} 13197_ACEOF 13198if ac_fn_c_try_compile "$LINENO"; then : 13199 eval "$as_ac_Header=yes" 13200else 13201 eval "$as_ac_Header=no" 13202fi 13203rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13204fi 13205eval ac_res=\$$as_ac_Header 13206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 13207$as_echo "$ac_res" >&6; } 13208if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 13209 cat >>confdefs.h <<_ACEOF 13210#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 13211_ACEOF 13212 13213ac_header_dirent=$ac_hdr; break 13214fi 13215 13216done 13217# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 13218if test $ac_header_dirent = dirent.h; then 13219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 13220$as_echo_n "checking for library containing opendir... " >&6; } 13221if ${ac_cv_search_opendir+:} false; then : 13222 $as_echo_n "(cached) " >&6 13223else 13224 ac_func_search_save_LIBS=$LIBS 13225cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13226/* end confdefs.h. */ 13227 13228/* Override any GCC internal prototype to avoid an error. 13229 Use char because int might match the return type of a GCC 13230 builtin and then its argument prototype would still apply. */ 13231#ifdef __cplusplus 13232extern "C" 13233#endif 13234char opendir (); 13235int 13236main () 13237{ 13238return opendir (); 13239 ; 13240 return 0; 13241} 13242_ACEOF 13243for ac_lib in '' dir; do 13244 if test -z "$ac_lib"; then 13245 ac_res="none required" 13246 else 13247 ac_res=-l$ac_lib 13248 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 13249 fi 13250 if ac_fn_c_try_link "$LINENO"; then : 13251 ac_cv_search_opendir=$ac_res 13252fi 13253rm -f core conftest.err conftest.$ac_objext \ 13254 conftest$ac_exeext 13255 if ${ac_cv_search_opendir+:} false; then : 13256 break 13257fi 13258done 13259if ${ac_cv_search_opendir+:} false; then : 13260 13261else 13262 ac_cv_search_opendir=no 13263fi 13264rm conftest.$ac_ext 13265LIBS=$ac_func_search_save_LIBS 13266fi 13267{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 13268$as_echo "$ac_cv_search_opendir" >&6; } 13269ac_res=$ac_cv_search_opendir 13270if test "$ac_res" != no; then : 13271 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 13272 13273fi 13274 13275else 13276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 13277$as_echo_n "checking for library containing opendir... " >&6; } 13278if ${ac_cv_search_opendir+:} false; then : 13279 $as_echo_n "(cached) " >&6 13280else 13281 ac_func_search_save_LIBS=$LIBS 13282cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13283/* end confdefs.h. */ 13284 13285/* Override any GCC internal prototype to avoid an error. 13286 Use char because int might match the return type of a GCC 13287 builtin and then its argument prototype would still apply. */ 13288#ifdef __cplusplus 13289extern "C" 13290#endif 13291char opendir (); 13292int 13293main () 13294{ 13295return opendir (); 13296 ; 13297 return 0; 13298} 13299_ACEOF 13300for ac_lib in '' x; do 13301 if test -z "$ac_lib"; then 13302 ac_res="none required" 13303 else 13304 ac_res=-l$ac_lib 13305 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 13306 fi 13307 if ac_fn_c_try_link "$LINENO"; then : 13308 ac_cv_search_opendir=$ac_res 13309fi 13310rm -f core conftest.err conftest.$ac_objext \ 13311 conftest$ac_exeext 13312 if ${ac_cv_search_opendir+:} false; then : 13313 break 13314fi 13315done 13316if ${ac_cv_search_opendir+:} false; then : 13317 13318else 13319 ac_cv_search_opendir=no 13320fi 13321rm conftest.$ac_ext 13322LIBS=$ac_func_search_save_LIBS 13323fi 13324{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 13325$as_echo "$ac_cv_search_opendir" >&6; } 13326ac_res=$ac_cv_search_opendir 13327if test "$ac_res" != no; then : 13328 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 13329 13330fi 13331 13332fi 13333 13334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 13335$as_echo_n "checking for ANSI C header files... " >&6; } 13336if ${ac_cv_header_stdc+:} false; then : 13337 $as_echo_n "(cached) " >&6 13338else 13339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13340/* end confdefs.h. */ 13341#include <stdlib.h> 13342#include <stdarg.h> 13343#include <string.h> 13344#include <float.h> 13345 13346int 13347main () 13348{ 13349 13350 ; 13351 return 0; 13352} 13353_ACEOF 13354if ac_fn_c_try_compile "$LINENO"; then : 13355 ac_cv_header_stdc=yes 13356else 13357 ac_cv_header_stdc=no 13358fi 13359rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13360 13361if test $ac_cv_header_stdc = yes; then 13362 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 13363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13364/* end confdefs.h. */ 13365#include <string.h> 13366 13367_ACEOF 13368if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 13369 $EGREP "memchr" >/dev/null 2>&1; then : 13370 13371else 13372 ac_cv_header_stdc=no 13373fi 13374rm -f conftest* 13375 13376fi 13377 13378if test $ac_cv_header_stdc = yes; then 13379 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 13380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13381/* end confdefs.h. */ 13382#include <stdlib.h> 13383 13384_ACEOF 13385if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 13386 $EGREP "free" >/dev/null 2>&1; then : 13387 13388else 13389 ac_cv_header_stdc=no 13390fi 13391rm -f conftest* 13392 13393fi 13394 13395if test $ac_cv_header_stdc = yes; then 13396 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 13397 if test "$cross_compiling" = yes; then : 13398 : 13399else 13400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13401/* end confdefs.h. */ 13402#include <ctype.h> 13403#include <stdlib.h> 13404#if ((' ' & 0x0FF) == 0x020) 13405# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 13406# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 13407#else 13408# define ISLOWER(c) \ 13409 (('a' <= (c) && (c) <= 'i') \ 13410 || ('j' <= (c) && (c) <= 'r') \ 13411 || ('s' <= (c) && (c) <= 'z')) 13412# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 13413#endif 13414 13415#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 13416int 13417main () 13418{ 13419 int i; 13420 for (i = 0; i < 256; i++) 13421 if (XOR (islower (i), ISLOWER (i)) 13422 || toupper (i) != TOUPPER (i)) 13423 return 2; 13424 return 0; 13425} 13426_ACEOF 13427if ac_fn_c_try_run "$LINENO"; then : 13428 13429else 13430 ac_cv_header_stdc=no 13431fi 13432rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 13433 conftest.$ac_objext conftest.beam conftest.$ac_ext 13434fi 13435 13436fi 13437fi 13438{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 13439$as_echo "$ac_cv_header_stdc" >&6; } 13440if test $ac_cv_header_stdc = yes; then 13441 13442$as_echo "#define STDC_HEADERS 1" >>confdefs.h 13443 13444fi 13445 13446for ac_header in stdio.h 13447do : 13448 ac_fn_c_check_header_mongrel "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default" 13449if test "x$ac_cv_header_stdio_h" = xyes; then : 13450 cat >>confdefs.h <<_ACEOF 13451#define HAVE_STDIO_H 1 13452_ACEOF 13453 13454fi 13455 13456done 13457 13458for ac_header in stdlib.h 13459do : 13460 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 13461if test "x$ac_cv_header_stdlib_h" = xyes; then : 13462 cat >>confdefs.h <<_ACEOF 13463#define HAVE_STDLIB_H 1 13464_ACEOF 13465 13466fi 13467 13468done 13469 13470for ac_header in string.h 13471do : 13472 ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" 13473if test "x$ac_cv_header_string_h" = xyes; then : 13474 cat >>confdefs.h <<_ACEOF 13475#define HAVE_STRING_H 1 13476_ACEOF 13477 13478fi 13479 13480done 13481 13482for ac_header in ctype.h 13483do : 13484 ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 13485if test "x$ac_cv_header_ctype_h" = xyes; then : 13486 cat >>confdefs.h <<_ACEOF 13487#define HAVE_CTYPE_H 1 13488_ACEOF 13489 13490fi 13491 13492done 13493 13494for ac_header in errno.h 13495do : 13496 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 13497if test "x$ac_cv_header_errno_h" = xyes; then : 13498 cat >>confdefs.h <<_ACEOF 13499#define HAVE_ERRNO_H 1 13500_ACEOF 13501 13502fi 13503 13504done 13505 13506for ac_header in ansidecl.h 13507do : 13508 ac_fn_c_check_header_mongrel "$LINENO" "ansidecl.h" "ac_cv_header_ansidecl_h" "$ac_includes_default" 13509if test "x$ac_cv_header_ansidecl_h" = xyes; then : 13510 cat >>confdefs.h <<_ACEOF 13511#define HAVE_ANSIDECL_H 1 13512_ACEOF 13513 13514fi 13515 13516done 13517 13518for ac_header in time.h 13519do : 13520 ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default" 13521if test "x$ac_cv_header_time_h" = xyes; then : 13522 cat >>confdefs.h <<_ACEOF 13523#define HAVE_TIME_H 1 13524_ACEOF 13525 13526fi 13527 13528done 13529 13530for ac_func in strchr strrchr printf sprintf fprintf snprintf vfprintf vsprintf vsnprintf sscanf timegm 13531do : 13532 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13533ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 13534if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 13535 cat >>confdefs.h <<_ACEOF 13536#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 13537_ACEOF 13538 13539fi 13540done 13541 13542 13543XMLSEC_DEFINES="" 13544 13545build_windows=no 13546case "${host_os}" in 13547 cygwin*|mingw*) 13548 build_windows=yes 13549 ;; 13550esac 13551 13552{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for development environment" >&5 13553$as_echo_n "checking for development environment... " >&6; } 13554# Check whether --enable-development was given. 13555if test "${enable_development+set}" = set; then : 13556 enableval=$enable_development; 13557fi 13558 13559if test "z$enable_development" = "zyes" ; then 13560 enable_debugging="yes" 13561 enable_pedantic="yes" 13562 enable_static_linking="yes" 13563 enable_manpages_build="no" 13564 enable_docs_build="no" 13565 enable_crypto_dl="no" 13566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13567$as_echo "yes" >&6; } 13568else 13569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 13570$as_echo "disabled" >&6; } 13571fi 13572 13573{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for man pages build" >&5 13574$as_echo_n "checking for man pages build... " >&6; } 13575# Check whether --enable-manpages_build was given. 13576if test "${enable_manpages_build+set}" = set; then : 13577 enableval=$enable_manpages_build; 13578fi 13579 13580if test "z$enable_manpages_build" = "zyes" ; then 13581 if test x"$HELP2MAN" != x; then 13582 BUILD_MANPAGES_TRUE= 13583 BUILD_MANPAGES_FALSE='#' 13584else 13585 BUILD_MANPAGES_TRUE='#' 13586 BUILD_MANPAGES_FALSE= 13587fi 13588 13589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13590$as_echo "yes" >&6; } 13591else 13592 if test "x" = "y"; then 13593 BUILD_MANPAGES_TRUE= 13594 BUILD_MANPAGES_FALSE='#' 13595else 13596 BUILD_MANPAGES_TRUE='#' 13597 BUILD_MANPAGES_FALSE= 13598fi 13599 13600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 13601$as_echo "disabled" >&6; } 13602fi 13603 13604{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for docs build" >&5 13605$as_echo_n "checking for docs build... " >&6; } 13606# Check whether --enable-docs_build was given. 13607if test "${enable_docs_build+set}" = set; then : 13608 enableval=$enable_docs_build; 13609fi 13610 13611if test "z$enable_docs_build" = "zyes" ; then 13612 if test x"$PERL" != x && test x"$XSLTPROC" != x && test x"$MAN2HTML" != x; then 13613 BUILD_MAN_DOCS_TRUE= 13614 BUILD_MAN_DOCS_FALSE='#' 13615else 13616 BUILD_MAN_DOCS_TRUE='#' 13617 BUILD_MAN_DOCS_FALSE= 13618fi 13619 13620 if test x"$PERL" != x && test x"$XSLTPROC" != x && test x"$GTKDOC_MKHTML" != x && test x"$GTKDOC_MKDB" != x && test x"$GTKDOC_SCAN" != x; then 13621 BUILD_API_DOCS_TRUE= 13622 BUILD_API_DOCS_FALSE='#' 13623else 13624 BUILD_API_DOCS_TRUE='#' 13625 BUILD_API_DOCS_FALSE= 13626fi 13627 13628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13629$as_echo "yes" >&6; } 13630else 13631 if test "x" = "y"; then 13632 BUILD_MAN_DOCS_TRUE= 13633 BUILD_MAN_DOCS_FALSE='#' 13634else 13635 BUILD_MAN_DOCS_TRUE='#' 13636 BUILD_MAN_DOCS_FALSE= 13637fi 13638 13639 if test "x" = "y"; then 13640 BUILD_API_DOCS_TRUE= 13641 BUILD_API_DOCS_FALSE='#' 13642else 13643 BUILD_API_DOCS_TRUE='#' 13644 BUILD_API_DOCS_FALSE= 13645fi 13646 13647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 13648$as_echo "disabled" >&6; } 13649fi 13650 13651XMLSEC_EXTRA_LDFLAGS= 13652XMLSEC_CRYPTO_EXTRA_LDFLAGS= 13653if test -n "$shrext"; then 13654 XMLSEC_SHLIBSFX="$shrext" 13655else 13656 XMLSEC_SHLIBSFX="$shrext_cmds" 13657fi 13658case "${host}" in 13659 *aix* ) 13660 CFLAGS="${CFLAGS} -D_ALL_SOURCE" 13661 ;; 13662 *-*-mingw*) 13663 XMLSEC_EXTRA_LDFLAGS="-no-undefined -avoid-version" 13664 XMLSEC_CRYPTO_EXTRA_LDFLAGS="-no-undefined -avoid-version" 13665 XMLSEC_SHLIBSFX=".dll.a" 13666 ;; 13667 *-*-cygwin*) 13668 XMLSEC_EXTRA_LDFLAGS="-no-undefined" 13669 XMLSEC_CRYPTO_EXTRA_LDFLAGS="-no-undefined" 13670 ;; 13671 *-*-darwin*) 13672 XMLSEC_SHLIBSFX=".dylib" 13673 ;; 13674esac 13675 13676if test "z$shrext" = "z" ; then 13677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library suffix" >&5 13678$as_echo_n "checking for shared library suffix... " >&6; } 13679 module=no 13680 eval shrext=$shrext_cmds 13681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $shrext" >&5 13682$as_echo "$shrext" >&6; } 13683fi 13684 13685{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __FUNCTION__ or __func__" >&5 13686$as_echo_n "checking for __FUNCTION__ or __func__... " >&6; } 13687cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13688/* end confdefs.h. */ 13689 13690int 13691main () 13692{ 13693char *foo = __FUNCTION__; 13694 ; 13695 return 0; 13696} 13697_ACEOF 13698if ac_fn_c_try_compile "$LINENO"; then : 13699 ac_function_exists=yes 13700else 13701 ac_function_exists=no 13702fi 13703rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13704cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13705/* end confdefs.h. */ 13706 13707int 13708main () 13709{ 13710char *foo = __func__; 13711 ; 13712 return 0; 13713} 13714_ACEOF 13715if ac_fn_c_try_compile "$LINENO"; then : 13716 ac_func_exists=yes 13717else 13718 ac_func_exists=no 13719fi 13720rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13721if test "z$ac_func_exists" = "zyes" ; then 13722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: __func__" >&5 13723$as_echo "__func__" >&6; } 13724 XMLSEC_DEFINES="$XMLSEC_DEFINES -D__XMLSEC_FUNCTION__=__func__" 13725elif test "z$ac_function_exists" = "zyes" ; then 13726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: __FUNCTION__" >&5 13727$as_echo "__FUNCTION__" >&6; } 13728 XMLSEC_DEFINES="$XMLSEC_DEFINES -D__XMLSEC_FUNCTION__=__FUNCTION__" 13729else 13730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5 13731$as_echo "\"no\"" >&6; } 13732fi 13733 13734# The cast to long int works around a bug in the HP C Compiler 13735# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 13736# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 13737# This bug is HP SR number 8606223364. 13738{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5 13739$as_echo_n "checking size of size_t... " >&6; } 13740if ${ac_cv_sizeof_size_t+:} false; then : 13741 $as_echo_n "(cached) " >&6 13742else 13743 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then : 13744 13745else 13746 if test "$ac_cv_type_size_t" = yes; then 13747 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13748$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13749as_fn_error 77 "cannot compute sizeof (size_t) 13750See \`config.log' for more details" "$LINENO" 5; } 13751 else 13752 ac_cv_sizeof_size_t=0 13753 fi 13754fi 13755 13756fi 13757{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5 13758$as_echo "$ac_cv_sizeof_size_t" >&6; } 13759 13760 13761 13762cat >>confdefs.h <<_ACEOF 13763#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t 13764_ACEOF 13765 13766 13767if test "$ac_cv_sizeof_size_t" -ne "4" ; then 13768 XMLSEC_DEFINES="$XMLSEC_DEFINES -DXMLSEC_NO_SIZE_T" 13769fi 13770 13771PKGCONFIG_FOUND="no" 13772# Check whether --enable-pkgconfig was given. 13773if test "${enable_pkgconfig+set}" = set; then : 13774 enableval=$enable_pkgconfig; 13775fi 13776 13777if test "z$enable_pkgconfig" != "zno" ; then 13778 13779 13780 13781 13782 13783 13784 13785if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 13786 if test -n "$ac_tool_prefix"; then 13787 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 13788set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 13789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13790$as_echo_n "checking for $ac_word... " >&6; } 13791if ${ac_cv_path_PKG_CONFIG+:} false; then : 13792 $as_echo_n "(cached) " >&6 13793else 13794 case $PKG_CONFIG in 13795 [\\/]* | ?:[\\/]*) 13796 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 13797 ;; 13798 *) 13799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13800for as_dir in $PATH 13801do 13802 IFS=$as_save_IFS 13803 test -z "$as_dir" && as_dir=. 13804 for ac_exec_ext in '' $ac_executable_extensions; do 13805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13806 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 13807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13808 break 2 13809 fi 13810done 13811 done 13812IFS=$as_save_IFS 13813 13814 ;; 13815esac 13816fi 13817PKG_CONFIG=$ac_cv_path_PKG_CONFIG 13818if test -n "$PKG_CONFIG"; then 13819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 13820$as_echo "$PKG_CONFIG" >&6; } 13821else 13822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13823$as_echo "no" >&6; } 13824fi 13825 13826 13827fi 13828if test -z "$ac_cv_path_PKG_CONFIG"; then 13829 ac_pt_PKG_CONFIG=$PKG_CONFIG 13830 # Extract the first word of "pkg-config", so it can be a program name with args. 13831set dummy pkg-config; ac_word=$2 13832{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13833$as_echo_n "checking for $ac_word... " >&6; } 13834if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 13835 $as_echo_n "(cached) " >&6 13836else 13837 case $ac_pt_PKG_CONFIG in 13838 [\\/]* | ?:[\\/]*) 13839 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 13840 ;; 13841 *) 13842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13843for as_dir in $PATH 13844do 13845 IFS=$as_save_IFS 13846 test -z "$as_dir" && as_dir=. 13847 for ac_exec_ext in '' $ac_executable_extensions; do 13848 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13849 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 13850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13851 break 2 13852 fi 13853done 13854 done 13855IFS=$as_save_IFS 13856 13857 ;; 13858esac 13859fi 13860ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 13861if test -n "$ac_pt_PKG_CONFIG"; then 13862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 13863$as_echo "$ac_pt_PKG_CONFIG" >&6; } 13864else 13865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13866$as_echo "no" >&6; } 13867fi 13868 13869 if test "x$ac_pt_PKG_CONFIG" = x; then 13870 PKG_CONFIG="" 13871 else 13872 case $cross_compiling:$ac_tool_warned in 13873yes:) 13874{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 13875$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 13876ac_tool_warned=yes ;; 13877esac 13878 PKG_CONFIG=$ac_pt_PKG_CONFIG 13879 fi 13880else 13881 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 13882fi 13883 13884fi 13885if test -n "$PKG_CONFIG"; then 13886 _pkg_min_version=0.9.0 13887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 13888$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 13889 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 13890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13891$as_echo "yes" >&6; } 13892 else 13893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13894$as_echo "no" >&6; } 13895 PKG_CONFIG="" 13896 fi 13897fi 13898 PKGCONFIG_FOUND="yes" 13899else 13900 PKGCONFIG_FOUND="no" 13901fi 13902 13903ENABLE_CUSTOM_CONFIGS="no" 13904# Check whether --enable-custom-configs was given. 13905if test "${enable_custom_configs+set}" = set; then : 13906 enableval=$enable_custom_configs; 13907fi 13908 13909if test "z$enable_custom_configs" != "zno" ; then 13910 ENABLE_CUSTOM_CONFIGS="yes" 13911else 13912 ENABLE_CUSTOM_CONFIGS="no" 13913fi 13914 13915ENABLE_FOLDERS_SEARCH="no" 13916# Check whether --enable-folders-search was given. 13917if test "${enable_folders_search+set}" = set; then : 13918 enableval=$enable_folders_search; 13919fi 13920 13921if test "z$enable_folders_search" != "zno" ; then 13922 ENABLE_FOLDERS_SEARCH="yes" 13923else 13924 ENABLE_FOLDERS_SEARCH="no" 13925fi 13926 13927COMMON_INCLUDE_DIR="/usr/include /usr/local/include" 13928COMMON_LIB_DIR="/usr/lib /usr/lib64 /usr/local/lib" 13929case $host in 13930 i*86-*-linux-gnu) COMMON_LIB_DIR="$COMMON_LIB_DIR /usr/lib/i386-linux-gnu" ;; 13931 x86_64-*-linux-gnu) COMMON_LIB_DIR="$COMMON_LIB_DIR /usr/lib/x86_64-linux-gnu" ;; 13932 *) COMMON_LIB_DIR="$COMMON_LIB_DIR /usr/lib/$host" ;; 13933esac 13934 13935 13936 13937LIBXML_MIN_VERSION="2.8.0" 13938LIBXML_INCLUDE_DIR="$COMMON_INCLUDE_DIR /usr/include/libxml2 /usr/local/include/libxml2 /usr/local/libxml2/include" 13939LIBXML_LIB_DIR="$COMMON_LIB_DIR /usr/local/libxml2/lib" 13940LIBXML_INCLUDE_MARKER="libxml/xmlversion.h" 13941LIBXML_SHARED_LIB_MARKER="libxml2$shrext" 13942LIBXML_STATIC_LIB_MARKER="libxml2.$libext" 13943LIBXML_LIBS_LIST="-lxml2" 13944LIBXML_CONFIG="xml2-config" 13945 13946LIBXML_INCLUDE_PATH= 13947LIBXML_LIB_PATH= 13948LIBXML_CONFIG_PATH= 13949LIBXML_FOUND="no" 13950 13951# Check whether --with-libxml was given. 13952if test "${with_libxml+set}" = set; then : 13953 withval=$with_libxml; 13954fi 13955 13956 13957# Check whether --with-libxml-src was given. 13958if test "${with_libxml_src+set}" = set; then : 13959 withval=$with_libxml_src; 13960fi 13961 13962 13963if test "z$with_libxml" = "zno" -o "z$with_libxml_src" = "zno"; then 13964 LIBXML_FOUND="disabled" 13965fi 13966 13967if test "z$LIBXML_FOUND" = "zno" -a "z$with_libxml_src" != "z" -a "z$with_libxml_src" != "zyes" ; then 13968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml2 library source tree in \"$with_libxml_src\" folder" >&5 13969$as_echo_n "checking for libxml2 library source tree in \"$with_libxml_src\" folder... " >&6; } 13970 if test -f "$with_libxml_src/include/$LIBXML_INCLUDE_MARKER" -a -f "$with_libxml_src/.libs/$LIBXML_SHARED_LIB_MARKER" -o -f "$with_libxml_src/.libs/$LIBXML_STATIC_LIB_MARKER" ; then 13971 LIBXML_INCLUDE_PATH="$with_libxml_src/include" 13972 LIBXML_LIB_PATH="$with_libxml_src/.libs" 13973 LIBXML_FOUND="yes" 13974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13975$as_echo "yes" >&6; } 13976 else 13977 as_fn_error $? "not found: \"$with_libxml_src/include/$LIBXML_INCLUDE_MARKER\" or \"$with_libxml_src/.libs/$LIBXML_SHARED_LIB_MARKER\" or \"$with_libxml_src/.libs/$LIBXML_STATIC_LIB_MARKER\" files don't exist), typo?" "$LINENO" 5 13978 fi 13979fi 13980 13981if test "z$LIBXML_FOUND" = "zno" -a "z$with_libxml" != "z" -a "z$with_libxml" != "zyes" ; then 13982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml2 library installation in \"$with_libxml\" folder" >&5 13983$as_echo_n "checking for libxml2 library installation in \"$with_libxml\" folder... " >&6; } 13984 if test "z$ENABLE_CUSTOM_CONFIGS" = "zyes" -a -f "$with_libxml/bin/$LIBXML_CONFIG" ; then 13985 LIBXML_CONFIG_PATH="$with_libxml/bin/$LIBXML_CONFIG" 13986 LIBXML_FOUND="yes" 13987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13988$as_echo "yes" >&6; } 13989 elif test -f "$with_libxml/include/libxml2/$LIBXML_INCLUDE_MARKER" -a -f "$with_libxml/lib/$LIBXML_SHARED_LIB_MARKER" -o -f "$with_libxml/lib/$LIBXML_STATIC_LIB_MARKER" ; then 13990 LIBXML_INCLUDE_PATH="$with_libxml/include/libxml2" 13991 LIBXSLT_LIB_PATH="$with_libxml/lib" 13992 LIBXML_FOUND="yes" 13993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13994$as_echo "yes" >&6; } 13995 else 13996 as_fn_error $? "not found: \"$with_libxml/bin/$LIBXML_CONFIG\" tool, or \"$with_libxml/include/libxml2/$LIBXML_INCLUDE_MARKER\" and/or \"$with_libxml/lib/$LIBXML_SHARED_LIB_MARKER\" or \"$with_libxml/lib/$LIBXML_STATIC_LIB_MARKER\" files don't exist), typo?" "$LINENO" 5 13997 fi 13998fi 13999 14000if test "z$LIBXML_FOUND" = "zno" -a "z$LIBXML_CFLAGS" != "z" -a "z$LIBXML_LIBS" != "z" ; then 14001 LIBXML_FOUND="yes" 14002fi 14003 14004if test "z$LIBXML_FOUND" = "zno" -a "z$PKGCONFIG_FOUND" = "zyes" ; then 14005 14006pkg_failed=no 14007{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXML" >&5 14008$as_echo_n "checking for LIBXML... " >&6; } 14009 14010if test -n "$LIBXML_CFLAGS"; then 14011 pkg_cv_LIBXML_CFLAGS="$LIBXML_CFLAGS" 14012 elif test -n "$PKG_CONFIG"; then 14013 if test -n "$PKG_CONFIG" && \ 14014 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= \$LIBXML_MIN_VERSION\""; } >&5 14015 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= $LIBXML_MIN_VERSION") 2>&5 14016 ac_status=$? 14017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14018 test $ac_status = 0; }; then 14019 pkg_cv_LIBXML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= $LIBXML_MIN_VERSION" 2>/dev/null` 14020 test "x$?" != "x0" && pkg_failed=yes 14021else 14022 pkg_failed=yes 14023fi 14024 else 14025 pkg_failed=untried 14026fi 14027if test -n "$LIBXML_LIBS"; then 14028 pkg_cv_LIBXML_LIBS="$LIBXML_LIBS" 14029 elif test -n "$PKG_CONFIG"; then 14030 if test -n "$PKG_CONFIG" && \ 14031 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= \$LIBXML_MIN_VERSION\""; } >&5 14032 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= $LIBXML_MIN_VERSION") 2>&5 14033 ac_status=$? 14034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14035 test $ac_status = 0; }; then 14036 pkg_cv_LIBXML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= $LIBXML_MIN_VERSION" 2>/dev/null` 14037 test "x$?" != "x0" && pkg_failed=yes 14038else 14039 pkg_failed=yes 14040fi 14041 else 14042 pkg_failed=untried 14043fi 14044 14045 14046 14047if test $pkg_failed = yes; then 14048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14049$as_echo "no" >&6; } 14050 14051if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 14052 _pkg_short_errors_supported=yes 14053else 14054 _pkg_short_errors_supported=no 14055fi 14056 if test $_pkg_short_errors_supported = yes; then 14057 LIBXML_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0 >= $LIBXML_MIN_VERSION" 2>&1` 14058 else 14059 LIBXML_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0 >= $LIBXML_MIN_VERSION" 2>&1` 14060 fi 14061 # Put the nasty error message in config.log where it belongs 14062 echo "$LIBXML_PKG_ERRORS" >&5 14063 14064 LIBXML_FOUND=no 14065elif test $pkg_failed = untried; then 14066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14067$as_echo "no" >&6; } 14068 LIBXML_FOUND=no 14069else 14070 LIBXML_CFLAGS=$pkg_cv_LIBXML_CFLAGS 14071 LIBXML_LIBS=$pkg_cv_LIBXML_LIBS 14072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14073$as_echo "yes" >&6; } 14074 LIBXML_FOUND=yes 14075fi 14076fi 14077 14078if test "z$LIBXML_FOUND" = "zno" -a "z$ENABLE_CUSTOM_CONFIGS" = "zyes" ; then 14079 # Extract the first word of "$LIBXML_CONFIG", so it can be a program name with args. 14080set dummy $LIBXML_CONFIG; ac_word=$2 14081{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14082$as_echo_n "checking for $ac_word... " >&6; } 14083if ${ac_cv_path_LIBXML_CONFIG_PATH+:} false; then : 14084 $as_echo_n "(cached) " >&6 14085else 14086 case $LIBXML_CONFIG_PATH in 14087 [\\/]* | ?:[\\/]*) 14088 ac_cv_path_LIBXML_CONFIG_PATH="$LIBXML_CONFIG_PATH" # Let the user override the test with a path. 14089 ;; 14090 *) 14091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14092for as_dir in $PATH 14093do 14094 IFS=$as_save_IFS 14095 test -z "$as_dir" && as_dir=. 14096 for ac_exec_ext in '' $ac_executable_extensions; do 14097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14098 ac_cv_path_LIBXML_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext" 14099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14100 break 2 14101 fi 14102done 14103 done 14104IFS=$as_save_IFS 14105 14106 ;; 14107esac 14108fi 14109LIBXML_CONFIG_PATH=$ac_cv_path_LIBXML_CONFIG_PATH 14110if test -n "$LIBXML_CONFIG_PATH"; then 14111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXML_CONFIG_PATH" >&5 14112$as_echo "$LIBXML_CONFIG_PATH" >&6; } 14113else 14114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14115$as_echo "no" >&6; } 14116fi 14117 14118 14119 if test "z$LIBXML_CONFIG_PATH" != "z" ; then 14120 LIBXML_FOUND="yes" 14121 fi 14122fi 14123 14124if test "z$LIBXML_FOUND" = "zno" -a "z$ENABLE_FOLDERS_SEARCH" = "zyes" ; then 14125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml2 library installation in the typical folders" >&5 14126$as_echo_n "checking for libxml2 library installation in the typical folders... " >&6; } 14127 if test "z$LIBXML_INCLUDE_PATH" = "z" ; then 14128 14129 for dir in $LIBXML_INCLUDE_DIR ; do 14130 if test -f "$dir/$LIBXML_INCLUDE_MARKER" ; then 14131 LIBXML_INCLUDE_PATH="$dir" 14132 break; 14133 fi 14134 done 14135 14136 fi 14137 if test "z$LIBXML_LIB_PATH" = "z" ; then 14138 14139 for dir in $LIBXML_LIB_DIR ; do 14140 if test -f "$dir/$LIBXML_SHARED_LIB_MARKER" ; then 14141 LIBXML_LIB_PATH="$dir" 14142 break; 14143 fi 14144 done 14145 14146 fi 14147 if test "z$LIBXML_LIB_PATH" = "z" ; then 14148 14149 for dir in $LIBXML_LIB_DIR ; do 14150 if test -f "$dir/$LIBXML_STATIC_LIB_MARKER" ; then 14151 LIBXML_LIB_PATH="$dir" 14152 break; 14153 fi 14154 done 14155 14156 fi 14157 if test "z$LIBXML_INCLUDE_PATH" != "z" -a "z$LIBXML_LIB_PATH" != "z" ; then 14158 LIBXML_FOUND="yes" 14159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (\"-I$LIBXML_INCLUDE_PATH -L$LIBXML_LIB_PATH\")" >&5 14160$as_echo "yes (\"-I$LIBXML_INCLUDE_PATH -L$LIBXML_LIB_PATH\")" >&6; } 14161 else 14162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 14163$as_echo "not found" >&6; } 14164 fi 14165fi 14166 14167if test "z$LIBXML_FOUND" = "zno" ; then 14168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml2 library installation" >&5 14169$as_echo_n "checking for libxml2 library installation... " >&6; } 14170 OLD_CPPFLAGS=$CPPFLAGS 14171 CPPFLAGS="$CPPFLAGS $LIBXML_CFLAGS" 14172 OLD_LIBS=$LIBS 14173 LIBS="$LIBS $LIBXML_LIBS $LIBXML_LIBS_LIST" 14174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14175/* end confdefs.h. */ 14176 14177 14178 #include <libxml/xmlversion.h> 14179 14180int 14181main () 14182{ 14183 14184 int main () { xmlCheckVersion(0);; return(0); } 14185 14186 ; 14187 return 0; 14188} 14189 14190_ACEOF 14191if ac_fn_c_try_link "$LINENO"; then : 14192 14193 LIBXML_FOUND=yes 14194 LIBXML_LIBS="$LIBXML_LIBS $LIBXML_LIBS_LIST" 14195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14196$as_echo "yes" >&6; } 14197 14198else 14199 14200 LIBXML_FOUND=no 14201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 14202$as_echo "not found" >&6; } 14203 14204fi 14205rm -f core conftest.err conftest.$ac_objext \ 14206 conftest$ac_exeext conftest.$ac_ext 14207 CPPFLAGS=$OLD_CPPFLAGS 14208 LIBS=$OLD_LIBS 14209fi 14210 14211if test "z$LIBXML_FOUND" = "zyes" ; then 14212 if test "z$LIBXML_CONFIG_PATH" != "z" -a "z$ENABLE_CUSTOM_CONFIGS" = "zyes" ; then 14213 if test "z$LIBXML_CFLAGS" = "z" ; then 14214 LIBXML_CFLAGS="`$LIBXML_CONFIG_PATH --cflags`" 14215 fi 14216 if test "z$LIBXML_LIBS" = "z"; then 14217 LIBXML_LIBS="`$LIBXML_CONFIG_PATH --libs`" 14218 fi 14219 LIBXML_CONFIG=$LIBXML_CONFIG_PATH 14220 LIBXML_FOUND="yes" 14221 else 14222 if test "z$LIBXML_INCLUDE_PATH" != "z" ; then 14223 LIBXML_CFLAGS="$LIBXML_CFLAGS -I$LIBXML_INCLUDE_PATH" 14224 fi 14225 if test "z$LIBXML_LIB_PATH" != "z" ; then 14226 if test "z$with_gnu_ld" = "zyes" ; then 14227 LIBXML_LIBS="$LIBXML_LIBS -Wl,-rpath-link -Wl,$LIBXML_LIB_PATH" 14228 fi 14229 LIBXML_LIBS="$LIBXML_LIBS -L$LIBXML_LIB_PATH $LIBXML_LIBS_LIST" 14230 fi 14231 fi 14232fi 14233 14234{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml2 library >= $LIBXML_MIN_VERSION" >&5 14235$as_echo_n "checking for libxml2 library >= $LIBXML_MIN_VERSION... " >&6; } 14236if test "z$LIBXML_FOUND" = "zyes" ; then 14237 OLD_CPPFLAGS=$CPPFLAGS 14238 CPPFLAGS="$CPPFLAGS $LIBXML_CFLAGS" 14239 minvers=`echo $LIBXML_MIN_VERSION | awk -F. '{ printf "%d", ($1 * 100 + $2) * 100 + $3;}'` 14240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14241/* end confdefs.h. */ 14242 14243 #include <libxml/xmlversion.h> 14244 #if LIBXML_VERSION >= $minvers 14245 greater-than-minvers 14246 #endif 14247 14248_ACEOF 14249if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14250 $EGREP "greater-than-minvers" >/dev/null 2>&1; then : 14251 14252 LIBXML_FOUND=yes 14253 14254else 14255 14256 LIBXML_FOUND=no 14257 14258fi 14259rm -f conftest* 14260 14261 CPPFLAGS=$OLD_CPPFLAGS 14262fi 14263{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXML_FOUND" >&5 14264$as_echo "$LIBXML_FOUND" >&6; } 14265 14266if test "z$LIBXML_FOUND" != "zyes" ; then 14267 as_fn_error $? "libxml2 library >= $LIBXML_MIN_VERSION is required for this version of $XMLSEC_PACKAGE" "$LINENO" 5 14268fi 14269 14270 14271 14272 14273 14274 14275LIBXSLT_MIN_VERSION=1.0.20 14276LIBXSLT_INCLUDE_DIR="$COMMON_INCLUDE_DIR /usr/local/libxslt/include" 14277LIBXSLT_LIB_DIR="$COMMON_LIB_DIR /usr/local/libxslt/lib" 14278LIBXSLT_CONFIG="xslt-config" 14279LIBXSLT_INCLUDE_MARKER="libxslt/xsltconfig.h" 14280LIBXSLT_SHARED_LIB_MARKER="libxslt$shrext" 14281LIBXSLT_STATIC_LIB_MARKER="libxslt.$libext" 14282LIBXSLT_LIBS_LIST="-lxslt" 14283 14284XMLSEC_NO_LIBXSLT="1" 14285LIBXSLT_INCLUDE_PATH= 14286LIBXSLT_LIB_PATH= 14287LIBXSLT_CONFIG_PATH= 14288LIBXSLT_FOUND="no" 14289 14290# Check whether --with-libxslt was given. 14291if test "${with_libxslt+set}" = set; then : 14292 withval=$with_libxslt; 14293fi 14294 14295 14296# Check whether --with-libxslt-src was given. 14297if test "${with_libxslt_src+set}" = set; then : 14298 withval=$with_libxslt_src; 14299fi 14300 14301 14302if test "z$with_libxslt" = "zno" -o "z$with_libxslt_src" = "zno" ; then 14303 LIBXSLT_FOUND="disabled" 14304fi 14305 14306if test "z$LIBXSLT_FOUND" = "zno" -a "z$with_libxslt_src" != "z" -a "z$with_libxslt_src" != "zyes" ; then 14307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxslt library source tree in \"$with_libxslt_src\" folder" >&5 14308$as_echo_n "checking for libxslt library source tree in \"$with_libxslt_src\" folder... " >&6; } 14309 if test -f "$with_libxslt_src/$LIBXSLT_INCLUDE_MARKER" -a -f "$with_libxslt_src/libxslt/.libs/$LIBXSLT_SHARED_LIB_MARKER" -o -f "$with_libxslt_src/libxslt/.libs/$LIBXSLT_STATIC_LIB_MARKER" ; then 14310 LIBXSLT_INCLUDE_PATH="$with_libxslt_src" 14311 LIBXSLT_LIB_PATH="$with_libxslt_src/libxslt/.libs" 14312 LIBXSLT_FOUND="yes" 14313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14314$as_echo "yes" >&6; } 14315 else 14316 as_fn_error $? "not found: \"$with_libxslt_src/$LIBXSLT_INCLUDE_MARKER\" and/or \"$with_libxslt_src/libxslt/.libs/$LIBXSLT_SHARED_LIB_MARKER\" or \"$with_libxslt_src/libxslt/.libs/$LIBXSLT_STATIC_LIB_MARKER\" files don't exist), typo?" "$LINENO" 5 14317 fi 14318fi 14319 14320if test "z$LIBXSLT_FOUND" = "zno" -a "z$with_libxslt" != "z" -a "z$with_libxslt" != "zyes" ; then 14321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxslt library installation in \"$with_libxslt\" folder" >&5 14322$as_echo_n "checking for libxslt library installation in \"$with_libxslt\" folder... " >&6; } 14323 if test "z$ENABLE_CUSTOM_CONFIGS" = "zyes" -a -f "$with_libxslt/bin/$LIBXSLT_CONFIG" ; then 14324 LIBXSLT_CONFIG_PATH="$with_libxslt/bin/$LIBXSLT_CONFIG" 14325 LIBXSLT_FOUND="yes" 14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14327$as_echo "yes" >&6; } 14328 elif test -f "$with_libxslt/include/$LIBXSLT_INCLUDE_MARKER" -a -f "$with_libxslt/lib/$LIBXSLT_SHARED_LIB_MARKER" -o -f "$with_libxslt/lib/$LIBXSLT_STATIC_LIB_MARKER" ; then 14329 LIBXSLT_INCLUDE_PATH="$with_libxslt/include" 14330 LIBXSLT_LIB_PATH="$with_libxslt/lib" 14331 LIBXSLT_FOUND="yes" 14332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14333$as_echo "yes" >&6; } 14334 else 14335 as_fn_error $? "not found: \"$with_libxslt/bin/$LIBXSLT_CONFIG\" tool, or \"$with_libxslt/include/$LIBXSLT_INCLUDE_MARKER\" and/or \"$with_libxslt/lib/$LIBXSLT_SHARED_LIB_MARKER\" or \"$with_libxslt/lib/$LIBXSLT_STATIC_LIB_MARKER\" files don't exist), typo?" "$LINENO" 5 14336 fi 14337fi 14338 14339if test "z$LIBXSLT_FOUND" = "zno" -a "z$LIBXSLT_CFLAGS" != "z" -a "z$LIBXSLT_LIBS" != "z" ; then 14340 LIBXSLT_FOUND="yes" 14341fi 14342 14343if test "z$LIBXSLT_FOUND" = "zno" -a "z$PKGCONFIG_FOUND" = "zyes" ; then 14344 14345pkg_failed=no 14346{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXSLT" >&5 14347$as_echo_n "checking for LIBXSLT... " >&6; } 14348 14349if test -n "$LIBXSLT_CFLAGS"; then 14350 pkg_cv_LIBXSLT_CFLAGS="$LIBXSLT_CFLAGS" 14351 elif test -n "$PKG_CONFIG"; then 14352 if test -n "$PKG_CONFIG" && \ 14353 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxslt >= \$LIBXSLT_MIN_VERSION\""; } >&5 14354 ($PKG_CONFIG --exists --print-errors "libxslt >= $LIBXSLT_MIN_VERSION") 2>&5 14355 ac_status=$? 14356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14357 test $ac_status = 0; }; then 14358 pkg_cv_LIBXSLT_CFLAGS=`$PKG_CONFIG --cflags "libxslt >= $LIBXSLT_MIN_VERSION" 2>/dev/null` 14359 test "x$?" != "x0" && pkg_failed=yes 14360else 14361 pkg_failed=yes 14362fi 14363 else 14364 pkg_failed=untried 14365fi 14366if test -n "$LIBXSLT_LIBS"; then 14367 pkg_cv_LIBXSLT_LIBS="$LIBXSLT_LIBS" 14368 elif test -n "$PKG_CONFIG"; then 14369 if test -n "$PKG_CONFIG" && \ 14370 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxslt >= \$LIBXSLT_MIN_VERSION\""; } >&5 14371 ($PKG_CONFIG --exists --print-errors "libxslt >= $LIBXSLT_MIN_VERSION") 2>&5 14372 ac_status=$? 14373 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14374 test $ac_status = 0; }; then 14375 pkg_cv_LIBXSLT_LIBS=`$PKG_CONFIG --libs "libxslt >= $LIBXSLT_MIN_VERSION" 2>/dev/null` 14376 test "x$?" != "x0" && pkg_failed=yes 14377else 14378 pkg_failed=yes 14379fi 14380 else 14381 pkg_failed=untried 14382fi 14383 14384 14385 14386if test $pkg_failed = yes; then 14387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14388$as_echo "no" >&6; } 14389 14390if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 14391 _pkg_short_errors_supported=yes 14392else 14393 _pkg_short_errors_supported=no 14394fi 14395 if test $_pkg_short_errors_supported = yes; then 14396 LIBXSLT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxslt >= $LIBXSLT_MIN_VERSION" 2>&1` 14397 else 14398 LIBXSLT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxslt >= $LIBXSLT_MIN_VERSION" 2>&1` 14399 fi 14400 # Put the nasty error message in config.log where it belongs 14401 echo "$LIBXSLT_PKG_ERRORS" >&5 14402 14403 LIBXSLT_FOUND=no 14404elif test $pkg_failed = untried; then 14405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14406$as_echo "no" >&6; } 14407 LIBXSLT_FOUND=no 14408else 14409 LIBXSLT_CFLAGS=$pkg_cv_LIBXSLT_CFLAGS 14410 LIBXSLT_LIBS=$pkg_cv_LIBXSLT_LIBS 14411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14412$as_echo "yes" >&6; } 14413 LIBXSLT_FOUND=yes 14414fi 14415fi 14416 14417if test "z$LIBXSLT_FOUND" = "zno" -a "z$ENABLE_CUSTOM_CONFIGS" = "zyes" ; then 14418 # Extract the first word of "$LIBXSLT_CONFIG", so it can be a program name with args. 14419set dummy $LIBXSLT_CONFIG; ac_word=$2 14420{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14421$as_echo_n "checking for $ac_word... " >&6; } 14422if ${ac_cv_path_LIBXSLT_CONFIG_PATH+:} false; then : 14423 $as_echo_n "(cached) " >&6 14424else 14425 case $LIBXSLT_CONFIG_PATH in 14426 [\\/]* | ?:[\\/]*) 14427 ac_cv_path_LIBXSLT_CONFIG_PATH="$LIBXSLT_CONFIG_PATH" # Let the user override the test with a path. 14428 ;; 14429 *) 14430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14431for as_dir in $PATH 14432do 14433 IFS=$as_save_IFS 14434 test -z "$as_dir" && as_dir=. 14435 for ac_exec_ext in '' $ac_executable_extensions; do 14436 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14437 ac_cv_path_LIBXSLT_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext" 14438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14439 break 2 14440 fi 14441done 14442 done 14443IFS=$as_save_IFS 14444 14445 ;; 14446esac 14447fi 14448LIBXSLT_CONFIG_PATH=$ac_cv_path_LIBXSLT_CONFIG_PATH 14449if test -n "$LIBXSLT_CONFIG_PATH"; then 14450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXSLT_CONFIG_PATH" >&5 14451$as_echo "$LIBXSLT_CONFIG_PATH" >&6; } 14452else 14453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14454$as_echo "no" >&6; } 14455fi 14456 14457 14458 if test "z$LIBXSLT_CONFIG_PATH" != "z" ; then 14459 LIBXSLT_FOUND="yes" 14460 fi 14461fi 14462 14463if test "z$LIBXSLT_FOUND" = "zno" -a "z$ENABLE_FOLDERS_SEARCH" = "zyes" ; then 14464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxslt library installation in the typical folders" >&5 14465$as_echo_n "checking for libxslt library installation in the typical folders... " >&6; } 14466 if test "z$LIBXSLT_INCLUDE_PATH" = "z" ; then 14467 14468 for dir in $LIBXSLT_INCLUDE_DIR ; do 14469 if test -f "$dir/$LIBXSLT_INCLUDE_MARKER" ; then 14470 LIBXSLT_INCLUDE_PATH="$dir" 14471 break; 14472 fi 14473 done 14474 14475 fi 14476 if test "z$LIBXSLT_LIB_PATH" = "z" ; then 14477 14478 for dir in $LIBXSLT_LIB_DIR ; do 14479 if test -f "$dir/$LIBXSLT_SHARED_LIB_MARKER" ; then 14480 LIBXSLT_LIB_PATH="$dir" 14481 break; 14482 fi 14483 done 14484 14485 fi 14486 if test "z$LIBXSLT_LIB_PATH" = "z" ; then 14487 14488 for dir in $LIBXSLT_LIB_DIR ; do 14489 if test -f "$dir/$LIBXSLT_STATIC_LIB_MARKER" ; then 14490 LIBXSLT_LIB_PATH="$dir" 14491 break; 14492 fi 14493 done 14494 14495 fi 14496 if test "z$LIBXSLT_INCLUDE_PATH" != "z" -a "z$LIBXSLT_LIB_PATH" != "z" ; then 14497 LIBXSLT_FOUND="yes" 14498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (\"-I$LIBXSLT_INCLUDE_PATH -L$LIBXSLT_LIB_PATH\")" >&5 14499$as_echo "yes (\"-I$LIBXSLT_INCLUDE_PATH -L$LIBXSLT_LIB_PATH\")" >&6; } 14500 else 14501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 14502$as_echo "not found" >&6; } 14503 fi 14504fi 14505 14506if test "z$LIBXSLT_FOUND" = "zno" ; then 14507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxslt library installation" >&5 14508$as_echo_n "checking for libxslt library installation... " >&6; } 14509 OLD_CPPFLAGS=$CPPFLAGS 14510 CPPFLAGS="$CPPFLAGS $LIBXML_CFLAGS $LIBXSLT_CFLAGS" 14511 OLD_LIBS=$LIBS 14512 LIBS="$LIBS $LIBXML_LIBS $LIBXSLT_LIBS $LIBXSLT_LIBS_LIST" 14513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14514/* end confdefs.h. */ 14515 14516 14517 #include <libxslt/xslt.h> 14518 14519int 14520main () 14521{ 14522 14523 int main () { xsltInit(); return(0); } 14524 14525 ; 14526 return 0; 14527} 14528 14529_ACEOF 14530if ac_fn_c_try_link "$LINENO"; then : 14531 14532 LIBXSLT_FOUND=yes 14533 LIBXSLT_LIBS="$LIBXSLT_LIBS $LIBXSLT_LIBS_LIST" 14534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14535$as_echo "yes" >&6; } 14536 14537else 14538 14539 LIBXSLT_FOUND=no 14540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 14541$as_echo "not found" >&6; } 14542 14543fi 14544rm -f core conftest.err conftest.$ac_objext \ 14545 conftest$ac_exeext conftest.$ac_ext 14546 CPPFLAGS=$OLD_CPPFLAGS 14547 LIBS=$OLD_LIBS 14548fi 14549 14550if test "z$LIBXSLT_FOUND" = "zyes" ; then 14551 if test "z$LIBXSLT_CONFIG_PATH" != "z" -a "z$ENABLE_CUSTOM_CONFIGS" = "zyes" ; then 14552 if test "z$LIBXSLT_CFLAGS" = "z" ; then 14553 LIBXSLT_CFLAGS="`$LIBXSLT_CONFIG_PATH --cflags`" 14554 fi 14555 if test "z$LIBXSLT_LIBS" = "z"; then 14556 LIBXSLT_LIBS="`$LIBXSLT_CONFIG_PATH --libs`" 14557 fi 14558 LIBXSLT_CONFIG=$LIBXSLT_CONFIG_PATH 14559 LIBXSLT_FOUND="yes" 14560 else 14561 if test "z$LIBXSLT_INCLUDE_PATH" != "z" ; then 14562 LIBXSLT_CFLAGS="$LIBXSLT_CFLAGS -I$LIBXSLT_INCLUDE_PATH" 14563 fi 14564 if test "z$LIBXSLT_LIB_PATH" != "z" ; then 14565 if test "z$with_gnu_ld" = "zyes" ; then 14566 LIBXSLT_LIBS="$LIBXSLT_LIBS -Wl,-rpath-link -Wl,$LIBXSLT_LIB_PATH" 14567 fi 14568 LIBXSLT_LIBS="$LIBXSLT_LIBS -L$LIBXSLT_LIB_PATH $LIBXSLT_LIBS_LIST" 14569 fi 14570 fi 14571fi 14572 14573{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxslt library >= $LIBXSLT_MIN_VERSION" >&5 14574$as_echo_n "checking for libxslt library >= $LIBXSLT_MIN_VERSION... " >&6; } 14575if test "z$LIBXSLT_FOUND" = "zyes" ; then 14576 OLD_CPPFLAGS=$CPPFLAGS 14577 CPPFLAGS="$CPPFLAGS $LIBXSLT_CFLAGS" 14578 minvers=`echo $LIBXSLT_MIN_VERSION | awk -F. '{ printf "%d", ($1 * 100 + $2) * 100 + $3;}'` 14579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14580/* end confdefs.h. */ 14581 14582 #include <libxslt/xsltconfig.h> 14583 #if LIBXSLT_VERSION >= $minvers 14584 greater-than-minvers 14585 #endif 14586 14587_ACEOF 14588if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14589 $EGREP "greater-than-minvers" >/dev/null 2>&1; then : 14590 14591 LIBXSLT_FOUND=yes 14592 14593else 14594 14595 LIBXSLT_FOUND=no 14596 14597fi 14598rm -f conftest* 14599 14600 CPPFLAGS=$OLD_CPPFLAGS 14601fi 14602{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXSLT_FOUND" >&5 14603$as_echo "$LIBXSLT_FOUND" >&6; } 14604 14605if test "z$LIBXSLT_FOUND" = "zyes" ; then 14606 XMLSEC_NO_LIBXSLT="0" 14607 LIBXSLT_PC_FILE_COND="libxslt >= $LIBXSLT_MIN_VERSION" 14608else 14609 XMLSEC_NO_LIBXSLT="1" 14610 LIBXSLT_PC_FILE_COND="" 14611 XMLSEC_DEFINES="$XMLSEC_DEFINES -DXMLSEC_NO_XSLT=1" 14612fi 14613 14614 14615 14616 14617 14618 14619 14620XMLSEC_CRYPTO_LIST="" 14621XMLSEC_CRYPTO_DISABLED_LIST="" 14622 14623OPENSSL_MIN_VERSION="1.0.0" 14624OPENSSL_INCLUDE_DIR="$COMMON_INCLUDE_DIR /usr/local/ssl/include" 14625OPENSSL_LIB_DIR="$COMMON_LIB_DIR /usr/local/ssl/lib" 14626OPENSSL_CRYPTO_LIB="$XMLSEC_PACKAGE-openssl" 14627OPENSSL_INCLUDE_MARKER="openssl/opensslv.h" 14628OPENSSL_LIB_SHARED_MARKER="libcrypto$shrext" 14629OPENSSL_LIB_STATIC_MARKER="libcrypto.a" 14630OPENSSL_LIBS_LIST="-lcrypto" 14631case $host in 14632 *-*-mingw*) OPENSSL_EXTRA_LIBS=;; 14633 *-*-osf5*) OPENSSL_EXTRA_LIBS=;; 14634 *-*-openbsd*) OPENSSL_EXTRA_LIBS=;; 14635 *-*-netbsd*) OPENSSL_EXTRA_LIBS=;; 14636 *-*-freebsd*|*-*-dragonfly*) OPENSSL_EXTRA_LIBS=;; 14637 *-*-darwin*) OPENSSL_EXTRA_LIBS=;; 14638 #FIXME: check if lib "dl" is required 14639 *) OPENSSL_EXTRA_LIBS=-ldl;; 14640esac 14641 14642XMLSEC_NO_OPENSSL="1" 14643OPENSSL_VERSION="" 14644OPENSSL_INCLUDE_PATH= 14645OPENSSL_LIB_PATH= 14646OPENSSL_FOUND=no 14647 14648# Check whether --with-openssl was given. 14649if test "${with_openssl+set}" = set; then : 14650 withval=$with_openssl; 14651fi 14652 14653 14654if test "z$with_openssl" = "zno" ; then 14655 OPENSSL_FOUND=disabled 14656fi 14657 14658if test "z$OPENSSL_FOUND" = "zno" -a "z$with_openssl" != "z" -a "z$with_openssl" != "zyes" ; then 14659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openssl library installation in \"$with_openssl\" folder" >&5 14660$as_echo_n "checking for openssl library installation in \"$with_openssl\" folder... " >&6; } 14661 if test -f "$with_openssl/include/$OPENSSL_INCLUDE_MARKER" -a -f "$with_openssl/lib/$OPENSSL_LIB_SHARED_MARKER" ; then 14662 OPENSSL_INCLUDE_PATH="$with_openssl/include" 14663 OPENSSL_LIB_PATH="$with_openssl/lib" 14664 OPENSSL_FOUND="yes" 14665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14666$as_echo "yes" >&6; } 14667 elif test -f "$with_openssl/include/$OPENSSL_INCLUDE_MARKER" -a -f "$with_openssl/lib/$OPENSSL_LIB_STATIC_MARKER" ; then 14668 OPENSSL_INCLUDE_PATH="$with_openssl/include" 14669 OPENSSL_LIB_PATH="$with_openssl/lib" 14670 OPENSSL_FOUND="yes" 14671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14672$as_echo "yes" >&6; } 14673 else 14674 as_fn_error $? "not found: \"$with_openssl/include/$OPENSSL_INCLUDE_MARKER\" or \"$with_openssl/lib/$OPENSSL_LIB_SHARED_MARKER\" or \"$with_openssl/lib/$OPENSSL_LIB_STATIC_MARKER\" files don't exist), typo?" "$LINENO" 5 14675 fi 14676fi 14677 14678if test "z$OPENSSL_FOUND" = "zno" -a "z$OPENSSL_CFLAGS" != "z" -a "z$OPENSSL_LIBS" != "z" ; then 14679 OPENSSL_FOUND="yes" 14680fi 14681 14682if test "z$OPENSSL_FOUND" = "zno" -a "z$PKGCONFIG_FOUND" = "zyes" ; then 14683 14684pkg_failed=no 14685{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OPENSSL" >&5 14686$as_echo_n "checking for OPENSSL... " >&6; } 14687 14688if test -n "$OPENSSL_CFLAGS"; then 14689 pkg_cv_OPENSSL_CFLAGS="$OPENSSL_CFLAGS" 14690 elif test -n "$PKG_CONFIG"; then 14691 if test -n "$PKG_CONFIG" && \ 14692 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= \$OPENSSL_MIN_VERSION\""; } >&5 14693 ($PKG_CONFIG --exists --print-errors "openssl >= $OPENSSL_MIN_VERSION") 2>&5 14694 ac_status=$? 14695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14696 test $ac_status = 0; }; then 14697 pkg_cv_OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "openssl >= $OPENSSL_MIN_VERSION" 2>/dev/null` 14698 test "x$?" != "x0" && pkg_failed=yes 14699else 14700 pkg_failed=yes 14701fi 14702 else 14703 pkg_failed=untried 14704fi 14705if test -n "$OPENSSL_LIBS"; then 14706 pkg_cv_OPENSSL_LIBS="$OPENSSL_LIBS" 14707 elif test -n "$PKG_CONFIG"; then 14708 if test -n "$PKG_CONFIG" && \ 14709 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= \$OPENSSL_MIN_VERSION\""; } >&5 14710 ($PKG_CONFIG --exists --print-errors "openssl >= $OPENSSL_MIN_VERSION") 2>&5 14711 ac_status=$? 14712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14713 test $ac_status = 0; }; then 14714 pkg_cv_OPENSSL_LIBS=`$PKG_CONFIG --libs "openssl >= $OPENSSL_MIN_VERSION" 2>/dev/null` 14715 test "x$?" != "x0" && pkg_failed=yes 14716else 14717 pkg_failed=yes 14718fi 14719 else 14720 pkg_failed=untried 14721fi 14722 14723 14724 14725if test $pkg_failed = yes; then 14726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14727$as_echo "no" >&6; } 14728 14729if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 14730 _pkg_short_errors_supported=yes 14731else 14732 _pkg_short_errors_supported=no 14733fi 14734 if test $_pkg_short_errors_supported = yes; then 14735 OPENSSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openssl >= $OPENSSL_MIN_VERSION" 2>&1` 14736 else 14737 OPENSSL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "openssl >= $OPENSSL_MIN_VERSION" 2>&1` 14738 fi 14739 # Put the nasty error message in config.log where it belongs 14740 echo "$OPENSSL_PKG_ERRORS" >&5 14741 14742 OPENSSL_FOUND=no 14743elif test $pkg_failed = untried; then 14744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14745$as_echo "no" >&6; } 14746 OPENSSL_FOUND=no 14747else 14748 OPENSSL_CFLAGS=$pkg_cv_OPENSSL_CFLAGS 14749 OPENSSL_LIBS=$pkg_cv_OPENSSL_LIBS 14750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14751$as_echo "yes" >&6; } 14752 OPENSSL_FOUND=yes 14753fi 14754fi 14755 14756if test "z$OPENSSL_FOUND" = "zno" -a "z$ENABLE_FOLDERS_SEARCH" = "zyes" ; then 14757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openssl library installation in the typical folders" >&5 14758$as_echo_n "checking for openssl library installation in the typical folders... " >&6; } 14759 if test "z$OPENSSL_INCLUDE_PATH" = "z" ; then 14760 14761 for dir in $OPENSSL_INCLUDE_DIR ; do 14762 if test -f "$dir/$OPENSSL_INCLUDE_MARKER" ; then 14763 OPENSSL_INCLUDE_PATH="$dir" 14764 break; 14765 fi 14766 done 14767 14768 fi 14769 if test "z$OPENSSL_LIB_PATH" = "z" ; then 14770 14771 for dir in $OPENSSL_LIB_DIR ; do 14772 if test -f "$dir/$OPENSSL_LIB_SHARED_MARKER" ; then 14773 OPENSSL_LIB_PATH="$dir" 14774 break; 14775 fi 14776 done 14777 14778 fi 14779 if test "z$OPENSSL_LIB_PATH" = "z" ; then 14780 14781 for dir in $OPENSSL_LIB_DIR ; do 14782 if test -f "$dir/$OPENSSL_LIB_STATIC_MARKER" ; then 14783 OPENSSL_LIB_PATH="$dir" 14784 break; 14785 fi 14786 done 14787 14788 fi 14789 if test "z$OPENSSL_INCLUDE_PATH" != "z" -a "z$OPENSSL_LIB_PATH" != "z" ; then 14790 OPENSSL_FOUND="yes" 14791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (\"-I$OPENSSL_INCLUDE_PATH -L$OPENSSL_LIB_PATH\")" >&5 14792$as_echo "yes (\"-I$OPENSSL_INCLUDE_PATH -L$OPENSSL_LIB_PATH\")" >&6; } 14793 else 14794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 14795$as_echo "not found" >&6; } 14796 fi 14797fi 14798 14799if test "z$OPENSSL_FOUND" = "zno" ; then 14800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openssl library installation" >&5 14801$as_echo_n "checking for openssl library installation... " >&6; } 14802 OLD_CPPFLAGS=$CPPFLAGS 14803 CPPFLAGS="$CPPFLAGS $OPENSSL_CFLAGS" 14804 OLD_LIBS=$LIBS 14805 LIBS="$LIBS $OPENSSL_LIBS $OPENSSL_LIBS_LIST" 14806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14807/* end confdefs.h. */ 14808 14809 14810 #include <openssl/opensslv.h> 14811 14812int 14813main () 14814{ 14815 14816 int main () { 14817 #if OPENSSL_VERSION_NUMBER < 0x10100000L 14818 SSL_library_init(); 14819 #else 14820 OPENSSL_init_ssl(0, NULL); 14821 #endif 14822 return(0); 14823 } 14824 14825 ; 14826 return 0; 14827} 14828 14829_ACEOF 14830if ac_fn_c_try_link "$LINENO"; then : 14831 14832 OPENSSL_FOUND=yes 14833 OPENSSL_LIBS="$OPENSSL_LIBS $OPENSSL_LIBS_LIST" 14834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14835$as_echo "yes" >&6; } 14836 14837else 14838 14839 OPENSSL_FOUND=no 14840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 14841$as_echo "not found" >&6; } 14842 14843fi 14844rm -f core conftest.err conftest.$ac_objext \ 14845 conftest$ac_exeext conftest.$ac_ext 14846 CPPFLAGS=$OLD_CPPFLAGS 14847 LIBS=$OLD_LIBS 14848fi 14849 14850if test "z$OPENSSL_FOUND" = "zyes" -a "z$OPENSSL_INCLUDE_PATH" != "z" ; then 14851 OPENSSL_CFLAGS="$OPENSSL_CFLAGS -I$OPENSSL_INCLUDE_PATH -I$OPENSSL_INCLUDE_PATH/openssl" 14852fi 14853if test "z$OPENSSL_FOUND" = "zyes" -a "z$OPENSSL_LIB_PATH" != "z" ; then 14854 if test -f "$OPENSSL_LIB_PATH/$OPENSSL_LIB_SHARED_MARKER" ; then 14855 if test "z$with_gnu_ld" = "zyes" ; then 14856 OPENSSL_LIBS="$OPENSSL_LIBS -Wl,-rpath-link -Wl,$OPENSSL_LIB_PATH" 14857 fi 14858 fi 14859 OPENSSL_LIBS="$OPENSSL_LIBS -L$OPENSSL_LIB_PATH $OPENSSL_LIBS_LIST $OPENSSL_EXTRA_LIBS" 14860fi 14861 14862{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for openssl library >= $OPENSSL_MIN_VERSION" >&5 14863$as_echo_n "checking for openssl library >= $OPENSSL_MIN_VERSION... " >&6; } 14864if test "z$OPENSSL_FOUND" = "zyes" ; then 14865 OLD_CPPFLAGS=$CPPFLAGS 14866 CPPFLAGS="$CPPFLAGS $OPENSSL_CFLAGS" 14867 if test "z$OPENSSL_VERSION" = "z" ; then 14868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14869/* end confdefs.h. */ 14870 14871 #include <openssl/opensslv.h> 14872 #if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L 14873 greater-than-minvers 14874 #endif 14875 14876_ACEOF 14877if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14878 $EGREP "greater-than-minvers" >/dev/null 2>&1; then : 14879 14880 OPENSSL_VERSION="1.0.0 (LibreSSL < 2.7)" 14881 14882else 14883 14884 OPENSSL_VERSION="" 14885 14886fi 14887rm -f conftest* 14888 14889 fi 14890 14891 if test "z$OPENSSL_VERSION" = "z" ; then 14892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14893/* end confdefs.h. */ 14894 14895 #include <openssl/opensslv.h> 14896 #if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x20700000L 14897 greater-than-minvers 14898 #endif 14899 14900_ACEOF 14901if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14902 $EGREP "greater-than-minvers" >/dev/null 2>&1; then : 14903 14904 OPENSSL_VERSION="1.1.0 (LibreSSL >= 2.7)" 14905 14906else 14907 14908 OPENSSL_VERSION="" 14909 14910fi 14911rm -f conftest* 14912 14913 fi 14914 14915 if test "z$OPENSSL_VERSION" = "z" ; then 14916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14917/* end confdefs.h. */ 14918 14919 #include <openssl/opensslv.h> 14920 #include <openssl/crypto.h> 14921 #if OPENSSL_VERSION_NUMBER >= 0x10100000L 14922 #ifdef OPENSSL_IS_BORINGSSL 14923 greater-than-minvers 14924 #endif 14925 #endif 14926 14927_ACEOF 14928if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14929 $EGREP "greater-than-minvers" >/dev/null 2>&1; then : 14930 14931 OPENSSL_VERSION="1.1.0 (BoringSSL)" 14932 enable_ripemd160=no 14933 enable_dsa=no 14934 14935else 14936 14937 OPENSSL_VERSION="" 14938 14939fi 14940rm -f conftest* 14941 14942 fi 14943 14944 if test "z$OPENSSL_VERSION" = "z" ; then 14945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14946/* end confdefs.h. */ 14947 14948 #include <openssl/opensslv.h> 14949 #if OPENSSL_VERSION_NUMBER >= 0x10100000L 14950 greater-than-minvers 14951 #endif 14952 14953_ACEOF 14954if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14955 $EGREP "greater-than-minvers" >/dev/null 2>&1; then : 14956 14957 OPENSSL_VERSION="1.1.0" 14958 14959else 14960 14961 OPENSSL_VERSION="" 14962 14963fi 14964rm -f conftest* 14965 14966 fi 14967 14968 if test "z$OPENSSL_VERSION" = "z" ; then 14969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14970/* end confdefs.h. */ 14971 14972 #include <openssl/opensslv.h> 14973 #if OPENSSL_VERSION_NUMBER >= 0x10000000L 14974 greater-than-minvers 14975 #endif 14976 14977_ACEOF 14978if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14979 $EGREP "greater-than-minvers" >/dev/null 2>&1; then : 14980 14981 OPENSSL_VERSION="1.0.0" 14982 14983else 14984 14985 OPENSSL_VERSION="" 14986 14987fi 14988rm -f conftest* 14989 14990 fi 14991 CPPFLAGS=$OLD_CPPFLAGS 14992 14993 if test "z$OPENSSL_VERSION" != "z" ; then 14994 OPENSSL_FOUND=yes 14995 else 14996 OPENSSL_FOUND=no 14997 fi 14998fi 14999if test "z$OPENSSL_FOUND" = "zyes" ; then 15000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (openssl version '$OPENSSL_VERSION')" >&5 15001$as_echo "yes (openssl version '$OPENSSL_VERSION')" >&6; } 15002else 15003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OPENSSL_FOUND" >&5 15004$as_echo "$OPENSSL_FOUND" >&6; } 15005fi 15006 15007if test "z$OPENSSL_FOUND" = "zyes" ; then 15008 XMLSEC_NO_OPENSSL="0" 15009 OPENSSL_CFLAGS="$OPENSSL_CFLAGS -DXMLSEC_CRYPTO_OPENSSL=1" 15010 XMLSEC_CRYPTO_LIST="$XMLSEC_CRYPTO_LIST openssl" 15011else 15012 XMLSEC_CRYPTO_DISABLED_LIST="$XMLSEC_CRYPTO_DISABLED_LIST openssl" 15013fi 15014 15015 if test "z$XMLSEC_NO_OPENSSL" = "z1"; then 15016 XMLSEC_NO_OPENSSL_TRUE= 15017 XMLSEC_NO_OPENSSL_FALSE='#' 15018else 15019 XMLSEC_NO_OPENSSL_TRUE='#' 15020 XMLSEC_NO_OPENSSL_FALSE= 15021fi 15022 15023 15024 15025 15026 15027 15028 15029NSS_MIN_VERSION="3.11.1" 15030NSPR_MIN_VERSION="4.4.1" 15031SEAMONKEY_MIN_VERSION="1.0" 15032MOZILLA_MIN_VERSION="1.4" 15033NSS_CRYPTO_LIB="$XMLSEC_PACKAGE-nss" 15034NSPR_PACKAGE=nspr 15035NSS_PACKAGE=nss 15036NSPR_INCLUDE_MARKER="nspr/nspr.h" 15037NSPR_LIB_MARKER="libnspr4$shrext" 15038NSPR_LIBS_LIST="-lnspr4 -lplds4 -lplc4" 15039NSS_INCLUDE_MARKER="nss/nss.h" 15040NSS_LIB_MARKER="libnss3$shrext" 15041NSS_LIBS_LIST="-lnss3 -lsmime3" 15042 15043XMLSEC_NO_NSS="1" 15044NSPR_INCLUDE_PATH= 15045NSPR_LIB_PATH= 15046NSS_INCLUDE_PATH= 15047NSS_LIB_PATH= 15048NSS_FOUND="no" 15049NSPR_FOUND="no" 15050 15051# Check whether --with-nss was given. 15052if test "${with_nss+set}" = set; then : 15053 withval=$with_nss; 15054fi 15055 15056 15057# Check whether --with-nspr was given. 15058if test "${with_nspr+set}" = set; then : 15059 withval=$with_nspr; 15060fi 15061 15062 15063# Check whether --with-seamonkey_ver was given. 15064if test "${with_seamonkey_ver+set}" = set; then : 15065 withval=$with_seamonkey_ver; 15066fi 15067 15068 15069# Check whether --with-mozilla_ver was given. 15070if test "${with_mozilla_ver+set}" = set; then : 15071 withval=$with_mozilla_ver; 15072fi 15073 15074 15075if test "z$with_nss" = "zno" -o "z$with_nspr" = "zno" ; then 15076 NSS_FOUND="disabled" 15077 NSPR_FOUND="disabled" 15078fi 15079 15080if test "z$NSPR_FOUND" = "zno" -a "z$with_nspr" != "z" -a "z$with_nspr" != "zyes" ; then 15081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nspr library installation in \"$with_nspr\" folder" >&5 15082$as_echo_n "checking for nspr library installation in \"$with_nspr\" folder... " >&6; } 15083 if test -f "$with_nspr/include/$NSPR_INCLUDE_MARKER" -a -f "$with_nspr/lib/$NSPR_LIB_MARKER" ; then 15084 NSPR_INCLUDE_PATH="$with_nspr/include" 15085 NSPR_LIB_PATH="$with_nspr/lib" 15086 NSPR_FOUND="yes" 15087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15088$as_echo "yes" >&6; } 15089 else 15090 as_fn_error $? "not found: \"$with_nspr/include/$NSPR_INCLUDE_MARKER\" and/or \"$with_nspr/lib/$NSPR_LIB_MARKER\" files don't exist), typo?" "$LINENO" 5 15091 fi 15092fi 15093if test "z$NSS_FOUND" = "zno" -a "z$with_nss" != "z" -a "z$with_nss" != "zyes" ; then 15094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nss library installation in \"$with_nss\" folder" >&5 15095$as_echo_n "checking for nss library installation in \"$with_nss\" folder... " >&6; } 15096 if test -f "$with_nss/include/$NSS_INCLUDE_MARKER" -a -f "$with_nss/lib/$NSS_LIB_MARKER" ; then 15097 NSS_INCLUDE_PATH="$with_nss/include" 15098 NSS_LIB_PATH="$with_nss/lib" 15099 NSS_FOUND="yes" 15100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15101$as_echo "yes" >&6; } 15102 else 15103 as_fn_error $? "not found: \"$with_nss/include/$NSS_INCLUDE_MARKER\" and/or \"$with_nss/lib/$NSS_LIB_MARKER\" files don't exist), typo?" "$LINENO" 5 15104 fi 15105fi 15106 15107if test "z$NSPR_FOUND" = "zno" -a "z$NSPR_CFLAGS" != "z" -a "z$NSPR_LIBS" != "z" ; then 15108 NSPR_FOUND="yes" 15109fi 15110if test "z$NSS_FOUND" = "zno" -a "z$NSS_CFLAGS" != "z" -a "z$NSS_LIBS" != "z" ; then 15111 NSS_FOUND="yes" 15112fi 15113 15114if test "z$NSPR_FOUND" = "zno" -a "z$PKGCONFIG_FOUND" = "zyes" -a "z$with_mozilla_ver" = "z" -a "z$with_seamonkey_ver" ; then 15115 if test "z$NSPR_FOUND" = "zno" ; then 15116 15117pkg_failed=no 15118{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSPR" >&5 15119$as_echo_n "checking for NSPR... " >&6; } 15120 15121if test -n "$NSPR_CFLAGS"; then 15122 pkg_cv_NSPR_CFLAGS="$NSPR_CFLAGS" 15123 elif test -n "$PKG_CONFIG"; then 15124 if test -n "$PKG_CONFIG" && \ 15125 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"seamonkey-nspr >= \$NSPR_MIN_VERSION\""; } >&5 15126 ($PKG_CONFIG --exists --print-errors "seamonkey-nspr >= $NSPR_MIN_VERSION") 2>&5 15127 ac_status=$? 15128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15129 test $ac_status = 0; }; then 15130 pkg_cv_NSPR_CFLAGS=`$PKG_CONFIG --cflags "seamonkey-nspr >= $NSPR_MIN_VERSION" 2>/dev/null` 15131 test "x$?" != "x0" && pkg_failed=yes 15132else 15133 pkg_failed=yes 15134fi 15135 else 15136 pkg_failed=untried 15137fi 15138if test -n "$NSPR_LIBS"; then 15139 pkg_cv_NSPR_LIBS="$NSPR_LIBS" 15140 elif test -n "$PKG_CONFIG"; then 15141 if test -n "$PKG_CONFIG" && \ 15142 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"seamonkey-nspr >= \$NSPR_MIN_VERSION\""; } >&5 15143 ($PKG_CONFIG --exists --print-errors "seamonkey-nspr >= $NSPR_MIN_VERSION") 2>&5 15144 ac_status=$? 15145 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15146 test $ac_status = 0; }; then 15147 pkg_cv_NSPR_LIBS=`$PKG_CONFIG --libs "seamonkey-nspr >= $NSPR_MIN_VERSION" 2>/dev/null` 15148 test "x$?" != "x0" && pkg_failed=yes 15149else 15150 pkg_failed=yes 15151fi 15152 else 15153 pkg_failed=untried 15154fi 15155 15156 15157 15158if test $pkg_failed = yes; then 15159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15160$as_echo "no" >&6; } 15161 15162if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15163 _pkg_short_errors_supported=yes 15164else 15165 _pkg_short_errors_supported=no 15166fi 15167 if test $_pkg_short_errors_supported = yes; then 15168 NSPR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "seamonkey-nspr >= $NSPR_MIN_VERSION" 2>&1` 15169 else 15170 NSPR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "seamonkey-nspr >= $NSPR_MIN_VERSION" 2>&1` 15171 fi 15172 # Put the nasty error message in config.log where it belongs 15173 echo "$NSPR_PKG_ERRORS" >&5 15174 15175 NSPR_FOUND=no 15176elif test $pkg_failed = untried; then 15177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15178$as_echo "no" >&6; } 15179 NSPR_FOUND=no 15180else 15181 NSPR_CFLAGS=$pkg_cv_NSPR_CFLAGS 15182 NSPR_LIBS=$pkg_cv_NSPR_LIBS 15183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15184$as_echo "yes" >&6; } 15185 NSPR_FOUND=yes NSPR_PACKAGE=seamonkey-nspr 15186fi 15187 fi 15188 if test "z$NSPR_FOUND" = "zno" ; then 15189 15190pkg_failed=no 15191{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSPR" >&5 15192$as_echo_n "checking for NSPR... " >&6; } 15193 15194if test -n "$NSPR_CFLAGS"; then 15195 pkg_cv_NSPR_CFLAGS="$NSPR_CFLAGS" 15196 elif test -n "$PKG_CONFIG"; then 15197 if test -n "$PKG_CONFIG" && \ 15198 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nspr >= \$MOZILLA_MIN_VERSION\""; } >&5 15199 ($PKG_CONFIG --exists --print-errors "nspr >= $MOZILLA_MIN_VERSION") 2>&5 15200 ac_status=$? 15201 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15202 test $ac_status = 0; }; then 15203 pkg_cv_NSPR_CFLAGS=`$PKG_CONFIG --cflags "nspr >= $MOZILLA_MIN_VERSION" 2>/dev/null` 15204 test "x$?" != "x0" && pkg_failed=yes 15205else 15206 pkg_failed=yes 15207fi 15208 else 15209 pkg_failed=untried 15210fi 15211if test -n "$NSPR_LIBS"; then 15212 pkg_cv_NSPR_LIBS="$NSPR_LIBS" 15213 elif test -n "$PKG_CONFIG"; then 15214 if test -n "$PKG_CONFIG" && \ 15215 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nspr >= \$MOZILLA_MIN_VERSION\""; } >&5 15216 ($PKG_CONFIG --exists --print-errors "nspr >= $MOZILLA_MIN_VERSION") 2>&5 15217 ac_status=$? 15218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15219 test $ac_status = 0; }; then 15220 pkg_cv_NSPR_LIBS=`$PKG_CONFIG --libs "nspr >= $MOZILLA_MIN_VERSION" 2>/dev/null` 15221 test "x$?" != "x0" && pkg_failed=yes 15222else 15223 pkg_failed=yes 15224fi 15225 else 15226 pkg_failed=untried 15227fi 15228 15229 15230 15231if test $pkg_failed = yes; then 15232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15233$as_echo "no" >&6; } 15234 15235if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15236 _pkg_short_errors_supported=yes 15237else 15238 _pkg_short_errors_supported=no 15239fi 15240 if test $_pkg_short_errors_supported = yes; then 15241 NSPR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "nspr >= $MOZILLA_MIN_VERSION" 2>&1` 15242 else 15243 NSPR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "nspr >= $MOZILLA_MIN_VERSION" 2>&1` 15244 fi 15245 # Put the nasty error message in config.log where it belongs 15246 echo "$NSPR_PKG_ERRORS" >&5 15247 15248 NSPR_FOUND=no 15249elif test $pkg_failed = untried; then 15250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15251$as_echo "no" >&6; } 15252 NSPR_FOUND=no 15253else 15254 NSPR_CFLAGS=$pkg_cv_NSPR_CFLAGS 15255 NSPR_LIBS=$pkg_cv_NSPR_LIBS 15256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15257$as_echo "yes" >&6; } 15258 NSPR_FOUND=yes NSPR_PACKAGE=nspr 15259fi 15260 fi 15261 if test "z$NSPR_FOUND" = "zno" ; then 15262 15263pkg_failed=no 15264{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSPR" >&5 15265$as_echo_n "checking for NSPR... " >&6; } 15266 15267if test -n "$NSPR_CFLAGS"; then 15268 pkg_cv_NSPR_CFLAGS="$NSPR_CFLAGS" 15269 elif test -n "$PKG_CONFIG"; then 15270 if test -n "$PKG_CONFIG" && \ 15271 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xulrunner-nspr >= \$NSPR_MIN_VERSION\""; } >&5 15272 ($PKG_CONFIG --exists --print-errors "xulrunner-nspr >= $NSPR_MIN_VERSION") 2>&5 15273 ac_status=$? 15274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15275 test $ac_status = 0; }; then 15276 pkg_cv_NSPR_CFLAGS=`$PKG_CONFIG --cflags "xulrunner-nspr >= $NSPR_MIN_VERSION" 2>/dev/null` 15277 test "x$?" != "x0" && pkg_failed=yes 15278else 15279 pkg_failed=yes 15280fi 15281 else 15282 pkg_failed=untried 15283fi 15284if test -n "$NSPR_LIBS"; then 15285 pkg_cv_NSPR_LIBS="$NSPR_LIBS" 15286 elif test -n "$PKG_CONFIG"; then 15287 if test -n "$PKG_CONFIG" && \ 15288 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xulrunner-nspr >= \$NSPR_MIN_VERSION\""; } >&5 15289 ($PKG_CONFIG --exists --print-errors "xulrunner-nspr >= $NSPR_MIN_VERSION") 2>&5 15290 ac_status=$? 15291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15292 test $ac_status = 0; }; then 15293 pkg_cv_NSPR_LIBS=`$PKG_CONFIG --libs "xulrunner-nspr >= $NSPR_MIN_VERSION" 2>/dev/null` 15294 test "x$?" != "x0" && pkg_failed=yes 15295else 15296 pkg_failed=yes 15297fi 15298 else 15299 pkg_failed=untried 15300fi 15301 15302 15303 15304if test $pkg_failed = yes; then 15305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15306$as_echo "no" >&6; } 15307 15308if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15309 _pkg_short_errors_supported=yes 15310else 15311 _pkg_short_errors_supported=no 15312fi 15313 if test $_pkg_short_errors_supported = yes; then 15314 NSPR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xulrunner-nspr >= $NSPR_MIN_VERSION" 2>&1` 15315 else 15316 NSPR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xulrunner-nspr >= $NSPR_MIN_VERSION" 2>&1` 15317 fi 15318 # Put the nasty error message in config.log where it belongs 15319 echo "$NSPR_PKG_ERRORS" >&5 15320 15321 NSPR_FOUND=no 15322elif test $pkg_failed = untried; then 15323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15324$as_echo "no" >&6; } 15325 NSPR_FOUND=no 15326else 15327 NSPR_CFLAGS=$pkg_cv_NSPR_CFLAGS 15328 NSPR_LIBS=$pkg_cv_NSPR_LIBS 15329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15330$as_echo "yes" >&6; } 15331 NSPR_FOUND=yes NSPR_PACKAGE=xulrunner-nspr 15332fi 15333 fi 15334 if test "z$NSPR_FOUND" = "zno" ; then 15335 15336pkg_failed=no 15337{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSPR" >&5 15338$as_echo_n "checking for NSPR... " >&6; } 15339 15340if test -n "$NSPR_CFLAGS"; then 15341 pkg_cv_NSPR_CFLAGS="$NSPR_CFLAGS" 15342 elif test -n "$PKG_CONFIG"; then 15343 if test -n "$PKG_CONFIG" && \ 15344 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nspr >= \$NSPR_MIN_VERSION\""; } >&5 15345 ($PKG_CONFIG --exists --print-errors "nspr >= $NSPR_MIN_VERSION") 2>&5 15346 ac_status=$? 15347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15348 test $ac_status = 0; }; then 15349 pkg_cv_NSPR_CFLAGS=`$PKG_CONFIG --cflags "nspr >= $NSPR_MIN_VERSION" 2>/dev/null` 15350 test "x$?" != "x0" && pkg_failed=yes 15351else 15352 pkg_failed=yes 15353fi 15354 else 15355 pkg_failed=untried 15356fi 15357if test -n "$NSPR_LIBS"; then 15358 pkg_cv_NSPR_LIBS="$NSPR_LIBS" 15359 elif test -n "$PKG_CONFIG"; then 15360 if test -n "$PKG_CONFIG" && \ 15361 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nspr >= \$NSPR_MIN_VERSION\""; } >&5 15362 ($PKG_CONFIG --exists --print-errors "nspr >= $NSPR_MIN_VERSION") 2>&5 15363 ac_status=$? 15364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15365 test $ac_status = 0; }; then 15366 pkg_cv_NSPR_LIBS=`$PKG_CONFIG --libs "nspr >= $NSPR_MIN_VERSION" 2>/dev/null` 15367 test "x$?" != "x0" && pkg_failed=yes 15368else 15369 pkg_failed=yes 15370fi 15371 else 15372 pkg_failed=untried 15373fi 15374 15375 15376 15377if test $pkg_failed = yes; then 15378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15379$as_echo "no" >&6; } 15380 15381if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15382 _pkg_short_errors_supported=yes 15383else 15384 _pkg_short_errors_supported=no 15385fi 15386 if test $_pkg_short_errors_supported = yes; then 15387 NSPR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "nspr >= $NSPR_MIN_VERSION" 2>&1` 15388 else 15389 NSPR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "nspr >= $NSPR_MIN_VERSION" 2>&1` 15390 fi 15391 # Put the nasty error message in config.log where it belongs 15392 echo "$NSPR_PKG_ERRORS" >&5 15393 15394 NSPR_FOUND=no 15395elif test $pkg_failed = untried; then 15396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15397$as_echo "no" >&6; } 15398 NSPR_FOUND=no 15399else 15400 NSPR_CFLAGS=$pkg_cv_NSPR_CFLAGS 15401 NSPR_LIBS=$pkg_cv_NSPR_LIBS 15402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15403$as_echo "yes" >&6; } 15404 NSPR_FOUND=yes NSPR_PACKAGE=nspr 15405fi 15406 fi 15407fi 15408if test "z$NSS_FOUND" = "zno" -a "z$PKGCONFIG_FOUND" = "zyes" -a "z$with_mozilla_ver" = "z" -a "z$with_seamonkey_ver" ; then 15409 if test "z$NSS_FOUND" = "zno" ; then 15410 15411pkg_failed=no 15412{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSS" >&5 15413$as_echo_n "checking for NSS... " >&6; } 15414 15415if test -n "$NSS_CFLAGS"; then 15416 pkg_cv_NSS_CFLAGS="$NSS_CFLAGS" 15417 elif test -n "$PKG_CONFIG"; then 15418 if test -n "$PKG_CONFIG" && \ 15419 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"seamonkey-nss >= \$SEAMONKEY_MIN_VERSION\""; } >&5 15420 ($PKG_CONFIG --exists --print-errors "seamonkey-nss >= $SEAMONKEY_MIN_VERSION") 2>&5 15421 ac_status=$? 15422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15423 test $ac_status = 0; }; then 15424 pkg_cv_NSS_CFLAGS=`$PKG_CONFIG --cflags "seamonkey-nss >= $SEAMONKEY_MIN_VERSION" 2>/dev/null` 15425 test "x$?" != "x0" && pkg_failed=yes 15426else 15427 pkg_failed=yes 15428fi 15429 else 15430 pkg_failed=untried 15431fi 15432if test -n "$NSS_LIBS"; then 15433 pkg_cv_NSS_LIBS="$NSS_LIBS" 15434 elif test -n "$PKG_CONFIG"; then 15435 if test -n "$PKG_CONFIG" && \ 15436 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"seamonkey-nss >= \$SEAMONKEY_MIN_VERSION\""; } >&5 15437 ($PKG_CONFIG --exists --print-errors "seamonkey-nss >= $SEAMONKEY_MIN_VERSION") 2>&5 15438 ac_status=$? 15439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15440 test $ac_status = 0; }; then 15441 pkg_cv_NSS_LIBS=`$PKG_CONFIG --libs "seamonkey-nss >= $SEAMONKEY_MIN_VERSION" 2>/dev/null` 15442 test "x$?" != "x0" && pkg_failed=yes 15443else 15444 pkg_failed=yes 15445fi 15446 else 15447 pkg_failed=untried 15448fi 15449 15450 15451 15452if test $pkg_failed = yes; then 15453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15454$as_echo "no" >&6; } 15455 15456if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15457 _pkg_short_errors_supported=yes 15458else 15459 _pkg_short_errors_supported=no 15460fi 15461 if test $_pkg_short_errors_supported = yes; then 15462 NSS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "seamonkey-nss >= $SEAMONKEY_MIN_VERSION" 2>&1` 15463 else 15464 NSS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "seamonkey-nss >= $SEAMONKEY_MIN_VERSION" 2>&1` 15465 fi 15466 # Put the nasty error message in config.log where it belongs 15467 echo "$NSS_PKG_ERRORS" >&5 15468 15469 NSS_FOUND=no 15470elif test $pkg_failed = untried; then 15471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15472$as_echo "no" >&6; } 15473 NSS_FOUND=no 15474else 15475 NSS_CFLAGS=$pkg_cv_NSS_CFLAGS 15476 NSS_LIBS=$pkg_cv_NSS_LIBS 15477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15478$as_echo "yes" >&6; } 15479 NSS_FOUND=yes NSS_PACKAGE=seamonkey-nss 15480fi 15481 fi 15482 if test "z$NSS_FOUND" = "zno" ; then 15483 15484pkg_failed=no 15485{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSS" >&5 15486$as_echo_n "checking for NSS... " >&6; } 15487 15488if test -n "$NSS_CFLAGS"; then 15489 pkg_cv_NSS_CFLAGS="$NSS_CFLAGS" 15490 elif test -n "$PKG_CONFIG"; then 15491 if test -n "$PKG_CONFIG" && \ 15492 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nss >= \$MOZILLA_MIN_VERSION\""; } >&5 15493 ($PKG_CONFIG --exists --print-errors "nss >= $MOZILLA_MIN_VERSION") 2>&5 15494 ac_status=$? 15495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15496 test $ac_status = 0; }; then 15497 pkg_cv_NSS_CFLAGS=`$PKG_CONFIG --cflags "nss >= $MOZILLA_MIN_VERSION" 2>/dev/null` 15498 test "x$?" != "x0" && pkg_failed=yes 15499else 15500 pkg_failed=yes 15501fi 15502 else 15503 pkg_failed=untried 15504fi 15505if test -n "$NSS_LIBS"; then 15506 pkg_cv_NSS_LIBS="$NSS_LIBS" 15507 elif test -n "$PKG_CONFIG"; then 15508 if test -n "$PKG_CONFIG" && \ 15509 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nss >= \$MOZILLA_MIN_VERSION\""; } >&5 15510 ($PKG_CONFIG --exists --print-errors "nss >= $MOZILLA_MIN_VERSION") 2>&5 15511 ac_status=$? 15512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15513 test $ac_status = 0; }; then 15514 pkg_cv_NSS_LIBS=`$PKG_CONFIG --libs "nss >= $MOZILLA_MIN_VERSION" 2>/dev/null` 15515 test "x$?" != "x0" && pkg_failed=yes 15516else 15517 pkg_failed=yes 15518fi 15519 else 15520 pkg_failed=untried 15521fi 15522 15523 15524 15525if test $pkg_failed = yes; then 15526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15527$as_echo "no" >&6; } 15528 15529if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15530 _pkg_short_errors_supported=yes 15531else 15532 _pkg_short_errors_supported=no 15533fi 15534 if test $_pkg_short_errors_supported = yes; then 15535 NSS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "nss >= $MOZILLA_MIN_VERSION" 2>&1` 15536 else 15537 NSS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "nss >= $MOZILLA_MIN_VERSION" 2>&1` 15538 fi 15539 # Put the nasty error message in config.log where it belongs 15540 echo "$NSS_PKG_ERRORS" >&5 15541 15542 NSS_FOUND=no 15543elif test $pkg_failed = untried; then 15544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15545$as_echo "no" >&6; } 15546 NSS_FOUND=no 15547else 15548 NSS_CFLAGS=$pkg_cv_NSS_CFLAGS 15549 NSS_LIBS=$pkg_cv_NSS_LIBS 15550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15551$as_echo "yes" >&6; } 15552 NSS_FOUND=yes NSS_PACKAGE=nss 15553fi 15554 fi 15555 if test "z$NSS_FOUND" = "zno" ; then 15556 15557pkg_failed=no 15558{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSS" >&5 15559$as_echo_n "checking for NSS... " >&6; } 15560 15561if test -n "$NSS_CFLAGS"; then 15562 pkg_cv_NSS_CFLAGS="$NSS_CFLAGS" 15563 elif test -n "$PKG_CONFIG"; then 15564 if test -n "$PKG_CONFIG" && \ 15565 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xulrunner-nss >= \$NSS_MIN_VERSION\""; } >&5 15566 ($PKG_CONFIG --exists --print-errors "xulrunner-nss >= $NSS_MIN_VERSION") 2>&5 15567 ac_status=$? 15568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15569 test $ac_status = 0; }; then 15570 pkg_cv_NSS_CFLAGS=`$PKG_CONFIG --cflags "xulrunner-nss >= $NSS_MIN_VERSION" 2>/dev/null` 15571 test "x$?" != "x0" && pkg_failed=yes 15572else 15573 pkg_failed=yes 15574fi 15575 else 15576 pkg_failed=untried 15577fi 15578if test -n "$NSS_LIBS"; then 15579 pkg_cv_NSS_LIBS="$NSS_LIBS" 15580 elif test -n "$PKG_CONFIG"; then 15581 if test -n "$PKG_CONFIG" && \ 15582 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xulrunner-nss >= \$NSS_MIN_VERSION\""; } >&5 15583 ($PKG_CONFIG --exists --print-errors "xulrunner-nss >= $NSS_MIN_VERSION") 2>&5 15584 ac_status=$? 15585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15586 test $ac_status = 0; }; then 15587 pkg_cv_NSS_LIBS=`$PKG_CONFIG --libs "xulrunner-nss >= $NSS_MIN_VERSION" 2>/dev/null` 15588 test "x$?" != "x0" && pkg_failed=yes 15589else 15590 pkg_failed=yes 15591fi 15592 else 15593 pkg_failed=untried 15594fi 15595 15596 15597 15598if test $pkg_failed = yes; then 15599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15600$as_echo "no" >&6; } 15601 15602if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15603 _pkg_short_errors_supported=yes 15604else 15605 _pkg_short_errors_supported=no 15606fi 15607 if test $_pkg_short_errors_supported = yes; then 15608 NSS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xulrunner-nss >= $NSS_MIN_VERSION" 2>&1` 15609 else 15610 NSS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xulrunner-nss >= $NSS_MIN_VERSION" 2>&1` 15611 fi 15612 # Put the nasty error message in config.log where it belongs 15613 echo "$NSS_PKG_ERRORS" >&5 15614 15615 NSS_FOUND=no 15616elif test $pkg_failed = untried; then 15617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15618$as_echo "no" >&6; } 15619 NSS_FOUND=no 15620else 15621 NSS_CFLAGS=$pkg_cv_NSS_CFLAGS 15622 NSS_LIBS=$pkg_cv_NSS_LIBS 15623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15624$as_echo "yes" >&6; } 15625 NSS_FOUND=yes NSS_PACKAGE=xulrunner-nss 15626fi 15627 fi 15628 if test "z$NSS_FOUND" = "zno" ; then 15629 15630pkg_failed=no 15631{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSS" >&5 15632$as_echo_n "checking for NSS... " >&6; } 15633 15634if test -n "$NSS_CFLAGS"; then 15635 pkg_cv_NSS_CFLAGS="$NSS_CFLAGS" 15636 elif test -n "$PKG_CONFIG"; then 15637 if test -n "$PKG_CONFIG" && \ 15638 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nss >= \$NSS_MIN_VERSION\""; } >&5 15639 ($PKG_CONFIG --exists --print-errors "nss >= $NSS_MIN_VERSION") 2>&5 15640 ac_status=$? 15641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15642 test $ac_status = 0; }; then 15643 pkg_cv_NSS_CFLAGS=`$PKG_CONFIG --cflags "nss >= $NSS_MIN_VERSION" 2>/dev/null` 15644 test "x$?" != "x0" && pkg_failed=yes 15645else 15646 pkg_failed=yes 15647fi 15648 else 15649 pkg_failed=untried 15650fi 15651if test -n "$NSS_LIBS"; then 15652 pkg_cv_NSS_LIBS="$NSS_LIBS" 15653 elif test -n "$PKG_CONFIG"; then 15654 if test -n "$PKG_CONFIG" && \ 15655 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nss >= \$NSS_MIN_VERSION\""; } >&5 15656 ($PKG_CONFIG --exists --print-errors "nss >= $NSS_MIN_VERSION") 2>&5 15657 ac_status=$? 15658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15659 test $ac_status = 0; }; then 15660 pkg_cv_NSS_LIBS=`$PKG_CONFIG --libs "nss >= $NSS_MIN_VERSION" 2>/dev/null` 15661 test "x$?" != "x0" && pkg_failed=yes 15662else 15663 pkg_failed=yes 15664fi 15665 else 15666 pkg_failed=untried 15667fi 15668 15669 15670 15671if test $pkg_failed = yes; then 15672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15673$as_echo "no" >&6; } 15674 15675if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 15676 _pkg_short_errors_supported=yes 15677else 15678 _pkg_short_errors_supported=no 15679fi 15680 if test $_pkg_short_errors_supported = yes; then 15681 NSS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "nss >= $NSS_MIN_VERSION" 2>&1` 15682 else 15683 NSS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "nss >= $NSS_MIN_VERSION" 2>&1` 15684 fi 15685 # Put the nasty error message in config.log where it belongs 15686 echo "$NSS_PKG_ERRORS" >&5 15687 15688 NSS_FOUND=no 15689elif test $pkg_failed = untried; then 15690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15691$as_echo "no" >&6; } 15692 NSS_FOUND=no 15693else 15694 NSS_CFLAGS=$pkg_cv_NSS_CFLAGS 15695 NSS_LIBS=$pkg_cv_NSS_LIBS 15696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15697$as_echo "yes" >&6; } 15698 NSS_FOUND=yes NSS_PACKAGE=nss 15699fi 15700 fi 15701fi 15702 15703if test "z$with_seamonkey_ver" != "z" ; then 15704 NSS_MOZILLA_NAME=seamonkey-$with_seamonkey_ver 15705elif test "z$with_mozilla_ver" != "z" ; then 15706 NSS_MOZILLA_NAME=mozilla-$with_mozilla_ver 15707else 15708 NSS_MOZILLA_NAME=mozilla-$MOZILLA_MIN_VERSION 15709fi 15710NSS_INCLUDE_DIR="$COMMON_INCLUDE_DIR /usr/include/mozilla /usr/local/include/mozilla /usr/include/$NSS_MOZILLA_NAME /usr/local/include/$NSS_MOZILLA_NAME" 15711NSS_LIB_DIR="$COMMON_LIB_DIR /usr/lib/$NSS_MOZILLA_NAME /usr/local/lib/$NSS_MOZILLA_NAME" 15712if test "z$NSPR_FOUND" = "zno" -a "z$ENABLE_FOLDERS_SEARCH" = "zyes" ; then 15713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nspr library installation in the typical folders" >&5 15714$as_echo_n "checking for nspr library installation in the typical folders... " >&6; } 15715 if test "z$NSPR_INCLUDE_PATH" = "z" ; then 15716 15717 for dir in $NSS_INCLUDE_DIR ; do 15718 if test -f "$dir/$NSPR_INCLUDE_MARKER" ; then 15719 NSPR_INCLUDE_PATH="$dir" 15720 break; 15721 fi 15722 done 15723 15724 fi 15725 if test "z$NSPR_LIB_PATH" = "z" ; then 15726 15727 for dir in $NSS_LIB_DIR ; do 15728 if test -f "$dir/$NSPR_LIB_MARKER" ; then 15729 NSPR_LIB_PATH="$dir" 15730 break; 15731 fi 15732 done 15733 15734 fi 15735 if test "z$NSPR_INCLUDE_PATH" != "z" -a "z$NSPR_LIB_PATH" != "z" ; then 15736 NSPR_FOUND=yes 15737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (\"-I$NSPR_INCLUDE_PATH -L$NSPR_LIB_PATH\")" >&5 15738$as_echo "yes (\"-I$NSPR_INCLUDE_PATH -L$NSPR_LIB_PATH\")" >&6; } 15739 else 15740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 15741$as_echo "not found" >&6; } 15742 fi 15743fi 15744if test "z$NSS_FOUND" = "zno" -a "z$ENABLE_FOLDERS_SEARCH" = "zyes" ; then 15745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nss library installation in the typical folders" >&5 15746$as_echo_n "checking for nss library installation in the typical folders... " >&6; } 15747 if test "z$NSS_INCLUDE_PATH" = "z" ; then 15748 15749 for dir in $NSS_INCLUDE_DIR ; do 15750 if test -f "$dir/$NSS_INCLUDE_MARKER" ; then 15751 NSS_INCLUDE_PATH="$dir" 15752 break; 15753 fi 15754 done 15755 15756 fi 15757 if test "z$NSS_LIB_PATH" = "z" ; then 15758 15759 for dir in $NSS_LIB_DIR ; do 15760 if test -f "$dir/$NSS_LIB_MARKER" ; then 15761 NSS_LIB_PATH="$dir" 15762 break; 15763 fi 15764 done 15765 15766 fi 15767 if test "z$NSS_INCLUDE_PATH" != "z" -a "z$NSS_LIB_PATH" != "z" ; then 15768 NSS_FOUND=yes 15769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (\"-I$NSS_INCLUDE_PATH -L$NSS_LIB_PATH\")" >&5 15770$as_echo "yes (\"-I$NSS_INCLUDE_PATH -L$NSS_LIB_PATH\")" >&6; } 15771 else 15772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 15773$as_echo "not found" >&6; } 15774 fi 15775fi 15776 15777if test "z$NSPR_FOUND" = "zno" ; then 15778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nspr library installation" >&5 15779$as_echo_n "checking for nspr library installation... " >&6; } 15780 OLD_CPPFLAGS=$CPPFLAGS 15781 CPPFLAGS="$CPPFLAGS $NSPR_CFLAGS" 15782 OLD_LIBS=$LIBS 15783 LIBS="$LIBS $NSPR_LIBS $NSPR_LIBS_LIST" 15784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15785/* end confdefs.h. */ 15786 15787 15788 #include <stdio.h> 15789 #include <nspr/nspr.h> 15790 15791int 15792main () 15793{ 15794 15795 int main () { printf("v=%s\n", PR_GetVersion()); return(0); } 15796 15797 ; 15798 return 0; 15799} 15800 15801_ACEOF 15802if ac_fn_c_try_link "$LINENO"; then : 15803 15804 NSPR_FOUND=yes 15805 NSPR_LIBS="$NSPR_LIBS $NSPR_LIBS_LIST" 15806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15807$as_echo "yes" >&6; } 15808 15809else 15810 15811 NSPR_FOUND=no 15812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 15813$as_echo "not found" >&6; } 15814 15815fi 15816rm -f core conftest.err conftest.$ac_objext \ 15817 conftest$ac_exeext conftest.$ac_ext 15818 CPPFLAGS=$OLD_CPPFLAGS 15819 LIBS=$OLD_LIBS 15820fi 15821 15822if test "z$NSPR_FOUND" = "zyes" -a "z$NSPR_INCLUDE_PATH" != "z" ; then 15823 NSPR_CFLAGS="$NSPR_CFLAGS -I$NSPR_INCLUDE_PATH -I$NSPR_INCLUDE_PATH/nspr" 15824fi 15825if test "z$NSPR_FOUND" = "zyes" -a "z$NSPR_LIB_PATH" != "z" ; then 15826 if test "z$with_gnu_ld" = "zyes" ; then 15827 NSPR_LIBS="$NSPR_LIBS -Wl,-rpath-link -Wl,$NSPR_LIB_PATH" 15828 fi 15829 NSPR_LIBS="$NSPR_LIBS -L$NSPR_LIB_PATH/lib $NSPR_LIBS_LIST" 15830fi 15831 15832if test "z$NSS_FOUND" = "zno" ; then 15833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nss library installation" >&5 15834$as_echo_n "checking for nss library installation... " >&6; } 15835 OLD_CPPFLAGS=$CPPFLAGS 15836 CPPFLAGS="$CPPFLAGS $NSPR_CFLAGS $NSS_CFLAGS" 15837 OLD_LIBS=$LIBS 15838 LIBS="$LIBS $NSS_LIBS $NSPR_LIBS $NSS_LIBS_LIST" 15839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15840/* end confdefs.h. */ 15841 15842 15843 #include <stdio.h> 15844 #include <nss/nss.h> 15845 15846int 15847main () 15848{ 15849 15850 int main () { printf("v=%s\n", NSS_GetVersion()); return(0); } 15851 15852 ; 15853 return 0; 15854} 15855 15856_ACEOF 15857if ac_fn_c_try_link "$LINENO"; then : 15858 15859 NSS_FOUND=yes 15860 NSS_LIBS="$NSS_LIBS $NSS_LIBS_LIST" 15861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15862$as_echo "yes" >&6; } 15863 15864else 15865 15866 NSS_FOUND=no 15867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 15868$as_echo "not found" >&6; } 15869 15870fi 15871rm -f core conftest.err conftest.$ac_objext \ 15872 conftest$ac_exeext conftest.$ac_ext 15873 CPPFLAGS=$OLD_CPPFLAGS 15874 LIBS=$OLD_LIBS 15875fi 15876 15877if test "z$NSS_FOUND" = "zyes" -a "z$NSS_INCLUDE_PATH" != "z" ; then 15878 NSS_CFLAGS="$NSS_CFLAGS -I$NSS_INCLUDE_PATH -I$NSS_INCLUDE_PATH/nss" 15879fi 15880if test "z$NSS_FOUND" = "zyes" -a "z$NSS_LIB_PATH" != "z" ; then 15881 if test "z$with_gnu_ld" = "zyes" ; then 15882 NSS_LIBS="$NSS_LIBS -Wl,-rpath-link -Wl,$NSS_LIB_PATH" 15883 fi 15884 NSS_LIBS="$NSS_LIBS -L$NSS_LIB_PATH/lib $NSS_LIBS_LIST" 15885fi 15886 15887{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for nspr library >= $NSPR_MIN_VERSION" >&5 15888$as_echo_n "checking for nspr library >= $NSPR_MIN_VERSION... " >&6; } 15889if test "z$NSPR_FOUND" = "zyes" ; then 15890 minvers=`echo $NSPR_MIN_VERSION | awk -F. '{ printf "%d", ($1 * 100 + $2) * 100 + $3;}'` 15891 OLD_CPPFLAGS=$CPPFLAGS 15892 CPPFLAGS="$CPPFLAGS $NSPR_CFLAGS" 15893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15894/* end confdefs.h. */ 15895 15896 #include <prinit.h> 15897 #if ((PR_VMAJOR * 100 + PR_VMINOR) * 100 + PR_VPATCH) >= $minvers 15898 greater-than-minvers 15899 #endif 15900 15901_ACEOF 15902if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 15903 $EGREP "greater-than-minvers" >/dev/null 2>&1; then : 15904 15905 NSPR_FOUND=yes 15906 15907else 15908 15909 NSPR_FOUND=no 15910 15911fi 15912rm -f conftest* 15913 15914 CPPFLAGS="$OLD_CPPFLAGS" 15915fi 15916{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NSPR_FOUND" >&5 15917$as_echo "$NSPR_FOUND" >&6; } 15918 15919{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for nss library >= $NSS_MIN_VERSION" >&5 15920$as_echo_n "checking for nss library >= $NSS_MIN_VERSION... " >&6; } 15921if test "z$NSS_FOUND" = "zyes" ; then 15922 minvers=`echo $NSS_MIN_VERSION | awk -F. '{ printf "%d", ($1 * 100 + $2) * 100 + $3;}'` 15923 OLD_CPPFLAGS=$CPPFLAGS 15924 CPPFLAGS="$CPPFLAGS $NSPR_CFLAGS $NSS_CFLAGS" 15925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15926/* end confdefs.h. */ 15927 15928 #include <nss.h> 15929 #if ((NSS_VMAJOR * 100 + NSS_VMINOR) * 100 + NSS_VPATCH) >= $minvers 15930 greater-than-minvers 15931 #endif 15932 15933_ACEOF 15934if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 15935 $EGREP "greater-than-minvers" >/dev/null 2>&1; then : 15936 15937 NSS_FOUND=yes 15938 15939else 15940 15941 NSS_FOUND=no 15942 15943fi 15944rm -f conftest* 15945 15946 CPPFLAGS="$OLD_CPPFLAGS" 15947fi 15948{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NSS_FOUND" >&5 15949$as_echo "$NSS_FOUND" >&6; } 15950 15951if test "z$NSPR_FOUND" = "zyes" -a "z$NSS_FOUND" = "zyes" ; then 15952 NSS_CFLAGS="$NSS_CFLAGS $NSPR_CFLAGS" 15953 NSS_LIBS="$NSS_LIBS $NSPR_LIBS" 15954elif test "z$NSPR_FOUND" != "zyes" -a "z$NSS_FOUND" = "zyes" ; then 15955 NSS_FOUND="no" 15956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: NSPR library is required for NSS, ignoring NSS library we have found" >&5 15957$as_echo "NSPR library is required for NSS, ignoring NSS library we have found" >&6; } 15958fi 15959 15960if test "z$NSS_FOUND" = "zyes" ; then 15961 XMLSEC_NO_NSS="0" 15962 NSS_CFLAGS="$NSS_CFLAGS -DXMLSEC_CRYPTO_NSS=1" 15963 XMLSEC_CRYPTO_LIST="$XMLSEC_CRYPTO_LIST nss" 15964else 15965 XMLSEC_CRYPTO_DISABLED_LIST="$XMLSEC_CRYPTO_DISABLED_LIST nss" 15966fi 15967 15968 if test "z$XMLSEC_NO_NSS" = "z1"; then 15969 XMLSEC_NO_NSS_TRUE= 15970 XMLSEC_NO_NSS_FALSE='#' 15971else 15972 XMLSEC_NO_NSS_TRUE='#' 15973 XMLSEC_NO_NSS_FALSE= 15974fi 15975 15976 15977 15978 15979 15980 15981 15982 15983 15984 15985 15986GCRYPT_MIN_VERSION="1.4.0" 15987GCRYPT_INCLUDE_DIR="$COMMON_INCLUDE_DIR /usr/local/gcrypt/include" 15988GCRYPT_LIB_DIR="$COMMON_LIB_DIR /usr/local/gcrypt/lib" 15989GCRYPT_CONFIG="libgcrypt-config" 15990GCRYPT_INCLUDE_MARKER="gcrypt.h" 15991GCRYPT_LIB_MARKER="libgcrypt$shrext" 15992GCRYPT_CRYPTO_LIB="$XMLSEC_PACKAGE-gcrypt" 15993GCRYPT_LIBS_LIST="-lgcrypt" 15994 15995XMLSEC_NO_GCRYPT="1" 15996GCRYPT_VERSION= 15997GCRYPT_INCLUDE_PATH= 15998GCRYPT_LIB_PATH= 15999GCRYPT_FOUND="no" 16000 16001# Check whether --with-gcrypt was given. 16002if test "${with_gcrypt+set}" = set; then : 16003 withval=$with_gcrypt; 16004fi 16005 16006 16007if test "z$with_gcrypt" = "zno" ; then 16008 GCRYPT_FOUND="disabled" 16009fi 16010 16011if test "z$GCRYPT_FOUND" = "zno" -a "z$with_gcrypt" != "z" -a "z$with_gcrypt" != "zyes" ; then 16012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgcrypt library installation in \"$with_gcrypt\" folder" >&5 16013$as_echo_n "checking for libgcrypt library installation in \"$with_gcrypt\" folder... " >&6; } 16014 if test "z$ENABLE_CUSTOM_CONFIGS" = "zyes" -a -f "$with_gcrypt/bin/$GCRYPT_CONFIG" ; then 16015 GCRYPT_CONFIG_PATH="$with_gcrypt/bin/$GCRYPT_CONFIG" 16016 GCRYPT_FOUND="yes" 16017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16018$as_echo "yes" >&6; } 16019 elif test -f "$with_gcrypt/include/$GCRYPT_INCLUDE_MARKER" -a -f "$with_gcrypt/lib/$GCRYPT_LIB_MARKER" ; then 16020 GCRYPT_INCLUDE_PATH="$with_gcrypt/include" 16021 GCRYPT_LIB_PATH="$with_gcrypt/lib" 16022 GCRYPT_FOUND="yes" 16023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16024$as_echo "yes" >&6; } 16025 else 16026 as_fn_error $? "not found: \"$with_gcrypt/bin/$GCRYPT_CONFIG\" tool, or \"$with_gcrypt/include/$GCRYPT_INCLUDE_MARKER\" and/or \"$with_gcrypt/lib/$GCRYPT_LIB_MARKER\" files don't exist), typo?" "$LINENO" 5 16027 fi 16028fi 16029 16030if test "z$GCRYPT_FOUND" = "zno" -a "z$GCRYPT_CFLAGS" != "z" -a "z$GCRYPT_LIBS" != "z" ; then 16031 GCRYPT_FOUND="yes" 16032fi 16033 16034if test "z$GCRYPT_FOUND" = "zno" -a "z$PKGCONFIG_FOUND" = "zyes" ; then 16035 if test "z$GCRYPT_FOUND" = "zno" ; then 16036 16037pkg_failed=no 16038{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCRYPT" >&5 16039$as_echo_n "checking for GCRYPT... " >&6; } 16040 16041if test -n "$GCRYPT_CFLAGS"; then 16042 pkg_cv_GCRYPT_CFLAGS="$GCRYPT_CFLAGS" 16043 elif test -n "$PKG_CONFIG"; then 16044 if test -n "$PKG_CONFIG" && \ 16045 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gcrypt >= \$GCRYPT_MIN_VERSION\""; } >&5 16046 ($PKG_CONFIG --exists --print-errors "gcrypt >= $GCRYPT_MIN_VERSION") 2>&5 16047 ac_status=$? 16048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16049 test $ac_status = 0; }; then 16050 pkg_cv_GCRYPT_CFLAGS=`$PKG_CONFIG --cflags "gcrypt >= $GCRYPT_MIN_VERSION" 2>/dev/null` 16051 test "x$?" != "x0" && pkg_failed=yes 16052else 16053 pkg_failed=yes 16054fi 16055 else 16056 pkg_failed=untried 16057fi 16058if test -n "$GCRYPT_LIBS"; then 16059 pkg_cv_GCRYPT_LIBS="$GCRYPT_LIBS" 16060 elif test -n "$PKG_CONFIG"; then 16061 if test -n "$PKG_CONFIG" && \ 16062 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gcrypt >= \$GCRYPT_MIN_VERSION\""; } >&5 16063 ($PKG_CONFIG --exists --print-errors "gcrypt >= $GCRYPT_MIN_VERSION") 2>&5 16064 ac_status=$? 16065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16066 test $ac_status = 0; }; then 16067 pkg_cv_GCRYPT_LIBS=`$PKG_CONFIG --libs "gcrypt >= $GCRYPT_MIN_VERSION" 2>/dev/null` 16068 test "x$?" != "x0" && pkg_failed=yes 16069else 16070 pkg_failed=yes 16071fi 16072 else 16073 pkg_failed=untried 16074fi 16075 16076 16077 16078if test $pkg_failed = yes; then 16079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16080$as_echo "no" >&6; } 16081 16082if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16083 _pkg_short_errors_supported=yes 16084else 16085 _pkg_short_errors_supported=no 16086fi 16087 if test $_pkg_short_errors_supported = yes; then 16088 GCRYPT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gcrypt >= $GCRYPT_MIN_VERSION" 2>&1` 16089 else 16090 GCRYPT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gcrypt >= $GCRYPT_MIN_VERSION" 2>&1` 16091 fi 16092 # Put the nasty error message in config.log where it belongs 16093 echo "$GCRYPT_PKG_ERRORS" >&5 16094 16095 GCRYPT_FOUND=no 16096elif test $pkg_failed = untried; then 16097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16098$as_echo "no" >&6; } 16099 GCRYPT_FOUND=no 16100else 16101 GCRYPT_CFLAGS=$pkg_cv_GCRYPT_CFLAGS 16102 GCRYPT_LIBS=$pkg_cv_GCRYPT_LIBS 16103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16104$as_echo "yes" >&6; } 16105 GCRYPT_FOUND=yes 16106fi 16107 fi 16108 if test "z$GCRYPT_FOUND" = "zno" ; then 16109 16110pkg_failed=no 16111{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCRYPT" >&5 16112$as_echo_n "checking for GCRYPT... " >&6; } 16113 16114if test -n "$GCRYPT_CFLAGS"; then 16115 pkg_cv_GCRYPT_CFLAGS="$GCRYPT_CFLAGS" 16116 elif test -n "$PKG_CONFIG"; then 16117 if test -n "$PKG_CONFIG" && \ 16118 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgcrypt20 >= \$GCRYPT_MIN_VERSION\""; } >&5 16119 ($PKG_CONFIG --exists --print-errors "libgcrypt20 >= $GCRYPT_MIN_VERSION") 2>&5 16120 ac_status=$? 16121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16122 test $ac_status = 0; }; then 16123 pkg_cv_GCRYPT_CFLAGS=`$PKG_CONFIG --cflags "libgcrypt20 >= $GCRYPT_MIN_VERSION" 2>/dev/null` 16124 test "x$?" != "x0" && pkg_failed=yes 16125else 16126 pkg_failed=yes 16127fi 16128 else 16129 pkg_failed=untried 16130fi 16131if test -n "$GCRYPT_LIBS"; then 16132 pkg_cv_GCRYPT_LIBS="$GCRYPT_LIBS" 16133 elif test -n "$PKG_CONFIG"; then 16134 if test -n "$PKG_CONFIG" && \ 16135 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgcrypt20 >= \$GCRYPT_MIN_VERSION\""; } >&5 16136 ($PKG_CONFIG --exists --print-errors "libgcrypt20 >= $GCRYPT_MIN_VERSION") 2>&5 16137 ac_status=$? 16138 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16139 test $ac_status = 0; }; then 16140 pkg_cv_GCRYPT_LIBS=`$PKG_CONFIG --libs "libgcrypt20 >= $GCRYPT_MIN_VERSION" 2>/dev/null` 16141 test "x$?" != "x0" && pkg_failed=yes 16142else 16143 pkg_failed=yes 16144fi 16145 else 16146 pkg_failed=untried 16147fi 16148 16149 16150 16151if test $pkg_failed = yes; then 16152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16153$as_echo "no" >&6; } 16154 16155if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16156 _pkg_short_errors_supported=yes 16157else 16158 _pkg_short_errors_supported=no 16159fi 16160 if test $_pkg_short_errors_supported = yes; then 16161 GCRYPT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libgcrypt20 >= $GCRYPT_MIN_VERSION" 2>&1` 16162 else 16163 GCRYPT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libgcrypt20 >= $GCRYPT_MIN_VERSION" 2>&1` 16164 fi 16165 # Put the nasty error message in config.log where it belongs 16166 echo "$GCRYPT_PKG_ERRORS" >&5 16167 16168 GCRYPT_FOUND=no 16169elif test $pkg_failed = untried; then 16170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16171$as_echo "no" >&6; } 16172 GCRYPT_FOUND=no 16173else 16174 GCRYPT_CFLAGS=$pkg_cv_GCRYPT_CFLAGS 16175 GCRYPT_LIBS=$pkg_cv_GCRYPT_LIBS 16176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16177$as_echo "yes" >&6; } 16178 GCRYPT_FOUND=yes 16179fi 16180 fi 16181 if test "z$GCRYPT_FOUND" = "zno" ; then 16182 16183pkg_failed=no 16184{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCRYPT" >&5 16185$as_echo_n "checking for GCRYPT... " >&6; } 16186 16187if test -n "$GCRYPT_CFLAGS"; then 16188 pkg_cv_GCRYPT_CFLAGS="$GCRYPT_CFLAGS" 16189 elif test -n "$PKG_CONFIG"; then 16190 if test -n "$PKG_CONFIG" && \ 16191 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgcrypt11 >= \$GCRYPT_MIN_VERSION\""; } >&5 16192 ($PKG_CONFIG --exists --print-errors "libgcrypt11 >= $GCRYPT_MIN_VERSION") 2>&5 16193 ac_status=$? 16194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16195 test $ac_status = 0; }; then 16196 pkg_cv_GCRYPT_CFLAGS=`$PKG_CONFIG --cflags "libgcrypt11 >= $GCRYPT_MIN_VERSION" 2>/dev/null` 16197 test "x$?" != "x0" && pkg_failed=yes 16198else 16199 pkg_failed=yes 16200fi 16201 else 16202 pkg_failed=untried 16203fi 16204if test -n "$GCRYPT_LIBS"; then 16205 pkg_cv_GCRYPT_LIBS="$GCRYPT_LIBS" 16206 elif test -n "$PKG_CONFIG"; then 16207 if test -n "$PKG_CONFIG" && \ 16208 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgcrypt11 >= \$GCRYPT_MIN_VERSION\""; } >&5 16209 ($PKG_CONFIG --exists --print-errors "libgcrypt11 >= $GCRYPT_MIN_VERSION") 2>&5 16210 ac_status=$? 16211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16212 test $ac_status = 0; }; then 16213 pkg_cv_GCRYPT_LIBS=`$PKG_CONFIG --libs "libgcrypt11 >= $GCRYPT_MIN_VERSION" 2>/dev/null` 16214 test "x$?" != "x0" && pkg_failed=yes 16215else 16216 pkg_failed=yes 16217fi 16218 else 16219 pkg_failed=untried 16220fi 16221 16222 16223 16224if test $pkg_failed = yes; then 16225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16226$as_echo "no" >&6; } 16227 16228if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16229 _pkg_short_errors_supported=yes 16230else 16231 _pkg_short_errors_supported=no 16232fi 16233 if test $_pkg_short_errors_supported = yes; then 16234 GCRYPT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libgcrypt11 >= $GCRYPT_MIN_VERSION" 2>&1` 16235 else 16236 GCRYPT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libgcrypt11 >= $GCRYPT_MIN_VERSION" 2>&1` 16237 fi 16238 # Put the nasty error message in config.log where it belongs 16239 echo "$GCRYPT_PKG_ERRORS" >&5 16240 16241 GCRYPT_FOUND=no 16242elif test $pkg_failed = untried; then 16243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16244$as_echo "no" >&6; } 16245 GCRYPT_FOUND=no 16246else 16247 GCRYPT_CFLAGS=$pkg_cv_GCRYPT_CFLAGS 16248 GCRYPT_LIBS=$pkg_cv_GCRYPT_LIBS 16249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16250$as_echo "yes" >&6; } 16251 GCRYPT_FOUND=yes 16252fi 16253 fi 16254 if test "z$GCRYPT_FOUND" = "zno" ; then 16255 16256pkg_failed=no 16257{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCRYPT" >&5 16258$as_echo_n "checking for GCRYPT... " >&6; } 16259 16260if test -n "$GCRYPT_CFLAGS"; then 16261 pkg_cv_GCRYPT_CFLAGS="$GCRYPT_CFLAGS" 16262 elif test -n "$PKG_CONFIG"; then 16263 if test -n "$PKG_CONFIG" && \ 16264 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgcrypt >= \$GCRYPT_MIN_VERSION\""; } >&5 16265 ($PKG_CONFIG --exists --print-errors "libgcrypt >= $GCRYPT_MIN_VERSION") 2>&5 16266 ac_status=$? 16267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16268 test $ac_status = 0; }; then 16269 pkg_cv_GCRYPT_CFLAGS=`$PKG_CONFIG --cflags "libgcrypt >= $GCRYPT_MIN_VERSION" 2>/dev/null` 16270 test "x$?" != "x0" && pkg_failed=yes 16271else 16272 pkg_failed=yes 16273fi 16274 else 16275 pkg_failed=untried 16276fi 16277if test -n "$GCRYPT_LIBS"; then 16278 pkg_cv_GCRYPT_LIBS="$GCRYPT_LIBS" 16279 elif test -n "$PKG_CONFIG"; then 16280 if test -n "$PKG_CONFIG" && \ 16281 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgcrypt >= \$GCRYPT_MIN_VERSION\""; } >&5 16282 ($PKG_CONFIG --exists --print-errors "libgcrypt >= $GCRYPT_MIN_VERSION") 2>&5 16283 ac_status=$? 16284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16285 test $ac_status = 0; }; then 16286 pkg_cv_GCRYPT_LIBS=`$PKG_CONFIG --libs "libgcrypt >= $GCRYPT_MIN_VERSION" 2>/dev/null` 16287 test "x$?" != "x0" && pkg_failed=yes 16288else 16289 pkg_failed=yes 16290fi 16291 else 16292 pkg_failed=untried 16293fi 16294 16295 16296 16297if test $pkg_failed = yes; then 16298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16299$as_echo "no" >&6; } 16300 16301if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16302 _pkg_short_errors_supported=yes 16303else 16304 _pkg_short_errors_supported=no 16305fi 16306 if test $_pkg_short_errors_supported = yes; then 16307 GCRYPT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libgcrypt >= $GCRYPT_MIN_VERSION" 2>&1` 16308 else 16309 GCRYPT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libgcrypt >= $GCRYPT_MIN_VERSION" 2>&1` 16310 fi 16311 # Put the nasty error message in config.log where it belongs 16312 echo "$GCRYPT_PKG_ERRORS" >&5 16313 16314 GCRYPT_FOUND=no 16315elif test $pkg_failed = untried; then 16316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16317$as_echo "no" >&6; } 16318 GCRYPT_FOUND=no 16319else 16320 GCRYPT_CFLAGS=$pkg_cv_GCRYPT_CFLAGS 16321 GCRYPT_LIBS=$pkg_cv_GCRYPT_LIBS 16322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16323$as_echo "yes" >&6; } 16324 GCRYPT_FOUND=yes 16325fi 16326 fi 16327fi 16328 16329if test "z$GCRYPT_FOUND" = "zno" -a "z$ENABLE_CUSTOM_CONFIGS" = "zyes" ; then 16330 # Extract the first word of "$GCRYPT_CONFIG", so it can be a program name with args. 16331set dummy $GCRYPT_CONFIG; ac_word=$2 16332{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16333$as_echo_n "checking for $ac_word... " >&6; } 16334if ${ac_cv_path_GCRYPT_CONFIG_PATH+:} false; then : 16335 $as_echo_n "(cached) " >&6 16336else 16337 case $GCRYPT_CONFIG_PATH in 16338 [\\/]* | ?:[\\/]*) 16339 ac_cv_path_GCRYPT_CONFIG_PATH="$GCRYPT_CONFIG_PATH" # Let the user override the test with a path. 16340 ;; 16341 *) 16342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16343for as_dir in $PATH 16344do 16345 IFS=$as_save_IFS 16346 test -z "$as_dir" && as_dir=. 16347 for ac_exec_ext in '' $ac_executable_extensions; do 16348 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16349 ac_cv_path_GCRYPT_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext" 16350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16351 break 2 16352 fi 16353done 16354 done 16355IFS=$as_save_IFS 16356 16357 ;; 16358esac 16359fi 16360GCRYPT_CONFIG_PATH=$ac_cv_path_GCRYPT_CONFIG_PATH 16361if test -n "$GCRYPT_CONFIG_PATH"; then 16362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCRYPT_CONFIG_PATH" >&5 16363$as_echo "$GCRYPT_CONFIG_PATH" >&6; } 16364else 16365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16366$as_echo "no" >&6; } 16367fi 16368 16369 16370 if test "z$GCRYPT_CONFIG_PATH" != "z" ; then 16371 GCRYPT_FOUND="yes" 16372 fi 16373fi 16374 16375if test "z$GCRYPT_FOUND" = "zno" -a "z$ENABLE_FOLDERS_SEARCH" = "zyes" ; then 16376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgcrypt library installation in the typical folders" >&5 16377$as_echo_n "checking for libgcrypt library installation in the typical folders... " >&6; } 16378 if test "z$GCRYPT_INCLUDE_PATH" = "z" ; then 16379 16380 for dir in $GCRYPT_INCLUDE_DIR ; do 16381 if test -f "$dir/$GCRYPT_INCLUDE_MARKER" ; then 16382 GCRYPT_INCLUDE_PATH="$dir" 16383 break; 16384 fi 16385 done 16386 16387 fi 16388 if test "z$GCRYPT_LIB_PATH" = "z" ; then 16389 16390 for dir in $GCRYPT_LIB_DIR ; do 16391 if test -f "$dir/$GCRYPT_LIB_MARKER" ; then 16392 GCRYPT_LIB_PATH="$dir" 16393 break; 16394 fi 16395 done 16396 16397 fi 16398 if test "z$GCRYPT_INCLUDE_PATH" != "z" -a "z$GCRYPT_LIB_PATH" != "z" ; then 16399 GCRYPT_FOUND="yes" 16400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (\"-I$GCRYPT_INCLUDE_PATH -L$GCRYPT_LIB_PATH\")" >&5 16401$as_echo "yes (\"-I$GCRYPT_INCLUDE_PATH -L$GCRYPT_LIB_PATH\")" >&6; } 16402 else 16403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 16404$as_echo "not found" >&6; } 16405 fi 16406fi 16407 16408if test "z$GCRYPT_FOUND" = "zno" ; then 16409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcrypt library installation" >&5 16410$as_echo_n "checking for gcrypt library installation... " >&6; } 16411 OLD_CPPFLAGS=$CPPFLAGS 16412 CPPFLAGS="$CPPFLAGS $GCRYPT_CFLAGS" 16413 OLD_LIBS=$LIBS 16414 LIBS="$LIBS $GCRYPT_LIBS $GCRYPT_LIBS_LIST" 16415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16416/* end confdefs.h. */ 16417 16418 16419 #include <gcrypt.h> 16420 16421int 16422main () 16423{ 16424 16425 int main () { printf("v=%s\n", gcry_check_version("0")); return(0); } 16426 16427 ; 16428 return 0; 16429} 16430 16431_ACEOF 16432if ac_fn_c_try_link "$LINENO"; then : 16433 16434 GCRYPT_FOUND=yes 16435 GCRYPT_LIBS="$GCRYPT_LIBS $GCRYPT_LIBS_LIST" 16436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16437$as_echo "yes" >&6; } 16438 16439else 16440 16441 GCRYPT_FOUND=no 16442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 16443$as_echo "not found" >&6; } 16444 16445fi 16446rm -f core conftest.err conftest.$ac_objext \ 16447 conftest$ac_exeext conftest.$ac_ext 16448 CPPFLAGS=$OLD_CPPFLAGS 16449 LIBS=$OLD_LIBS 16450fi 16451 16452if test "z$GCRYPT_FOUND" = "zyes" ; then 16453 if test "z$GCRYPT_CONFIG_PATH" != "z" -a "z$ENABLE_CUSTOM_CONFIGS" = "zyes" ; then 16454 if test "z$GCRYPT_CFLAGS" = "z" ; then 16455 GCRYPT_CFLAGS="`$GCRYPT_CONFIG_PATH --cflags`" 16456 fi 16457 if test "z$GCRYPT_LIBS" = "z"; then 16458 GCRYPT_LIBS="`$GCRYPT_CONFIG_PATH --libs`" 16459 fi 16460 GCRYPT_CONFIG=$GCRYPT_CONFIG_PATH 16461 GCRYPT_FOUND="yes" 16462 else 16463 if test "z$GCRYPT_INCLUDE_PATH" != "z" ; then 16464 GCRYPT_CFLAGS="$GCRYPT_CFLAGS -I$GCRYPT_INCLUDE_PATH" 16465 fi 16466 if test "z$GCRYPT_LIB_PATH" != "z" ; then 16467 if test "z$with_gnu_ld" = "zyes" ; then 16468 GCRYPT_LIBS="$GCRYPT_LIBS -Wl,-rpath-link -Wl,$GCRYPT_LIB_PATH" 16469 fi 16470 GCRYPT_LIBS="$GCRYPT_LIBS -L$GCRYPT_LIB_PATH $GCRYPT_LIBS_LIST" 16471 fi 16472 fi 16473fi 16474 16475{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgcrypt library >= $GCRYPT_MIN_VERSION" >&5 16476$as_echo_n "checking for libgcrypt library >= $GCRYPT_MIN_VERSION... " >&6; } 16477if test "z$GCRYPT_FOUND" = "zyes" ; then 16478 OLD_CPPFLAGS=$CPPFLAGS 16479 CPPFLAGS="$CPPFLAGS $GCRYPT_CFLAGS" 16480 minvers=`echo $GCRYPT_MIN_VERSION | awk -F. '{ printf "%d", ($1 * 256 + $2) * 256 + $3;}'` 16481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16482/* end confdefs.h. */ 16483 16484 #include <gcrypt.h> 16485 #if GCRYPT_VERSION_NUMBER >= $minvers 16486 greater-than-minvers 16487 #endif 16488 16489_ACEOF 16490if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 16491 $EGREP "greater-than-minvers" >/dev/null 2>&1; then : 16492 16493 GCRYPT_FOUND=yes 16494 16495else 16496 16497 GCRYPT_FOUND=no 16498 16499fi 16500rm -f conftest* 16501 16502 CPPFLAGS=$OLD_CPPFLAGS 16503fi 16504{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCRYPT_FOUND" >&5 16505$as_echo "$GCRYPT_FOUND" >&6; } 16506 16507if test "z$GCRYPT_FOUND" = "zyes" ; then 16508 XMLSEC_NO_GCRYPT="0" 16509 GCRYPT_CFLAGS="$GCRYPT_CFLAGS -DXMLSEC_CRYPTO_GCRYPT=1" 16510 XMLSEC_CRYPTO_LIST="$XMLSEC_CRYPTO_LIST gcrypt" 16511else 16512 XMLSEC_CRYPTO_DISABLED_LIST="$XMLSEC_CRYPTO_DISABLED_LIST gcrypt" 16513fi 16514 16515 if test "z$XMLSEC_NO_GCRYPT" = "z1"; then 16516 XMLSEC_NO_GCRYPT_TRUE= 16517 XMLSEC_NO_GCRYPT_FALSE='#' 16518else 16519 XMLSEC_NO_GCRYPT_TRUE='#' 16520 XMLSEC_NO_GCRYPT_FALSE= 16521fi 16522 16523 16524 16525 16526 16527 16528 16529GNUTLS_MIN_VERSION="2.8.0" 16530GNUTLS_INCLUDE_DIR="$COMMON_INCLUDE_DIR /usr/local/gnutls/include" 16531GNUTLS_LIB_DIR="$COMMON_LIB_DIR /usr/local/gnutls/lib" 16532GNUTLS_INCLUDE_MARKER="gnutls/gnutls.h" 16533GNUTLS_LIB_MARKER="libgnutls$shrext" 16534GNUTLS_CRYPTO_LIB="$XMLSEC_PACKAGE-gnutls" 16535GNUTLS_LIBS_LIST="-lgnutls" 16536 16537XMLSEC_NO_GNUTLS="1" 16538GNUTLS_INCLUDE_PATH= 16539GNUTLS_LIB_PATH= 16540GNUTLS_FOUND="no" 16541 16542# Check whether --with-gnutls was given. 16543if test "${with_gnutls+set}" = set; then : 16544 withval=$with_gnutls; 16545fi 16546 16547 16548if test "z$with_gnutls" = "zno" ; then 16549 GNUTLS_FOUND="disabled" 16550fi 16551 16552if test "z$GNUTLS_FOUND" = "zno" -a "z$with_gnutls" != "z" -a "z$with_gnutls" != "zyes" ; then 16553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgnutls library installation in \"$with_gnutls\" folder" >&5 16554$as_echo_n "checking for libgnutls library installation in \"$with_gnutls\" folder... " >&6; } 16555 if test -f "$with_gnutls/include/$GNUTLS_INCLUDE_MARKER" -a -f "$with_gnutls/lib/$GNUTLS_LIB_MARKER" ; then 16556 GNUTLS_INCLUDE_PATH="$with_gnutls/include" 16557 GNUTLS_LIB_PATH="$with_gnutls/lib" 16558 GNUTLS_FOUND="yes" 16559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16560$as_echo "yes" >&6; } 16561 else 16562 as_fn_error $? "not found: \"$with_gnutls/bin/$GNUTLS_CONFIG\" tool, or \"$with_gnutls/include/$GNUTLS_INCLUDE_MARKER\" and/or \"$with_gnutls/lib/$GNUTLS_LIB_MARKER\" files don't exist), typo?" "$LINENO" 5 16563 fi 16564fi 16565 16566if test "z$GNUTLS_FOUND" = "zno" -a "z$GNUTLS_CFLAGS" != "z" -a "z$GNUTLS_LIBS" != "z" ; then 16567 GNUTLS_FOUND="yes" 16568fi 16569 16570if test "z$GNUTLS_FOUND" = "zno" -a "z$PKGCONFIG_FOUND" = "zyes" ; then 16571 if test "z$GNUTLS_FOUND" = "zno" ; then 16572 16573pkg_failed=no 16574{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNUTLS" >&5 16575$as_echo_n "checking for GNUTLS... " >&6; } 16576 16577if test -n "$GNUTLS_CFLAGS"; then 16578 pkg_cv_GNUTLS_CFLAGS="$GNUTLS_CFLAGS" 16579 elif test -n "$PKG_CONFIG"; then 16580 if test -n "$PKG_CONFIG" && \ 16581 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= \$GNUTLS_MIN_VERSION\""; } >&5 16582 ($PKG_CONFIG --exists --print-errors "gnutls >= $GNUTLS_MIN_VERSION") 2>&5 16583 ac_status=$? 16584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16585 test $ac_status = 0; }; then 16586 pkg_cv_GNUTLS_CFLAGS=`$PKG_CONFIG --cflags "gnutls >= $GNUTLS_MIN_VERSION" 2>/dev/null` 16587 test "x$?" != "x0" && pkg_failed=yes 16588else 16589 pkg_failed=yes 16590fi 16591 else 16592 pkg_failed=untried 16593fi 16594if test -n "$GNUTLS_LIBS"; then 16595 pkg_cv_GNUTLS_LIBS="$GNUTLS_LIBS" 16596 elif test -n "$PKG_CONFIG"; then 16597 if test -n "$PKG_CONFIG" && \ 16598 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= \$GNUTLS_MIN_VERSION\""; } >&5 16599 ($PKG_CONFIG --exists --print-errors "gnutls >= $GNUTLS_MIN_VERSION") 2>&5 16600 ac_status=$? 16601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16602 test $ac_status = 0; }; then 16603 pkg_cv_GNUTLS_LIBS=`$PKG_CONFIG --libs "gnutls >= $GNUTLS_MIN_VERSION" 2>/dev/null` 16604 test "x$?" != "x0" && pkg_failed=yes 16605else 16606 pkg_failed=yes 16607fi 16608 else 16609 pkg_failed=untried 16610fi 16611 16612 16613 16614if test $pkg_failed = yes; then 16615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16616$as_echo "no" >&6; } 16617 16618if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16619 _pkg_short_errors_supported=yes 16620else 16621 _pkg_short_errors_supported=no 16622fi 16623 if test $_pkg_short_errors_supported = yes; then 16624 GNUTLS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gnutls >= $GNUTLS_MIN_VERSION" 2>&1` 16625 else 16626 GNUTLS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gnutls >= $GNUTLS_MIN_VERSION" 2>&1` 16627 fi 16628 # Put the nasty error message in config.log where it belongs 16629 echo "$GNUTLS_PKG_ERRORS" >&5 16630 16631 GNUTLS_FOUND=no 16632elif test $pkg_failed = untried; then 16633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16634$as_echo "no" >&6; } 16635 GNUTLS_FOUND=no 16636else 16637 GNUTLS_CFLAGS=$pkg_cv_GNUTLS_CFLAGS 16638 GNUTLS_LIBS=$pkg_cv_GNUTLS_LIBS 16639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16640$as_echo "yes" >&6; } 16641 GNUTLS_FOUND=yes 16642fi 16643 fi 16644 if test "z$GNUTLS_FOUND" = "zno" ; then 16645 16646pkg_failed=no 16647{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNUTLS" >&5 16648$as_echo_n "checking for GNUTLS... " >&6; } 16649 16650if test -n "$GNUTLS_CFLAGS"; then 16651 pkg_cv_GNUTLS_CFLAGS="$GNUTLS_CFLAGS" 16652 elif test -n "$PKG_CONFIG"; then 16653 if test -n "$PKG_CONFIG" && \ 16654 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnutls >= \$GNUTLS_MIN_VERSION\""; } >&5 16655 ($PKG_CONFIG --exists --print-errors "libgnutls >= $GNUTLS_MIN_VERSION") 2>&5 16656 ac_status=$? 16657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16658 test $ac_status = 0; }; then 16659 pkg_cv_GNUTLS_CFLAGS=`$PKG_CONFIG --cflags "libgnutls >= $GNUTLS_MIN_VERSION" 2>/dev/null` 16660 test "x$?" != "x0" && pkg_failed=yes 16661else 16662 pkg_failed=yes 16663fi 16664 else 16665 pkg_failed=untried 16666fi 16667if test -n "$GNUTLS_LIBS"; then 16668 pkg_cv_GNUTLS_LIBS="$GNUTLS_LIBS" 16669 elif test -n "$PKG_CONFIG"; then 16670 if test -n "$PKG_CONFIG" && \ 16671 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnutls >= \$GNUTLS_MIN_VERSION\""; } >&5 16672 ($PKG_CONFIG --exists --print-errors "libgnutls >= $GNUTLS_MIN_VERSION") 2>&5 16673 ac_status=$? 16674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16675 test $ac_status = 0; }; then 16676 pkg_cv_GNUTLS_LIBS=`$PKG_CONFIG --libs "libgnutls >= $GNUTLS_MIN_VERSION" 2>/dev/null` 16677 test "x$?" != "x0" && pkg_failed=yes 16678else 16679 pkg_failed=yes 16680fi 16681 else 16682 pkg_failed=untried 16683fi 16684 16685 16686 16687if test $pkg_failed = yes; then 16688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16689$as_echo "no" >&6; } 16690 16691if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16692 _pkg_short_errors_supported=yes 16693else 16694 _pkg_short_errors_supported=no 16695fi 16696 if test $_pkg_short_errors_supported = yes; then 16697 GNUTLS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libgnutls >= $GNUTLS_MIN_VERSION" 2>&1` 16698 else 16699 GNUTLS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libgnutls >= $GNUTLS_MIN_VERSION" 2>&1` 16700 fi 16701 # Put the nasty error message in config.log where it belongs 16702 echo "$GNUTLS_PKG_ERRORS" >&5 16703 16704 GNUTLS_FOUND=no 16705elif test $pkg_failed = untried; then 16706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16707$as_echo "no" >&6; } 16708 GNUTLS_FOUND=no 16709else 16710 GNUTLS_CFLAGS=$pkg_cv_GNUTLS_CFLAGS 16711 GNUTLS_LIBS=$pkg_cv_GNUTLS_LIBS 16712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16713$as_echo "yes" >&6; } 16714 GNUTLS_FOUND=yes 16715fi 16716 fi 16717fi 16718 16719if test "z$GNUTLS_FOUND" = "zno" -a "z$ENABLE_FOLDERS_SEARCH" = "zyes" ; then 16720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgnutls library installation in the typical folders" >&5 16721$as_echo_n "checking for libgnutls library installation in the typical folders... " >&6; } 16722 if test "z$GNUTLS_INCLUDE_PATH" = "z" ; then 16723 16724 for dir in $GNUTLS_INCLUDE_DIR ; do 16725 if test -f "$dir/$GNUTLS_INCLUDE_MARKER" ; then 16726 GNUTLS_INCLUDE_PATH="$dir" 16727 break; 16728 fi 16729 done 16730 16731 fi 16732 if test "z$GNUTLS_LIB_PATH" = "z" ; then 16733 16734 for dir in $GNUTLS_LIB_DIR ; do 16735 if test -f "$dir/$GNUTLS_LIB_MARKER" ; then 16736 GNUTLS_LIB_PATH="$dir" 16737 break; 16738 fi 16739 done 16740 16741 fi 16742 if test "z$GNUTLS_INCLUDE_PATH" != "z" -a "z$GNUTLS_LIB_PATH" != "z" ; then 16743 GNUTLS_FOUND="yes" 16744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (\"-I$GNUTLS_INCLUDE_PATH -L$GNUTLS_LIB_PATH\")" >&5 16745$as_echo "yes (\"-I$GNUTLS_INCLUDE_PATH -L$GNUTLS_LIB_PATH\")" >&6; } 16746 else 16747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 16748$as_echo "not found" >&6; } 16749 fi 16750fi 16751 16752if test "z$GNUTLS_FOUND" = "zno" ; then 16753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls library installation" >&5 16754$as_echo_n "checking for gnutls library installation... " >&6; } 16755 OLD_CPPFLAGS=$CPPFLAGS 16756 CPPFLAGS="$CPPFLAGS $GCRYPT_CFLAGS $GNUTLS_CFLAGS" 16757 OLD_LIBS=$LIBS 16758 LIBS="$LIBS $GNUTLS_LIBS $GCRYPT_LIBS $GNUTLS_LIBS_LIST" 16759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16760/* end confdefs.h. */ 16761 16762 16763 #include <gnutls/gnutls.h> 16764 16765int 16766main () 16767{ 16768 16769 int main () { gnutls_global_init(); return(0); } 16770 16771 ; 16772 return 0; 16773} 16774 16775_ACEOF 16776if ac_fn_c_try_link "$LINENO"; then : 16777 16778 GNUTLS_FOUND=yes 16779 GNUTLS_LIBS="$GNUTLS_LIBS $GNUTLS_LIBS_LIST" 16780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16781$as_echo "yes" >&6; } 16782 16783else 16784 16785 GNUTLS_FOUND=no 16786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 16787$as_echo "not found" >&6; } 16788 16789fi 16790rm -f core conftest.err conftest.$ac_objext \ 16791 conftest$ac_exeext conftest.$ac_ext 16792 CPPFLAGS=$OLD_CPPFLAGS 16793 LIBS=$OLD_LIBS 16794fi 16795 16796if test "z$GNUTLS_FOUND" = "zyes" ; then 16797 if test "z$GNUTLS_INCLUDE_PATH" != "z" ; then 16798 GNUTLS_CFLAGS="$GNUTLS_CFLAGS -I$GNUTLS_INCLUDE_PATH" 16799 fi 16800 if test "z$GNUTLS_LIB_PATH" != "z" ; then 16801 if test "z$with_gnu_ld" = "zyes" ; then 16802 GNUTLS_LIBS="$GNUTLS_LIBS -Wl,-rpath-link -Wl,$GNUTLS_LIB_PATH" 16803 fi 16804 GNUTLS_LIBS="$GNUTLS_LIBS -L$GNUTLS_LIB_PATH $GNUTLS_LIBS_LIST" 16805 fi 16806fi 16807 16808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgnutls library >= $GNUTLS_MIN_VERSION" >&5 16809$as_echo_n "checking for libgnutls library >= $GNUTLS_MIN_VERSION... " >&6; } 16810if test "z$GNUTLS_FOUND" = "zyes" ; then 16811 OLD_CPPFLAGS=$CPPFLAGS 16812 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS" 16813 minvers=`echo $GNUTLS_MIN_VERSION | awk -F. '{ printf "%d", ($1 * 256 + $2) * 256 + $3;}'` 16814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16815/* end confdefs.h. */ 16816 16817 #include <gnutls/gnutls.h> 16818 #if GNUTLS_VERSION_NUMBER >= $minvers 16819 greater-than-minvers 16820 #endif 16821 16822_ACEOF 16823if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 16824 $EGREP "greater-than-minvers" >/dev/null 2>&1; then : 16825 16826 GNUTLS_FOUND=yes 16827 16828else 16829 16830 GNUTLS_FOUND=no 16831 16832fi 16833rm -f conftest* 16834 16835 CPPFLAGS=$OLD_CPPFLAGS 16836fi 16837{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUTLS_FOUND" >&5 16838$as_echo "$GNUTLS_FOUND" >&6; } 16839 16840if test "z$GNUTLS_FOUND" = "zyes" -a "z$GCRYPT_FOUND" != "zyes" ; then 16841 GNUTLS_FOUND="no" 16842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: xmlsec-gnutls library requires xmlsec-gcrypt library which is disabled or missing, ignoring libgnutls library we have found" >&5 16843$as_echo "xmlsec-gnutls library requires xmlsec-gcrypt library which is disabled or missing, ignoring libgnutls library we have found" >&6; } 16844fi 16845 16846if test "z$GNUTLS_FOUND" = "zyes" ; then 16847 XMLSEC_NO_GNUTLS="0" 16848 GNUTLS_CFLAGS="$GNUTLS_CFLAGS -DXMLSEC_CRYPTO_GNUTLS=1" 16849 XMLSEC_CRYPTO_LIST="$XMLSEC_CRYPTO_LIST gnutls" 16850else 16851 XMLSEC_CRYPTO_DISABLED_LIST="$XMLSEC_CRYPTO_DISABLED_LIST gnutls" 16852fi 16853 16854 if test "z$XMLSEC_NO_GNUTLS" = "z1"; then 16855 XMLSEC_NO_GNUTLS_TRUE= 16856 XMLSEC_NO_GNUTLS_FALSE='#' 16857else 16858 XMLSEC_NO_GNUTLS_TRUE='#' 16859 XMLSEC_NO_GNUTLS_FALSE= 16860fi 16861 16862 16863 16864 16865 16866 16867 16868 16869MSCRYPTO_CRYPTO_LIB="$XMLSEC_PACKAGE-mscrypto" 16870case $host in 16871*-w64-mingw*) 16872 MSCRYPTO_XMLSEC_DEFINES= 16873 MSCRYPTO_LIBS_LIST="-lcrypt32" 16874 ;; 16875*-*-mingw*) 16876 MSCRYPTO_XMLSEC_DEFINES="-DXMLSEC_CUSTOM_CRYPT32=1" 16877 MSCRYPTO_LIBS_LIST="-Wl,$(srcdir)/mingw-crypt32.def" 16878 ;; 16879*) 16880 MSCRYPTO_XMLSEC_DEFINES= 16881 MSCRYPTO_LIBS_LIST="-lcrypt32" 16882 ;; 16883esac 16884 16885XMLSEC_NO_MSCRYPTO="1" 16886MSCRYPTO_FOUND="no" 16887# Check whether --enable-mscrypto was given. 16888if test "${enable_mscrypto+set}" = set; then : 16889 enableval=$enable_mscrypto; 16890fi 16891 16892 16893if test "z$enable_mscrypto" = "zno" ; then 16894 MSCRYPTO_FOUND="disabled" 16895fi 16896 16897if test "z$MSCRYPTO_FOUND" = "zno" -a "z$MSCRYPTO_CFLAGS" != "z" -a "z$MSCRYPTO_LIBS" != "z" ; then 16898 MSCRYPTO_FOUND=yes 16899fi 16900 16901if test "z$MSCRYPTO_FOUND" = "zno" ; then 16902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mscrypto" >&5 16903$as_echo_n "checking for mscrypto... " >&6; } 16904 OLD_CPPFLAGS=$CPPFLAGS 16905 CPPFLAGS="$CPPFLAGS $MSCRYPTO_CFLAGS" 16906 OLD_LIBS=$LIBS 16907 LIBS="$LIBS $MSCRYPTO_LIBS $MSCRYPTO_LIBS_LIST" 16908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16909/* end confdefs.h. */ 16910 16911 16912 #include <windows.h> 16913 #include <wincrypt.h> 16914 16915int 16916main () 16917{ 16918 16919 int main () { CertOpenStore(0,0,0,0,0);; return(0); } 16920 16921 ; 16922 return 0; 16923} 16924 16925_ACEOF 16926if ac_fn_c_try_link "$LINENO"; then : 16927 16928 MSCRYPTO_FOUND=yes 16929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16930$as_echo "yes" >&6; } 16931 16932else 16933 16934 MSCRYPTO_FOUND=no 16935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 16936$as_echo "not found" >&6; } 16937 16938fi 16939rm -f core conftest.err conftest.$ac_objext \ 16940 conftest$ac_exeext conftest.$ac_ext 16941 CPPFLAGS=$OLD_CPPFLAGS 16942 LIBS=$OLD_LIBS 16943fi 16944 16945if test "z$MSCRYPTO_FOUND" = "zyes" ; then 16946 if test "z$MSCRYPTO_CFLAGS" = "z" -o "z$MSCRYPTO_LIBS" = "z" ; then 16947 XMLSEC_DEFINES="$XMLSEC_DEFINES $MSCRYPTO_XMLSEC_DEFINES" 16948 MSCRYPTO_LIBS="$MSCRYPTO_LIBS $MSCRYPTO_LIBS_LIST" 16949 fi 16950fi 16951 16952if test "z$MSCRYPTO_FOUND" = "zyes" ; then 16953 XMLSEC_NO_MSCRYPTO="0" 16954 MSCRYPTO_CFLAGS="$MSCRYPTO_CFLAGS -DXMLSEC_CRYPTO_MSCRYPTO=1" 16955 XMLSEC_CRYPTO_LIST="$XMLSEC_CRYPTO_LIST mscrypto" 16956else 16957 XMLSEC_CRYPTO_DISABLED_LIST="$XMLSEC_CRYPTO_DISABLED_LIST mscrypto" 16958fi 16959 16960 if test "z$XMLSEC_NO_MSCRYPTO" = "z1"; then 16961 XMLSEC_NO_MSCRYPTO_TRUE= 16962 XMLSEC_NO_MSCRYPTO_FALSE='#' 16963else 16964 XMLSEC_NO_MSCRYPTO_TRUE='#' 16965 XMLSEC_NO_MSCRYPTO_FALSE= 16966fi 16967 16968 16969 16970 16971 16972 16973 16974MSCNG_CRYPTO_LIB="$XMLSEC_PACKAGE-mscng" 16975MSCNG_XMLSEC_DEFINES= 16976MSCNG_LIBS_LIST="-lcrypt32 -lbcrypt -lncrypt" 16977 16978XMLSEC_NO_MSCNG="1" 16979MSCNG_FOUND="no" 16980# Check whether --enable-mscng was given. 16981if test "${enable_mscng+set}" = set; then : 16982 enableval=$enable_mscng; 16983fi 16984 16985 16986if test "z$enable_mscng" = "zno" ; then 16987 MSCNG_FOUND="disabled" 16988fi 16989 16990if test "z$MSCNG_FOUND" = "zno" -a "z$MSCNG_CFLAGS" != "z" -a "z$MSCNG_LIBS" != "z" ; then 16991 MSCNG_FOUND=yes 16992fi 16993 16994if test "z$MSCNG_FOUND" = "zno" ; then 16995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mscng" >&5 16996$as_echo_n "checking for mscng... " >&6; } 16997 OLD_CPPFLAGS=$CPPFLAGS 16998 CPPFLAGS="$CPPFLAGS $MSCNG_CFLAGS" 16999 OLD_LIBS=$LIBS 17000 LIBS="$LIBS $MSCNG_LIBS $MSCNG_LIBS_LIST" 17001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17002/* end confdefs.h. */ 17003 17004 17005 #include <windows.h> 17006 #include <wincrypt.h> 17007 17008int 17009main () 17010{ 17011 17012 int main () { 17013 BCRYPT_ALG_HANDLE hAlg; 17014 BCryptOpenAlgorithmProvider(&hAlg, BCRYPT_SHA256_ALGORITHM, NULL, 0); 17015 return(0); 17016 } 17017 17018 ; 17019 return 0; 17020} 17021 17022_ACEOF 17023if ac_fn_c_try_link "$LINENO"; then : 17024 17025 MSCNG_FOUND=yes 17026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17027$as_echo "yes" >&6; } 17028 17029else 17030 17031 MSCNG_FOUND=no 17032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 17033$as_echo "not found" >&6; } 17034 17035fi 17036rm -f core conftest.err conftest.$ac_objext \ 17037 conftest$ac_exeext conftest.$ac_ext 17038 CPPFLAGS=$OLD_CPPFLAGS 17039 LIBS=$OLD_LIBS 17040fi 17041 17042if test "z$MSCNG_FOUND" = "zyes" ; then 17043 if test "z$MSCNG_CFLAGS" = "z" -o "z$MSCNG_LIBS" = "z" ; then 17044 XMLSEC_DEFINES="$XMLSEC_DEFINES $MSCNG_XMLSEC_DEFINES" 17045 MSCNG_LIBS="$MSCNG_LIBS $MSCNG_LIBS_LIST" 17046 fi 17047fi 17048 17049if test "z$MSCNG_FOUND" = "zyes" ; then 17050 XMLSEC_NO_MSCNG="0" 17051 MSCNG_CFLAGS="$MSCNG_CFLAGS -DXMLSEC_CRYPTO_MSCNG=1" 17052 XMLSEC_CRYPTO_LIST="$XMLSEC_CRYPTO_LIST mscng" 17053else 17054 XMLSEC_CRYPTO_DISABLED_LIST="$XMLSEC_CRYPTO_DISABLED_LIST mscng" 17055fi 17056 17057 if test "z$XMLSEC_NO_MSCNG" = "z1"; then 17058 XMLSEC_NO_MSCNG_TRUE= 17059 XMLSEC_NO_MSCNG_FALSE='#' 17060else 17061 XMLSEC_NO_MSCNG_TRUE='#' 17062 XMLSEC_NO_MSCNG_FALSE= 17063fi 17064 17065 17066 17067 17068 17069 17070 17071XMLSEC_DEFAULT_CRYPTO="" 17072XMLSEC_CRYPTO_LIB="" 17073XMLSEC_CRYPTO_CFLAGS="" 17074XMLSEC_CRYPTO_LIBS="" 17075{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for default crypto library" >&5 17076$as_echo_n "checking for default crypto library... " >&6; } 17077 17078# Check whether --with-default_crypto was given. 17079if test "${with_default_crypto+set}" = set; then : 17080 withval=$with_default_crypto; 17081fi 17082 17083 17084# check the argument 17085case "z$with_default_crypto" in 17086 'zmscrypto') 17087 if test "z$XMLSEC_NO_MSCRYPTO" != "z1" ; then 17088 XMLSEC_DEFAULT_CRYPTO="mscrypto" 17089 else 17090 as_fn_error $? "'$with_default_crypto' is specified as default crypto library but it is not configured or found" "$LINENO" 5 17091 fi 17092 ;; 17093 'zmscng') 17094 if test "z$XMLSEC_NO_MSCNG" != "z1" ; then 17095 XMLSEC_DEFAULT_CRYPTO="mscng" 17096 else 17097 as_fn_error $? "'$with_default_crypto' is specified as default crypto library but it is not configured or found" "$LINENO" 5 17098 fi 17099 ;; 17100 'zopenssl') 17101 if test "z$XMLSEC_NO_OPENSSL" != "z1" ; then 17102 XMLSEC_DEFAULT_CRYPTO="openssl" 17103 else 17104 as_fn_error $? "'$with_default_crypto' is specified as default crypto library but it is not configured or found" "$LINENO" 5 17105 fi 17106 ;; 17107 'znss') 17108 if test "z$XMLSEC_NO_NSS" != "z1" ; then 17109 XMLSEC_DEFAULT_CRYPTO="nss" 17110 else 17111 as_fn_error $? "'$with_default_crypto' is specified as default crypto library but it is not configured or found" "$LINENO" 5 17112 fi 17113 ;; 17114 'zgnutls') 17115 if test "z$XMLSEC_NO_GNUTLS" != "z1" ; then 17116 XMLSEC_DEFAULT_CRYPTO="gnutls" 17117 else 17118 as_fn_error $? "'$with_default_crypto' is specified as default crypto library but it is not configured or found" "$LINENO" 5 17119 fi 17120 ;; 17121 'zgcrypt') 17122 if test "z$XMLSEC_NO_GCRYPT" != "z1" ; then 17123 XMLSEC_DEFAULT_CRYPTO="gcrypt" 17124 else 17125 as_fn_error $? "'$with_default_crypto' is specified as default crypto library but it is not configured or found" "$LINENO" 5 17126 fi 17127 ;; 17128 'z') 17129 if test "z$XMLSEC_NO_MSCRYPTO" != "z1" ; then 17130 XMLSEC_DEFAULT_CRYPTO="mscrypto" 17131 elif test "z$XMLSEC_NO_MSCNG" != "z1" ; then 17132 XMLSEC_DEFAULT_CRYPTO="mscng" 17133 elif test "z$XMLSEC_NO_OPENSSL" != "z1" ; then 17134 XMLSEC_DEFAULT_CRYPTO="openssl" 17135 elif test "z$XMLSEC_NO_NSS" != "z1" ; then 17136 XMLSEC_DEFAULT_CRYPTO="nss" 17137 elif test "z$XMLSEC_NO_GNUTLS" != "z1" ; then 17138 XMLSEC_DEFAULT_CRYPTO="gnutls" 17139 elif test "z$XMLSEC_NO_GCRYPT" != "z1" ; then 17140 XMLSEC_DEFAULT_CRYPTO="gcrypt" 17141 else 17142 as_fn_error $? "At least one crypto library should exist for $XMLSEC_PACKAGE" "$LINENO" 5 17143 fi 17144 ;; 17145 *) 17146 as_fn_error $? "The value '$with_default_crypto' is not a recongnized crypto library name" "$LINENO" 5 17147 ;; 17148esac 17149 17150case "$XMLSEC_DEFAULT_CRYPTO" in 17151 'mscrypto') 17152 XMLSEC_CRYPTO_LIB="$MSCRYPTO_CRYPTO_LIB" 17153 XMLSEC_CRYPTO_CFLAGS="$MSCRYPTO_CFLAGS" 17154 XMLSEC_CRYPTO_LIBS="$MSCRYPTO_LIBS" 17155 ;; 17156 'mscng') 17157 XMLSEC_CRYPTO_LIB="$MSCNG_CRYPTO_LIB" 17158 XMLSEC_CRYPTO_CFLAGS="$MSCNG_CFLAGS" 17159 XMLSEC_CRYPTO_LIBS="$MSCNG_LIBS" 17160 ;; 17161 'openssl') 17162 XMLSEC_CRYPTO_LIB="$OPENSSL_CRYPTO_LIB" 17163 XMLSEC_CRYPTO_CFLAGS="$OPENSSL_CFLAGS" 17164 XMLSEC_CRYPTO_LIBS="$OPENSSL_LIBS" 17165 ;; 17166 'nss') 17167 XMLSEC_CRYPTO_LIB="$NSS_CRYPTO_LIB" 17168 XMLSEC_CRYPTO_CFLAGS="$NSS_CFLAGS" 17169 XMLSEC_CRYPTO_LIBS="$NSS_LIBS" 17170 ;; 17171 'gnutls') 17172 XMLSEC_CRYPTO_LIB="$GNUTLS_CRYPTO_LIB" 17173 XMLSEC_CRYPTO_CFLAGS="$GNUTLS_CFLAGS" 17174 XMLSEC_CRYPTO_LIBS="$GNUTLS_LIBS" 17175 ;; 17176 'gcrypt') 17177 XMLSEC_CRYPTO_LIB="$GCRYPT_CRYPTO_LIB" 17178 XMLSEC_CRYPTO_CFLAGS="$GCRYPT_CFLAGS" 17179 XMLSEC_CRYPTO_LIBS="$GCRYPT_LIBS" 17180 ;; 17181 *) 17182 as_fn_error $? "The value \"$XMLSEC_DEFAULT_CRYPTO\" is not a recongnized crypto library name" "$LINENO" 5 17183 ;; 17184esac 17185{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (\"$XMLSEC_DEFAULT_CRYPTO\")" >&5 17186$as_echo "yes (\"$XMLSEC_DEFAULT_CRYPTO\")" >&6; } 17187 17188if test "z$build_windows" = "zyes" ; then 17189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Unicode support" >&5 17190$as_echo_n "checking for Unicode support... " >&6; } 17191 # Check whether --enable-unicode was given. 17192if test "${enable_unicode+set}" = set; then : 17193 enableval=$enable_unicode; 17194fi 17195 17196 if test "z$enable_unicode" = "zyes" ; then 17197 XMLSEC_DEFINES="$XMLSEC_DEFINES -DUNICODE=1" 17198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17199$as_echo "yes" >&6; } 17200 else 17201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17202$as_echo "no" >&6; } 17203 fi 17204fi 17205 17206{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5 support" >&5 17207$as_echo_n "checking for MD5 support... " >&6; } 17208# Check whether --enable-md5 was given. 17209if test "${enable_md5+set}" = set; then : 17210 enableval=$enable_md5; 17211fi 17212 17213if test "z$enable_md5" = "zno" ; then 17214 XMLSEC_DEFINES="$XMLSEC_DEFINES -DXMLSEC_NO_MD5=1" 17215 XMLSEC_NO_MD5="1" 17216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 17217$as_echo "disabled" >&6; } 17218else 17219 XMLSEC_NO_MD5="0" 17220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17221$as_echo "yes" >&6; } 17222fi 17223 if test "z$XMLSEC_NO_MD5" = "z1"; then 17224 XMLSEC_NO_MD5_TRUE= 17225 XMLSEC_NO_MD5_FALSE='#' 17226else 17227 XMLSEC_NO_MD5_TRUE='#' 17228 XMLSEC_NO_MD5_FALSE= 17229fi 17230 17231 17232 17233{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RIPEMD-160 support" >&5 17234$as_echo_n "checking for RIPEMD-160 support... " >&6; } 17235# Check whether --enable-ripemd160 was given. 17236if test "${enable_ripemd160+set}" = set; then : 17237 enableval=$enable_ripemd160; 17238fi 17239 17240if test "z$enable_ripemd160" = "zno" ; then 17241 XMLSEC_DEFINES="$XMLSEC_DEFINES -DXMLSEC_NO_RIPEMD160=1" 17242 XMLSEC_NO_RIPEMD160="1" 17243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 17244$as_echo "disabled" >&6; } 17245else 17246 XMLSEC_NO_RIPEMD160="0" 17247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17248$as_echo "yes" >&6; } 17249fi 17250 if test "z$XMLSEC_NO_RIPEMD160" = "z1"; then 17251 XMLSEC_NO_RIPEMD160_TRUE= 17252 XMLSEC_NO_RIPEMD160_FALSE='#' 17253else 17254 XMLSEC_NO_RIPEMD160_TRUE='#' 17255 XMLSEC_NO_RIPEMD160_FALSE= 17256fi 17257 17258 17259 17260{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1 support" >&5 17261$as_echo_n "checking for SHA1 support... " >&6; } 17262# Check whether --enable-sha1 was given. 17263if test "${enable_sha1+set}" = set; then : 17264 enableval=$enable_sha1; 17265fi 17266 17267if test "z$enable_sha1" = "zno" ; then 17268 XMLSEC_DEFINES="$XMLSEC_DEFINES -DXMLSEC_NO_SHA1=1" 17269 XMLSEC_NO_SHA1="1" 17270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 17271$as_echo "disabled" >&6; } 17272else 17273 XMLSEC_NO_SHA1="0" 17274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17275$as_echo "yes" >&6; } 17276fi 17277 if test "z$XMLSEC_NO_SHA1" = "z1"; then 17278 XMLSEC_NO_SHA1_TRUE= 17279 XMLSEC_NO_SHA1_FALSE='#' 17280else 17281 XMLSEC_NO_SHA1_TRUE='#' 17282 XMLSEC_NO_SHA1_FALSE= 17283fi 17284 17285 17286 17287{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA224 support" >&5 17288$as_echo_n "checking for SHA224 support... " >&6; } 17289# Check whether --enable-sha224 was given. 17290if test "${enable_sha224+set}" = set; then : 17291 enableval=$enable_sha224; 17292fi 17293 17294if test "z$enable_sha224" = "zno" ; then 17295 XMLSEC_DEFINES="$XMLSEC_DEFINES -DXMLSEC_NO_SHA224=1" 17296 XMLSEC_NO_SHA224="1" 17297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 17298$as_echo "disabled" >&6; } 17299else 17300 XMLSEC_NO_SHA224="0" 17301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17302$as_echo "yes" >&6; } 17303fi 17304 if test "z$XMLSEC_NO_SHA224" = "z1"; then 17305 XMLSEC_NO_SHA224_TRUE= 17306 XMLSEC_NO_SHA224_FALSE='#' 17307else 17308 XMLSEC_NO_SHA224_TRUE='#' 17309 XMLSEC_NO_SHA224_FALSE= 17310fi 17311 17312 17313 17314{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA256 support" >&5 17315$as_echo_n "checking for SHA256 support... " >&6; } 17316# Check whether --enable-sha256 was given. 17317if test "${enable_sha256+set}" = set; then : 17318 enableval=$enable_sha256; 17319fi 17320 17321if test "z$enable_sha256" = "zno" ; then 17322 XMLSEC_DEFINES="$XMLSEC_DEFINES -DXMLSEC_NO_SHA256=1" 17323 XMLSEC_NO_SHA256="1" 17324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 17325$as_echo "disabled" >&6; } 17326else 17327 XMLSEC_NO_SHA256="0" 17328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17329$as_echo "yes" >&6; } 17330fi 17331 if test "z$XMLSEC_NO_SHA256" = "z1"; then 17332 XMLSEC_NO_SHA256_TRUE= 17333 XMLSEC_NO_SHA256_FALSE='#' 17334else 17335 XMLSEC_NO_SHA256_TRUE='#' 17336 XMLSEC_NO_SHA256_FALSE= 17337fi 17338 17339 17340 17341{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA384 support" >&5 17342$as_echo_n "checking for SHA384 support... " >&6; } 17343# Check whether --enable-sha384 was given. 17344if test "${enable_sha384+set}" = set; then : 17345 enableval=$enable_sha384; 17346fi 17347 17348if test "z$enable_sha384" = "zno" ; then 17349 XMLSEC_DEFINES="$XMLSEC_DEFINES -DXMLSEC_NO_SHA384=1" 17350 XMLSEC_NO_SHA384="1" 17351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 17352$as_echo "disabled" >&6; } 17353else 17354 XMLSEC_NO_SHA384="0" 17355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17356$as_echo "yes" >&6; } 17357fi 17358 if test "z$XMLSEC_NO_SHA384" = "z1"; then 17359 XMLSEC_NO_SHA384_TRUE= 17360 XMLSEC_NO_SHA384_FALSE='#' 17361else 17362 XMLSEC_NO_SHA384_TRUE='#' 17363 XMLSEC_NO_SHA384_FALSE= 17364fi 17365 17366 17367 17368{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA512 support" >&5 17369$as_echo_n "checking for SHA512 support... " >&6; } 17370# Check whether --enable-sha512 was given. 17371if test "${enable_sha512+set}" = set; then : 17372 enableval=$enable_sha512; 17373fi 17374 17375if test "z$enable_sha512" = "zno" ; then 17376 XMLSEC_DEFINES="$XMLSEC_DEFINES -DXMLSEC_NO_SHA512=1" 17377 XMLSEC_NO_SHA512="1" 17378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 17379$as_echo "disabled" >&6; } 17380else 17381 XMLSEC_NO_SHA512="0" 17382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17383$as_echo "yes" >&6; } 17384fi 17385 if test "z$XMLSEC_NO_SHA512" = "z1"; then 17386 XMLSEC_NO_SHA512_TRUE= 17387 XMLSEC_NO_SHA512_FALSE='#' 17388else 17389 XMLSEC_NO_SHA512_TRUE='#' 17390 XMLSEC_NO_SHA512_FALSE= 17391fi 17392 17393 17394 17395 17396{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for HMAC support" >&5 17397$as_echo_n "checking for HMAC support... " >&6; } 17398# Check whether --enable-hmac was given. 17399if test "${enable_hmac+set}" = set; then : 17400 enableval=$enable_hmac; 17401fi 17402 17403if test "z$enable_hmac" = "zno" ; then 17404 XMLSEC_DEFINES="$XMLSEC_DEFINES -DXMLSEC_NO_HMAC=1" 17405 XMLSEC_NO_HMAC="1" 17406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 17407$as_echo "disabled" >&6; } 17408else 17409 XMLSEC_NO_HMAC="0" 17410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17411$as_echo "yes" >&6; } 17412fi 17413 if test "z$XMLSEC_NO_HMAC" = "z1"; then 17414 XMLSEC_NO_HMAC_TRUE= 17415 XMLSEC_NO_HMAC_FALSE='#' 17416else 17417 XMLSEC_NO_HMAC_TRUE='#' 17418 XMLSEC_NO_HMAC_FALSE= 17419fi 17420 17421 17422 17423{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DSA support" >&5 17424$as_echo_n "checking for DSA support... " >&6; } 17425# Check whether --enable-dsa was given. 17426if test "${enable_dsa+set}" = set; then : 17427 enableval=$enable_dsa; 17428fi 17429 17430if test "z$enable_dsa" = "zno" ; then 17431 XMLSEC_DEFINES="$XMLSEC_DEFINES -DXMLSEC_NO_DSA=1" 17432 XMLSEC_NO_DSA="1" 17433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 17434$as_echo "disabled" >&6; } 17435else 17436 XMLSEC_NO_DSA="0" 17437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17438$as_echo "yes" >&6; } 17439fi 17440 if test "z$XMLSEC_NO_DSA" = "z1"; then 17441 XMLSEC_NO_DSA_TRUE= 17442 XMLSEC_NO_DSA_FALSE='#' 17443else 17444 XMLSEC_NO_DSA_TRUE='#' 17445 XMLSEC_NO_DSA_FALSE= 17446fi 17447 17448 17449 17450{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA support" >&5 17451$as_echo_n "checking for RSA support... " >&6; } 17452# Check whether --enable-rsa was given. 17453if test "${enable_rsa+set}" = set; then : 17454 enableval=$enable_rsa; 17455fi 17456 17457if test "z$enable_rsa" = "zno" ; then 17458 XMLSEC_DEFINES="$XMLSEC_DEFINES -DXMLSEC_NO_RSA=1" 17459 XMLSEC_NO_RSA="1" 17460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 17461$as_echo "disabled" >&6; } 17462else 17463 XMLSEC_NO_RSA="0" 17464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17465$as_echo "yes" >&6; } 17466fi 17467 if test "z$XMLSEC_NO_RSA" = "z1"; then 17468 XMLSEC_NO_RSA_TRUE= 17469 XMLSEC_NO_RSA_FALSE='#' 17470else 17471 XMLSEC_NO_RSA_TRUE='#' 17472 XMLSEC_NO_RSA_FALSE= 17473fi 17474 17475 17476 17477{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for x509 support" >&5 17478$as_echo_n "checking for x509 support... " >&6; } 17479# Check whether --enable-x509 was given. 17480if test "${enable_x509+set}" = set; then : 17481 enableval=$enable_x509; 17482fi 17483 17484if test "z$enable_x509" = "zno" ; then 17485 XMLSEC_DEFINES="$XMLSEC_DEFINES -DXMLSEC_NO_X509=1" 17486 XMLSEC_NO_X509="1" 17487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 17488$as_echo "disabled" >&6; } 17489else 17490 XMLSEC_NO_X509="0" 17491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17492$as_echo "yes" >&6; } 17493fi 17494 if test "z$XMLSEC_NO_X509" = "z1"; then 17495 XMLSEC_NO_X509_TRUE= 17496 XMLSEC_NO_X509_FALSE='#' 17497else 17498 XMLSEC_NO_X509_TRUE='#' 17499 XMLSEC_NO_X509_FALSE= 17500fi 17501 17502 17503 17504{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DES support" >&5 17505$as_echo_n "checking for DES support... " >&6; } 17506# Check whether --enable-des was given. 17507if test "${enable_des+set}" = set; then : 17508 enableval=$enable_des; 17509fi 17510 17511if test "z$enable_des" = "zno" ; then 17512 XMLSEC_DEFINES="$XMLSEC_DEFINES -DXMLSEC_NO_DES=1" 17513 XMLSEC_NO_DES="1" 17514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 17515$as_echo "disabled" >&6; } 17516else 17517 XMLSEC_NO_DES="0" 17518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17519$as_echo "yes" >&6; } 17520fi 17521 if test "z$XMLSEC_NO_DES" = "z1"; then 17522 XMLSEC_NO_DES_TRUE= 17523 XMLSEC_NO_DES_FALSE='#' 17524else 17525 XMLSEC_NO_DES_TRUE='#' 17526 XMLSEC_NO_DES_FALSE= 17527fi 17528 17529 17530 17531{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for AES support" >&5 17532$as_echo_n "checking for AES support... " >&6; } 17533# Check whether --enable-aes was given. 17534if test "${enable_aes+set}" = set; then : 17535 enableval=$enable_aes; 17536fi 17537 17538if test "z$enable_aes" = "zno" ; then 17539 XMLSEC_DEFINES="$XMLSEC_DEFINES -DXMLSEC_NO_AES=1" 17540 XMLSEC_NO_AES="1" 17541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 17542$as_echo "disabled" >&6; } 17543else 17544 XMLSEC_NO_AES="0" 17545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17546$as_echo "yes" >&6; } 17547fi 17548 if test "z$XMLSEC_NO_AES" = "z1"; then 17549 XMLSEC_NO_AES_TRUE= 17550 XMLSEC_NO_AES_FALSE='#' 17551else 17552 XMLSEC_NO_AES_TRUE='#' 17553 XMLSEC_NO_AES_FALSE= 17554fi 17555 17556 17557 17558{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOST support" >&5 17559$as_echo_n "checking for GOST support... " >&6; } 17560# Check whether --enable-gost was given. 17561if test "${enable_gost+set}" = set; then : 17562 enableval=$enable_gost; 17563fi 17564 17565if test "z$enable_gost" != "zyes" ; then 17566 XMLSEC_DEFINES="$XMLSEC_DEFINES -DXMLSEC_NO_GOST=1" 17567 XMLSEC_NO_GOST="1" 17568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 17569$as_echo "disabled" >&6; } 17570else 17571 XMLSEC_NO_GOST="0" 17572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17573$as_echo "yes" >&6; } 17574fi 17575 if test "z$XMLSEC_NO_GOST" = "z1"; then 17576 XMLSEC_NO_GOST_TRUE= 17577 XMLSEC_NO_GOST_FALSE='#' 17578else 17579 XMLSEC_NO_GOST_TRUE='#' 17580 XMLSEC_NO_GOST_FALSE= 17581fi 17582 17583 17584 17585 17586{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EXPERMIENTAL GOST2012 support" >&5 17587$as_echo_n "checking for EXPERMIENTAL GOST2012 support... " >&6; } 17588# Check whether --enable-gost2012 was given. 17589if test "${enable_gost2012+set}" = set; then : 17590 enableval=$enable_gost2012; 17591fi 17592 17593if test "z$enable_gost2012" != "zyes" ; then 17594 XMLSEC_DEFINES="$XMLSEC_DEFINES -DXMLSEC_NO_GOST2012=1" 17595 XMLSEC_NO_GOST2012="1" 17596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 17597$as_echo "disabled" >&6; } 17598else 17599 XMLSEC_NO_GOST2012="0" 17600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17601$as_echo "yes" >&6; } 17602fi 17603 if test "z$XMLSEC_NO_GOST2012" = "z1"; then 17604 XMLSEC_NO_GOST2012_TRUE= 17605 XMLSEC_NO_GOST2012_FALSE='#' 17606else 17607 XMLSEC_NO_GOST2012_TRUE='#' 17608 XMLSEC_NO_GOST2012_FALSE= 17609fi 17610 17611 17612 17613 17614{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XMLDSig support" >&5 17615$as_echo_n "checking for XMLDSig support... " >&6; } 17616# Check whether --enable-xmldsig was given. 17617if test "${enable_xmldsig+set}" = set; then : 17618 enableval=$enable_xmldsig; 17619fi 17620 17621if test "z$enable_xmldsig" = "zno" ; then 17622 XMLSEC_DEFINES="$XMLSEC_DEFINES -DXMLSEC_NO_XMLDSIG=1" 17623 XMLSEC_NO_XMLDSIG="1" 17624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 17625$as_echo "disabled" >&6; } 17626else 17627 XMLSEC_NO_XMLDSIG="0" 17628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17629$as_echo "yes" >&6; } 17630fi 17631 if test "z$XMLSEC_NO_XMLDSIG" = "z1"; then 17632 XMLSEC_NO_XMLDSIG_TRUE= 17633 XMLSEC_NO_XMLDSIG_FALSE='#' 17634else 17635 XMLSEC_NO_XMLDSIG_TRUE='#' 17636 XMLSEC_NO_XMLDSIG_FALSE= 17637fi 17638 17639 17640 17641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XMLEnc support" >&5 17642$as_echo_n "checking for XMLEnc support... " >&6; } 17643# Check whether --enable-xmlenc was given. 17644if test "${enable_xmlenc+set}" = set; then : 17645 enableval=$enable_xmlenc; 17646fi 17647 17648if test "z$enable_xmlenc" = "zno" ; then 17649 XMLSEC_DEFINES="$XMLSEC_DEFINES -DXMLSEC_NO_XMLENC=1" 17650 XMLSEC_NO_XMLENC="1" 17651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 17652$as_echo "disabled" >&6; } 17653else 17654 XMLSEC_NO_XMLENC="0" 17655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17656$as_echo "yes" >&6; } 17657fi 17658 if test "z$XMLSEC_NO_XMLENC" = "z1"; then 17659 XMLSEC_NO_XMLENC_TRUE= 17660 XMLSEC_NO_XMLENC_FALSE='#' 17661else 17662 XMLSEC_NO_XMLENC_TRUE='#' 17663 XMLSEC_NO_XMLENC_FALSE= 17664fi 17665 17666 17667 17668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for soap support" >&5 17669$as_echo_n "checking for soap support... " >&6; } 17670# Check whether --enable-soap was given. 17671if test "${enable_soap+set}" = set; then : 17672 enableval=$enable_soap; 17673fi 17674 17675if test "z$enable_soap" = "zyes" ; then 17676 XMLSEC_ENABLE_SOAP="1" 17677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17678$as_echo "yes" >&6; } 17679else 17680 XMLSEC_ENABLE_SOAP="0" 17681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 17682$as_echo "disabled" >&6; } 17683fi 17684 if test "z$XMLSEC_ENABLE_SOAP" = "z1"; then 17685 XMLSEC_ENABLE_SOAP_TRUE= 17686 XMLSEC_ENABLE_SOAP_FALSE='#' 17687else 17688 XMLSEC_ENABLE_SOAP_TRUE='#' 17689 XMLSEC_ENABLE_SOAP_FALSE= 17690fi 17691 17692 17693{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mans" >&5 17694$as_echo_n "checking for mans... " >&6; } 17695# Check whether --enable-mans was given. 17696if test "${enable_mans+set}" = set; then : 17697 enableval=$enable_mans; 17698fi 17699 17700if test "z$enable_mans" = "zno" ; then 17701 XMLSEC_MANS="0" 17702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 17703$as_echo "disabled" >&6; } 17704else 17705 XMLSEC_MANS="1" 17706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17707$as_echo "yes" >&6; } 17708fi 17709 if test "z$XMLSEC_MANS" = "z1"; then 17710 XMLSEC_MANS_TRUE= 17711 XMLSEC_MANS_FALSE='#' 17712else 17713 XMLSEC_MANS_TRUE='#' 17714 XMLSEC_MANS_FALSE= 17715fi 17716 17717 17718 17719{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for docs" >&5 17720$as_echo_n "checking for docs... " >&6; } 17721# Check whether --enable-docs was given. 17722if test "${enable_docs+set}" = set; then : 17723 enableval=$enable_docs; 17724fi 17725 17726if test "z$enable_docs" = "zno" ; then 17727 XMLSEC_DOCS="0" 17728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 17729$as_echo "disabled" >&6; } 17730else 17731 XMLSEC_DOCS="1" 17732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17733$as_echo "yes" >&6; } 17734fi 17735 if test "z$XMLSEC_DOCS" = "z1"; then 17736 XMLSEC_DOCS_TRUE= 17737 XMLSEC_DOCS_FALSE='#' 17738else 17739 XMLSEC_DOCS_TRUE='#' 17740 XMLSEC_DOCS_FALSE= 17741fi 17742 17743 17744 17745{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for apps" >&5 17746$as_echo_n "checking for apps... " >&6; } 17747# Check whether --enable-apps was given. 17748if test "${enable_apps+set}" = set; then : 17749 enableval=$enable_apps; 17750fi 17751 17752if test "z$enable_apps" = "zno" ; then 17753 XMLSEC_APPS="0" 17754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 17755$as_echo "disabled" >&6; } 17756else 17757 XMLSEC_APPS="1" 17758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17759$as_echo "yes" >&6; } 17760fi 17761 if test "z$XMLSEC_APPS" = "z1"; then 17762 XMLSEC_APPS_TRUE= 17763 XMLSEC_APPS_FALSE='#' 17764else 17765 XMLSEC_APPS_TRUE='#' 17766 XMLSEC_APPS_FALSE= 17767fi 17768 17769 17770 17771XMLSEC_STATIC_BINARIES="" 17772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for static linking" >&5 17773$as_echo_n "checking for static linking... " >&6; } 17774# Check whether --enable-static_linking was given. 17775if test "${enable_static_linking+set}" = set; then : 17776 enableval=$enable_static_linking; 17777fi 17778 17779if test "z$enable_static_linking" = "zyes" ; then 17780 XMLSEC_STATIC_BINARIES="-static" 17781 XMLSEC_APP_DEFINES="$XMLSEC_APP_DEFINES -DXMLSEC_STATIC=1" 17782 enable_crypto_dl="no" 17783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17784$as_echo "yes" >&6; } 17785else 17786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 17787$as_echo "disabled" >&6; } 17788fi 17789 17790 17791XMLSEC_DL_INCLUDES="" 17792XMLSEC_DL_LIBS="" 17793# Check whether --enable-crypto_dl was given. 17794if test "${enable_crypto_dl+set}" = set; then : 17795 enableval=$enable_crypto_dl; 17796fi 17797 17798if test "z$enable_crypto_dl" = "zno" ; then 17799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlsec-crypto dynamic loading support" >&5 17800$as_echo_n "checking for xmlsec-crypto dynamic loading support... " >&6; } 17801 XMLSEC_DEFINES="$XMLSEC_DEFINES -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=1" 17802 XMLSEC_NO_CRYPTO_DYNAMIC_LOADING="1" 17803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 17804$as_echo "disabled" >&6; } 17805else 17806 ac_fn_c_check_header_mongrel "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default" 17807if test "x$ac_cv_header_ltdl_h" = xyes; then : 17808 17809 XMLSEC_DEFINES="$XMLSEC_DEFINES -DXMLSEC_DL_LIBLTDL=1" 17810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dlopenext in -lltdl" >&5 17811$as_echo_n "checking for lt_dlopenext in -lltdl... " >&6; } 17812if ${ac_cv_lib_ltdl_lt_dlopenext+:} false; then : 17813 $as_echo_n "(cached) " >&6 17814else 17815 ac_check_lib_save_LIBS=$LIBS 17816LIBS="-lltdl $LIBS" 17817cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17818/* end confdefs.h. */ 17819 17820/* Override any GCC internal prototype to avoid an error. 17821 Use char because int might match the return type of a GCC 17822 builtin and then its argument prototype would still apply. */ 17823#ifdef __cplusplus 17824extern "C" 17825#endif 17826char lt_dlopenext (); 17827int 17828main () 17829{ 17830return lt_dlopenext (); 17831 ; 17832 return 0; 17833} 17834_ACEOF 17835if ac_fn_c_try_link "$LINENO"; then : 17836 ac_cv_lib_ltdl_lt_dlopenext=yes 17837else 17838 ac_cv_lib_ltdl_lt_dlopenext=no 17839fi 17840rm -f core conftest.err conftest.$ac_objext \ 17841 conftest$ac_exeext conftest.$ac_ext 17842LIBS=$ac_check_lib_save_LIBS 17843fi 17844{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dlopenext" >&5 17845$as_echo "$ac_cv_lib_ltdl_lt_dlopenext" >&6; } 17846if test "x$ac_cv_lib_ltdl_lt_dlopenext" = xyes; then : 17847 LIBLTDL=-lltdl 17848else 17849 LIBLTDL= 17850 17851fi 17852 17853 17854else 17855 17856 LIBLTDL= 17857 17858fi 17859 17860 17861 17862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlsec-crypto dynamic loading support" >&5 17863$as_echo_n "checking for xmlsec-crypto dynamic loading support... " >&6; } 17864 if test "z$LIBLTDL" != "z" ; then 17865 XMLSEC_DL_INCLUDES="$INCLTDL" 17866 XMLSEC_DL_LIBS="$LIBLTDL" 17867 XMLSEC_NO_CRYPTO_DYNAMIC_LOADING="0" 17868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17869$as_echo "yes" >&6; } 17870 else 17871 as_fn_error $? "libltdl is required for xmlsec-crypto dynamic loading" "$LINENO" 5 17872 fi 17873fi 17874 if test "z$XMLSEC_NO_CRYPTO_DYNAMIC_LOADING" = "z1"; then 17875 XMLSEC_NO_CRYPTO_DYNAMIC_LOADING_TRUE= 17876 XMLSEC_NO_CRYPTO_DYNAMIC_LOADING_FALSE='#' 17877else 17878 XMLSEC_NO_CRYPTO_DYNAMIC_LOADING_TRUE='#' 17879 XMLSEC_NO_CRYPTO_DYNAMIC_LOADING_FALSE= 17880fi 17881 17882 17883 17884 17885 17886{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlsec-crypto dynamic loading support in command line tool" >&5 17887$as_echo_n "checking for xmlsec-crypto dynamic loading support in command line tool... " >&6; } 17888# Check whether --enable-apps_crypto_dl was given. 17889if test "${enable_apps_crypto_dl+set}" = set; then : 17890 enableval=$enable_apps_crypto_dl; 17891fi 17892 17893if test "z$enable_apps_crypto_dl" = "z" ; then 17894 enable_apps_crypto_dl="$enable_crypto_dl" 17895fi 17896if test "z$enable_apps_crypto_dl" = "zno" ; then 17897 XMLSEC_NO_APPS_CRYPTO_DYNAMIC_LOADING="1" 17898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 17899$as_echo "disabled" >&6; } 17900elif test "z$enable_crypto_dl" = "zno" ; then 17901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 17902$as_echo "disabled" >&6; } 17903 as_fn_error $? "xmlsec-crypto libraries dynamic loading support in xmlsec command line tool is requested but no dynamic loading in xmlsec itself is disabled" "$LINENO" 5 17904else 17905 XMLSEC_APP_DEFINES="$XMLSEC_APP_DEFINES -DXMLSEC_CRYPTO_DYNAMIC_LOADING=1" 17906 XMLSEC_NO_APPS_CRYPTO_DYNAMIC_LOADING="0" 17907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17908$as_echo "yes" >&6; } 17909fi 17910 if test "z$XMLSEC_NO_APPS_CRYPTO_DYNAMIC_LOADING" = "z1"; then 17911 XMLSEC_NO_APPS_CRYPTO_DYNAMIC_LOADING_TRUE= 17912 XMLSEC_NO_APPS_CRYPTO_DYNAMIC_LOADING_FALSE='#' 17913else 17914 XMLSEC_NO_APPS_CRYPTO_DYNAMIC_LOADING_TRUE='#' 17915 XMLSEC_NO_APPS_CRYPTO_DYNAMIC_LOADING_FALSE= 17916fi 17917 17918 17919 17920{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for docs folder" >&5 17921$as_echo_n "checking for docs folder... " >&6; } 17922 17923# Check whether --with-html-dir was given. 17924if test "${with_html_dir+set}" = set; then : 17925 withval=$with_html_dir; 17926fi 17927 17928if test "z$with_html_dir" != "z" ; then 17929 XMLSEC_DOCDIR="$with_html_dir" 17930elif test "z$htmldir" != "z" ; then 17931 XMLSEC_DOCDIR='$(htmldir)' 17932else 17933 XMLSEC_DOCDIR='$(datadir)/doc/xmlsec1' 17934fi 17935 17936{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLSEC_DOCDIR" >&5 17937$as_echo "$XMLSEC_DOCDIR" >&6; } 17938 17939 17940{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Simple Keys Manager testing" >&5 17941$as_echo_n "checking for Simple Keys Manager testing... " >&6; } 17942# Check whether --enable-skm was given. 17943if test "${enable_skm+set}" = set; then : 17944 enableval=$enable_skm; 17945fi 17946 17947if test "z$enable_skm" = "zno" ; then 17948 XMLSEC_DEFINES="$XMLSEC_DEFINES -DXMLSEC_NO_SKM_TEST=1" 17949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 17950$as_echo "disabled" >&6; } 17951else 17952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17953$as_echo "yes" >&6; } 17954fi 17955 17956{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for templates testing" >&5 17957$as_echo_n "checking for templates testing... " >&6; } 17958# Check whether --enable-tmpl_tests was given. 17959if test "${enable_tmpl_tests+set}" = set; then : 17960 enableval=$enable_tmpl_tests; 17961fi 17962 17963if test "z$enable_tmpl_tests" = "zyes" ; then 17964 XMLSEC_DEFINES="$XMLSEC_DEFINES -DXMLSEC_NO_TMPL_TEST=1" 17965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 17966$as_echo "disabled" >&6; } 17967else 17968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17969$as_echo "yes" >&6; } 17970fi 17971 17972{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for debugging" >&5 17973$as_echo_n "checking for debugging... " >&6; } 17974# Check whether --enable-debugging was given. 17975if test "${enable_debugging+set}" = set; then : 17976 enableval=$enable_debugging; 17977fi 17978 17979if test "z$enable_debugging" = "zyes" ; then 17980 CFLAGS="$CFLAGS -g" 17981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17982$as_echo "yes" >&6; } 17983else 17984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 17985$as_echo "disabled" >&6; } 17986fi 17987 17988{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for warnings as errors" >&5 17989$as_echo_n "checking for warnings as errors... " >&6; } 17990# Check whether --enable-werror was given. 17991if test "${enable_werror+set}" = set; then : 17992 enableval=$enable_werror; 17993fi 17994 17995if test "z$enable_werror" = "zyes" ; then 17996 CFLAGS="$CFLAGS -Werror" 17997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17998$as_echo "yes" >&6; } 17999else 18000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 18001$as_echo "disabled" >&6; } 18002fi 18003 18004{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for profiling" >&5 18005$as_echo_n "checking for profiling... " >&6; } 18006# Check whether --enable-profiling was given. 18007if test "${enable_profiling+set}" = set; then : 18008 enableval=$enable_profiling; 18009fi 18010 18011if test "z$enable_profiling" = "zyes" ; then 18012 CFLAGS="$CFLAGS -pg" 18013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 18014$as_echo "yes" >&6; } 18015else 18016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 18017$as_echo "disabled" >&6; } 18018fi 18019 18020{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pedantic" >&5 18021$as_echo_n "checking for pedantic... " >&6; } 18022# Check whether --enable-pedantic was given. 18023if test "${enable_pedantic+set}" = set; then : 18024 enableval=$enable_pedantic; 18025fi 18026 18027if test "z$enable_pedantic" = "zyes" ; then 18028 CFLAGS="$CFLAGS -O -pedantic -Wall -std=c99 -fno-inline -W -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wredundant-decls" 18029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 18030$as_echo "yes" >&6; } 18031else 18032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 18033$as_echo "disabled" >&6; } 18034fi 18035 18036XMLSEC_CORE_CFLAGS="$XMLSEC_DEFINES -I${includedir}/xmlsec1 $XMLSEC_DL_INCLUDES" 18037XMLSEC_CORE_LIBS="-lxmlsec1 $XMLSEC_DL_LIBS " 18038 18039 18040 18041XMLSEC_LIBDIR="${libdir}" 18042 18043 18044XMLSEC_OPENSSL_CFLAGS="$XMLSEC_CORE_CFLAGS $OPENSSL_CFLAGS" 18045XMLSEC_OPENSSL_LIBS="-L${libdir} -l$OPENSSL_CRYPTO_LIB $XMLSEC_CORE_LIBS $OPENSSL_LIBS" 18046 18047 18048 18049XMLSEC_GCRYPT_CFLAGS="$XMLSEC_CORE_CFLAGS $GCRYPT_CFLAGS" 18050XMLSEC_GCRYPT_LIBS="-L${libdir} -l$GCRYPT_CRYPTO_LIB $XMLSEC_CORE_LIBS $GCRYPT_LIBS" 18051 18052 18053 18054# xmlsec-gnutls is using xmlsec-gcrypt 18055XMLSEC_GNUTLS_CFLAGS="$XMLSEC_CORE_CFLAGS $GNUTLS_CFLAGS" 18056XMLSEC_GNUTLS_LIBS="-L${libdir} -l$GNUTLS_CRYPTO_LIB -l$GCRYPT_CRYPTO_LIB $XMLSEC_CORE_LIBS $GNUTLS_LIBS" 18057 18058 18059 18060XMLSEC_NSS_CFLAGS="$XMLSEC_CORE_CFLAGS $NSS_CFLAGS" 18061XMLSEC_NSS_LIBS="-L${libdir} -l$NSS_CRYPTO_LIB $XMLSEC_CORE_LIBS $NSS_LIBS" 18062 18063 18064 18065 18066 18067XMLSEC_CFLAGS="$XMLSEC_CORE_CFLAGS $LIBXML_CFLAGS $LIBXSLT_CFLAGS $XMLSEC_CRYPTO_CFLAGS" 18068XMLSEC_LIBS="-L${libdir} -l$XMLSEC_CRYPTO_LIB $XMLSEC_CORE_LIBS $LIBXML_LIBS $LIBXSLT_LIBS $XMLSEC_CRYPTO_LIBS" 18069 18070 18071 18072 18073 18074 18075 18076 18077 18078 18079 18080 18081 18082 18083 18084 18085 18086 18087XMLSEC_CRYPTO_PC_FILES_LIST="" 18088for i in $XMLSEC_CRYPTO_LIST ; do 18089 test x$i = xmscrypto && continue 18090 test x$i = xmscng && continue 18091 XMLSEC_CRYPTO_PC_FILES_LIST="$XMLSEC_CRYPTO_PC_FILES_LIST $XMLSEC_PACKAGE-$i.pc" 18092done 18093 18094 18095if test "z$XMLSEC_NO_OPENSSL" != "z1" ; then 18096ac_config_files="$ac_config_files include/xmlsec/openssl/Makefile src/openssl/Makefile" 18097 18098fi 18099 18100if test "z$XMLSEC_NO_GNUTLS" != "z1" ; then 18101ac_config_files="$ac_config_files include/xmlsec/gnutls/Makefile src/gnutls/Makefile" 18102 18103fi 18104 18105if test "z$XMLSEC_NO_GCRYPT" != "z1" ; then 18106ac_config_files="$ac_config_files include/xmlsec/gcrypt/Makefile src/gcrypt/Makefile" 18107 18108fi 18109 18110if test "z$XMLSEC_NO_NSS" != "z1" ; then 18111ac_config_files="$ac_config_files include/xmlsec/nss/Makefile src/nss/Makefile" 18112 18113fi 18114 18115if test "z$XMLSEC_NO_MSCRYPTO" != "z1" ; then 18116ac_config_files="$ac_config_files include/xmlsec/mscrypto/Makefile src/mscrypto/Makefile" 18117 18118fi 18119 18120if test "z$XMLSEC_NO_MSCNG" != "z1" ; then 18121ac_config_files="$ac_config_files include/xmlsec/mscng/Makefile src/mscng/Makefile" 18122 18123fi 18124 18125if test "z$XMLSEC_NO_CRYPTO_DYNAMIC_LOADING" = "z1" ; then 18126(rm -f xmlsec1.pc && $LN_S xmlsec1-$XMLSEC_DEFAULT_CRYPTO.pc xmlsec1.pc) 18127else 18128ac_config_files="$ac_config_files xmlsec1.pc:xmlsec.pc.in" 18129 18130fi 18131 18132ac_config_files="$ac_config_files include/xmlsec/version.h Makefile include/Makefile include/xmlsec/Makefile src/Makefile apps/Makefile docs/Makefile docs/api/Makefile man/Makefile xmlsec1-openssl.pc:xmlsec-openssl.pc.in xmlsec1-gnutls.pc:xmlsec-gnutls.pc.in xmlsec1-gcrypt.pc:xmlsec-gcrypt.pc.in xmlsec1-nss.pc:xmlsec-nss.pc.in xmlsec1.spec:xmlsec.spec.in" 18133 18134ac_config_files="$ac_config_files xmlsec1Conf.sh:xmlsecConf.sh.in" 18135 18136ac_config_files="$ac_config_files xmlsec1-config:xmlsec-config.in" 18137 18138cat >confcache <<\_ACEOF 18139# This file is a shell script that caches the results of configure 18140# tests run on this system so they can be shared between configure 18141# scripts and configure runs, see configure's option --config-cache. 18142# It is not useful on other systems. If it contains results you don't 18143# want to keep, you may remove or edit it. 18144# 18145# config.status only pays attention to the cache file if you give it 18146# the --recheck option to rerun configure. 18147# 18148# `ac_cv_env_foo' variables (set or unset) will be overridden when 18149# loading this file, other *unset* `ac_cv_foo' will be assigned the 18150# following values. 18151 18152_ACEOF 18153 18154# The following way of writing the cache mishandles newlines in values, 18155# but we know of no workaround that is simple, portable, and efficient. 18156# So, we kill variables containing newlines. 18157# Ultrix sh set writes to stderr and can't be redirected directly, 18158# and sets the high bit in the cache file unless we assign to the vars. 18159( 18160 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 18161 eval ac_val=\$$ac_var 18162 case $ac_val in #( 18163 *${as_nl}*) 18164 case $ac_var in #( 18165 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 18166$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 18167 esac 18168 case $ac_var in #( 18169 _ | IFS | as_nl) ;; #( 18170 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 18171 *) { eval $ac_var=; unset $ac_var;} ;; 18172 esac ;; 18173 esac 18174 done 18175 18176 (set) 2>&1 | 18177 case $as_nl`(ac_space=' '; set) 2>&1` in #( 18178 *${as_nl}ac_space=\ *) 18179 # `set' does not quote correctly, so add quotes: double-quote 18180 # substitution turns \\\\ into \\, and sed turns \\ into \. 18181 sed -n \ 18182 "s/'/'\\\\''/g; 18183 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 18184 ;; #( 18185 *) 18186 # `set' quotes correctly as required by POSIX, so do not add quotes. 18187 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 18188 ;; 18189 esac | 18190 sort 18191) | 18192 sed ' 18193 /^ac_cv_env_/b end 18194 t clear 18195 :clear 18196 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 18197 t end 18198 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 18199 :end' >>confcache 18200if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 18201 if test -w "$cache_file"; then 18202 if test "x$cache_file" != "x/dev/null"; then 18203 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 18204$as_echo "$as_me: updating cache $cache_file" >&6;} 18205 if test ! -f "$cache_file" || test -h "$cache_file"; then 18206 cat confcache >"$cache_file" 18207 else 18208 case $cache_file in #( 18209 */* | ?:*) 18210 mv -f confcache "$cache_file"$$ && 18211 mv -f "$cache_file"$$ "$cache_file" ;; #( 18212 *) 18213 mv -f confcache "$cache_file" ;; 18214 esac 18215 fi 18216 fi 18217 else 18218 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 18219$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 18220 fi 18221fi 18222rm -f confcache 18223 18224test "x$prefix" = xNONE && prefix=$ac_default_prefix 18225# Let make expand exec_prefix. 18226test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 18227 18228DEFS=-DHAVE_CONFIG_H 18229 18230ac_libobjs= 18231ac_ltlibobjs= 18232U= 18233for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 18234 # 1. Remove the extension, and $U if already installed. 18235 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 18236 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 18237 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 18238 # will be set to the directory where LIBOBJS objects are built. 18239 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 18240 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 18241done 18242LIBOBJS=$ac_libobjs 18243 18244LTLIBOBJS=$ac_ltlibobjs 18245 18246 18247{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 18248$as_echo_n "checking that generated files are newer than configure... " >&6; } 18249 if test -n "$am_sleep_pid"; then 18250 # Hide warnings about reused PIDs. 18251 wait $am_sleep_pid 2>/dev/null 18252 fi 18253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 18254$as_echo "done" >&6; } 18255 if test -n "$EXEEXT"; then 18256 am__EXEEXT_TRUE= 18257 am__EXEEXT_FALSE='#' 18258else 18259 am__EXEEXT_TRUE='#' 18260 am__EXEEXT_FALSE= 18261fi 18262 18263if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 18264 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 18265Usually this means the macro was only invoked conditionally." "$LINENO" 5 18266fi 18267if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 18268 as_fn_error $? "conditional \"AMDEP\" was never defined. 18269Usually this means the macro was only invoked conditionally." "$LINENO" 5 18270fi 18271if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 18272 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 18273Usually this means the macro was only invoked conditionally." "$LINENO" 5 18274fi 18275if test -z "${HAS_HELP2MAN_TRUE}" && test -z "${HAS_HELP2MAN_FALSE}"; then 18276 as_fn_error $? "conditional \"HAS_HELP2MAN\" was never defined. 18277Usually this means the macro was only invoked conditionally." "$LINENO" 5 18278fi 18279if test -z "${HAS_MAN2HTML_TRUE}" && test -z "${HAS_MAN2HTML_FALSE}"; then 18280 as_fn_error $? "conditional \"HAS_MAN2HTML\" was never defined. 18281Usually this means the macro was only invoked conditionally." "$LINENO" 5 18282fi 18283if test -z "${HAS_XSLTPROC_TRUE}" && test -z "${HAS_XSLTPROC_FALSE}"; then 18284 as_fn_error $? "conditional \"HAS_XSLTPROC\" was never defined. 18285Usually this means the macro was only invoked conditionally." "$LINENO" 5 18286fi 18287if test -z "${BUILD_MANPAGES_TRUE}" && test -z "${BUILD_MANPAGES_FALSE}"; then 18288 as_fn_error $? "conditional \"BUILD_MANPAGES\" was never defined. 18289Usually this means the macro was only invoked conditionally." "$LINENO" 5 18290fi 18291if test -z "${BUILD_MANPAGES_TRUE}" && test -z "${BUILD_MANPAGES_FALSE}"; then 18292 as_fn_error $? "conditional \"BUILD_MANPAGES\" was never defined. 18293Usually this means the macro was only invoked conditionally." "$LINENO" 5 18294fi 18295if test -z "${BUILD_MAN_DOCS_TRUE}" && test -z "${BUILD_MAN_DOCS_FALSE}"; then 18296 as_fn_error $? "conditional \"BUILD_MAN_DOCS\" was never defined. 18297Usually this means the macro was only invoked conditionally." "$LINENO" 5 18298fi 18299if test -z "${BUILD_API_DOCS_TRUE}" && test -z "${BUILD_API_DOCS_FALSE}"; then 18300 as_fn_error $? "conditional \"BUILD_API_DOCS\" was never defined. 18301Usually this means the macro was only invoked conditionally." "$LINENO" 5 18302fi 18303if test -z "${BUILD_MAN_DOCS_TRUE}" && test -z "${BUILD_MAN_DOCS_FALSE}"; then 18304 as_fn_error $? "conditional \"BUILD_MAN_DOCS\" was never defined. 18305Usually this means the macro was only invoked conditionally." "$LINENO" 5 18306fi 18307if test -z "${BUILD_API_DOCS_TRUE}" && test -z "${BUILD_API_DOCS_FALSE}"; then 18308 as_fn_error $? "conditional \"BUILD_API_DOCS\" was never defined. 18309Usually this means the macro was only invoked conditionally." "$LINENO" 5 18310fi 18311if test -z "${XMLSEC_NO_OPENSSL_TRUE}" && test -z "${XMLSEC_NO_OPENSSL_FALSE}"; then 18312 as_fn_error $? "conditional \"XMLSEC_NO_OPENSSL\" was never defined. 18313Usually this means the macro was only invoked conditionally." "$LINENO" 5 18314fi 18315if test -z "${XMLSEC_NO_NSS_TRUE}" && test -z "${XMLSEC_NO_NSS_FALSE}"; then 18316 as_fn_error $? "conditional \"XMLSEC_NO_NSS\" was never defined. 18317Usually this means the macro was only invoked conditionally." "$LINENO" 5 18318fi 18319if test -z "${XMLSEC_NO_GCRYPT_TRUE}" && test -z "${XMLSEC_NO_GCRYPT_FALSE}"; then 18320 as_fn_error $? "conditional \"XMLSEC_NO_GCRYPT\" was never defined. 18321Usually this means the macro was only invoked conditionally." "$LINENO" 5 18322fi 18323if test -z "${XMLSEC_NO_GNUTLS_TRUE}" && test -z "${XMLSEC_NO_GNUTLS_FALSE}"; then 18324 as_fn_error $? "conditional \"XMLSEC_NO_GNUTLS\" was never defined. 18325Usually this means the macro was only invoked conditionally." "$LINENO" 5 18326fi 18327if test -z "${XMLSEC_NO_MSCRYPTO_TRUE}" && test -z "${XMLSEC_NO_MSCRYPTO_FALSE}"; then 18328 as_fn_error $? "conditional \"XMLSEC_NO_MSCRYPTO\" was never defined. 18329Usually this means the macro was only invoked conditionally." "$LINENO" 5 18330fi 18331if test -z "${XMLSEC_NO_MSCNG_TRUE}" && test -z "${XMLSEC_NO_MSCNG_FALSE}"; then 18332 as_fn_error $? "conditional \"XMLSEC_NO_MSCNG\" was never defined. 18333Usually this means the macro was only invoked conditionally." "$LINENO" 5 18334fi 18335if test -z "${XMLSEC_NO_MD5_TRUE}" && test -z "${XMLSEC_NO_MD5_FALSE}"; then 18336 as_fn_error $? "conditional \"XMLSEC_NO_MD5\" was never defined. 18337Usually this means the macro was only invoked conditionally." "$LINENO" 5 18338fi 18339if test -z "${XMLSEC_NO_RIPEMD160_TRUE}" && test -z "${XMLSEC_NO_RIPEMD160_FALSE}"; then 18340 as_fn_error $? "conditional \"XMLSEC_NO_RIPEMD160\" was never defined. 18341Usually this means the macro was only invoked conditionally." "$LINENO" 5 18342fi 18343if test -z "${XMLSEC_NO_SHA1_TRUE}" && test -z "${XMLSEC_NO_SHA1_FALSE}"; then 18344 as_fn_error $? "conditional \"XMLSEC_NO_SHA1\" was never defined. 18345Usually this means the macro was only invoked conditionally." "$LINENO" 5 18346fi 18347if test -z "${XMLSEC_NO_SHA224_TRUE}" && test -z "${XMLSEC_NO_SHA224_FALSE}"; then 18348 as_fn_error $? "conditional \"XMLSEC_NO_SHA224\" was never defined. 18349Usually this means the macro was only invoked conditionally." "$LINENO" 5 18350fi 18351if test -z "${XMLSEC_NO_SHA256_TRUE}" && test -z "${XMLSEC_NO_SHA256_FALSE}"; then 18352 as_fn_error $? "conditional \"XMLSEC_NO_SHA256\" was never defined. 18353Usually this means the macro was only invoked conditionally." "$LINENO" 5 18354fi 18355if test -z "${XMLSEC_NO_SHA384_TRUE}" && test -z "${XMLSEC_NO_SHA384_FALSE}"; then 18356 as_fn_error $? "conditional \"XMLSEC_NO_SHA384\" was never defined. 18357Usually this means the macro was only invoked conditionally." "$LINENO" 5 18358fi 18359if test -z "${XMLSEC_NO_SHA512_TRUE}" && test -z "${XMLSEC_NO_SHA512_FALSE}"; then 18360 as_fn_error $? "conditional \"XMLSEC_NO_SHA512\" was never defined. 18361Usually this means the macro was only invoked conditionally." "$LINENO" 5 18362fi 18363if test -z "${XMLSEC_NO_HMAC_TRUE}" && test -z "${XMLSEC_NO_HMAC_FALSE}"; then 18364 as_fn_error $? "conditional \"XMLSEC_NO_HMAC\" was never defined. 18365Usually this means the macro was only invoked conditionally." "$LINENO" 5 18366fi 18367if test -z "${XMLSEC_NO_DSA_TRUE}" && test -z "${XMLSEC_NO_DSA_FALSE}"; then 18368 as_fn_error $? "conditional \"XMLSEC_NO_DSA\" was never defined. 18369Usually this means the macro was only invoked conditionally." "$LINENO" 5 18370fi 18371if test -z "${XMLSEC_NO_RSA_TRUE}" && test -z "${XMLSEC_NO_RSA_FALSE}"; then 18372 as_fn_error $? "conditional \"XMLSEC_NO_RSA\" was never defined. 18373Usually this means the macro was only invoked conditionally." "$LINENO" 5 18374fi 18375if test -z "${XMLSEC_NO_X509_TRUE}" && test -z "${XMLSEC_NO_X509_FALSE}"; then 18376 as_fn_error $? "conditional \"XMLSEC_NO_X509\" was never defined. 18377Usually this means the macro was only invoked conditionally." "$LINENO" 5 18378fi 18379if test -z "${XMLSEC_NO_DES_TRUE}" && test -z "${XMLSEC_NO_DES_FALSE}"; then 18380 as_fn_error $? "conditional \"XMLSEC_NO_DES\" was never defined. 18381Usually this means the macro was only invoked conditionally." "$LINENO" 5 18382fi 18383if test -z "${XMLSEC_NO_AES_TRUE}" && test -z "${XMLSEC_NO_AES_FALSE}"; then 18384 as_fn_error $? "conditional \"XMLSEC_NO_AES\" was never defined. 18385Usually this means the macro was only invoked conditionally." "$LINENO" 5 18386fi 18387if test -z "${XMLSEC_NO_GOST_TRUE}" && test -z "${XMLSEC_NO_GOST_FALSE}"; then 18388 as_fn_error $? "conditional \"XMLSEC_NO_GOST\" was never defined. 18389Usually this means the macro was only invoked conditionally." "$LINENO" 5 18390fi 18391if test -z "${XMLSEC_NO_GOST2012_TRUE}" && test -z "${XMLSEC_NO_GOST2012_FALSE}"; then 18392 as_fn_error $? "conditional \"XMLSEC_NO_GOST2012\" was never defined. 18393Usually this means the macro was only invoked conditionally." "$LINENO" 5 18394fi 18395if test -z "${XMLSEC_NO_XMLDSIG_TRUE}" && test -z "${XMLSEC_NO_XMLDSIG_FALSE}"; then 18396 as_fn_error $? "conditional \"XMLSEC_NO_XMLDSIG\" was never defined. 18397Usually this means the macro was only invoked conditionally." "$LINENO" 5 18398fi 18399if test -z "${XMLSEC_NO_XMLENC_TRUE}" && test -z "${XMLSEC_NO_XMLENC_FALSE}"; then 18400 as_fn_error $? "conditional \"XMLSEC_NO_XMLENC\" was never defined. 18401Usually this means the macro was only invoked conditionally." "$LINENO" 5 18402fi 18403if test -z "${XMLSEC_ENABLE_SOAP_TRUE}" && test -z "${XMLSEC_ENABLE_SOAP_FALSE}"; then 18404 as_fn_error $? "conditional \"XMLSEC_ENABLE_SOAP\" was never defined. 18405Usually this means the macro was only invoked conditionally." "$LINENO" 5 18406fi 18407if test -z "${XMLSEC_MANS_TRUE}" && test -z "${XMLSEC_MANS_FALSE}"; then 18408 as_fn_error $? "conditional \"XMLSEC_MANS\" was never defined. 18409Usually this means the macro was only invoked conditionally." "$LINENO" 5 18410fi 18411if test -z "${XMLSEC_DOCS_TRUE}" && test -z "${XMLSEC_DOCS_FALSE}"; then 18412 as_fn_error $? "conditional \"XMLSEC_DOCS\" was never defined. 18413Usually this means the macro was only invoked conditionally." "$LINENO" 5 18414fi 18415if test -z "${XMLSEC_APPS_TRUE}" && test -z "${XMLSEC_APPS_FALSE}"; then 18416 as_fn_error $? "conditional \"XMLSEC_APPS\" was never defined. 18417Usually this means the macro was only invoked conditionally." "$LINENO" 5 18418fi 18419if test -z "${XMLSEC_NO_CRYPTO_DYNAMIC_LOADING_TRUE}" && test -z "${XMLSEC_NO_CRYPTO_DYNAMIC_LOADING_FALSE}"; then 18420 as_fn_error $? "conditional \"XMLSEC_NO_CRYPTO_DYNAMIC_LOADING\" was never defined. 18421Usually this means the macro was only invoked conditionally." "$LINENO" 5 18422fi 18423if test -z "${XMLSEC_NO_APPS_CRYPTO_DYNAMIC_LOADING_TRUE}" && test -z "${XMLSEC_NO_APPS_CRYPTO_DYNAMIC_LOADING_FALSE}"; then 18424 as_fn_error $? "conditional \"XMLSEC_NO_APPS_CRYPTO_DYNAMIC_LOADING\" was never defined. 18425Usually this means the macro was only invoked conditionally." "$LINENO" 5 18426fi 18427 18428: "${CONFIG_STATUS=./config.status}" 18429ac_write_fail=0 18430ac_clean_files_save=$ac_clean_files 18431ac_clean_files="$ac_clean_files $CONFIG_STATUS" 18432{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 18433$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 18434as_write_fail=0 18435cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 18436#! $SHELL 18437# Generated by $as_me. 18438# Run this file to recreate the current configuration. 18439# Compiler output produced by configure, useful for debugging 18440# configure, is in config.log if it exists. 18441 18442debug=false 18443ac_cs_recheck=false 18444ac_cs_silent=false 18445 18446SHELL=\${CONFIG_SHELL-$SHELL} 18447export SHELL 18448_ASEOF 18449cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 18450## -------------------- ## 18451## M4sh Initialization. ## 18452## -------------------- ## 18453 18454# Be more Bourne compatible 18455DUALCASE=1; export DUALCASE # for MKS sh 18456if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18457 emulate sh 18458 NULLCMD=: 18459 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 18460 # is contrary to our usage. Disable this feature. 18461 alias -g '${1+"$@"}'='"$@"' 18462 setopt NO_GLOB_SUBST 18463else 18464 case `(set -o) 2>/dev/null` in #( 18465 *posix*) : 18466 set -o posix ;; #( 18467 *) : 18468 ;; 18469esac 18470fi 18471 18472 18473as_nl=' 18474' 18475export as_nl 18476# Printing a long string crashes Solaris 7 /usr/bin/printf. 18477as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 18478as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 18479as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 18480# Prefer a ksh shell builtin over an external printf program on Solaris, 18481# but without wasting forks for bash or zsh. 18482if test -z "$BASH_VERSION$ZSH_VERSION" \ 18483 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 18484 as_echo='print -r --' 18485 as_echo_n='print -rn --' 18486elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 18487 as_echo='printf %s\n' 18488 as_echo_n='printf %s' 18489else 18490 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 18491 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 18492 as_echo_n='/usr/ucb/echo -n' 18493 else 18494 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 18495 as_echo_n_body='eval 18496 arg=$1; 18497 case $arg in #( 18498 *"$as_nl"*) 18499 expr "X$arg" : "X\\(.*\\)$as_nl"; 18500 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 18501 esac; 18502 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 18503 ' 18504 export as_echo_n_body 18505 as_echo_n='sh -c $as_echo_n_body as_echo' 18506 fi 18507 export as_echo_body 18508 as_echo='sh -c $as_echo_body as_echo' 18509fi 18510 18511# The user is always right. 18512if test "${PATH_SEPARATOR+set}" != set; then 18513 PATH_SEPARATOR=: 18514 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 18515 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 18516 PATH_SEPARATOR=';' 18517 } 18518fi 18519 18520 18521# IFS 18522# We need space, tab and new line, in precisely that order. Quoting is 18523# there to prevent editors from complaining about space-tab. 18524# (If _AS_PATH_WALK were called with IFS unset, it would disable word 18525# splitting by setting IFS to empty value.) 18526IFS=" "" $as_nl" 18527 18528# Find who we are. Look in the path if we contain no directory separator. 18529as_myself= 18530case $0 in #(( 18531 *[\\/]* ) as_myself=$0 ;; 18532 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18533for as_dir in $PATH 18534do 18535 IFS=$as_save_IFS 18536 test -z "$as_dir" && as_dir=. 18537 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 18538 done 18539IFS=$as_save_IFS 18540 18541 ;; 18542esac 18543# We did not find ourselves, most probably we were run as `sh COMMAND' 18544# in which case we are not to be found in the path. 18545if test "x$as_myself" = x; then 18546 as_myself=$0 18547fi 18548if test ! -f "$as_myself"; then 18549 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 18550 exit 1 18551fi 18552 18553# Unset variables that we do not need and which cause bugs (e.g. in 18554# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 18555# suppresses any "Segmentation fault" message there. '((' could 18556# trigger a bug in pdksh 5.2.14. 18557for as_var in BASH_ENV ENV MAIL MAILPATH 18558do eval test x\${$as_var+set} = xset \ 18559 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 18560done 18561PS1='$ ' 18562PS2='> ' 18563PS4='+ ' 18564 18565# NLS nuisances. 18566LC_ALL=C 18567export LC_ALL 18568LANGUAGE=C 18569export LANGUAGE 18570 18571# CDPATH. 18572(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 18573 18574 18575# as_fn_error STATUS ERROR [LINENO LOG_FD] 18576# ---------------------------------------- 18577# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 18578# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 18579# script with STATUS, using 1 if that was 0. 18580as_fn_error () 18581{ 18582 as_status=$1; test $as_status -eq 0 && as_status=1 18583 if test "$4"; then 18584 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 18585 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 18586 fi 18587 $as_echo "$as_me: error: $2" >&2 18588 as_fn_exit $as_status 18589} # as_fn_error 18590 18591 18592# as_fn_set_status STATUS 18593# ----------------------- 18594# Set $? to STATUS, without forking. 18595as_fn_set_status () 18596{ 18597 return $1 18598} # as_fn_set_status 18599 18600# as_fn_exit STATUS 18601# ----------------- 18602# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 18603as_fn_exit () 18604{ 18605 set +e 18606 as_fn_set_status $1 18607 exit $1 18608} # as_fn_exit 18609 18610# as_fn_unset VAR 18611# --------------- 18612# Portably unset VAR. 18613as_fn_unset () 18614{ 18615 { eval $1=; unset $1;} 18616} 18617as_unset=as_fn_unset 18618# as_fn_append VAR VALUE 18619# ---------------------- 18620# Append the text in VALUE to the end of the definition contained in VAR. Take 18621# advantage of any shell optimizations that allow amortized linear growth over 18622# repeated appends, instead of the typical quadratic growth present in naive 18623# implementations. 18624if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 18625 eval 'as_fn_append () 18626 { 18627 eval $1+=\$2 18628 }' 18629else 18630 as_fn_append () 18631 { 18632 eval $1=\$$1\$2 18633 } 18634fi # as_fn_append 18635 18636# as_fn_arith ARG... 18637# ------------------ 18638# Perform arithmetic evaluation on the ARGs, and store the result in the 18639# global $as_val. Take advantage of shells that can avoid forks. The arguments 18640# must be portable across $(()) and expr. 18641if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 18642 eval 'as_fn_arith () 18643 { 18644 as_val=$(( $* )) 18645 }' 18646else 18647 as_fn_arith () 18648 { 18649 as_val=`expr "$@" || test $? -eq 1` 18650 } 18651fi # as_fn_arith 18652 18653 18654if expr a : '\(a\)' >/dev/null 2>&1 && 18655 test "X`expr 00001 : '.*\(...\)'`" = X001; then 18656 as_expr=expr 18657else 18658 as_expr=false 18659fi 18660 18661if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 18662 as_basename=basename 18663else 18664 as_basename=false 18665fi 18666 18667if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 18668 as_dirname=dirname 18669else 18670 as_dirname=false 18671fi 18672 18673as_me=`$as_basename -- "$0" || 18674$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 18675 X"$0" : 'X\(//\)$' \| \ 18676 X"$0" : 'X\(/\)' \| . 2>/dev/null || 18677$as_echo X/"$0" | 18678 sed '/^.*\/\([^/][^/]*\)\/*$/{ 18679 s//\1/ 18680 q 18681 } 18682 /^X\/\(\/\/\)$/{ 18683 s//\1/ 18684 q 18685 } 18686 /^X\/\(\/\).*/{ 18687 s//\1/ 18688 q 18689 } 18690 s/.*/./; q'` 18691 18692# Avoid depending upon Character Ranges. 18693as_cr_letters='abcdefghijklmnopqrstuvwxyz' 18694as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 18695as_cr_Letters=$as_cr_letters$as_cr_LETTERS 18696as_cr_digits='0123456789' 18697as_cr_alnum=$as_cr_Letters$as_cr_digits 18698 18699ECHO_C= ECHO_N= ECHO_T= 18700case `echo -n x` in #((((( 18701-n*) 18702 case `echo 'xy\c'` in 18703 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 18704 xy) ECHO_C='\c';; 18705 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 18706 ECHO_T=' ';; 18707 esac;; 18708*) 18709 ECHO_N='-n';; 18710esac 18711 18712rm -f conf$$ conf$$.exe conf$$.file 18713if test -d conf$$.dir; then 18714 rm -f conf$$.dir/conf$$.file 18715else 18716 rm -f conf$$.dir 18717 mkdir conf$$.dir 2>/dev/null 18718fi 18719if (echo >conf$$.file) 2>/dev/null; then 18720 if ln -s conf$$.file conf$$ 2>/dev/null; then 18721 as_ln_s='ln -s' 18722 # ... but there are two gotchas: 18723 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 18724 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 18725 # In both cases, we have to default to `cp -pR'. 18726 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 18727 as_ln_s='cp -pR' 18728 elif ln conf$$.file conf$$ 2>/dev/null; then 18729 as_ln_s=ln 18730 else 18731 as_ln_s='cp -pR' 18732 fi 18733else 18734 as_ln_s='cp -pR' 18735fi 18736rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 18737rmdir conf$$.dir 2>/dev/null 18738 18739 18740# as_fn_mkdir_p 18741# ------------- 18742# Create "$as_dir" as a directory, including parents if necessary. 18743as_fn_mkdir_p () 18744{ 18745 18746 case $as_dir in #( 18747 -*) as_dir=./$as_dir;; 18748 esac 18749 test -d "$as_dir" || eval $as_mkdir_p || { 18750 as_dirs= 18751 while :; do 18752 case $as_dir in #( 18753 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 18754 *) as_qdir=$as_dir;; 18755 esac 18756 as_dirs="'$as_qdir' $as_dirs" 18757 as_dir=`$as_dirname -- "$as_dir" || 18758$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18759 X"$as_dir" : 'X\(//\)[^/]' \| \ 18760 X"$as_dir" : 'X\(//\)$' \| \ 18761 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 18762$as_echo X"$as_dir" | 18763 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18764 s//\1/ 18765 q 18766 } 18767 /^X\(\/\/\)[^/].*/{ 18768 s//\1/ 18769 q 18770 } 18771 /^X\(\/\/\)$/{ 18772 s//\1/ 18773 q 18774 } 18775 /^X\(\/\).*/{ 18776 s//\1/ 18777 q 18778 } 18779 s/.*/./; q'` 18780 test -d "$as_dir" && break 18781 done 18782 test -z "$as_dirs" || eval "mkdir $as_dirs" 18783 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 18784 18785 18786} # as_fn_mkdir_p 18787if mkdir -p . 2>/dev/null; then 18788 as_mkdir_p='mkdir -p "$as_dir"' 18789else 18790 test -d ./-p && rmdir ./-p 18791 as_mkdir_p=false 18792fi 18793 18794 18795# as_fn_executable_p FILE 18796# ----------------------- 18797# Test if FILE is an executable regular file. 18798as_fn_executable_p () 18799{ 18800 test -f "$1" && test -x "$1" 18801} # as_fn_executable_p 18802as_test_x='test -x' 18803as_executable_p=as_fn_executable_p 18804 18805# Sed expression to map a string onto a valid CPP name. 18806as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 18807 18808# Sed expression to map a string onto a valid variable name. 18809as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 18810 18811 18812exec 6>&1 18813## ----------------------------------- ## 18814## Main body of $CONFIG_STATUS script. ## 18815## ----------------------------------- ## 18816_ASEOF 18817test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 18818 18819cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18820# Save the log message, to keep $0 and so on meaningful, and to 18821# report actual input values of CONFIG_FILES etc. instead of their 18822# values after options handling. 18823ac_log=" 18824This file was extended by xmlsec1 $as_me 1.2.29, which was 18825generated by GNU Autoconf 2.69. Invocation command line was 18826 18827 CONFIG_FILES = $CONFIG_FILES 18828 CONFIG_HEADERS = $CONFIG_HEADERS 18829 CONFIG_LINKS = $CONFIG_LINKS 18830 CONFIG_COMMANDS = $CONFIG_COMMANDS 18831 $ $0 $@ 18832 18833on `(hostname || uname -n) 2>/dev/null | sed 1q` 18834" 18835 18836_ACEOF 18837 18838case $ac_config_files in *" 18839"*) set x $ac_config_files; shift; ac_config_files=$*;; 18840esac 18841 18842case $ac_config_headers in *" 18843"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 18844esac 18845 18846 18847cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18848# Files that config.status was made for. 18849config_files="$ac_config_files" 18850config_headers="$ac_config_headers" 18851config_commands="$ac_config_commands" 18852 18853_ACEOF 18854 18855cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18856ac_cs_usage="\ 18857\`$as_me' instantiates files and other configuration actions 18858from templates according to the current configuration. Unless the files 18859and actions are specified as TAGs, all are instantiated by default. 18860 18861Usage: $0 [OPTION]... [TAG]... 18862 18863 -h, --help print this help, then exit 18864 -V, --version print version number and configuration settings, then exit 18865 --config print configuration, then exit 18866 -q, --quiet, --silent 18867 do not print progress messages 18868 -d, --debug don't remove temporary files 18869 --recheck update $as_me by reconfiguring in the same conditions 18870 --file=FILE[:TEMPLATE] 18871 instantiate the configuration file FILE 18872 --header=FILE[:TEMPLATE] 18873 instantiate the configuration header FILE 18874 18875Configuration files: 18876$config_files 18877 18878Configuration headers: 18879$config_headers 18880 18881Configuration commands: 18882$config_commands 18883 18884Report bugs to <http://www.aleksey.com/xmlsec>." 18885 18886_ACEOF 18887cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18888ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 18889ac_cs_version="\\ 18890xmlsec1 config.status 1.2.29 18891configured by $0, generated by GNU Autoconf 2.69, 18892 with options \\"\$ac_cs_config\\" 18893 18894Copyright (C) 2012 Free Software Foundation, Inc. 18895This config.status script is free software; the Free Software Foundation 18896gives unlimited permission to copy, distribute and modify it." 18897 18898ac_pwd='$ac_pwd' 18899srcdir='$srcdir' 18900INSTALL='$INSTALL' 18901MKDIR_P='$MKDIR_P' 18902AWK='$AWK' 18903test -n "\$AWK" || AWK=awk 18904_ACEOF 18905 18906cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18907# The default lists apply if the user does not specify any file. 18908ac_need_defaults=: 18909while test $# != 0 18910do 18911 case $1 in 18912 --*=?*) 18913 ac_option=`expr "X$1" : 'X\([^=]*\)='` 18914 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 18915 ac_shift=: 18916 ;; 18917 --*=) 18918 ac_option=`expr "X$1" : 'X\([^=]*\)='` 18919 ac_optarg= 18920 ac_shift=: 18921 ;; 18922 *) 18923 ac_option=$1 18924 ac_optarg=$2 18925 ac_shift=shift 18926 ;; 18927 esac 18928 18929 case $ac_option in 18930 # Handling of the options. 18931 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 18932 ac_cs_recheck=: ;; 18933 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 18934 $as_echo "$ac_cs_version"; exit ;; 18935 --config | --confi | --conf | --con | --co | --c ) 18936 $as_echo "$ac_cs_config"; exit ;; 18937 --debug | --debu | --deb | --de | --d | -d ) 18938 debug=: ;; 18939 --file | --fil | --fi | --f ) 18940 $ac_shift 18941 case $ac_optarg in 18942 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 18943 '') as_fn_error $? "missing file argument" ;; 18944 esac 18945 as_fn_append CONFIG_FILES " '$ac_optarg'" 18946 ac_need_defaults=false;; 18947 --header | --heade | --head | --hea ) 18948 $ac_shift 18949 case $ac_optarg in 18950 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 18951 esac 18952 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 18953 ac_need_defaults=false;; 18954 --he | --h) 18955 # Conflict between --help and --header 18956 as_fn_error $? "ambiguous option: \`$1' 18957Try \`$0 --help' for more information.";; 18958 --help | --hel | -h ) 18959 $as_echo "$ac_cs_usage"; exit ;; 18960 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 18961 | -silent | --silent | --silen | --sile | --sil | --si | --s) 18962 ac_cs_silent=: ;; 18963 18964 # This is an error. 18965 -*) as_fn_error $? "unrecognized option: \`$1' 18966Try \`$0 --help' for more information." ;; 18967 18968 *) as_fn_append ac_config_targets " $1" 18969 ac_need_defaults=false ;; 18970 18971 esac 18972 shift 18973done 18974 18975ac_configure_extra_args= 18976 18977if $ac_cs_silent; then 18978 exec 6>/dev/null 18979 ac_configure_extra_args="$ac_configure_extra_args --silent" 18980fi 18981 18982_ACEOF 18983cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18984if \$ac_cs_recheck; then 18985 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 18986 shift 18987 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 18988 CONFIG_SHELL='$SHELL' 18989 export CONFIG_SHELL 18990 exec "\$@" 18991fi 18992 18993_ACEOF 18994cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18995exec 5>>config.log 18996{ 18997 echo 18998 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 18999## Running $as_me. ## 19000_ASBOX 19001 $as_echo "$ac_log" 19002} >&5 19003 19004_ACEOF 19005cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19006# 19007# INIT-COMMANDS 19008# 19009AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 19010 19011 19012# The HP-UX ksh and POSIX shell print the target directory to stdout 19013# if CDPATH is set. 19014(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 19015 19016sed_quote_subst='$sed_quote_subst' 19017double_quote_subst='$double_quote_subst' 19018delay_variable_subst='$delay_variable_subst' 19019macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 19020macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 19021enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 19022enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 19023pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 19024enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 19025shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 19026SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 19027ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 19028PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 19029host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 19030host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 19031host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 19032build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 19033build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 19034build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 19035SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 19036Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 19037GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 19038EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 19039FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 19040LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 19041NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 19042LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 19043max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 19044ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 19045exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 19046lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 19047lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 19048lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 19049lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 19050lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 19051reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 19052reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 19053OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 19054deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 19055file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 19056file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 19057want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 19058DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 19059sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 19060AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 19061AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 19062archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 19063STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 19064RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 19065old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 19066old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 19067old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 19068lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 19069CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 19070CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 19071compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 19072GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 19073lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 19074lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 19075lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 19076lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 19077lt_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"`' 19078lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 19079nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 19080lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 19081lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 19082objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 19083MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 19084lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 19085lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 19086lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 19087lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 19088lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 19089need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 19090MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 19091DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 19092NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 19093LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 19094OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 19095OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 19096libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 19097shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 19098extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 19099archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 19100enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 19101export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 19102whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 19103compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 19104old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 19105old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 19106archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 19107archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 19108module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 19109module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 19110with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 19111allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 19112no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 19113hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 19114hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 19115hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 19116hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 19117hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 19118hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 19119hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 19120inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 19121link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 19122always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 19123export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 19124exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 19125include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 19126prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 19127postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 19128file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 19129variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 19130need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 19131need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 19132version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 19133runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 19134shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 19135shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 19136libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 19137library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 19138soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 19139install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 19140postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 19141postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 19142finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 19143finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 19144hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 19145sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 19146configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 19147configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 19148hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 19149enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 19150enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 19151enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 19152old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 19153striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 19154 19155LTCC='$LTCC' 19156LTCFLAGS='$LTCFLAGS' 19157compiler='$compiler_DEFAULT' 19158 19159# A function that is used when there is no print builtin or printf. 19160func_fallback_echo () 19161{ 19162 eval 'cat <<_LTECHO_EOF 19163\$1 19164_LTECHO_EOF' 19165} 19166 19167# Quote evaled strings. 19168for var in SHELL \ 19169ECHO \ 19170PATH_SEPARATOR \ 19171SED \ 19172GREP \ 19173EGREP \ 19174FGREP \ 19175LD \ 19176NM \ 19177LN_S \ 19178lt_SP2NL \ 19179lt_NL2SP \ 19180reload_flag \ 19181OBJDUMP \ 19182deplibs_check_method \ 19183file_magic_cmd \ 19184file_magic_glob \ 19185want_nocaseglob \ 19186DLLTOOL \ 19187sharedlib_from_linklib_cmd \ 19188AR \ 19189AR_FLAGS \ 19190archiver_list_spec \ 19191STRIP \ 19192RANLIB \ 19193CC \ 19194CFLAGS \ 19195compiler \ 19196lt_cv_sys_global_symbol_pipe \ 19197lt_cv_sys_global_symbol_to_cdecl \ 19198lt_cv_sys_global_symbol_to_import \ 19199lt_cv_sys_global_symbol_to_c_name_address \ 19200lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 19201lt_cv_nm_interface \ 19202nm_file_list_spec \ 19203lt_cv_truncate_bin \ 19204lt_prog_compiler_no_builtin_flag \ 19205lt_prog_compiler_pic \ 19206lt_prog_compiler_wl \ 19207lt_prog_compiler_static \ 19208lt_cv_prog_compiler_c_o \ 19209need_locks \ 19210MANIFEST_TOOL \ 19211DSYMUTIL \ 19212NMEDIT \ 19213LIPO \ 19214OTOOL \ 19215OTOOL64 \ 19216shrext_cmds \ 19217export_dynamic_flag_spec \ 19218whole_archive_flag_spec \ 19219compiler_needs_object \ 19220with_gnu_ld \ 19221allow_undefined_flag \ 19222no_undefined_flag \ 19223hardcode_libdir_flag_spec \ 19224hardcode_libdir_separator \ 19225exclude_expsyms \ 19226include_expsyms \ 19227file_list_spec \ 19228variables_saved_for_relink \ 19229libname_spec \ 19230library_names_spec \ 19231soname_spec \ 19232install_override_mode \ 19233finish_eval \ 19234old_striplib \ 19235striplib; do 19236 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 19237 *[\\\\\\\`\\"\\\$]*) 19238 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 19239 ;; 19240 *) 19241 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 19242 ;; 19243 esac 19244done 19245 19246# Double-quote double-evaled strings. 19247for var in reload_cmds \ 19248old_postinstall_cmds \ 19249old_postuninstall_cmds \ 19250old_archive_cmds \ 19251extract_expsyms_cmds \ 19252old_archive_from_new_cmds \ 19253old_archive_from_expsyms_cmds \ 19254archive_cmds \ 19255archive_expsym_cmds \ 19256module_cmds \ 19257module_expsym_cmds \ 19258export_symbols_cmds \ 19259prelink_cmds \ 19260postlink_cmds \ 19261postinstall_cmds \ 19262postuninstall_cmds \ 19263finish_cmds \ 19264sys_lib_search_path_spec \ 19265configure_time_dlsearch_path \ 19266configure_time_lt_sys_library_path; do 19267 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 19268 *[\\\\\\\`\\"\\\$]*) 19269 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 19270 ;; 19271 *) 19272 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 19273 ;; 19274 esac 19275done 19276 19277ac_aux_dir='$ac_aux_dir' 19278 19279# See if we are running on zsh, and set the options that allow our 19280# commands through without removal of \ escapes INIT. 19281if test -n "\${ZSH_VERSION+set}"; then 19282 setopt NO_GLOB_SUBST 19283fi 19284 19285 19286 PACKAGE='$PACKAGE' 19287 VERSION='$VERSION' 19288 RM='$RM' 19289 ofile='$ofile' 19290 19291 19292 19293 19294_ACEOF 19295 19296cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19297 19298# Handling of arguments. 19299for ac_config_target in $ac_config_targets 19300do 19301 case $ac_config_target in 19302 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 19303 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 19304 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 19305 "include/xmlsec/openssl/Makefile") CONFIG_FILES="$CONFIG_FILES include/xmlsec/openssl/Makefile" ;; 19306 "src/openssl/Makefile") CONFIG_FILES="$CONFIG_FILES src/openssl/Makefile" ;; 19307 "include/xmlsec/gnutls/Makefile") CONFIG_FILES="$CONFIG_FILES include/xmlsec/gnutls/Makefile" ;; 19308 "src/gnutls/Makefile") CONFIG_FILES="$CONFIG_FILES src/gnutls/Makefile" ;; 19309 "include/xmlsec/gcrypt/Makefile") CONFIG_FILES="$CONFIG_FILES include/xmlsec/gcrypt/Makefile" ;; 19310 "src/gcrypt/Makefile") CONFIG_FILES="$CONFIG_FILES src/gcrypt/Makefile" ;; 19311 "include/xmlsec/nss/Makefile") CONFIG_FILES="$CONFIG_FILES include/xmlsec/nss/Makefile" ;; 19312 "src/nss/Makefile") CONFIG_FILES="$CONFIG_FILES src/nss/Makefile" ;; 19313 "include/xmlsec/mscrypto/Makefile") CONFIG_FILES="$CONFIG_FILES include/xmlsec/mscrypto/Makefile" ;; 19314 "src/mscrypto/Makefile") CONFIG_FILES="$CONFIG_FILES src/mscrypto/Makefile" ;; 19315 "include/xmlsec/mscng/Makefile") CONFIG_FILES="$CONFIG_FILES include/xmlsec/mscng/Makefile" ;; 19316 "src/mscng/Makefile") CONFIG_FILES="$CONFIG_FILES src/mscng/Makefile" ;; 19317 "xmlsec1.pc") CONFIG_FILES="$CONFIG_FILES xmlsec1.pc:xmlsec.pc.in" ;; 19318 "include/xmlsec/version.h") CONFIG_FILES="$CONFIG_FILES include/xmlsec/version.h" ;; 19319 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 19320 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; 19321 "include/xmlsec/Makefile") CONFIG_FILES="$CONFIG_FILES include/xmlsec/Makefile" ;; 19322 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 19323 "apps/Makefile") CONFIG_FILES="$CONFIG_FILES apps/Makefile" ;; 19324 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; 19325 "docs/api/Makefile") CONFIG_FILES="$CONFIG_FILES docs/api/Makefile" ;; 19326 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; 19327 "xmlsec1-openssl.pc") CONFIG_FILES="$CONFIG_FILES xmlsec1-openssl.pc:xmlsec-openssl.pc.in" ;; 19328 "xmlsec1-gnutls.pc") CONFIG_FILES="$CONFIG_FILES xmlsec1-gnutls.pc:xmlsec-gnutls.pc.in" ;; 19329 "xmlsec1-gcrypt.pc") CONFIG_FILES="$CONFIG_FILES xmlsec1-gcrypt.pc:xmlsec-gcrypt.pc.in" ;; 19330 "xmlsec1-nss.pc") CONFIG_FILES="$CONFIG_FILES xmlsec1-nss.pc:xmlsec-nss.pc.in" ;; 19331 "xmlsec1.spec") CONFIG_FILES="$CONFIG_FILES xmlsec1.spec:xmlsec.spec.in" ;; 19332 "xmlsec1Conf.sh") CONFIG_FILES="$CONFIG_FILES xmlsec1Conf.sh:xmlsecConf.sh.in" ;; 19333 "xmlsec1-config") CONFIG_FILES="$CONFIG_FILES xmlsec1-config:xmlsec-config.in" ;; 19334 19335 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 19336 esac 19337done 19338 19339 19340# If the user did not use the arguments to specify the items to instantiate, 19341# then the envvar interface is used. Set only those that are not. 19342# We use the long form for the default assignment because of an extremely 19343# bizarre bug on SunOS 4.1.3. 19344if $ac_need_defaults; then 19345 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 19346 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 19347 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 19348fi 19349 19350# Have a temporary directory for convenience. Make it in the build tree 19351# simply because there is no reason against having it here, and in addition, 19352# creating and moving files from /tmp can sometimes cause problems. 19353# Hook for its removal unless debugging. 19354# Note that there is a small window in which the directory will not be cleaned: 19355# after its creation but before its name has been assigned to `$tmp'. 19356$debug || 19357{ 19358 tmp= ac_tmp= 19359 trap 'exit_status=$? 19360 : "${ac_tmp:=$tmp}" 19361 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 19362' 0 19363 trap 'as_fn_exit 1' 1 2 13 15 19364} 19365# Create a (secure) tmp directory for tmp files. 19366 19367{ 19368 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 19369 test -d "$tmp" 19370} || 19371{ 19372 tmp=./conf$$-$RANDOM 19373 (umask 077 && mkdir "$tmp") 19374} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 19375ac_tmp=$tmp 19376 19377# Set up the scripts for CONFIG_FILES section. 19378# No need to generate them if there are no CONFIG_FILES. 19379# This happens for instance with `./config.status config.h'. 19380if test -n "$CONFIG_FILES"; then 19381 19382 19383ac_cr=`echo X | tr X '\015'` 19384# On cygwin, bash can eat \r inside `` if the user requested igncr. 19385# But we know of no other shell where ac_cr would be empty at this 19386# point, so we can use a bashism as a fallback. 19387if test "x$ac_cr" = x; then 19388 eval ac_cr=\$\'\\r\' 19389fi 19390ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 19391if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 19392 ac_cs_awk_cr='\\r' 19393else 19394 ac_cs_awk_cr=$ac_cr 19395fi 19396 19397echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 19398_ACEOF 19399 19400 19401{ 19402 echo "cat >conf$$subs.awk <<_ACEOF" && 19403 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 19404 echo "_ACEOF" 19405} >conf$$subs.sh || 19406 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 19407ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 19408ac_delim='%!_!# ' 19409for ac_last_try in false false false false false :; do 19410 . ./conf$$subs.sh || 19411 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 19412 19413 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 19414 if test $ac_delim_n = $ac_delim_num; then 19415 break 19416 elif $ac_last_try; then 19417 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 19418 else 19419 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 19420 fi 19421done 19422rm -f conf$$subs.sh 19423 19424cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19425cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 19426_ACEOF 19427sed -n ' 19428h 19429s/^/S["/; s/!.*/"]=/ 19430p 19431g 19432s/^[^!]*!// 19433:repl 19434t repl 19435s/'"$ac_delim"'$// 19436t delim 19437:nl 19438h 19439s/\(.\{148\}\)..*/\1/ 19440t more1 19441s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 19442p 19443n 19444b repl 19445:more1 19446s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 19447p 19448g 19449s/.\{148\}// 19450t nl 19451:delim 19452h 19453s/\(.\{148\}\)..*/\1/ 19454t more2 19455s/["\\]/\\&/g; s/^/"/; s/$/"/ 19456p 19457b 19458:more2 19459s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 19460p 19461g 19462s/.\{148\}// 19463t delim 19464' <conf$$subs.awk | sed ' 19465/^[^""]/{ 19466 N 19467 s/\n// 19468} 19469' >>$CONFIG_STATUS || ac_write_fail=1 19470rm -f conf$$subs.awk 19471cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19472_ACAWK 19473cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 19474 for (key in S) S_is_set[key] = 1 19475 FS = "" 19476 19477} 19478{ 19479 line = $ 0 19480 nfields = split(line, field, "@") 19481 substed = 0 19482 len = length(field[1]) 19483 for (i = 2; i < nfields; i++) { 19484 key = field[i] 19485 keylen = length(key) 19486 if (S_is_set[key]) { 19487 value = S[key] 19488 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 19489 len += length(value) + length(field[++i]) 19490 substed = 1 19491 } else 19492 len += 1 + keylen 19493 } 19494 19495 print line 19496} 19497 19498_ACAWK 19499_ACEOF 19500cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19501if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 19502 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 19503else 19504 cat 19505fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 19506 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 19507_ACEOF 19508 19509# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 19510# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 19511# trailing colons and then remove the whole line if VPATH becomes empty 19512# (actually we leave an empty line to preserve line numbers). 19513if test "x$srcdir" = x.; then 19514 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 19515h 19516s/// 19517s/^/:/ 19518s/[ ]*$/:/ 19519s/:\$(srcdir):/:/g 19520s/:\${srcdir}:/:/g 19521s/:@srcdir@:/:/g 19522s/^:*// 19523s/:*$// 19524x 19525s/\(=[ ]*\).*/\1/ 19526G 19527s/\n// 19528s/^[^=]*=[ ]*$// 19529}' 19530fi 19531 19532cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19533fi # test -n "$CONFIG_FILES" 19534 19535# Set up the scripts for CONFIG_HEADERS section. 19536# No need to generate them if there are no CONFIG_HEADERS. 19537# This happens for instance with `./config.status Makefile'. 19538if test -n "$CONFIG_HEADERS"; then 19539cat >"$ac_tmp/defines.awk" <<\_ACAWK || 19540BEGIN { 19541_ACEOF 19542 19543# Transform confdefs.h into an awk script `defines.awk', embedded as 19544# here-document in config.status, that substitutes the proper values into 19545# config.h.in to produce config.h. 19546 19547# Create a delimiter string that does not exist in confdefs.h, to ease 19548# handling of long lines. 19549ac_delim='%!_!# ' 19550for ac_last_try in false false :; do 19551 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 19552 if test -z "$ac_tt"; then 19553 break 19554 elif $ac_last_try; then 19555 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 19556 else 19557 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 19558 fi 19559done 19560 19561# For the awk script, D is an array of macro values keyed by name, 19562# likewise P contains macro parameters if any. Preserve backslash 19563# newline sequences. 19564 19565ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 19566sed -n ' 19567s/.\{148\}/&'"$ac_delim"'/g 19568t rset 19569:rset 19570s/^[ ]*#[ ]*define[ ][ ]*/ / 19571t def 19572d 19573:def 19574s/\\$// 19575t bsnl 19576s/["\\]/\\&/g 19577s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 19578D["\1"]=" \3"/p 19579s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 19580d 19581:bsnl 19582s/["\\]/\\&/g 19583s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 19584D["\1"]=" \3\\\\\\n"\\/p 19585t cont 19586s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 19587t cont 19588d 19589:cont 19590n 19591s/.\{148\}/&'"$ac_delim"'/g 19592t clear 19593:clear 19594s/\\$// 19595t bsnlc 19596s/["\\]/\\&/g; s/^/"/; s/$/"/p 19597d 19598:bsnlc 19599s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 19600b cont 19601' <confdefs.h | sed ' 19602s/'"$ac_delim"'/"\\\ 19603"/g' >>$CONFIG_STATUS || ac_write_fail=1 19604 19605cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19606 for (key in D) D_is_set[key] = 1 19607 FS = "" 19608} 19609/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 19610 line = \$ 0 19611 split(line, arg, " ") 19612 if (arg[1] == "#") { 19613 defundef = arg[2] 19614 mac1 = arg[3] 19615 } else { 19616 defundef = substr(arg[1], 2) 19617 mac1 = arg[2] 19618 } 19619 split(mac1, mac2, "(") #) 19620 macro = mac2[1] 19621 prefix = substr(line, 1, index(line, defundef) - 1) 19622 if (D_is_set[macro]) { 19623 # Preserve the white space surrounding the "#". 19624 print prefix "define", macro P[macro] D[macro] 19625 next 19626 } else { 19627 # Replace #undef with comments. This is necessary, for example, 19628 # in the case of _POSIX_SOURCE, which is predefined and required 19629 # on some systems where configure will not decide to define it. 19630 if (defundef == "undef") { 19631 print "/*", prefix defundef, macro, "*/" 19632 next 19633 } 19634 } 19635} 19636{ print } 19637_ACAWK 19638_ACEOF 19639cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19640 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 19641fi # test -n "$CONFIG_HEADERS" 19642 19643 19644eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 19645shift 19646for ac_tag 19647do 19648 case $ac_tag in 19649 :[FHLC]) ac_mode=$ac_tag; continue;; 19650 esac 19651 case $ac_mode$ac_tag in 19652 :[FHL]*:*);; 19653 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 19654 :[FH]-) ac_tag=-:-;; 19655 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 19656 esac 19657 ac_save_IFS=$IFS 19658 IFS=: 19659 set x $ac_tag 19660 IFS=$ac_save_IFS 19661 shift 19662 ac_file=$1 19663 shift 19664 19665 case $ac_mode in 19666 :L) ac_source=$1;; 19667 :[FH]) 19668 ac_file_inputs= 19669 for ac_f 19670 do 19671 case $ac_f in 19672 -) ac_f="$ac_tmp/stdin";; 19673 *) # Look for the file first in the build tree, then in the source tree 19674 # (if the path is not absolute). The absolute path cannot be DOS-style, 19675 # because $ac_f cannot contain `:'. 19676 test -f "$ac_f" || 19677 case $ac_f in 19678 [\\/$]*) false;; 19679 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 19680 esac || 19681 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 19682 esac 19683 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 19684 as_fn_append ac_file_inputs " '$ac_f'" 19685 done 19686 19687 # Let's still pretend it is `configure' which instantiates (i.e., don't 19688 # use $as_me), people would be surprised to read: 19689 # /* config.h. Generated by config.status. */ 19690 configure_input='Generated from '` 19691 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 19692 `' by configure.' 19693 if test x"$ac_file" != x-; then 19694 configure_input="$ac_file. $configure_input" 19695 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 19696$as_echo "$as_me: creating $ac_file" >&6;} 19697 fi 19698 # Neutralize special characters interpreted by sed in replacement strings. 19699 case $configure_input in #( 19700 *\&* | *\|* | *\\* ) 19701 ac_sed_conf_input=`$as_echo "$configure_input" | 19702 sed 's/[\\\\&|]/\\\\&/g'`;; #( 19703 *) ac_sed_conf_input=$configure_input;; 19704 esac 19705 19706 case $ac_tag in 19707 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 19708 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 19709 esac 19710 ;; 19711 esac 19712 19713 ac_dir=`$as_dirname -- "$ac_file" || 19714$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 19715 X"$ac_file" : 'X\(//\)[^/]' \| \ 19716 X"$ac_file" : 'X\(//\)$' \| \ 19717 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 19718$as_echo X"$ac_file" | 19719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 19720 s//\1/ 19721 q 19722 } 19723 /^X\(\/\/\)[^/].*/{ 19724 s//\1/ 19725 q 19726 } 19727 /^X\(\/\/\)$/{ 19728 s//\1/ 19729 q 19730 } 19731 /^X\(\/\).*/{ 19732 s//\1/ 19733 q 19734 } 19735 s/.*/./; q'` 19736 as_dir="$ac_dir"; as_fn_mkdir_p 19737 ac_builddir=. 19738 19739case "$ac_dir" in 19740.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 19741*) 19742 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 19743 # A ".." for each directory in $ac_dir_suffix. 19744 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 19745 case $ac_top_builddir_sub in 19746 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 19747 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 19748 esac ;; 19749esac 19750ac_abs_top_builddir=$ac_pwd 19751ac_abs_builddir=$ac_pwd$ac_dir_suffix 19752# for backward compatibility: 19753ac_top_builddir=$ac_top_build_prefix 19754 19755case $srcdir in 19756 .) # We are building in place. 19757 ac_srcdir=. 19758 ac_top_srcdir=$ac_top_builddir_sub 19759 ac_abs_top_srcdir=$ac_pwd ;; 19760 [\\/]* | ?:[\\/]* ) # Absolute name. 19761 ac_srcdir=$srcdir$ac_dir_suffix; 19762 ac_top_srcdir=$srcdir 19763 ac_abs_top_srcdir=$srcdir ;; 19764 *) # Relative name. 19765 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 19766 ac_top_srcdir=$ac_top_build_prefix$srcdir 19767 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 19768esac 19769ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 19770 19771 19772 case $ac_mode in 19773 :F) 19774 # 19775 # CONFIG_FILE 19776 # 19777 19778 case $INSTALL in 19779 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 19780 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 19781 esac 19782 ac_MKDIR_P=$MKDIR_P 19783 case $MKDIR_P in 19784 [\\/$]* | ?:[\\/]* ) ;; 19785 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 19786 esac 19787_ACEOF 19788 19789cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19790# If the template does not know about datarootdir, expand it. 19791# FIXME: This hack should be removed a few years after 2.60. 19792ac_datarootdir_hack=; ac_datarootdir_seen= 19793ac_sed_dataroot=' 19794/datarootdir/ { 19795 p 19796 q 19797} 19798/@datadir@/p 19799/@docdir@/p 19800/@infodir@/p 19801/@localedir@/p 19802/@mandir@/p' 19803case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 19804*datarootdir*) ac_datarootdir_seen=yes;; 19805*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 19806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 19807$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 19808_ACEOF 19809cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19810 ac_datarootdir_hack=' 19811 s&@datadir@&$datadir&g 19812 s&@docdir@&$docdir&g 19813 s&@infodir@&$infodir&g 19814 s&@localedir@&$localedir&g 19815 s&@mandir@&$mandir&g 19816 s&\\\${datarootdir}&$datarootdir&g' ;; 19817esac 19818_ACEOF 19819 19820# Neutralize VPATH when `$srcdir' = `.'. 19821# Shell code in configure.ac might set extrasub. 19822# FIXME: do we really want to maintain this feature? 19823cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19824ac_sed_extra="$ac_vpsub 19825$extrasub 19826_ACEOF 19827cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19828:t 19829/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 19830s|@configure_input@|$ac_sed_conf_input|;t t 19831s&@top_builddir@&$ac_top_builddir_sub&;t t 19832s&@top_build_prefix@&$ac_top_build_prefix&;t t 19833s&@srcdir@&$ac_srcdir&;t t 19834s&@abs_srcdir@&$ac_abs_srcdir&;t t 19835s&@top_srcdir@&$ac_top_srcdir&;t t 19836s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 19837s&@builddir@&$ac_builddir&;t t 19838s&@abs_builddir@&$ac_abs_builddir&;t t 19839s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 19840s&@INSTALL@&$ac_INSTALL&;t t 19841s&@MKDIR_P@&$ac_MKDIR_P&;t t 19842$ac_datarootdir_hack 19843" 19844eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 19845 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 19846 19847test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 19848 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 19849 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 19850 "$ac_tmp/out"`; test -z "$ac_out"; } && 19851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 19852which seems to be undefined. Please make sure it is defined" >&5 19853$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 19854which seems to be undefined. Please make sure it is defined" >&2;} 19855 19856 rm -f "$ac_tmp/stdin" 19857 case $ac_file in 19858 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 19859 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 19860 esac \ 19861 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 19862 ;; 19863 :H) 19864 # 19865 # CONFIG_HEADER 19866 # 19867 if test x"$ac_file" != x-; then 19868 { 19869 $as_echo "/* $configure_input */" \ 19870 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 19871 } >"$ac_tmp/config.h" \ 19872 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 19873 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 19874 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 19875$as_echo "$as_me: $ac_file is unchanged" >&6;} 19876 else 19877 rm -f "$ac_file" 19878 mv "$ac_tmp/config.h" "$ac_file" \ 19879 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 19880 fi 19881 else 19882 $as_echo "/* $configure_input */" \ 19883 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 19884 || as_fn_error $? "could not create -" "$LINENO" 5 19885 fi 19886# Compute "$ac_file"'s index in $config_headers. 19887_am_arg="$ac_file" 19888_am_stamp_count=1 19889for _am_header in $config_headers :; do 19890 case $_am_header in 19891 $_am_arg | $_am_arg:* ) 19892 break ;; 19893 * ) 19894 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 19895 esac 19896done 19897echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 19898$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 19899 X"$_am_arg" : 'X\(//\)[^/]' \| \ 19900 X"$_am_arg" : 'X\(//\)$' \| \ 19901 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 19902$as_echo X"$_am_arg" | 19903 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 19904 s//\1/ 19905 q 19906 } 19907 /^X\(\/\/\)[^/].*/{ 19908 s//\1/ 19909 q 19910 } 19911 /^X\(\/\/\)$/{ 19912 s//\1/ 19913 q 19914 } 19915 /^X\(\/\).*/{ 19916 s//\1/ 19917 q 19918 } 19919 s/.*/./; q'`/stamp-h$_am_stamp_count 19920 ;; 19921 19922 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 19923$as_echo "$as_me: executing $ac_file commands" >&6;} 19924 ;; 19925 esac 19926 19927 19928 case $ac_file$ac_mode in 19929 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 19930 # Older Autoconf quotes --file arguments for eval, but not when files 19931 # are listed without --file. Let's play safe and only enable the eval 19932 # if we detect the quoting. 19933 case $CONFIG_FILES in 19934 *\'*) eval set x "$CONFIG_FILES" ;; 19935 *) set x $CONFIG_FILES ;; 19936 esac 19937 shift 19938 for mf 19939 do 19940 # Strip MF so we end up with the name of the file. 19941 mf=`echo "$mf" | sed -e 's/:.*$//'` 19942 # Check whether this is an Automake generated Makefile or not. 19943 # We used to match only the files named 'Makefile.in', but 19944 # some people rename them; so instead we look at the file content. 19945 # Grep'ing the first line is not enough: some people post-process 19946 # each Makefile.in and add a new line on top of each file to say so. 19947 # Grep'ing the whole file is not good either: AIX grep has a line 19948 # limit of 2048, but all sed's we know have understand at least 4000. 19949 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 19950 dirpart=`$as_dirname -- "$mf" || 19951$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 19952 X"$mf" : 'X\(//\)[^/]' \| \ 19953 X"$mf" : 'X\(//\)$' \| \ 19954 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 19955$as_echo X"$mf" | 19956 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 19957 s//\1/ 19958 q 19959 } 19960 /^X\(\/\/\)[^/].*/{ 19961 s//\1/ 19962 q 19963 } 19964 /^X\(\/\/\)$/{ 19965 s//\1/ 19966 q 19967 } 19968 /^X\(\/\).*/{ 19969 s//\1/ 19970 q 19971 } 19972 s/.*/./; q'` 19973 else 19974 continue 19975 fi 19976 # Extract the definition of DEPDIR, am__include, and am__quote 19977 # from the Makefile without running 'make'. 19978 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 19979 test -z "$DEPDIR" && continue 19980 am__include=`sed -n 's/^am__include = //p' < "$mf"` 19981 test -z "$am__include" && continue 19982 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 19983 # Find all dependency output files, they are included files with 19984 # $(DEPDIR) in their names. We invoke sed twice because it is the 19985 # simplest approach to changing $(DEPDIR) to its actual value in the 19986 # expansion. 19987 for file in `sed -n " 19988 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 19989 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 19990 # Make sure the directory exists. 19991 test -f "$dirpart/$file" && continue 19992 fdir=`$as_dirname -- "$file" || 19993$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 19994 X"$file" : 'X\(//\)[^/]' \| \ 19995 X"$file" : 'X\(//\)$' \| \ 19996 X"$file" : 'X\(/\)' \| . 2>/dev/null || 19997$as_echo X"$file" | 19998 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 19999 s//\1/ 20000 q 20001 } 20002 /^X\(\/\/\)[^/].*/{ 20003 s//\1/ 20004 q 20005 } 20006 /^X\(\/\/\)$/{ 20007 s//\1/ 20008 q 20009 } 20010 /^X\(\/\).*/{ 20011 s//\1/ 20012 q 20013 } 20014 s/.*/./; q'` 20015 as_dir=$dirpart/$fdir; as_fn_mkdir_p 20016 # echo "creating $dirpart/$file" 20017 echo '# dummy' > "$dirpart/$file" 20018 done 20019 done 20020} 20021 ;; 20022 "libtool":C) 20023 20024 # See if we are running on zsh, and set the options that allow our 20025 # commands through without removal of \ escapes. 20026 if test -n "${ZSH_VERSION+set}"; then 20027 setopt NO_GLOB_SUBST 20028 fi 20029 20030 cfgfile=${ofile}T 20031 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 20032 $RM "$cfgfile" 20033 20034 cat <<_LT_EOF >> "$cfgfile" 20035#! $SHELL 20036# Generated automatically by $as_me ($PACKAGE) $VERSION 20037# NOTE: Changes made to this file will be lost: look at ltmain.sh. 20038 20039# Provide generalized library-building support services. 20040# Written by Gordon Matzigkeit, 1996 20041 20042# Copyright (C) 2014 Free Software Foundation, Inc. 20043# This is free software; see the source for copying conditions. There is NO 20044# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 20045 20046# GNU Libtool is free software; you can redistribute it and/or modify 20047# it under the terms of the GNU General Public License as published by 20048# the Free Software Foundation; either version 2 of of the License, or 20049# (at your option) any later version. 20050# 20051# As a special exception to the GNU General Public License, if you 20052# distribute this file as part of a program or library that is built 20053# using GNU Libtool, you may include this file under the same 20054# distribution terms that you use for the rest of that program. 20055# 20056# GNU Libtool is distributed in the hope that it will be useful, but 20057# WITHOUT ANY WARRANTY; without even the implied warranty of 20058# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20059# GNU General Public License for more details. 20060# 20061# You should have received a copy of the GNU General Public License 20062# along with this program. If not, see <http://www.gnu.org/licenses/>. 20063 20064 20065# The names of the tagged configurations supported by this script. 20066available_tags='' 20067 20068# Configured defaults for sys_lib_dlsearch_path munging. 20069: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 20070 20071# ### BEGIN LIBTOOL CONFIG 20072 20073# Which release of libtool.m4 was used? 20074macro_version=$macro_version 20075macro_revision=$macro_revision 20076 20077# Whether or not to build shared libraries. 20078build_libtool_libs=$enable_shared 20079 20080# Whether or not to build static libraries. 20081build_old_libs=$enable_static 20082 20083# What type of objects to build. 20084pic_mode=$pic_mode 20085 20086# Whether or not to optimize for fast installation. 20087fast_install=$enable_fast_install 20088 20089# Shared archive member basename,for filename based shared library versioning on AIX. 20090shared_archive_member_spec=$shared_archive_member_spec 20091 20092# Shell to use when invoking shell scripts. 20093SHELL=$lt_SHELL 20094 20095# An echo program that protects backslashes. 20096ECHO=$lt_ECHO 20097 20098# The PATH separator for the build system. 20099PATH_SEPARATOR=$lt_PATH_SEPARATOR 20100 20101# The host system. 20102host_alias=$host_alias 20103host=$host 20104host_os=$host_os 20105 20106# The build system. 20107build_alias=$build_alias 20108build=$build 20109build_os=$build_os 20110 20111# A sed program that does not truncate output. 20112SED=$lt_SED 20113 20114# Sed that helps us avoid accidentally triggering echo(1) options like -n. 20115Xsed="\$SED -e 1s/^X//" 20116 20117# A grep program that handles long lines. 20118GREP=$lt_GREP 20119 20120# An ERE matcher. 20121EGREP=$lt_EGREP 20122 20123# A literal string matcher. 20124FGREP=$lt_FGREP 20125 20126# A BSD- or MS-compatible name lister. 20127NM=$lt_NM 20128 20129# Whether we need soft or hard links. 20130LN_S=$lt_LN_S 20131 20132# What is the maximum length of a command? 20133max_cmd_len=$max_cmd_len 20134 20135# Object file suffix (normally "o"). 20136objext=$ac_objext 20137 20138# Executable file suffix (normally ""). 20139exeext=$exeext 20140 20141# whether the shell understands "unset". 20142lt_unset=$lt_unset 20143 20144# turn spaces into newlines. 20145SP2NL=$lt_lt_SP2NL 20146 20147# turn newlines into spaces. 20148NL2SP=$lt_lt_NL2SP 20149 20150# convert \$build file names to \$host format. 20151to_host_file_cmd=$lt_cv_to_host_file_cmd 20152 20153# convert \$build files to toolchain format. 20154to_tool_file_cmd=$lt_cv_to_tool_file_cmd 20155 20156# An object symbol dumper. 20157OBJDUMP=$lt_OBJDUMP 20158 20159# Method to check whether dependent libraries are shared objects. 20160deplibs_check_method=$lt_deplibs_check_method 20161 20162# Command to use when deplibs_check_method = "file_magic". 20163file_magic_cmd=$lt_file_magic_cmd 20164 20165# How to find potential files when deplibs_check_method = "file_magic". 20166file_magic_glob=$lt_file_magic_glob 20167 20168# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 20169want_nocaseglob=$lt_want_nocaseglob 20170 20171# DLL creation program. 20172DLLTOOL=$lt_DLLTOOL 20173 20174# Command to associate shared and link libraries. 20175sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 20176 20177# The archiver. 20178AR=$lt_AR 20179 20180# Flags to create an archive. 20181AR_FLAGS=$lt_AR_FLAGS 20182 20183# How to feed a file listing to the archiver. 20184archiver_list_spec=$lt_archiver_list_spec 20185 20186# A symbol stripping program. 20187STRIP=$lt_STRIP 20188 20189# Commands used to install an old-style archive. 20190RANLIB=$lt_RANLIB 20191old_postinstall_cmds=$lt_old_postinstall_cmds 20192old_postuninstall_cmds=$lt_old_postuninstall_cmds 20193 20194# Whether to use a lock for old archive extraction. 20195lock_old_archive_extraction=$lock_old_archive_extraction 20196 20197# A C compiler. 20198LTCC=$lt_CC 20199 20200# LTCC compiler flags. 20201LTCFLAGS=$lt_CFLAGS 20202 20203# Take the output of nm and produce a listing of raw symbols and C names. 20204global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 20205 20206# Transform the output of nm in a proper C declaration. 20207global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 20208 20209# Transform the output of nm into a list of symbols to manually relocate. 20210global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 20211 20212# Transform the output of nm in a C name address pair. 20213global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 20214 20215# Transform the output of nm in a C name address pair when lib prefix is needed. 20216global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 20217 20218# The name lister interface. 20219nm_interface=$lt_lt_cv_nm_interface 20220 20221# Specify filename containing input files for \$NM. 20222nm_file_list_spec=$lt_nm_file_list_spec 20223 20224# The root where to search for dependent libraries,and where our libraries should be installed. 20225lt_sysroot=$lt_sysroot 20226 20227# Command to truncate a binary pipe. 20228lt_truncate_bin=$lt_lt_cv_truncate_bin 20229 20230# The name of the directory that contains temporary libtool files. 20231objdir=$objdir 20232 20233# Used to examine libraries when file_magic_cmd begins with "file". 20234MAGIC_CMD=$MAGIC_CMD 20235 20236# Must we lock files when doing compilation? 20237need_locks=$lt_need_locks 20238 20239# Manifest tool. 20240MANIFEST_TOOL=$lt_MANIFEST_TOOL 20241 20242# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 20243DSYMUTIL=$lt_DSYMUTIL 20244 20245# Tool to change global to local symbols on Mac OS X. 20246NMEDIT=$lt_NMEDIT 20247 20248# Tool to manipulate fat objects and archives on Mac OS X. 20249LIPO=$lt_LIPO 20250 20251# ldd/readelf like tool for Mach-O binaries on Mac OS X. 20252OTOOL=$lt_OTOOL 20253 20254# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 20255OTOOL64=$lt_OTOOL64 20256 20257# Old archive suffix (normally "a"). 20258libext=$libext 20259 20260# Shared library suffix (normally ".so"). 20261shrext_cmds=$lt_shrext_cmds 20262 20263# The commands to extract the exported symbol list from a shared archive. 20264extract_expsyms_cmds=$lt_extract_expsyms_cmds 20265 20266# Variables whose values should be saved in libtool wrapper scripts and 20267# restored at link time. 20268variables_saved_for_relink=$lt_variables_saved_for_relink 20269 20270# Do we need the "lib" prefix for modules? 20271need_lib_prefix=$need_lib_prefix 20272 20273# Do we need a version for libraries? 20274need_version=$need_version 20275 20276# Library versioning type. 20277version_type=$version_type 20278 20279# Shared library runtime path variable. 20280runpath_var=$runpath_var 20281 20282# Shared library path variable. 20283shlibpath_var=$shlibpath_var 20284 20285# Is shlibpath searched before the hard-coded library search path? 20286shlibpath_overrides_runpath=$shlibpath_overrides_runpath 20287 20288# Format of library name prefix. 20289libname_spec=$lt_libname_spec 20290 20291# List of archive names. First name is the real one, the rest are links. 20292# The last name is the one that the linker finds with -lNAME 20293library_names_spec=$lt_library_names_spec 20294 20295# The coded name of the library, if different from the real name. 20296soname_spec=$lt_soname_spec 20297 20298# Permission mode override for installation of shared libraries. 20299install_override_mode=$lt_install_override_mode 20300 20301# Command to use after installation of a shared archive. 20302postinstall_cmds=$lt_postinstall_cmds 20303 20304# Command to use after uninstallation of a shared archive. 20305postuninstall_cmds=$lt_postuninstall_cmds 20306 20307# Commands used to finish a libtool library installation in a directory. 20308finish_cmds=$lt_finish_cmds 20309 20310# As "finish_cmds", except a single script fragment to be evaled but 20311# not shown. 20312finish_eval=$lt_finish_eval 20313 20314# Whether we should hardcode library paths into libraries. 20315hardcode_into_libs=$hardcode_into_libs 20316 20317# Compile-time system search path for libraries. 20318sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 20319 20320# Detected run-time system search path for libraries. 20321sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 20322 20323# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 20324configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 20325 20326# Whether dlopen is supported. 20327dlopen_support=$enable_dlopen 20328 20329# Whether dlopen of programs is supported. 20330dlopen_self=$enable_dlopen_self 20331 20332# Whether dlopen of statically linked programs is supported. 20333dlopen_self_static=$enable_dlopen_self_static 20334 20335# Commands to strip libraries. 20336old_striplib=$lt_old_striplib 20337striplib=$lt_striplib 20338 20339 20340# The linker used to build libraries. 20341LD=$lt_LD 20342 20343# How to create reloadable object files. 20344reload_flag=$lt_reload_flag 20345reload_cmds=$lt_reload_cmds 20346 20347# Commands used to build an old-style archive. 20348old_archive_cmds=$lt_old_archive_cmds 20349 20350# A language specific compiler. 20351CC=$lt_compiler 20352 20353# Is the compiler the GNU compiler? 20354with_gcc=$GCC 20355 20356# Compiler flag to turn off builtin functions. 20357no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 20358 20359# Additional compiler flags for building library objects. 20360pic_flag=$lt_lt_prog_compiler_pic 20361 20362# How to pass a linker flag through the compiler. 20363wl=$lt_lt_prog_compiler_wl 20364 20365# Compiler flag to prevent dynamic linking. 20366link_static_flag=$lt_lt_prog_compiler_static 20367 20368# Does compiler simultaneously support -c and -o options? 20369compiler_c_o=$lt_lt_cv_prog_compiler_c_o 20370 20371# Whether or not to add -lc for building shared libraries. 20372build_libtool_need_lc=$archive_cmds_need_lc 20373 20374# Whether or not to disallow shared libs when runtime libs are static. 20375allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 20376 20377# Compiler flag to allow reflexive dlopens. 20378export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 20379 20380# Compiler flag to generate shared objects directly from archives. 20381whole_archive_flag_spec=$lt_whole_archive_flag_spec 20382 20383# Whether the compiler copes with passing no objects directly. 20384compiler_needs_object=$lt_compiler_needs_object 20385 20386# Create an old-style archive from a shared archive. 20387old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 20388 20389# Create a temporary old-style archive to link instead of a shared archive. 20390old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 20391 20392# Commands used to build a shared archive. 20393archive_cmds=$lt_archive_cmds 20394archive_expsym_cmds=$lt_archive_expsym_cmds 20395 20396# Commands used to build a loadable module if different from building 20397# a shared archive. 20398module_cmds=$lt_module_cmds 20399module_expsym_cmds=$lt_module_expsym_cmds 20400 20401# Whether we are building with GNU ld or not. 20402with_gnu_ld=$lt_with_gnu_ld 20403 20404# Flag that allows shared libraries with undefined symbols to be built. 20405allow_undefined_flag=$lt_allow_undefined_flag 20406 20407# Flag that enforces no undefined symbols. 20408no_undefined_flag=$lt_no_undefined_flag 20409 20410# Flag to hardcode \$libdir into a binary during linking. 20411# This must work even if \$libdir does not exist 20412hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 20413 20414# Whether we need a single "-rpath" flag with a separated argument. 20415hardcode_libdir_separator=$lt_hardcode_libdir_separator 20416 20417# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 20418# DIR into the resulting binary. 20419hardcode_direct=$hardcode_direct 20420 20421# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 20422# DIR into the resulting binary and the resulting library dependency is 20423# "absolute",i.e impossible to change by setting \$shlibpath_var if the 20424# library is relocated. 20425hardcode_direct_absolute=$hardcode_direct_absolute 20426 20427# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 20428# into the resulting binary. 20429hardcode_minus_L=$hardcode_minus_L 20430 20431# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 20432# into the resulting binary. 20433hardcode_shlibpath_var=$hardcode_shlibpath_var 20434 20435# Set to "yes" if building a shared library automatically hardcodes DIR 20436# into the library and all subsequent libraries and executables linked 20437# against it. 20438hardcode_automatic=$hardcode_automatic 20439 20440# Set to yes if linker adds runtime paths of dependent libraries 20441# to runtime path list. 20442inherit_rpath=$inherit_rpath 20443 20444# Whether libtool must link a program against all its dependency libraries. 20445link_all_deplibs=$link_all_deplibs 20446 20447# Set to "yes" if exported symbols are required. 20448always_export_symbols=$always_export_symbols 20449 20450# The commands to list exported symbols. 20451export_symbols_cmds=$lt_export_symbols_cmds 20452 20453# Symbols that should not be listed in the preloaded symbols. 20454exclude_expsyms=$lt_exclude_expsyms 20455 20456# Symbols that must always be exported. 20457include_expsyms=$lt_include_expsyms 20458 20459# Commands necessary for linking programs (against libraries) with templates. 20460prelink_cmds=$lt_prelink_cmds 20461 20462# Commands necessary for finishing linking programs. 20463postlink_cmds=$lt_postlink_cmds 20464 20465# Specify filename containing input files. 20466file_list_spec=$lt_file_list_spec 20467 20468# How to hardcode a shared library path into an executable. 20469hardcode_action=$hardcode_action 20470 20471# ### END LIBTOOL CONFIG 20472 20473_LT_EOF 20474 20475 cat <<'_LT_EOF' >> "$cfgfile" 20476 20477# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 20478 20479# func_munge_path_list VARIABLE PATH 20480# ----------------------------------- 20481# VARIABLE is name of variable containing _space_ separated list of 20482# directories to be munged by the contents of PATH, which is string 20483# having a format: 20484# "DIR[:DIR]:" 20485# string "DIR[ DIR]" will be prepended to VARIABLE 20486# ":DIR[:DIR]" 20487# string "DIR[ DIR]" will be appended to VARIABLE 20488# "DIRP[:DIRP]::[DIRA:]DIRA" 20489# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 20490# "DIRA[ DIRA]" will be appended to VARIABLE 20491# "DIR[:DIR]" 20492# VARIABLE will be replaced by "DIR[ DIR]" 20493func_munge_path_list () 20494{ 20495 case x$2 in 20496 x) 20497 ;; 20498 *:) 20499 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 20500 ;; 20501 x:*) 20502 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 20503 ;; 20504 *::*) 20505 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 20506 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 20507 ;; 20508 *) 20509 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 20510 ;; 20511 esac 20512} 20513 20514 20515# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 20516func_cc_basename () 20517{ 20518 for cc_temp in $*""; do 20519 case $cc_temp in 20520 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 20521 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 20522 \-*) ;; 20523 *) break;; 20524 esac 20525 done 20526 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 20527} 20528 20529 20530# ### END FUNCTIONS SHARED WITH CONFIGURE 20531 20532_LT_EOF 20533 20534 case $host_os in 20535 aix3*) 20536 cat <<\_LT_EOF >> "$cfgfile" 20537# AIX sometimes has problems with the GCC collect2 program. For some 20538# reason, if we set the COLLECT_NAMES environment variable, the problems 20539# vanish in a puff of smoke. 20540if test set != "${COLLECT_NAMES+set}"; then 20541 COLLECT_NAMES= 20542 export COLLECT_NAMES 20543fi 20544_LT_EOF 20545 ;; 20546 esac 20547 20548 20549ltmain=$ac_aux_dir/ltmain.sh 20550 20551 20552 # We use sed instead of cat because bash on DJGPP gets confused if 20553 # if finds mixed CR/LF and LF-only lines. Since sed operates in 20554 # text mode, it properly converts lines to CR/LF. This bash problem 20555 # is reportedly fixed, but why not run on old versions too? 20556 sed '$q' "$ltmain" >> "$cfgfile" \ 20557 || (rm -f "$cfgfile"; exit 1) 20558 20559 mv -f "$cfgfile" "$ofile" || 20560 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 20561 chmod +x "$ofile" 20562 20563 ;; 20564 "xmlsec1Conf.sh":F) chmod +x xmlsec1Conf.sh ;; 20565 "xmlsec1-config":F) chmod +x xmlsec1-config ;; 20566 20567 esac 20568done # for ac_tag 20569 20570 20571as_fn_exit 0 20572_ACEOF 20573ac_clean_files=$ac_clean_files_save 20574 20575test $ac_write_fail = 0 || 20576 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 20577 20578 20579# configure is writing to config.log, and then calls config.status. 20580# config.status does its own redirection, appending to config.log. 20581# Unfortunately, on DOS this fails, as config.log is still kept open 20582# by configure, so config.status won't be able to write to it; its 20583# output is simply discarded. So we exec the FD to /dev/null, 20584# effectively closing config.log, so it can be properly (re)opened and 20585# appended to by config.status. When coming back to configure, we 20586# need to make the FD available again. 20587if test "$no_create" != yes; then 20588 ac_cs_success=: 20589 ac_config_status_args= 20590 test "$silent" = yes && 20591 ac_config_status_args="$ac_config_status_args --quiet" 20592 exec 5>/dev/null 20593 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 20594 exec 5>>config.log 20595 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 20596 # would make configure fail if this is the last instruction. 20597 $ac_cs_success || as_fn_exit 1 20598fi 20599if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 20600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 20601$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 20602fi 20603 20604 20605