1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for libqcow 20210419. 4# 5# Report bugs to <joachim.metz@gmail.com>. 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: joachim.metz@gmail.com about your system, including any 279$0: error possibly output before this message. Then install 280$0: a modern shell, or manually run the script under such a 281$0: 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='libqcow' 592PACKAGE_TARNAME='libqcow' 593PACKAGE_VERSION='20210419' 594PACKAGE_STRING='libqcow 20210419' 595PACKAGE_BUGREPORT='joachim.metz@gmail.com' 596PACKAGE_URL='' 597 598ac_unique_file="include/libqcow.h.in" 599# Factoring default headers for most tests. 600ac_includes_default="\ 601#include <stdio.h> 602#ifdef HAVE_SYS_TYPES_H 603# include <sys/types.h> 604#endif 605#ifdef HAVE_SYS_STAT_H 606# include <sys/stat.h> 607#endif 608#ifdef STDC_HEADERS 609# include <stdlib.h> 610# include <stddef.h> 611#else 612# ifdef HAVE_STDLIB_H 613# include <stdlib.h> 614# endif 615#endif 616#ifdef HAVE_STRING_H 617# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 618# include <memory.h> 619# endif 620# include <string.h> 621#endif 622#ifdef HAVE_STRINGS_H 623# include <strings.h> 624#endif 625#ifdef HAVE_INTTYPES_H 626# include <inttypes.h> 627#endif 628#ifdef HAVE_STDINT_H 629# include <stdint.h> 630#endif 631#ifdef HAVE_UNISTD_H 632# include <unistd.h> 633#endif" 634 635gt_needs= 636ac_subst_vars='am__EXEEXT_FALSE 637am__EXEEXT_TRUE 638LTLIBOBJS 639LIBOBJS 640SPEC_DATE 641DPKG_DATE 642libqcow_spec_tools_build_requires 643libqcow_spec_requires 644LIB_FUZZING_ENGINE 645HAVE_LIB_FUZZING_ENGINE_FALSE 646HAVE_LIB_FUZZING_ENGINE_TRUE 647LIBQCOW_DLL_IMPORT 648LIBQCOW_DLL_EXPORT 649HAVE_DLLMAIN 650ax_libfuse_spec_build_requires 651ax_libfuse_spec_requires 652ax_libfuse_pc_libs_private 653LIBFUSE_LIBADD 654LIBFUSE_CPPFLAGS 655HAVE_LIBFUSE 656fuse_LIBS 657fuse_CFLAGS 658HAVE_PYTHON_TESTS_FALSE 659HAVE_PYTHON_TESTS_TRUE 660HAVE_PYTHON3_FALSE 661HAVE_PYTHON3_TRUE 662HAVE_PYTHON2_FALSE 663HAVE_PYTHON2_TRUE 664HAVE_PYTHON_FALSE 665HAVE_PYTHON_TRUE 666PYTHON3_PACKAGE_DIR 667PYTHON3_LIBRARY_DIR 668pyexecdir3 669pythondir3 670PYTHON3_EXEC_PREFIX 671PYTHON3_PREFIX 672PYTHON3_LDFLAGS 673PYTHON3_CPPFLAGS 674PYTHON3_CONFIG 675PYTHON3_PLATFORM 676PYTHON3_VERSION 677PYTHON3 678PYTHON2_PACKAGE_DIR 679PYTHON2_LIBRARY_DIR 680pyexecdir2 681pythondir2 682PYTHON2_EXEC_PREFIX 683PYTHON2_PREFIX 684PYTHON2_LDFLAGS 685PYTHON2_CPPFLAGS 686PYTHON2_CONFIG 687PYTHON2_PLATFORM 688PYTHON2_VERSION 689PYTHON2 690PYTHON_PACKAGE_DIR 691PYTHON_LIBRARY_DIR 692pyexecdir 693pythondir 694PYTHON_EXEC_PREFIX 695PYTHON_PREFIX 696PYTHON_LDFLAGS 697PYTHON_CPPFLAGS 698PYTHON_CONFIG 699PYTHON_PLATFORM 700PYTHON 701ax_libcaes_spec_build_requires 702ax_libcaes_spec_requires 703ax_libcaes_pc_libs_private 704LIBCAES_LIBADD 705LIBCAES_CPPFLAGS 706HAVE_LOCAL_LIBCAES_FALSE 707HAVE_LOCAL_LIBCAES_TRUE 708HAVE_LOCAL_LIBCAES 709ax_libcrypto_spec_build_requires 710ax_libcrypto_spec_requires 711ax_libcrypto_pc_libs_private 712LIBCRYPTO_LIBADD 713LIBCRYPTO_CPPFLAGS 714LIBDL_LIBADD 715HAVE_OPENSSL_EVP_H 716openssl_LIBS 717openssl_CFLAGS 718HAVE_LIBCAES 719libcaes_LIBS 720libcaes_CFLAGS 721ax_zlib_static_spec_build_requires 722ax_zlib_static_spec_requires 723ax_zlib_spec_build_requires 724ax_zlib_spec_requires 725ax_zlib_pc_libs_private 726ZLIB_LIBADD 727ZLIB_CPPFLAGS 728HAVE_ZLIB 729zlib_LIBS 730zlib_CFLAGS 731ax_libfdata_spec_build_requires 732ax_libfdata_spec_requires 733ax_libfdata_pc_libs_private 734LIBFDATA_LIBADD 735LIBFDATA_CPPFLAGS 736HAVE_LOCAL_LIBFDATA_FALSE 737HAVE_LOCAL_LIBFDATA_TRUE 738HAVE_LOCAL_LIBFDATA 739HAVE_LIBFDATA 740libfdata_LIBS 741libfdata_CFLAGS 742ax_libfcache_spec_build_requires 743ax_libfcache_spec_requires 744ax_libfcache_pc_libs_private 745LIBFCACHE_LIBADD 746LIBFCACHE_CPPFLAGS 747HAVE_LOCAL_LIBFCACHE_FALSE 748HAVE_LOCAL_LIBFCACHE_TRUE 749HAVE_LOCAL_LIBFCACHE 750HAVE_LIBFCACHE 751libfcache_LIBS 752libfcache_CFLAGS 753ax_libbfio_spec_build_requires 754ax_libbfio_spec_requires 755ax_libbfio_pc_libs_private 756LIBBFIO_LIBADD 757LIBBFIO_CPPFLAGS 758HAVE_LOCAL_LIBBFIO_FALSE 759HAVE_LOCAL_LIBBFIO_TRUE 760HAVE_LOCAL_LIBBFIO 761HAVE_LIBBFIO 762libbfio_LIBS 763libbfio_CFLAGS 764ax_libcpath_spec_build_requires 765ax_libcpath_spec_requires 766ax_libcpath_pc_libs_private 767LIBCPATH_LIBADD 768LIBCPATH_CPPFLAGS 769HAVE_LOCAL_LIBCPATH_FALSE 770HAVE_LOCAL_LIBCPATH_TRUE 771HAVE_LOCAL_LIBCPATH 772HAVE_LIBCPATH 773libcpath_LIBS 774libcpath_CFLAGS 775ax_libcfile_spec_build_requires 776ax_libcfile_spec_requires 777ax_libcfile_pc_libs_private 778LIBCFILE_LIBADD 779LIBCFILE_CPPFLAGS 780HAVE_LOCAL_LIBCFILE_FALSE 781HAVE_LOCAL_LIBCFILE_TRUE 782HAVE_LOCAL_LIBCFILE 783HAVE_LIBCFILE 784libcfile_LIBS 785libcfile_CFLAGS 786ax_libuna_spec_build_requires 787ax_libuna_spec_requires 788ax_libuna_pc_libs_private 789LIBUNA_LIBADD 790LIBUNA_CPPFLAGS 791HAVE_LOCAL_LIBUNA_FALSE 792HAVE_LOCAL_LIBUNA_TRUE 793HAVE_LOCAL_LIBUNA 794HAVE_LIBUNA 795libuna_LIBS 796libuna_CFLAGS 797ax_libcsplit_spec_build_requires 798ax_libcsplit_spec_requires 799ax_libcsplit_pc_libs_private 800LIBCSPLIT_LIBADD 801LIBCSPLIT_CPPFLAGS 802HAVE_LOCAL_LIBCSPLIT_FALSE 803HAVE_LOCAL_LIBCSPLIT_TRUE 804HAVE_LOCAL_LIBCSPLIT 805HAVE_LIBCSPLIT 806libcsplit_LIBS 807libcsplit_CFLAGS 808ax_libcnotify_spec_build_requires 809ax_libcnotify_spec_requires 810ax_libcnotify_pc_libs_private 811LIBCNOTIFY_LIBADD 812LIBCNOTIFY_CPPFLAGS 813HAVE_LOCAL_LIBCNOTIFY_FALSE 814HAVE_LOCAL_LIBCNOTIFY_TRUE 815HAVE_LOCAL_LIBCNOTIFY 816HAVE_LIBCNOTIFY 817libcnotify_LIBS 818libcnotify_CFLAGS 819ax_libclocale_spec_build_requires 820ax_libclocale_spec_requires 821ax_libclocale_pc_libs_private 822LIBCLOCALE_LIBADD 823LIBCLOCALE_CPPFLAGS 824HAVE_LOCAL_LIBCLOCALE_FALSE 825HAVE_LOCAL_LIBCLOCALE_TRUE 826HAVE_LOCAL_LIBCLOCALE 827HAVE_LIBCLOCALE 828libclocale_LIBS 829libclocale_CFLAGS 830ax_libcdata_spec_build_requires 831ax_libcdata_spec_requires 832ax_libcdata_pc_libs_private 833LIBCDATA_LIBADD 834LIBCDATA_CPPFLAGS 835HAVE_LOCAL_LIBCDATA_FALSE 836HAVE_LOCAL_LIBCDATA_TRUE 837HAVE_LOCAL_LIBCDATA 838HAVE_LIBCDATA 839libcdata_LIBS 840libcdata_CFLAGS 841ax_libcthreads_spec_build_requires 842ax_libcthreads_spec_requires 843ax_libcthreads_pc_libs_private 844HAVE_MULTI_THREAD_SUPPORT 845LIBCTHREADS_LIBADD 846LIBCTHREADS_CPPFLAGS 847HAVE_LOCAL_LIBCTHREADS_FALSE 848HAVE_LOCAL_LIBCTHREADS_TRUE 849HAVE_LOCAL_LIBCTHREADS 850ax_pthread_pc_libs_private 851PTHREAD_LIBADD 852PTHREAD_CPPFLAGS 853HAVE_PTHREAD 854HAVE_LIBCTHREADS 855libcthreads_LIBS 856libcthreads_CFLAGS 857ax_libcerror_spec_build_requires 858ax_libcerror_spec_requires 859ax_libcerror_pc_libs_private 860LIBCERROR_LIBADD 861LIBCERROR_CPPFLAGS 862HAVE_LOCAL_LIBCERROR_FALSE 863HAVE_LOCAL_LIBCERROR_TRUE 864HAVE_LOCAL_LIBCERROR 865HAVE_LIBCERROR 866libcerror_LIBS 867libcerror_CFLAGS 868PKG_CONFIG_LIBDIR 869PKG_CONFIG_PATH 870PKG_CONFIG 871HAVE_OFF64_T 872HAVE_SSIZE64_T 873HAVE_SIZE64_T 874HAVE_SSIZE32_T 875HAVE_SIZE32_T 876HAVE_WCHAR_H 877HAVE_STDINT_H 878HAVE_INTTYPES_H 879HAVE_SYS_TYPES_H 880HAVE_WIDE_CHARACTER_TYPE 881STATIC_LDFLAGS 882POSUB 883LTLIBINTL 884LIBINTL 885INTLLIBS 886LTLIBICONV 887LIBICONV 888INTL_MACOSX_LIBS 889XGETTEXT_EXTRA_OPTIONS 890MSGMERGE 891XGETTEXT_015 892XGETTEXT 893GMSGFMT_015 894MSGFMT_015 895GMSGFMT 896MSGFMT 897GETTEXT_MACRO_VERSION 898USE_NLS 899PKGCONFIG 900LIBTOOL_DEPS 901CXXCPP 902LT_SYS_LIBRARY_PATH 903OTOOL64 904OTOOL 905LIPO 906NMEDIT 907DSYMUTIL 908MANIFEST_TOOL 909RANLIB 910ac_ct_AR 911AR 912LN_S 913NM 914ac_ct_DUMPBIN 915DUMPBIN 916LD 917FGREP 918SED 919LIBTOOL 920am__fastdepCXX_FALSE 921am__fastdepCXX_TRUE 922CXXDEPMODE 923ac_ct_CXX 924CXXFLAGS 925CXX 926EGREP 927GREP 928CPP 929am__fastdepCC_FALSE 930am__fastdepCC_TRUE 931CCDEPMODE 932am__nodep 933AMDEPBACKSLASH 934AMDEP_FALSE 935AMDEP_TRUE 936am__include 937DEPDIR 938OBJEXT 939EXEEXT 940ac_ct_CC 941CPPFLAGS 942LDFLAGS 943CFLAGS 944CC 945OBJDUMP 946DLLTOOL 947AS 948host_os 949host_vendor 950host_cpu 951host 952build_os 953build_vendor 954build_cpu 955build 956AM_BACKSLASH 957AM_DEFAULT_VERBOSITY 958AM_DEFAULT_V 959AM_V 960am__untar 961am__tar 962AMTAR 963am__leading_dot 964SET_MAKE 965AWK 966mkdir_p 967MKDIR_P 968INSTALL_STRIP_PROGRAM 969STRIP 970install_sh 971MAKEINFO 972AUTOHEADER 973AUTOMAKE 974AUTOCONF 975ACLOCAL 976VERSION 977PACKAGE 978CYGPATH_W 979am__isrc 980INSTALL_DATA 981INSTALL_SCRIPT 982INSTALL_PROGRAM 983target_alias 984host_alias 985build_alias 986LIBS 987ECHO_T 988ECHO_N 989ECHO_C 990DEFS 991mandir 992localedir 993libdir 994psdir 995pdfdir 996dvidir 997htmldir 998infodir 999docdir 1000oldincludedir 1001includedir 1002localstatedir 1003sharedstatedir 1004sysconfdir 1005datadir 1006datarootdir 1007libexecdir 1008sbindir 1009bindir 1010program_transform_name 1011prefix 1012exec_prefix 1013PACKAGE_URL 1014PACKAGE_BUGREPORT 1015PACKAGE_STRING 1016PACKAGE_VERSION 1017PACKAGE_TARNAME 1018PACKAGE_NAME 1019PATH_SEPARATOR 1020SHELL 1021am__quote' 1022ac_subst_files='' 1023ac_user_opts=' 1024enable_option_checking 1025enable_silent_rules 1026enable_dependency_tracking 1027enable_shared 1028enable_static 1029with_pic 1030enable_fast_install 1031with_aix_soname 1032with_gnu_ld 1033with_sysroot 1034enable_libtool_lock 1035enable_nls 1036enable_rpath 1037with_libiconv_prefix 1038with_libintl_prefix 1039enable_largefile 1040enable_shared_libs 1041enable_static_executables 1042enable_winapi 1043enable_wide_character_type 1044enable_verbose_output 1045enable_debug_output 1046with_libcerror 1047enable_multi_threading_support 1048with_libcthreads 1049with_pthread 1050with_libcdata 1051with_libclocale 1052with_libcnotify 1053with_libcsplit 1054with_libuna 1055with_libcfile 1056with_libcpath 1057with_libbfio 1058with_libfcache 1059with_libfdata 1060with_zlib 1061with_libcaes 1062with_openssl 1063enable_openssl_evp_cipher 1064enable_openssl_evp_md 1065with_pyprefix 1066enable_python 1067with_pythondir 1068enable_python2 1069with_pythondir2 1070enable_python3 1071with_pythondir3 1072with_libfuse 1073' 1074 ac_precious_vars='build_alias 1075host_alias 1076target_alias 1077CC 1078CFLAGS 1079LDFLAGS 1080LIBS 1081CPPFLAGS 1082CPP 1083CXX 1084CXXFLAGS 1085CCC 1086LT_SYS_LIBRARY_PATH 1087CXXCPP 1088PKG_CONFIG 1089PKG_CONFIG_PATH 1090PKG_CONFIG_LIBDIR 1091libcerror_CFLAGS 1092libcerror_LIBS 1093libcthreads_CFLAGS 1094libcthreads_LIBS 1095libcdata_CFLAGS 1096libcdata_LIBS 1097libclocale_CFLAGS 1098libclocale_LIBS 1099libcnotify_CFLAGS 1100libcnotify_LIBS 1101libcsplit_CFLAGS 1102libcsplit_LIBS 1103libuna_CFLAGS 1104libuna_LIBS 1105libcfile_CFLAGS 1106libcfile_LIBS 1107libcpath_CFLAGS 1108libcpath_LIBS 1109libbfio_CFLAGS 1110libbfio_LIBS 1111libfcache_CFLAGS 1112libfcache_LIBS 1113libfdata_CFLAGS 1114libfdata_LIBS 1115zlib_CFLAGS 1116zlib_LIBS 1117libcaes_CFLAGS 1118libcaes_LIBS 1119openssl_CFLAGS 1120openssl_LIBS 1121fuse_CFLAGS 1122fuse_LIBS' 1123 1124 1125# Initialize some variables set by options. 1126ac_init_help= 1127ac_init_version=false 1128ac_unrecognized_opts= 1129ac_unrecognized_sep= 1130# The variables have the same names as the options, with 1131# dashes changed to underlines. 1132cache_file=/dev/null 1133exec_prefix=NONE 1134no_create= 1135no_recursion= 1136prefix=NONE 1137program_prefix=NONE 1138program_suffix=NONE 1139program_transform_name=s,x,x, 1140silent= 1141site= 1142srcdir= 1143verbose= 1144x_includes=NONE 1145x_libraries=NONE 1146 1147# Installation directory options. 1148# These are left unexpanded so users can "make install exec_prefix=/foo" 1149# and all the variables that are supposed to be based on exec_prefix 1150# by default will actually change. 1151# Use braces instead of parens because sh, perl, etc. also accept them. 1152# (The list follows the same order as the GNU Coding Standards.) 1153bindir='${exec_prefix}/bin' 1154sbindir='${exec_prefix}/sbin' 1155libexecdir='${exec_prefix}/libexec' 1156datarootdir='${prefix}/share' 1157datadir='${datarootdir}' 1158sysconfdir='${prefix}/etc' 1159sharedstatedir='${prefix}/com' 1160localstatedir='${prefix}/var' 1161includedir='${prefix}/include' 1162oldincludedir='/usr/include' 1163docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 1164infodir='${datarootdir}/info' 1165htmldir='${docdir}' 1166dvidir='${docdir}' 1167pdfdir='${docdir}' 1168psdir='${docdir}' 1169libdir='${exec_prefix}/lib' 1170localedir='${datarootdir}/locale' 1171mandir='${datarootdir}/man' 1172 1173ac_prev= 1174ac_dashdash= 1175for ac_option 1176do 1177 # If the previous option needs an argument, assign it. 1178 if test -n "$ac_prev"; then 1179 eval $ac_prev=\$ac_option 1180 ac_prev= 1181 continue 1182 fi 1183 1184 case $ac_option in 1185 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1186 *=) ac_optarg= ;; 1187 *) ac_optarg=yes ;; 1188 esac 1189 1190 # Accept the important Cygnus configure options, so we can diagnose typos. 1191 1192 case $ac_dashdash$ac_option in 1193 --) 1194 ac_dashdash=yes ;; 1195 1196 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1197 ac_prev=bindir ;; 1198 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1199 bindir=$ac_optarg ;; 1200 1201 -build | --build | --buil | --bui | --bu) 1202 ac_prev=build_alias ;; 1203 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1204 build_alias=$ac_optarg ;; 1205 1206 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1207 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1208 ac_prev=cache_file ;; 1209 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1210 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1211 cache_file=$ac_optarg ;; 1212 1213 --config-cache | -C) 1214 cache_file=config.cache ;; 1215 1216 -datadir | --datadir | --datadi | --datad) 1217 ac_prev=datadir ;; 1218 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1219 datadir=$ac_optarg ;; 1220 1221 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1222 | --dataroo | --dataro | --datar) 1223 ac_prev=datarootdir ;; 1224 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1225 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1226 datarootdir=$ac_optarg ;; 1227 1228 -disable-* | --disable-*) 1229 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1230 # Reject names that are not valid shell variable names. 1231 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1232 as_fn_error $? "invalid feature name: $ac_useropt" 1233 ac_useropt_orig=$ac_useropt 1234 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1235 case $ac_user_opts in 1236 *" 1237"enable_$ac_useropt" 1238"*) ;; 1239 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1240 ac_unrecognized_sep=', ';; 1241 esac 1242 eval enable_$ac_useropt=no ;; 1243 1244 -docdir | --docdir | --docdi | --doc | --do) 1245 ac_prev=docdir ;; 1246 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1247 docdir=$ac_optarg ;; 1248 1249 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1250 ac_prev=dvidir ;; 1251 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1252 dvidir=$ac_optarg ;; 1253 1254 -enable-* | --enable-*) 1255 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1256 # Reject names that are not valid shell variable names. 1257 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1258 as_fn_error $? "invalid feature name: $ac_useropt" 1259 ac_useropt_orig=$ac_useropt 1260 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1261 case $ac_user_opts in 1262 *" 1263"enable_$ac_useropt" 1264"*) ;; 1265 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1266 ac_unrecognized_sep=', ';; 1267 esac 1268 eval enable_$ac_useropt=\$ac_optarg ;; 1269 1270 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1271 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1272 | --exec | --exe | --ex) 1273 ac_prev=exec_prefix ;; 1274 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1275 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1276 | --exec=* | --exe=* | --ex=*) 1277 exec_prefix=$ac_optarg ;; 1278 1279 -gas | --gas | --ga | --g) 1280 # Obsolete; use --with-gas. 1281 with_gas=yes ;; 1282 1283 -help | --help | --hel | --he | -h) 1284 ac_init_help=long ;; 1285 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1286 ac_init_help=recursive ;; 1287 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1288 ac_init_help=short ;; 1289 1290 -host | --host | --hos | --ho) 1291 ac_prev=host_alias ;; 1292 -host=* | --host=* | --hos=* | --ho=*) 1293 host_alias=$ac_optarg ;; 1294 1295 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1296 ac_prev=htmldir ;; 1297 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1298 | --ht=*) 1299 htmldir=$ac_optarg ;; 1300 1301 -includedir | --includedir | --includedi | --included | --include \ 1302 | --includ | --inclu | --incl | --inc) 1303 ac_prev=includedir ;; 1304 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1305 | --includ=* | --inclu=* | --incl=* | --inc=*) 1306 includedir=$ac_optarg ;; 1307 1308 -infodir | --infodir | --infodi | --infod | --info | --inf) 1309 ac_prev=infodir ;; 1310 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1311 infodir=$ac_optarg ;; 1312 1313 -libdir | --libdir | --libdi | --libd) 1314 ac_prev=libdir ;; 1315 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1316 libdir=$ac_optarg ;; 1317 1318 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1319 | --libexe | --libex | --libe) 1320 ac_prev=libexecdir ;; 1321 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1322 | --libexe=* | --libex=* | --libe=*) 1323 libexecdir=$ac_optarg ;; 1324 1325 -localedir | --localedir | --localedi | --localed | --locale) 1326 ac_prev=localedir ;; 1327 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1328 localedir=$ac_optarg ;; 1329 1330 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1331 | --localstate | --localstat | --localsta | --localst | --locals) 1332 ac_prev=localstatedir ;; 1333 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1334 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1335 localstatedir=$ac_optarg ;; 1336 1337 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1338 ac_prev=mandir ;; 1339 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1340 mandir=$ac_optarg ;; 1341 1342 -nfp | --nfp | --nf) 1343 # Obsolete; use --without-fp. 1344 with_fp=no ;; 1345 1346 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1347 | --no-cr | --no-c | -n) 1348 no_create=yes ;; 1349 1350 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1351 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1352 no_recursion=yes ;; 1353 1354 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1355 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1356 | --oldin | --oldi | --old | --ol | --o) 1357 ac_prev=oldincludedir ;; 1358 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1359 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1360 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1361 oldincludedir=$ac_optarg ;; 1362 1363 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1364 ac_prev=prefix ;; 1365 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1366 prefix=$ac_optarg ;; 1367 1368 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1369 | --program-pre | --program-pr | --program-p) 1370 ac_prev=program_prefix ;; 1371 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1372 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1373 program_prefix=$ac_optarg ;; 1374 1375 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1376 | --program-suf | --program-su | --program-s) 1377 ac_prev=program_suffix ;; 1378 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1379 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1380 program_suffix=$ac_optarg ;; 1381 1382 -program-transform-name | --program-transform-name \ 1383 | --program-transform-nam | --program-transform-na \ 1384 | --program-transform-n | --program-transform- \ 1385 | --program-transform | --program-transfor \ 1386 | --program-transfo | --program-transf \ 1387 | --program-trans | --program-tran \ 1388 | --progr-tra | --program-tr | --program-t) 1389 ac_prev=program_transform_name ;; 1390 -program-transform-name=* | --program-transform-name=* \ 1391 | --program-transform-nam=* | --program-transform-na=* \ 1392 | --program-transform-n=* | --program-transform-=* \ 1393 | --program-transform=* | --program-transfor=* \ 1394 | --program-transfo=* | --program-transf=* \ 1395 | --program-trans=* | --program-tran=* \ 1396 | --progr-tra=* | --program-tr=* | --program-t=*) 1397 program_transform_name=$ac_optarg ;; 1398 1399 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1400 ac_prev=pdfdir ;; 1401 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1402 pdfdir=$ac_optarg ;; 1403 1404 -psdir | --psdir | --psdi | --psd | --ps) 1405 ac_prev=psdir ;; 1406 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1407 psdir=$ac_optarg ;; 1408 1409 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1410 | -silent | --silent | --silen | --sile | --sil) 1411 silent=yes ;; 1412 1413 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1414 ac_prev=sbindir ;; 1415 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1416 | --sbi=* | --sb=*) 1417 sbindir=$ac_optarg ;; 1418 1419 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1420 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1421 | --sharedst | --shareds | --shared | --share | --shar \ 1422 | --sha | --sh) 1423 ac_prev=sharedstatedir ;; 1424 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1425 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1426 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1427 | --sha=* | --sh=*) 1428 sharedstatedir=$ac_optarg ;; 1429 1430 -site | --site | --sit) 1431 ac_prev=site ;; 1432 -site=* | --site=* | --sit=*) 1433 site=$ac_optarg ;; 1434 1435 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1436 ac_prev=srcdir ;; 1437 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1438 srcdir=$ac_optarg ;; 1439 1440 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1441 | --syscon | --sysco | --sysc | --sys | --sy) 1442 ac_prev=sysconfdir ;; 1443 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1444 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1445 sysconfdir=$ac_optarg ;; 1446 1447 -target | --target | --targe | --targ | --tar | --ta | --t) 1448 ac_prev=target_alias ;; 1449 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1450 target_alias=$ac_optarg ;; 1451 1452 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1453 verbose=yes ;; 1454 1455 -version | --version | --versio | --versi | --vers | -V) 1456 ac_init_version=: ;; 1457 1458 -with-* | --with-*) 1459 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1460 # Reject names that are not valid shell variable names. 1461 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1462 as_fn_error $? "invalid package name: $ac_useropt" 1463 ac_useropt_orig=$ac_useropt 1464 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1465 case $ac_user_opts in 1466 *" 1467"with_$ac_useropt" 1468"*) ;; 1469 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1470 ac_unrecognized_sep=', ';; 1471 esac 1472 eval with_$ac_useropt=\$ac_optarg ;; 1473 1474 -without-* | --without-*) 1475 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1476 # Reject names that are not valid shell variable names. 1477 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1478 as_fn_error $? "invalid package name: $ac_useropt" 1479 ac_useropt_orig=$ac_useropt 1480 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1481 case $ac_user_opts in 1482 *" 1483"with_$ac_useropt" 1484"*) ;; 1485 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1486 ac_unrecognized_sep=', ';; 1487 esac 1488 eval with_$ac_useropt=no ;; 1489 1490 --x) 1491 # Obsolete; use --with-x. 1492 with_x=yes ;; 1493 1494 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1495 | --x-incl | --x-inc | --x-in | --x-i) 1496 ac_prev=x_includes ;; 1497 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1498 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1499 x_includes=$ac_optarg ;; 1500 1501 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1502 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1503 ac_prev=x_libraries ;; 1504 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1505 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1506 x_libraries=$ac_optarg ;; 1507 1508 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1509Try \`$0 --help' for more information" 1510 ;; 1511 1512 *=*) 1513 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1514 # Reject names that are not valid shell variable names. 1515 case $ac_envvar in #( 1516 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1517 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1518 esac 1519 eval $ac_envvar=\$ac_optarg 1520 export $ac_envvar ;; 1521 1522 *) 1523 # FIXME: should be removed in autoconf 3.0. 1524 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1525 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1526 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1527 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1528 ;; 1529 1530 esac 1531done 1532 1533if test -n "$ac_prev"; then 1534 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1535 as_fn_error $? "missing argument to $ac_option" 1536fi 1537 1538if test -n "$ac_unrecognized_opts"; then 1539 case $enable_option_checking in 1540 no) ;; 1541 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1542 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1543 esac 1544fi 1545 1546# Check all directory arguments for consistency. 1547for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1548 datadir sysconfdir sharedstatedir localstatedir includedir \ 1549 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1550 libdir localedir mandir 1551do 1552 eval ac_val=\$$ac_var 1553 # Remove trailing slashes. 1554 case $ac_val in 1555 */ ) 1556 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1557 eval $ac_var=\$ac_val;; 1558 esac 1559 # Be sure to have absolute directory names. 1560 case $ac_val in 1561 [\\/$]* | ?:[\\/]* ) continue;; 1562 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1563 esac 1564 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1565done 1566 1567# There might be people who depend on the old broken behavior: `$host' 1568# used to hold the argument of --host etc. 1569# FIXME: To remove some day. 1570build=$build_alias 1571host=$host_alias 1572target=$target_alias 1573 1574# FIXME: To remove some day. 1575if test "x$host_alias" != x; then 1576 if test "x$build_alias" = x; then 1577 cross_compiling=maybe 1578 elif test "x$build_alias" != "x$host_alias"; then 1579 cross_compiling=yes 1580 fi 1581fi 1582 1583ac_tool_prefix= 1584test -n "$host_alias" && ac_tool_prefix=$host_alias- 1585 1586test "$silent" = yes && exec 6>/dev/null 1587 1588 1589ac_pwd=`pwd` && test -n "$ac_pwd" && 1590ac_ls_di=`ls -di .` && 1591ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1592 as_fn_error $? "working directory cannot be determined" 1593test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1594 as_fn_error $? "pwd does not report name of working directory" 1595 1596 1597# Find the source files, if location was not specified. 1598if test -z "$srcdir"; then 1599 ac_srcdir_defaulted=yes 1600 # Try the directory containing this script, then the parent directory. 1601 ac_confdir=`$as_dirname -- "$as_myself" || 1602$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1603 X"$as_myself" : 'X\(//\)[^/]' \| \ 1604 X"$as_myself" : 'X\(//\)$' \| \ 1605 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1606$as_echo X"$as_myself" | 1607 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1608 s//\1/ 1609 q 1610 } 1611 /^X\(\/\/\)[^/].*/{ 1612 s//\1/ 1613 q 1614 } 1615 /^X\(\/\/\)$/{ 1616 s//\1/ 1617 q 1618 } 1619 /^X\(\/\).*/{ 1620 s//\1/ 1621 q 1622 } 1623 s/.*/./; q'` 1624 srcdir=$ac_confdir 1625 if test ! -r "$srcdir/$ac_unique_file"; then 1626 srcdir=.. 1627 fi 1628else 1629 ac_srcdir_defaulted=no 1630fi 1631if test ! -r "$srcdir/$ac_unique_file"; then 1632 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1633 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1634fi 1635ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1636ac_abs_confdir=`( 1637 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1638 pwd)` 1639# When building in place, set srcdir=. 1640if test "$ac_abs_confdir" = "$ac_pwd"; then 1641 srcdir=. 1642fi 1643# Remove unnecessary trailing slashes from srcdir. 1644# Double slashes in file names in object file debugging info 1645# mess up M-x gdb in Emacs. 1646case $srcdir in 1647*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1648esac 1649for ac_var in $ac_precious_vars; do 1650 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1651 eval ac_env_${ac_var}_value=\$${ac_var} 1652 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1653 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1654done 1655 1656# 1657# Report the --help message. 1658# 1659if test "$ac_init_help" = "long"; then 1660 # Omit some internal or obsolete options to make the list less imposing. 1661 # This message is too long to be a string in the A/UX 3.1 sh. 1662 cat <<_ACEOF 1663\`configure' configures libqcow 20210419 to adapt to many kinds of systems. 1664 1665Usage: $0 [OPTION]... [VAR=VALUE]... 1666 1667To assign environment variables (e.g., CC, CFLAGS...), specify them as 1668VAR=VALUE. See below for descriptions of some of the useful variables. 1669 1670Defaults for the options are specified in brackets. 1671 1672Configuration: 1673 -h, --help display this help and exit 1674 --help=short display options specific to this package 1675 --help=recursive display the short help of all the included packages 1676 -V, --version display version information and exit 1677 -q, --quiet, --silent do not print \`checking ...' messages 1678 --cache-file=FILE cache test results in FILE [disabled] 1679 -C, --config-cache alias for \`--cache-file=config.cache' 1680 -n, --no-create do not create output files 1681 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1682 1683Installation directories: 1684 --prefix=PREFIX install architecture-independent files in PREFIX 1685 [$ac_default_prefix] 1686 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1687 [PREFIX] 1688 1689By default, \`make install' will install all the files in 1690\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1691an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1692for instance \`--prefix=\$HOME'. 1693 1694For better control, use the options below. 1695 1696Fine tuning of the installation directories: 1697 --bindir=DIR user executables [EPREFIX/bin] 1698 --sbindir=DIR system admin executables [EPREFIX/sbin] 1699 --libexecdir=DIR program executables [EPREFIX/libexec] 1700 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1701 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1702 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1703 --libdir=DIR object code libraries [EPREFIX/lib] 1704 --includedir=DIR C header files [PREFIX/include] 1705 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1706 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1707 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1708 --infodir=DIR info documentation [DATAROOTDIR/info] 1709 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1710 --mandir=DIR man documentation [DATAROOTDIR/man] 1711 --docdir=DIR documentation root [DATAROOTDIR/doc/libqcow] 1712 --htmldir=DIR html documentation [DOCDIR] 1713 --dvidir=DIR dvi documentation [DOCDIR] 1714 --pdfdir=DIR pdf documentation [DOCDIR] 1715 --psdir=DIR ps documentation [DOCDIR] 1716_ACEOF 1717 1718 cat <<\_ACEOF 1719 1720Program names: 1721 --program-prefix=PREFIX prepend PREFIX to installed program names 1722 --program-suffix=SUFFIX append SUFFIX to installed program names 1723 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1724 1725System types: 1726 --build=BUILD configure for building on BUILD [guessed] 1727 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1728_ACEOF 1729fi 1730 1731if test -n "$ac_init_help"; then 1732 case $ac_init_help in 1733 short | recursive ) echo "Configuration of libqcow 20210419:";; 1734 esac 1735 cat <<\_ACEOF 1736 1737Optional Features: 1738 --disable-option-checking ignore unrecognized --enable/--with options 1739 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1740 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1741 --enable-silent-rules less verbose build output (undo: "make V=1") 1742 --disable-silent-rules verbose build output (undo: "make V=0") 1743 --enable-dependency-tracking 1744 do not reject slow dependency extractors 1745 --disable-dependency-tracking 1746 speeds up one-time build 1747 --enable-shared[=PKGS] build shared libraries [default=yes] 1748 --enable-static[=PKGS] build static libraries [default=yes] 1749 --enable-fast-install[=PKGS] 1750 optimize for fast installation [default=yes] 1751 --disable-libtool-lock avoid locking (might break parallel builds) 1752 --disable-nls do not use Native Language Support 1753 --disable-rpath do not hardcode runtime library paths 1754 --disable-largefile omit support for large files 1755 --disable-shared-libs disable shared library support 1756 --enable-static-executables 1757 build static executables (binaries) [default=no] 1758 --enable-winapi enable WINAPI support for cross-compilation 1759 [default=auto-detect] 1760 --enable-wide-character-type 1761 enable wide character type support [default=no] 1762 --enable-verbose-output enable verbose output [default=no] 1763 --enable-debug-output enable debug output [default=no] 1764 --enable-multi-threading-support 1765 enable multi-threading support [default=yes] 1766 --enable-openssl-evp-cipher 1767 enable OpenSSL EVP CIPHER support, or no to disable 1768 [default=auto-detect] 1769 --enable-openssl-evp-md enable OpenSSL EVP MD support, or no to disable 1770 [default=auto-detect] 1771 --enable-python build Python bindings [default=no] 1772 --enable-python2 build Python 2 bindings [default=no] 1773 --enable-python3 build Python 3 bindings [default=no] 1774 1775Optional Packages: 1776 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1777 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1778 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1779 both] 1780 --with-aix-soname=aix|svr4|both 1781 shared library versioning (aka "SONAME") variant to 1782 provide on AIX, [default=aix]. 1783 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1784 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1785 compiler's sysroot if not specified). 1786 --with-gnu-ld assume the C compiler uses GNU ld default=no 1787 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib 1788 --without-libiconv-prefix don't search for libiconv in includedir and libdir 1789 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib 1790 --without-libintl-prefix don't search for libintl in includedir and libdir 1791 --with-libcerror[=DIR] search for libcerror in includedir and libdir or in 1792 the specified DIR, or no if to use local version 1793 [default=auto-detect] 1794 --with-libcthreads[=DIR] 1795 search for libcthreads in includedir and libdir or 1796 in the specified DIR, or no if to use local version 1797 [default=auto-detect] 1798 --with-pthread[=DIR] search for pthread in includedir and libdir or in 1799 the specified DIR, or no if not to use pthread 1800 [default=auto-detect] 1801 --with-libcdata[=DIR] search for libcdata in includedir and libdir or in 1802 the specified DIR, or no if to use local version 1803 [default=auto-detect] 1804 --with-libclocale[=DIR] search for libclocale in includedir and libdir or in 1805 the specified DIR, or no if to use local version 1806 [default=auto-detect] 1807 --with-libcnotify[=DIR] search for libcnotify in includedir and libdir or in 1808 the specified DIR, or no if to use local version 1809 [default=auto-detect] 1810 --with-libcsplit[=DIR] search for libcsplit in includedir and libdir or in 1811 the specified DIR, or no if to use local version 1812 [default=auto-detect] 1813 --with-libuna[=DIR] search for libuna in includedir and libdir or in the 1814 specified DIR, or no if to use local version 1815 [default=auto-detect] 1816 --with-libcfile[=DIR] search for libcfile in includedir and libdir or in 1817 the specified DIR, or no if to use local version 1818 [default=auto-detect] 1819 --with-libcpath[=DIR] search for libcpath in includedir and libdir or in 1820 the specified DIR, or no if to use local version 1821 [default=auto-detect] 1822 --with-libbfio[=DIR] search for libbfio in includedir and libdir or in 1823 the specified DIR, or no if to use local version 1824 [default=auto-detect] 1825 --with-libfcache[=DIR] search for libfcache in includedir and libdir or in 1826 the specified DIR, or no if to use local version 1827 [default=auto-detect] 1828 --with-libfdata[=DIR] search for libfdata in includedir and libdir or in 1829 the specified DIR, or no if to use local version 1830 [default=auto-detect] 1831 --with-zlib[=DIR] search for zlib in includedir and libdir or in the 1832 specified DIR, or no if not to use zlib 1833 [default=auto-detect] 1834 --with-libcaes[=DIR] search for libcaes in includedir and libdir or in 1835 the specified DIR, or no if to use local version 1836 [default=auto-detect] 1837 --with-openssl[=DIR] search for OpenSSL in includedir and libdir or in 1838 the specified DIR, or no if not to use OpenSSL 1839 [default=auto-detect] 1840 --with-pyprefix[=no] use `python-config --prefix' to determine the prefix 1841 of pythondir instead of --prefix [default=no] 1842 --with-pythondir[=no] use to specify the Python directory (pythondir) 1843 [default=no] 1844 --with-pythondir2[=no] use to specify the Python 2 directory (pythondir2) 1845 [default=no] 1846 --with-pythondir3[=no] use to specify the Python 3 directory (pythondir3) 1847 [default=no] 1848 --with-libfuse[=DIR] search for libfuse in includedir and libdir or in 1849 the specified DIR, or no if not to use libfuse 1850 [default=auto-detect] 1851 1852Some influential environment variables: 1853 CC C compiler command 1854 CFLAGS C compiler flags 1855 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1856 nonstandard directory <lib dir> 1857 LIBS libraries to pass to the linker, e.g. -l<library> 1858 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1859 you have headers in a nonstandard directory <include dir> 1860 CPP C preprocessor 1861 CXX C++ compiler command 1862 CXXFLAGS C++ compiler flags 1863 LT_SYS_LIBRARY_PATH 1864 User-defined run-time library search path. 1865 CXXCPP C++ preprocessor 1866 PKG_CONFIG path to pkg-config utility 1867 PKG_CONFIG_PATH 1868 directories to add to pkg-config's search path 1869 PKG_CONFIG_LIBDIR 1870 path overriding pkg-config's built-in search path 1871 libcerror_CFLAGS 1872 C compiler flags for libcerror, overriding pkg-config 1873 libcerror_LIBS 1874 linker flags for libcerror, overriding pkg-config 1875 libcthreads_CFLAGS 1876 C compiler flags for libcthreads, overriding pkg-config 1877 libcthreads_LIBS 1878 linker flags for libcthreads, overriding pkg-config 1879 libcdata_CFLAGS 1880 C compiler flags for libcdata, overriding pkg-config 1881 libcdata_LIBS 1882 linker flags for libcdata, overriding pkg-config 1883 libclocale_CFLAGS 1884 C compiler flags for libclocale, overriding pkg-config 1885 libclocale_LIBS 1886 linker flags for libclocale, overriding pkg-config 1887 libcnotify_CFLAGS 1888 C compiler flags for libcnotify, overriding pkg-config 1889 libcnotify_LIBS 1890 linker flags for libcnotify, overriding pkg-config 1891 libcsplit_CFLAGS 1892 C compiler flags for libcsplit, overriding pkg-config 1893 libcsplit_LIBS 1894 linker flags for libcsplit, overriding pkg-config 1895 libuna_CFLAGS 1896 C compiler flags for libuna, overriding pkg-config 1897 libuna_LIBS linker flags for libuna, overriding pkg-config 1898 libcfile_CFLAGS 1899 C compiler flags for libcfile, overriding pkg-config 1900 libcfile_LIBS 1901 linker flags for libcfile, overriding pkg-config 1902 libcpath_CFLAGS 1903 C compiler flags for libcpath, overriding pkg-config 1904 libcpath_LIBS 1905 linker flags for libcpath, overriding pkg-config 1906 libbfio_CFLAGS 1907 C compiler flags for libbfio, overriding pkg-config 1908 libbfio_LIBS 1909 linker flags for libbfio, overriding pkg-config 1910 libfcache_CFLAGS 1911 C compiler flags for libfcache, overriding pkg-config 1912 libfcache_LIBS 1913 linker flags for libfcache, overriding pkg-config 1914 libfdata_CFLAGS 1915 C compiler flags for libfdata, overriding pkg-config 1916 libfdata_LIBS 1917 linker flags for libfdata, overriding pkg-config 1918 zlib_CFLAGS C compiler flags for zlib, overriding pkg-config 1919 zlib_LIBS linker flags for zlib, overriding pkg-config 1920 libcaes_CFLAGS 1921 C compiler flags for libcaes, overriding pkg-config 1922 libcaes_LIBS 1923 linker flags for libcaes, overriding pkg-config 1924 openssl_CFLAGS 1925 C compiler flags for openssl, overriding pkg-config 1926 openssl_LIBS 1927 linker flags for openssl, overriding pkg-config 1928 fuse_CFLAGS C compiler flags for fuse, overriding pkg-config 1929 fuse_LIBS linker flags for fuse, overriding pkg-config 1930 1931Use these variables to override the choices made by `configure' or to help 1932it to find libraries and programs with nonstandard names/locations. 1933 1934Report bugs to <joachim.metz@gmail.com>. 1935_ACEOF 1936ac_status=$? 1937fi 1938 1939if test "$ac_init_help" = "recursive"; then 1940 # If there are subdirs, report their specific --help. 1941 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1942 test -d "$ac_dir" || 1943 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1944 continue 1945 ac_builddir=. 1946 1947case "$ac_dir" in 1948.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1949*) 1950 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1951 # A ".." for each directory in $ac_dir_suffix. 1952 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1953 case $ac_top_builddir_sub in 1954 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1955 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1956 esac ;; 1957esac 1958ac_abs_top_builddir=$ac_pwd 1959ac_abs_builddir=$ac_pwd$ac_dir_suffix 1960# for backward compatibility: 1961ac_top_builddir=$ac_top_build_prefix 1962 1963case $srcdir in 1964 .) # We are building in place. 1965 ac_srcdir=. 1966 ac_top_srcdir=$ac_top_builddir_sub 1967 ac_abs_top_srcdir=$ac_pwd ;; 1968 [\\/]* | ?:[\\/]* ) # Absolute name. 1969 ac_srcdir=$srcdir$ac_dir_suffix; 1970 ac_top_srcdir=$srcdir 1971 ac_abs_top_srcdir=$srcdir ;; 1972 *) # Relative name. 1973 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1974 ac_top_srcdir=$ac_top_build_prefix$srcdir 1975 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1976esac 1977ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1978 1979 cd "$ac_dir" || { ac_status=$?; continue; } 1980 # Check for guested configure. 1981 if test -f "$ac_srcdir/configure.gnu"; then 1982 echo && 1983 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1984 elif test -f "$ac_srcdir/configure"; then 1985 echo && 1986 $SHELL "$ac_srcdir/configure" --help=recursive 1987 else 1988 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1989 fi || ac_status=$? 1990 cd "$ac_pwd" || { ac_status=$?; break; } 1991 done 1992fi 1993 1994test -n "$ac_init_help" && exit $ac_status 1995if $ac_init_version; then 1996 cat <<\_ACEOF 1997libqcow configure 20210419 1998generated by GNU Autoconf 2.69 1999 2000Copyright (C) 2012 Free Software Foundation, Inc. 2001This configure script is free software; the Free Software Foundation 2002gives unlimited permission to copy, distribute and modify it. 2003_ACEOF 2004 exit 2005fi 2006 2007## ------------------------ ## 2008## Autoconf initialization. ## 2009## ------------------------ ## 2010 2011# ac_fn_c_try_compile LINENO 2012# -------------------------- 2013# Try to compile conftest.$ac_ext, and return whether this succeeded. 2014ac_fn_c_try_compile () 2015{ 2016 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2017 rm -f conftest.$ac_objext 2018 if { { ac_try="$ac_compile" 2019case "(($ac_try" in 2020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2021 *) ac_try_echo=$ac_try;; 2022esac 2023eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2024$as_echo "$ac_try_echo"; } >&5 2025 (eval "$ac_compile") 2>conftest.err 2026 ac_status=$? 2027 if test -s conftest.err; then 2028 grep -v '^ *+' conftest.err >conftest.er1 2029 cat conftest.er1 >&5 2030 mv -f conftest.er1 conftest.err 2031 fi 2032 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2033 test $ac_status = 0; } && { 2034 test -z "$ac_c_werror_flag" || 2035 test ! -s conftest.err 2036 } && test -s conftest.$ac_objext; then : 2037 ac_retval=0 2038else 2039 $as_echo "$as_me: failed program was:" >&5 2040sed 's/^/| /' conftest.$ac_ext >&5 2041 2042 ac_retval=1 2043fi 2044 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2045 as_fn_set_status $ac_retval 2046 2047} # ac_fn_c_try_compile 2048 2049# ac_fn_c_try_cpp LINENO 2050# ---------------------- 2051# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 2052ac_fn_c_try_cpp () 2053{ 2054 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2055 if { { ac_try="$ac_cpp conftest.$ac_ext" 2056case "(($ac_try" in 2057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2058 *) ac_try_echo=$ac_try;; 2059esac 2060eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2061$as_echo "$ac_try_echo"; } >&5 2062 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 2063 ac_status=$? 2064 if test -s conftest.err; then 2065 grep -v '^ *+' conftest.err >conftest.er1 2066 cat conftest.er1 >&5 2067 mv -f conftest.er1 conftest.err 2068 fi 2069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2070 test $ac_status = 0; } > conftest.i && { 2071 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2072 test ! -s conftest.err 2073 }; then : 2074 ac_retval=0 2075else 2076 $as_echo "$as_me: failed program was:" >&5 2077sed 's/^/| /' conftest.$ac_ext >&5 2078 2079 ac_retval=1 2080fi 2081 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2082 as_fn_set_status $ac_retval 2083 2084} # ac_fn_c_try_cpp 2085 2086# ac_fn_cxx_try_compile LINENO 2087# ---------------------------- 2088# Try to compile conftest.$ac_ext, and return whether this succeeded. 2089ac_fn_cxx_try_compile () 2090{ 2091 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2092 rm -f conftest.$ac_objext 2093 if { { ac_try="$ac_compile" 2094case "(($ac_try" in 2095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2096 *) ac_try_echo=$ac_try;; 2097esac 2098eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2099$as_echo "$ac_try_echo"; } >&5 2100 (eval "$ac_compile") 2>conftest.err 2101 ac_status=$? 2102 if test -s conftest.err; then 2103 grep -v '^ *+' conftest.err >conftest.er1 2104 cat conftest.er1 >&5 2105 mv -f conftest.er1 conftest.err 2106 fi 2107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2108 test $ac_status = 0; } && { 2109 test -z "$ac_cxx_werror_flag" || 2110 test ! -s conftest.err 2111 } && test -s conftest.$ac_objext; then : 2112 ac_retval=0 2113else 2114 $as_echo "$as_me: failed program was:" >&5 2115sed 's/^/| /' conftest.$ac_ext >&5 2116 2117 ac_retval=1 2118fi 2119 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2120 as_fn_set_status $ac_retval 2121 2122} # ac_fn_cxx_try_compile 2123 2124# ac_fn_c_try_link LINENO 2125# ----------------------- 2126# Try to link conftest.$ac_ext, and return whether this succeeded. 2127ac_fn_c_try_link () 2128{ 2129 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2130 rm -f conftest.$ac_objext conftest$ac_exeext 2131 if { { ac_try="$ac_link" 2132case "(($ac_try" in 2133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2134 *) ac_try_echo=$ac_try;; 2135esac 2136eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2137$as_echo "$ac_try_echo"; } >&5 2138 (eval "$ac_link") 2>conftest.err 2139 ac_status=$? 2140 if test -s conftest.err; then 2141 grep -v '^ *+' conftest.err >conftest.er1 2142 cat conftest.er1 >&5 2143 mv -f conftest.er1 conftest.err 2144 fi 2145 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2146 test $ac_status = 0; } && { 2147 test -z "$ac_c_werror_flag" || 2148 test ! -s conftest.err 2149 } && test -s conftest$ac_exeext && { 2150 test "$cross_compiling" = yes || 2151 test -x conftest$ac_exeext 2152 }; then : 2153 ac_retval=0 2154else 2155 $as_echo "$as_me: failed program was:" >&5 2156sed 's/^/| /' conftest.$ac_ext >&5 2157 2158 ac_retval=1 2159fi 2160 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2161 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2162 # interfere with the next link command; also delete a directory that is 2163 # left behind by Apple's compiler. We do this before executing the actions. 2164 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2165 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2166 as_fn_set_status $ac_retval 2167 2168} # ac_fn_c_try_link 2169 2170# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 2171# ------------------------------------------------------- 2172# Tests whether HEADER exists and can be compiled using the include files in 2173# INCLUDES, setting the cache variable VAR accordingly. 2174ac_fn_c_check_header_compile () 2175{ 2176 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2178$as_echo_n "checking for $2... " >&6; } 2179if eval \${$3+:} false; then : 2180 $as_echo_n "(cached) " >&6 2181else 2182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2183/* end confdefs.h. */ 2184$4 2185#include <$2> 2186_ACEOF 2187if ac_fn_c_try_compile "$LINENO"; then : 2188 eval "$3=yes" 2189else 2190 eval "$3=no" 2191fi 2192rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2193fi 2194eval ac_res=\$$3 2195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2196$as_echo "$ac_res" >&6; } 2197 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2198 2199} # ac_fn_c_check_header_compile 2200 2201# ac_fn_c_try_run LINENO 2202# ---------------------- 2203# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 2204# that executables *can* be run. 2205ac_fn_c_try_run () 2206{ 2207 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2208 if { { ac_try="$ac_link" 2209case "(($ac_try" in 2210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2211 *) ac_try_echo=$ac_try;; 2212esac 2213eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2214$as_echo "$ac_try_echo"; } >&5 2215 (eval "$ac_link") 2>&5 2216 ac_status=$? 2217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2218 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 2219 { { case "(($ac_try" in 2220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2221 *) ac_try_echo=$ac_try;; 2222esac 2223eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2224$as_echo "$ac_try_echo"; } >&5 2225 (eval "$ac_try") 2>&5 2226 ac_status=$? 2227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2228 test $ac_status = 0; }; }; then : 2229 ac_retval=0 2230else 2231 $as_echo "$as_me: program exited with status $ac_status" >&5 2232 $as_echo "$as_me: failed program was:" >&5 2233sed 's/^/| /' conftest.$ac_ext >&5 2234 2235 ac_retval=$ac_status 2236fi 2237 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2238 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2239 as_fn_set_status $ac_retval 2240 2241} # ac_fn_c_try_run 2242 2243# ac_fn_c_check_func LINENO FUNC VAR 2244# ---------------------------------- 2245# Tests whether FUNC exists, setting the cache variable VAR accordingly 2246ac_fn_c_check_func () 2247{ 2248 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2250$as_echo_n "checking for $2... " >&6; } 2251if eval \${$3+:} false; then : 2252 $as_echo_n "(cached) " >&6 2253else 2254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2255/* end confdefs.h. */ 2256/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2257 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2258#define $2 innocuous_$2 2259 2260/* System header to define __stub macros and hopefully few prototypes, 2261 which can conflict with char $2 (); below. 2262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2263 <limits.h> exists even on freestanding compilers. */ 2264 2265#ifdef __STDC__ 2266# include <limits.h> 2267#else 2268# include <assert.h> 2269#endif 2270 2271#undef $2 2272 2273/* Override any GCC internal prototype to avoid an error. 2274 Use char because int might match the return type of a GCC 2275 builtin and then its argument prototype would still apply. */ 2276#ifdef __cplusplus 2277extern "C" 2278#endif 2279char $2 (); 2280/* The GNU C library defines this for functions which it implements 2281 to always fail with ENOSYS. Some functions are actually named 2282 something starting with __ and the normal name is an alias. */ 2283#if defined __stub_$2 || defined __stub___$2 2284choke me 2285#endif 2286 2287int 2288main () 2289{ 2290return $2 (); 2291 ; 2292 return 0; 2293} 2294_ACEOF 2295if ac_fn_c_try_link "$LINENO"; then : 2296 eval "$3=yes" 2297else 2298 eval "$3=no" 2299fi 2300rm -f core conftest.err conftest.$ac_objext \ 2301 conftest$ac_exeext conftest.$ac_ext 2302fi 2303eval ac_res=\$$3 2304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2305$as_echo "$ac_res" >&6; } 2306 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2307 2308} # ac_fn_c_check_func 2309 2310# ac_fn_cxx_try_cpp LINENO 2311# ------------------------ 2312# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 2313ac_fn_cxx_try_cpp () 2314{ 2315 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2316 if { { ac_try="$ac_cpp conftest.$ac_ext" 2317case "(($ac_try" in 2318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2319 *) ac_try_echo=$ac_try;; 2320esac 2321eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2322$as_echo "$ac_try_echo"; } >&5 2323 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 2324 ac_status=$? 2325 if test -s conftest.err; then 2326 grep -v '^ *+' conftest.err >conftest.er1 2327 cat conftest.er1 >&5 2328 mv -f conftest.er1 conftest.err 2329 fi 2330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2331 test $ac_status = 0; } > conftest.i && { 2332 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 2333 test ! -s conftest.err 2334 }; then : 2335 ac_retval=0 2336else 2337 $as_echo "$as_me: failed program was:" >&5 2338sed 's/^/| /' conftest.$ac_ext >&5 2339 2340 ac_retval=1 2341fi 2342 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2343 as_fn_set_status $ac_retval 2344 2345} # ac_fn_cxx_try_cpp 2346 2347# ac_fn_cxx_try_link LINENO 2348# ------------------------- 2349# Try to link conftest.$ac_ext, and return whether this succeeded. 2350ac_fn_cxx_try_link () 2351{ 2352 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2353 rm -f conftest.$ac_objext conftest$ac_exeext 2354 if { { ac_try="$ac_link" 2355case "(($ac_try" in 2356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2357 *) ac_try_echo=$ac_try;; 2358esac 2359eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2360$as_echo "$ac_try_echo"; } >&5 2361 (eval "$ac_link") 2>conftest.err 2362 ac_status=$? 2363 if test -s conftest.err; then 2364 grep -v '^ *+' conftest.err >conftest.er1 2365 cat conftest.er1 >&5 2366 mv -f conftest.er1 conftest.err 2367 fi 2368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2369 test $ac_status = 0; } && { 2370 test -z "$ac_cxx_werror_flag" || 2371 test ! -s conftest.err 2372 } && test -s conftest$ac_exeext && { 2373 test "$cross_compiling" = yes || 2374 test -x conftest$ac_exeext 2375 }; then : 2376 ac_retval=0 2377else 2378 $as_echo "$as_me: failed program was:" >&5 2379sed 's/^/| /' conftest.$ac_ext >&5 2380 2381 ac_retval=1 2382fi 2383 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2384 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2385 # interfere with the next link command; also delete a directory that is 2386 # left behind by Apple's compiler. We do this before executing the actions. 2387 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2388 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2389 as_fn_set_status $ac_retval 2390 2391} # ac_fn_cxx_try_link 2392 2393# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 2394# ------------------------------------------------------- 2395# Tests whether HEADER exists, giving a warning if it cannot be compiled using 2396# the include files in INCLUDES and setting the cache variable VAR 2397# accordingly. 2398ac_fn_c_check_header_mongrel () 2399{ 2400 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2401 if eval \${$3+:} false; then : 2402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2403$as_echo_n "checking for $2... " >&6; } 2404if eval \${$3+:} false; then : 2405 $as_echo_n "(cached) " >&6 2406fi 2407eval ac_res=\$$3 2408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2409$as_echo "$ac_res" >&6; } 2410else 2411 # Is the header compilable? 2412{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2413$as_echo_n "checking $2 usability... " >&6; } 2414cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2415/* end confdefs.h. */ 2416$4 2417#include <$2> 2418_ACEOF 2419if ac_fn_c_try_compile "$LINENO"; then : 2420 ac_header_compiler=yes 2421else 2422 ac_header_compiler=no 2423fi 2424rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2425{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2426$as_echo "$ac_header_compiler" >&6; } 2427 2428# Is the header present? 2429{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2430$as_echo_n "checking $2 presence... " >&6; } 2431cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2432/* end confdefs.h. */ 2433#include <$2> 2434_ACEOF 2435if ac_fn_c_try_cpp "$LINENO"; then : 2436 ac_header_preproc=yes 2437else 2438 ac_header_preproc=no 2439fi 2440rm -f conftest.err conftest.i conftest.$ac_ext 2441{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2442$as_echo "$ac_header_preproc" >&6; } 2443 2444# So? What about this header? 2445case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 2446 yes:no: ) 2447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2448$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2450$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2451 ;; 2452 no:yes:* ) 2453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2454$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2456$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2458$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2460$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2462$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2463( $as_echo "## ------------------------------------- ## 2464## Report this to joachim.metz@gmail.com ## 2465## ------------------------------------- ##" 2466 ) | sed "s/^/$as_me: WARNING: /" >&2 2467 ;; 2468esac 2469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2470$as_echo_n "checking for $2... " >&6; } 2471if eval \${$3+:} false; then : 2472 $as_echo_n "(cached) " >&6 2473else 2474 eval "$3=\$ac_header_compiler" 2475fi 2476eval ac_res=\$$3 2477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2478$as_echo "$ac_res" >&6; } 2479fi 2480 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2481 2482} # ac_fn_c_check_header_mongrel 2483 2484# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 2485# ------------------------------------------- 2486# Tests whether TYPE exists after having included INCLUDES, setting cache 2487# variable VAR accordingly. 2488ac_fn_c_check_type () 2489{ 2490 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2492$as_echo_n "checking for $2... " >&6; } 2493if eval \${$3+:} false; then : 2494 $as_echo_n "(cached) " >&6 2495else 2496 eval "$3=no" 2497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2498/* end confdefs.h. */ 2499$4 2500int 2501main () 2502{ 2503if (sizeof ($2)) 2504 return 0; 2505 ; 2506 return 0; 2507} 2508_ACEOF 2509if ac_fn_c_try_compile "$LINENO"; then : 2510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2511/* end confdefs.h. */ 2512$4 2513int 2514main () 2515{ 2516if (sizeof (($2))) 2517 return 0; 2518 ; 2519 return 0; 2520} 2521_ACEOF 2522if ac_fn_c_try_compile "$LINENO"; then : 2523 2524else 2525 eval "$3=yes" 2526fi 2527rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2528fi 2529rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2530fi 2531eval ac_res=\$$3 2532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2533$as_echo "$ac_res" >&6; } 2534 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2535 2536} # ac_fn_c_check_type 2537 2538# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 2539# -------------------------------------------- 2540# Tries to find the compile-time value of EXPR in a program that includes 2541# INCLUDES, setting VAR accordingly. Returns whether the value could be 2542# computed 2543ac_fn_c_compute_int () 2544{ 2545 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2546 if test "$cross_compiling" = yes; then 2547 # Depending upon the size, compute the lo and hi bounds. 2548cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2549/* end confdefs.h. */ 2550$4 2551int 2552main () 2553{ 2554static int test_array [1 - 2 * !(($2) >= 0)]; 2555test_array [0] = 0; 2556return test_array [0]; 2557 2558 ; 2559 return 0; 2560} 2561_ACEOF 2562if ac_fn_c_try_compile "$LINENO"; then : 2563 ac_lo=0 ac_mid=0 2564 while :; do 2565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2566/* end confdefs.h. */ 2567$4 2568int 2569main () 2570{ 2571static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2572test_array [0] = 0; 2573return test_array [0]; 2574 2575 ; 2576 return 0; 2577} 2578_ACEOF 2579if ac_fn_c_try_compile "$LINENO"; then : 2580 ac_hi=$ac_mid; break 2581else 2582 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 2583 if test $ac_lo -le $ac_mid; then 2584 ac_lo= ac_hi= 2585 break 2586 fi 2587 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 2588fi 2589rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2590 done 2591else 2592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2593/* end confdefs.h. */ 2594$4 2595int 2596main () 2597{ 2598static int test_array [1 - 2 * !(($2) < 0)]; 2599test_array [0] = 0; 2600return test_array [0]; 2601 2602 ; 2603 return 0; 2604} 2605_ACEOF 2606if ac_fn_c_try_compile "$LINENO"; then : 2607 ac_hi=-1 ac_mid=-1 2608 while :; do 2609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2610/* end confdefs.h. */ 2611$4 2612int 2613main () 2614{ 2615static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 2616test_array [0] = 0; 2617return test_array [0]; 2618 2619 ; 2620 return 0; 2621} 2622_ACEOF 2623if ac_fn_c_try_compile "$LINENO"; then : 2624 ac_lo=$ac_mid; break 2625else 2626 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 2627 if test $ac_mid -le $ac_hi; then 2628 ac_lo= ac_hi= 2629 break 2630 fi 2631 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 2632fi 2633rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2634 done 2635else 2636 ac_lo= ac_hi= 2637fi 2638rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2639fi 2640rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2641# Binary search between lo and hi bounds. 2642while test "x$ac_lo" != "x$ac_hi"; do 2643 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 2644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2645/* end confdefs.h. */ 2646$4 2647int 2648main () 2649{ 2650static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2651test_array [0] = 0; 2652return test_array [0]; 2653 2654 ; 2655 return 0; 2656} 2657_ACEOF 2658if ac_fn_c_try_compile "$LINENO"; then : 2659 ac_hi=$ac_mid 2660else 2661 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2662fi 2663rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2664done 2665case $ac_lo in #(( 2666?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2667'') ac_retval=1 ;; 2668esac 2669 else 2670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2671/* end confdefs.h. */ 2672$4 2673static long int longval () { return $2; } 2674static unsigned long int ulongval () { return $2; } 2675#include <stdio.h> 2676#include <stdlib.h> 2677int 2678main () 2679{ 2680 2681 FILE *f = fopen ("conftest.val", "w"); 2682 if (! f) 2683 return 1; 2684 if (($2) < 0) 2685 { 2686 long int i = longval (); 2687 if (i != ($2)) 2688 return 1; 2689 fprintf (f, "%ld", i); 2690 } 2691 else 2692 { 2693 unsigned long int i = ulongval (); 2694 if (i != ($2)) 2695 return 1; 2696 fprintf (f, "%lu", i); 2697 } 2698 /* Do not output a trailing newline, as this causes \r\n confusion 2699 on some platforms. */ 2700 return ferror (f) || fclose (f) != 0; 2701 2702 ; 2703 return 0; 2704} 2705_ACEOF 2706if ac_fn_c_try_run "$LINENO"; then : 2707 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2708else 2709 ac_retval=1 2710fi 2711rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2712 conftest.$ac_objext conftest.beam conftest.$ac_ext 2713rm -f conftest.val 2714 2715 fi 2716 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2717 as_fn_set_status $ac_retval 2718 2719} # ac_fn_c_compute_int 2720 2721# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 2722# --------------------------------------------- 2723# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 2724# accordingly. 2725ac_fn_c_check_decl () 2726{ 2727 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2728 as_decl_name=`echo $2|sed 's/ *(.*//'` 2729 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 2730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 2731$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 2732if eval \${$3+:} false; then : 2733 $as_echo_n "(cached) " >&6 2734else 2735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2736/* end confdefs.h. */ 2737$4 2738int 2739main () 2740{ 2741#ifndef $as_decl_name 2742#ifdef __cplusplus 2743 (void) $as_decl_use; 2744#else 2745 (void) $as_decl_name; 2746#endif 2747#endif 2748 2749 ; 2750 return 0; 2751} 2752_ACEOF 2753if ac_fn_c_try_compile "$LINENO"; then : 2754 eval "$3=yes" 2755else 2756 eval "$3=no" 2757fi 2758rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2759fi 2760eval ac_res=\$$3 2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2762$as_echo "$ac_res" >&6; } 2763 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2764 2765} # ac_fn_c_check_decl 2766cat >config.log <<_ACEOF 2767This file contains any messages produced by compilers while 2768running configure, to aid debugging if configure makes a mistake. 2769 2770It was created by libqcow $as_me 20210419, which was 2771generated by GNU Autoconf 2.69. Invocation command line was 2772 2773 $ $0 $@ 2774 2775_ACEOF 2776exec 5>>config.log 2777{ 2778cat <<_ASUNAME 2779## --------- ## 2780## Platform. ## 2781## --------- ## 2782 2783hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2784uname -m = `(uname -m) 2>/dev/null || echo unknown` 2785uname -r = `(uname -r) 2>/dev/null || echo unknown` 2786uname -s = `(uname -s) 2>/dev/null || echo unknown` 2787uname -v = `(uname -v) 2>/dev/null || echo unknown` 2788 2789/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2790/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2791 2792/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2793/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2794/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2795/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2796/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2797/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2798/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2799 2800_ASUNAME 2801 2802as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2803for as_dir in $PATH 2804do 2805 IFS=$as_save_IFS 2806 test -z "$as_dir" && as_dir=. 2807 $as_echo "PATH: $as_dir" 2808 done 2809IFS=$as_save_IFS 2810 2811} >&5 2812 2813cat >&5 <<_ACEOF 2814 2815 2816## ----------- ## 2817## Core tests. ## 2818## ----------- ## 2819 2820_ACEOF 2821 2822 2823# Keep a trace of the command line. 2824# Strip out --no-create and --no-recursion so they do not pile up. 2825# Strip out --silent because we don't want to record it for future runs. 2826# Also quote any args containing shell meta-characters. 2827# Make two passes to allow for proper duplicate-argument suppression. 2828ac_configure_args= 2829ac_configure_args0= 2830ac_configure_args1= 2831ac_must_keep_next=false 2832for ac_pass in 1 2 2833do 2834 for ac_arg 2835 do 2836 case $ac_arg in 2837 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2838 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2839 | -silent | --silent | --silen | --sile | --sil) 2840 continue ;; 2841 *\'*) 2842 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2843 esac 2844 case $ac_pass in 2845 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2846 2) 2847 as_fn_append ac_configure_args1 " '$ac_arg'" 2848 if test $ac_must_keep_next = true; then 2849 ac_must_keep_next=false # Got value, back to normal. 2850 else 2851 case $ac_arg in 2852 *=* | --config-cache | -C | -disable-* | --disable-* \ 2853 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2854 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2855 | -with-* | --with-* | -without-* | --without-* | --x) 2856 case "$ac_configure_args0 " in 2857 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2858 esac 2859 ;; 2860 -* ) ac_must_keep_next=true ;; 2861 esac 2862 fi 2863 as_fn_append ac_configure_args " '$ac_arg'" 2864 ;; 2865 esac 2866 done 2867done 2868{ ac_configure_args0=; unset ac_configure_args0;} 2869{ ac_configure_args1=; unset ac_configure_args1;} 2870 2871# When interrupted or exit'd, cleanup temporary files, and complete 2872# config.log. We remove comments because anyway the quotes in there 2873# would cause problems or look ugly. 2874# WARNING: Use '\'' to represent an apostrophe within the trap. 2875# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2876trap 'exit_status=$? 2877 # Save into config.log some information that might help in debugging. 2878 { 2879 echo 2880 2881 $as_echo "## ---------------- ## 2882## Cache variables. ## 2883## ---------------- ##" 2884 echo 2885 # The following way of writing the cache mishandles newlines in values, 2886( 2887 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2888 eval ac_val=\$$ac_var 2889 case $ac_val in #( 2890 *${as_nl}*) 2891 case $ac_var in #( 2892 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2893$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2894 esac 2895 case $ac_var in #( 2896 _ | IFS | as_nl) ;; #( 2897 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2898 *) { eval $ac_var=; unset $ac_var;} ;; 2899 esac ;; 2900 esac 2901 done 2902 (set) 2>&1 | 2903 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2904 *${as_nl}ac_space=\ *) 2905 sed -n \ 2906 "s/'\''/'\''\\\\'\'''\''/g; 2907 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2908 ;; #( 2909 *) 2910 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2911 ;; 2912 esac | 2913 sort 2914) 2915 echo 2916 2917 $as_echo "## ----------------- ## 2918## Output variables. ## 2919## ----------------- ##" 2920 echo 2921 for ac_var in $ac_subst_vars 2922 do 2923 eval ac_val=\$$ac_var 2924 case $ac_val in 2925 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2926 esac 2927 $as_echo "$ac_var='\''$ac_val'\''" 2928 done | sort 2929 echo 2930 2931 if test -n "$ac_subst_files"; then 2932 $as_echo "## ------------------- ## 2933## File substitutions. ## 2934## ------------------- ##" 2935 echo 2936 for ac_var in $ac_subst_files 2937 do 2938 eval ac_val=\$$ac_var 2939 case $ac_val in 2940 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2941 esac 2942 $as_echo "$ac_var='\''$ac_val'\''" 2943 done | sort 2944 echo 2945 fi 2946 2947 if test -s confdefs.h; then 2948 $as_echo "## ----------- ## 2949## confdefs.h. ## 2950## ----------- ##" 2951 echo 2952 cat confdefs.h 2953 echo 2954 fi 2955 test "$ac_signal" != 0 && 2956 $as_echo "$as_me: caught signal $ac_signal" 2957 $as_echo "$as_me: exit $exit_status" 2958 } >&5 2959 rm -f core *.core core.conftest.* && 2960 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2961 exit $exit_status 2962' 0 2963for ac_signal in 1 2 13 15; do 2964 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2965done 2966ac_signal=0 2967 2968# confdefs.h avoids OS command line length limits that DEFS can exceed. 2969rm -f -r conftest* confdefs.h 2970 2971$as_echo "/* confdefs.h */" > confdefs.h 2972 2973# Predefined preprocessor variables. 2974 2975cat >>confdefs.h <<_ACEOF 2976#define PACKAGE_NAME "$PACKAGE_NAME" 2977_ACEOF 2978 2979cat >>confdefs.h <<_ACEOF 2980#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2981_ACEOF 2982 2983cat >>confdefs.h <<_ACEOF 2984#define PACKAGE_VERSION "$PACKAGE_VERSION" 2985_ACEOF 2986 2987cat >>confdefs.h <<_ACEOF 2988#define PACKAGE_STRING "$PACKAGE_STRING" 2989_ACEOF 2990 2991cat >>confdefs.h <<_ACEOF 2992#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2993_ACEOF 2994 2995cat >>confdefs.h <<_ACEOF 2996#define PACKAGE_URL "$PACKAGE_URL" 2997_ACEOF 2998 2999 3000# Let the site file select an alternate cache file if it wants to. 3001# Prefer an explicitly selected file to automatically selected ones. 3002ac_site_file1=NONE 3003ac_site_file2=NONE 3004if test -n "$CONFIG_SITE"; then 3005 # We do not want a PATH search for config.site. 3006 case $CONFIG_SITE in #(( 3007 -*) ac_site_file1=./$CONFIG_SITE;; 3008 */*) ac_site_file1=$CONFIG_SITE;; 3009 *) ac_site_file1=./$CONFIG_SITE;; 3010 esac 3011elif test "x$prefix" != xNONE; then 3012 ac_site_file1=$prefix/share/config.site 3013 ac_site_file2=$prefix/etc/config.site 3014else 3015 ac_site_file1=$ac_default_prefix/share/config.site 3016 ac_site_file2=$ac_default_prefix/etc/config.site 3017fi 3018for ac_site_file in "$ac_site_file1" "$ac_site_file2" 3019do 3020 test "x$ac_site_file" = xNONE && continue 3021 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 3022 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 3023$as_echo "$as_me: loading site script $ac_site_file" >&6;} 3024 sed 's/^/| /' "$ac_site_file" >&5 3025 . "$ac_site_file" \ 3026 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3027$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3028as_fn_error $? "failed to load site script $ac_site_file 3029See \`config.log' for more details" "$LINENO" 5; } 3030 fi 3031done 3032 3033if test -r "$cache_file"; then 3034 # Some versions of bash will fail to source /dev/null (special files 3035 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 3036 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 3037 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 3038$as_echo "$as_me: loading cache $cache_file" >&6;} 3039 case $cache_file in 3040 [\\/]* | ?:[\\/]* ) . "$cache_file";; 3041 *) . "./$cache_file";; 3042 esac 3043 fi 3044else 3045 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 3046$as_echo "$as_me: creating cache $cache_file" >&6;} 3047 >$cache_file 3048fi 3049 3050gt_needs="$gt_needs " 3051# Check that the precious variables saved in the cache have kept the same 3052# value. 3053ac_cache_corrupted=false 3054for ac_var in $ac_precious_vars; do 3055 eval ac_old_set=\$ac_cv_env_${ac_var}_set 3056 eval ac_new_set=\$ac_env_${ac_var}_set 3057 eval ac_old_val=\$ac_cv_env_${ac_var}_value 3058 eval ac_new_val=\$ac_env_${ac_var}_value 3059 case $ac_old_set,$ac_new_set in 3060 set,) 3061 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 3062$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 3063 ac_cache_corrupted=: ;; 3064 ,set) 3065 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 3066$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 3067 ac_cache_corrupted=: ;; 3068 ,);; 3069 *) 3070 if test "x$ac_old_val" != "x$ac_new_val"; then 3071 # differences in whitespace do not lead to failure. 3072 ac_old_val_w=`echo x $ac_old_val` 3073 ac_new_val_w=`echo x $ac_new_val` 3074 if test "$ac_old_val_w" != "$ac_new_val_w"; then 3075 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 3076$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 3077 ac_cache_corrupted=: 3078 else 3079 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 3080$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 3081 eval $ac_var=\$ac_old_val 3082 fi 3083 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 3084$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 3085 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 3086$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 3087 fi;; 3088 esac 3089 # Pass precious variables to config.status. 3090 if test "$ac_new_set" = set; then 3091 case $ac_new_val in 3092 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 3093 *) ac_arg=$ac_var=$ac_new_val ;; 3094 esac 3095 case " $ac_configure_args " in 3096 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 3097 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 3098 esac 3099 fi 3100done 3101if $ac_cache_corrupted; then 3102 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3103$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3104 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 3105$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 3106 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 3107fi 3108## -------------------- ## 3109## Main body of script. ## 3110## -------------------- ## 3111 3112ac_ext=c 3113ac_cpp='$CPP $CPPFLAGS' 3114ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3115ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3116ac_compiler_gnu=$ac_cv_c_compiler_gnu 3117 3118 3119 3120 3121 3122am__api_version='1.16' 3123 3124ac_aux_dir= 3125for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 3126 if test -f "$ac_dir/install-sh"; then 3127 ac_aux_dir=$ac_dir 3128 ac_install_sh="$ac_aux_dir/install-sh -c" 3129 break 3130 elif test -f "$ac_dir/install.sh"; then 3131 ac_aux_dir=$ac_dir 3132 ac_install_sh="$ac_aux_dir/install.sh -c" 3133 break 3134 elif test -f "$ac_dir/shtool"; then 3135 ac_aux_dir=$ac_dir 3136 ac_install_sh="$ac_aux_dir/shtool install -c" 3137 break 3138 fi 3139done 3140if test -z "$ac_aux_dir"; then 3141 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 3142fi 3143 3144# These three variables are undocumented and unsupported, 3145# and are intended to be withdrawn in a future Autoconf release. 3146# They can cause serious problems if a builder's source tree is in a directory 3147# whose full name contains unusual characters. 3148ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 3149ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 3150ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 3151 3152 3153# Find a good install program. We prefer a C program (faster), 3154# so one script is as good as another. But avoid the broken or 3155# incompatible versions: 3156# SysV /etc/install, /usr/sbin/install 3157# SunOS /usr/etc/install 3158# IRIX /sbin/install 3159# AIX /bin/install 3160# AmigaOS /C/install, which installs bootblocks on floppy discs 3161# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3162# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3163# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3164# OS/2's system install, which has a completely different semantic 3165# ./install, which can be erroneously created by make from ./install.sh. 3166# Reject install programs that cannot install multiple files. 3167{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 3168$as_echo_n "checking for a BSD-compatible install... " >&6; } 3169if test -z "$INSTALL"; then 3170if ${ac_cv_path_install+:} false; then : 3171 $as_echo_n "(cached) " >&6 3172else 3173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3174for as_dir in $PATH 3175do 3176 IFS=$as_save_IFS 3177 test -z "$as_dir" && as_dir=. 3178 # Account for people who put trailing slashes in PATH elements. 3179case $as_dir/ in #(( 3180 ./ | .// | /[cC]/* | \ 3181 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3182 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 3183 /usr/ucb/* ) ;; 3184 *) 3185 # OSF1 and SCO ODT 3.0 have their own names for install. 3186 # Don't use installbsd from OSF since it installs stuff as root 3187 # by default. 3188 for ac_prog in ginstall scoinst install; do 3189 for ac_exec_ext in '' $ac_executable_extensions; do 3190 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 3191 if test $ac_prog = install && 3192 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3193 # AIX install. It has an incompatible calling convention. 3194 : 3195 elif test $ac_prog = install && 3196 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3197 # program-specific install script used by HP pwplus--don't use. 3198 : 3199 else 3200 rm -rf conftest.one conftest.two conftest.dir 3201 echo one > conftest.one 3202 echo two > conftest.two 3203 mkdir conftest.dir 3204 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 3205 test -s conftest.one && test -s conftest.two && 3206 test -s conftest.dir/conftest.one && 3207 test -s conftest.dir/conftest.two 3208 then 3209 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3210 break 3 3211 fi 3212 fi 3213 fi 3214 done 3215 done 3216 ;; 3217esac 3218 3219 done 3220IFS=$as_save_IFS 3221 3222rm -rf conftest.one conftest.two conftest.dir 3223 3224fi 3225 if test "${ac_cv_path_install+set}" = set; then 3226 INSTALL=$ac_cv_path_install 3227 else 3228 # As a last resort, use the slow shell script. Don't cache a 3229 # value for INSTALL within a source directory, because that will 3230 # break other packages using the cache if that directory is 3231 # removed, or if the value is a relative name. 3232 INSTALL=$ac_install_sh 3233 fi 3234fi 3235{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 3236$as_echo "$INSTALL" >&6; } 3237 3238# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3239# It thinks the first close brace ends the variable substitution. 3240test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3241 3242test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3243 3244test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3245 3246{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 3247$as_echo_n "checking whether build environment is sane... " >&6; } 3248# Reject unsafe characters in $srcdir or the absolute working directory 3249# name. Accept space and tab only in the latter. 3250am_lf=' 3251' 3252case `pwd` in 3253 *[\\\"\#\$\&\'\`$am_lf]*) 3254 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 3255esac 3256case $srcdir in 3257 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 3258 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 3259esac 3260 3261# Do 'set' in a subshell so we don't clobber the current shell's 3262# arguments. Must try -L first in case configure is actually a 3263# symlink; some systems play weird games with the mod time of symlinks 3264# (eg FreeBSD returns the mod time of the symlink's containing 3265# directory). 3266if ( 3267 am_has_slept=no 3268 for am_try in 1 2; do 3269 echo "timestamp, slept: $am_has_slept" > conftest.file 3270 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 3271 if test "$*" = "X"; then 3272 # -L didn't work. 3273 set X `ls -t "$srcdir/configure" conftest.file` 3274 fi 3275 if test "$*" != "X $srcdir/configure conftest.file" \ 3276 && test "$*" != "X conftest.file $srcdir/configure"; then 3277 3278 # If neither matched, then we have a broken ls. This can happen 3279 # if, for instance, CONFIG_SHELL is bash and it inherits a 3280 # broken ls alias from the environment. This has actually 3281 # happened. Such a system could not be considered "sane". 3282 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 3283 alias in your environment" "$LINENO" 5 3284 fi 3285 if test "$2" = conftest.file || test $am_try -eq 2; then 3286 break 3287 fi 3288 # Just in case. 3289 sleep 1 3290 am_has_slept=yes 3291 done 3292 test "$2" = conftest.file 3293 ) 3294then 3295 # Ok. 3296 : 3297else 3298 as_fn_error $? "newly created file is older than distributed files! 3299Check your system clock" "$LINENO" 5 3300fi 3301{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3302$as_echo "yes" >&6; } 3303# If we didn't sleep, we still need to ensure time stamps of config.status and 3304# generated files are strictly newer. 3305am_sleep_pid= 3306if grep 'slept: no' conftest.file >/dev/null 2>&1; then 3307 ( sleep 1 ) & 3308 am_sleep_pid=$! 3309fi 3310 3311rm -f conftest.file 3312 3313test "$program_prefix" != NONE && 3314 program_transform_name="s&^&$program_prefix&;$program_transform_name" 3315# Use a double $ so make ignores it. 3316test "$program_suffix" != NONE && 3317 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 3318# Double any \ or $. 3319# By default was `s,x,x', remove it if useless. 3320ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 3321program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 3322 3323# Expand $ac_aux_dir to an absolute path. 3324am_aux_dir=`cd "$ac_aux_dir" && pwd` 3325 3326if test x"${MISSING+set}" != xset; then 3327 case $am_aux_dir in 3328 *\ * | *\ *) 3329 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 3330 *) 3331 MISSING="\${SHELL} $am_aux_dir/missing" ;; 3332 esac 3333fi 3334# Use eval to expand $SHELL 3335if eval "$MISSING --is-lightweight"; then 3336 am_missing_run="$MISSING " 3337else 3338 am_missing_run= 3339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 3340$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 3341fi 3342 3343if test x"${install_sh+set}" != xset; then 3344 case $am_aux_dir in 3345 *\ * | *\ *) 3346 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 3347 *) 3348 install_sh="\${SHELL} $am_aux_dir/install-sh" 3349 esac 3350fi 3351 3352# Installed binaries are usually stripped using 'strip' when the user 3353# run "make install-strip". However 'strip' might not be the right 3354# tool to use in cross-compilation environments, therefore Automake 3355# will honor the 'STRIP' environment variable to overrule this program. 3356if test "$cross_compiling" != no; then 3357 if test -n "$ac_tool_prefix"; then 3358 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 3359set dummy ${ac_tool_prefix}strip; ac_word=$2 3360{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3361$as_echo_n "checking for $ac_word... " >&6; } 3362if ${ac_cv_prog_STRIP+:} false; then : 3363 $as_echo_n "(cached) " >&6 3364else 3365 if test -n "$STRIP"; then 3366 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 3367else 3368as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3369for as_dir in $PATH 3370do 3371 IFS=$as_save_IFS 3372 test -z "$as_dir" && as_dir=. 3373 for ac_exec_ext in '' $ac_executable_extensions; do 3374 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3375 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 3376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3377 break 2 3378 fi 3379done 3380 done 3381IFS=$as_save_IFS 3382 3383fi 3384fi 3385STRIP=$ac_cv_prog_STRIP 3386if test -n "$STRIP"; then 3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 3388$as_echo "$STRIP" >&6; } 3389else 3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3391$as_echo "no" >&6; } 3392fi 3393 3394 3395fi 3396if test -z "$ac_cv_prog_STRIP"; then 3397 ac_ct_STRIP=$STRIP 3398 # Extract the first word of "strip", so it can be a program name with args. 3399set dummy strip; ac_word=$2 3400{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3401$as_echo_n "checking for $ac_word... " >&6; } 3402if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 3403 $as_echo_n "(cached) " >&6 3404else 3405 if test -n "$ac_ct_STRIP"; then 3406 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 3407else 3408as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3409for as_dir in $PATH 3410do 3411 IFS=$as_save_IFS 3412 test -z "$as_dir" && as_dir=. 3413 for ac_exec_ext in '' $ac_executable_extensions; do 3414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3415 ac_cv_prog_ac_ct_STRIP="strip" 3416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3417 break 2 3418 fi 3419done 3420 done 3421IFS=$as_save_IFS 3422 3423fi 3424fi 3425ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 3426if test -n "$ac_ct_STRIP"; then 3427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 3428$as_echo "$ac_ct_STRIP" >&6; } 3429else 3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3431$as_echo "no" >&6; } 3432fi 3433 3434 if test "x$ac_ct_STRIP" = x; then 3435 STRIP=":" 3436 else 3437 case $cross_compiling:$ac_tool_warned in 3438yes:) 3439{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3440$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3441ac_tool_warned=yes ;; 3442esac 3443 STRIP=$ac_ct_STRIP 3444 fi 3445else 3446 STRIP="$ac_cv_prog_STRIP" 3447fi 3448 3449fi 3450INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3451 3452{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 3453$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3454if test -z "$MKDIR_P"; then 3455 if ${ac_cv_path_mkdir+:} false; then : 3456 $as_echo_n "(cached) " >&6 3457else 3458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3459for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 3460do 3461 IFS=$as_save_IFS 3462 test -z "$as_dir" && as_dir=. 3463 for ac_prog in mkdir gmkdir; do 3464 for ac_exec_ext in '' $ac_executable_extensions; do 3465 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 3466 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 3467 'mkdir (GNU coreutils) '* | \ 3468 'mkdir (coreutils) '* | \ 3469 'mkdir (fileutils) '4.1*) 3470 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 3471 break 3;; 3472 esac 3473 done 3474 done 3475 done 3476IFS=$as_save_IFS 3477 3478fi 3479 3480 test -d ./--version && rmdir ./--version 3481 if test "${ac_cv_path_mkdir+set}" = set; then 3482 MKDIR_P="$ac_cv_path_mkdir -p" 3483 else 3484 # As a last resort, use the slow shell script. Don't cache a 3485 # value for MKDIR_P within a source directory, because that will 3486 # break other packages using the cache if that directory is 3487 # removed, or if the value is a relative name. 3488 MKDIR_P="$ac_install_sh -d" 3489 fi 3490fi 3491{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 3492$as_echo "$MKDIR_P" >&6; } 3493 3494for ac_prog in gawk mawk nawk awk 3495do 3496 # Extract the first word of "$ac_prog", so it can be a program name with args. 3497set dummy $ac_prog; ac_word=$2 3498{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3499$as_echo_n "checking for $ac_word... " >&6; } 3500if ${ac_cv_prog_AWK+:} false; then : 3501 $as_echo_n "(cached) " >&6 3502else 3503 if test -n "$AWK"; then 3504 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3505else 3506as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3507for as_dir in $PATH 3508do 3509 IFS=$as_save_IFS 3510 test -z "$as_dir" && as_dir=. 3511 for ac_exec_ext in '' $ac_executable_extensions; do 3512 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3513 ac_cv_prog_AWK="$ac_prog" 3514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3515 break 2 3516 fi 3517done 3518 done 3519IFS=$as_save_IFS 3520 3521fi 3522fi 3523AWK=$ac_cv_prog_AWK 3524if test -n "$AWK"; then 3525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3526$as_echo "$AWK" >&6; } 3527else 3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3529$as_echo "no" >&6; } 3530fi 3531 3532 3533 test -n "$AWK" && break 3534done 3535 3536{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3537$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3538set x ${MAKE-make} 3539ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3540if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3541 $as_echo_n "(cached) " >&6 3542else 3543 cat >conftest.make <<\_ACEOF 3544SHELL = /bin/sh 3545all: 3546 @echo '@@@%%%=$(MAKE)=@@@%%%' 3547_ACEOF 3548# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3549case `${MAKE-make} -f conftest.make 2>/dev/null` in 3550 *@@@%%%=?*=@@@%%%*) 3551 eval ac_cv_prog_make_${ac_make}_set=yes;; 3552 *) 3553 eval ac_cv_prog_make_${ac_make}_set=no;; 3554esac 3555rm -f conftest.make 3556fi 3557if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3559$as_echo "yes" >&6; } 3560 SET_MAKE= 3561else 3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3563$as_echo "no" >&6; } 3564 SET_MAKE="MAKE=${MAKE-make}" 3565fi 3566 3567rm -rf .tst 2>/dev/null 3568mkdir .tst 2>/dev/null 3569if test -d .tst; then 3570 am__leading_dot=. 3571else 3572 am__leading_dot=_ 3573fi 3574rmdir .tst 2>/dev/null 3575 3576# Check whether --enable-silent-rules was given. 3577if test "${enable_silent_rules+set}" = set; then : 3578 enableval=$enable_silent_rules; 3579fi 3580 3581case $enable_silent_rules in # ((( 3582 yes) AM_DEFAULT_VERBOSITY=0;; 3583 no) AM_DEFAULT_VERBOSITY=1;; 3584 *) AM_DEFAULT_VERBOSITY=1;; 3585esac 3586am_make=${MAKE-make} 3587{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3588$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3589if ${am_cv_make_support_nested_variables+:} false; then : 3590 $as_echo_n "(cached) " >&6 3591else 3592 if $as_echo 'TRUE=$(BAR$(V)) 3593BAR0=false 3594BAR1=true 3595V=1 3596am__doit: 3597 @$(TRUE) 3598.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3599 am_cv_make_support_nested_variables=yes 3600else 3601 am_cv_make_support_nested_variables=no 3602fi 3603fi 3604{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3605$as_echo "$am_cv_make_support_nested_variables" >&6; } 3606if test $am_cv_make_support_nested_variables = yes; then 3607 AM_V='$(V)' 3608 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3609else 3610 AM_V=$AM_DEFAULT_VERBOSITY 3611 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3612fi 3613AM_BACKSLASH='\' 3614 3615if test "`cd $srcdir && pwd`" != "`pwd`"; then 3616 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3617 # is not polluted with repeated "-I." 3618 am__isrc=' -I$(srcdir)' 3619 # test to see if srcdir already configured 3620 if test -f $srcdir/config.status; then 3621 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3622 fi 3623fi 3624 3625# test whether we have cygpath 3626if test -z "$CYGPATH_W"; then 3627 if (cygpath --version) >/dev/null 2>/dev/null; then 3628 CYGPATH_W='cygpath -w' 3629 else 3630 CYGPATH_W=echo 3631 fi 3632fi 3633 3634 3635# Define the identity of the package. 3636 PACKAGE='libqcow' 3637 VERSION='20210419' 3638 3639 3640cat >>confdefs.h <<_ACEOF 3641#define PACKAGE "$PACKAGE" 3642_ACEOF 3643 3644 3645cat >>confdefs.h <<_ACEOF 3646#define VERSION "$VERSION" 3647_ACEOF 3648 3649# Some tools Automake needs. 3650 3651ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3652 3653 3654AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3655 3656 3657AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3658 3659 3660AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3661 3662 3663MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3664 3665# For better backward compatibility. To be removed once Automake 1.9.x 3666# dies out for good. For more background, see: 3667# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 3668# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 3669mkdir_p='$(MKDIR_P)' 3670 3671# We need awk for the "check" target (and possibly the TAP driver). The 3672# system "awk" is bad on some platforms. 3673# Always define AMTAR for backward compatibility. Yes, it's still used 3674# in the wild :-( We should find a proper way to deprecate it ... 3675AMTAR='$${TAR-tar}' 3676 3677 3678# We'll loop over all known methods to create a tar archive until one works. 3679_am_tools='gnutar plaintar pax cpio none' 3680 3681# The POSIX 1988 'ustar' format is defined with fixed-size fields. 3682 # There is notably a 21 bits limit for the UID and the GID. In fact, 3683 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 3684 # and bug#13588). 3685 am_max_uid=2097151 # 2^21 - 1 3686 am_max_gid=$am_max_uid 3687 # The $UID and $GID variables are not portable, so we need to resort 3688 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls 3689 # below are definitely unexpected, so allow the users to see them 3690 # (that is, avoid stderr redirection). 3691 am_uid=`id -u || echo unknown` 3692 am_gid=`id -g || echo unknown` 3693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5 3694$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; } 3695 if test $am_uid -le $am_max_uid; then 3696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3697$as_echo "yes" >&6; } 3698 else 3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3700$as_echo "no" >&6; } 3701 _am_tools=none 3702 fi 3703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5 3704$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; } 3705 if test $am_gid -le $am_max_gid; then 3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3707$as_echo "yes" >&6; } 3708 else 3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3710$as_echo "no" >&6; } 3711 _am_tools=none 3712 fi 3713 3714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5 3715$as_echo_n "checking how to create a ustar tar archive... " >&6; } 3716 3717 # Go ahead even if we have the value already cached. We do so because we 3718 # need to set the values for the 'am__tar' and 'am__untar' variables. 3719 _am_tools=${am_cv_prog_tar_ustar-$_am_tools} 3720 3721 for _am_tool in $_am_tools; do 3722 case $_am_tool in 3723 gnutar) 3724 for _am_tar in tar gnutar gtar; do 3725 { echo "$as_me:$LINENO: $_am_tar --version" >&5 3726 ($_am_tar --version) >&5 2>&5 3727 ac_status=$? 3728 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3729 (exit $ac_status); } && break 3730 done 3731 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"' 3732 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"' 3733 am__untar="$_am_tar -xf -" 3734 ;; 3735 plaintar) 3736 # Must skip GNU tar: if it does not support --format= it doesn't create 3737 # ustar tarball either. 3738 (tar --version) >/dev/null 2>&1 && continue 3739 am__tar='tar chf - "$$tardir"' 3740 am__tar_='tar chf - "$tardir"' 3741 am__untar='tar xf -' 3742 ;; 3743 pax) 3744 am__tar='pax -L -x ustar -w "$$tardir"' 3745 am__tar_='pax -L -x ustar -w "$tardir"' 3746 am__untar='pax -r' 3747 ;; 3748 cpio) 3749 am__tar='find "$$tardir" -print | cpio -o -H ustar -L' 3750 am__tar_='find "$tardir" -print | cpio -o -H ustar -L' 3751 am__untar='cpio -i -H ustar -d' 3752 ;; 3753 none) 3754 am__tar=false 3755 am__tar_=false 3756 am__untar=false 3757 ;; 3758 esac 3759 3760 # If the value was cached, stop now. We just wanted to have am__tar 3761 # and am__untar set. 3762 test -n "${am_cv_prog_tar_ustar}" && break 3763 3764 # tar/untar a dummy directory, and stop if the command works. 3765 rm -rf conftest.dir 3766 mkdir conftest.dir 3767 echo GrepMe > conftest.dir/file 3768 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 3769 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 3770 ac_status=$? 3771 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3772 (exit $ac_status); } 3773 rm -rf conftest.dir 3774 if test -s conftest.tar; then 3775 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5 3776 ($am__untar <conftest.tar) >&5 2>&5 3777 ac_status=$? 3778 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3779 (exit $ac_status); } 3780 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5 3781 (cat conftest.dir/file) >&5 2>&5 3782 ac_status=$? 3783 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3784 (exit $ac_status); } 3785 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 3786 fi 3787 done 3788 rm -rf conftest.dir 3789 3790 if ${am_cv_prog_tar_ustar+:} false; then : 3791 $as_echo_n "(cached) " >&6 3792else 3793 am_cv_prog_tar_ustar=$_am_tool 3794fi 3795 3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5 3797$as_echo "$am_cv_prog_tar_ustar" >&6; } 3798 3799 3800 3801 3802 3803 3804# POSIX will say in a future version that running "rm -f" with no argument 3805# is OK; and we want to be able to make that assumption in our Makefile 3806# recipes. So use an aggressive probe to check that the usage we want is 3807# actually supported "in the wild" to an acceptable degree. 3808# See automake bug#10828. 3809# To make any issue more visible, cause the running configure to be aborted 3810# by default if the 'rm' program in use doesn't match our expectations; the 3811# user can still override this though. 3812if rm -f && rm -fr && rm -rf; then : OK; else 3813 cat >&2 <<'END' 3814Oops! 3815 3816Your 'rm' program seems unable to run without file operands specified 3817on the command line, even when the '-f' option is present. This is contrary 3818to the behaviour of most rm programs out there, and not conforming with 3819the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3820 3821Please tell bug-automake@gnu.org about your system, including the value 3822of your $PATH and any error possibly output before this message. This 3823can help us improve future automake versions. 3824 3825END 3826 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3827 echo 'Configuration will proceed anyway, since you have set the' >&2 3828 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3829 echo >&2 3830 else 3831 cat >&2 <<'END' 3832Aborting the configuration process, to ensure you take notice of the issue. 3833 3834You can download and install GNU coreutils to get an 'rm' implementation 3835that behaves properly: <https://www.gnu.org/software/coreutils/>. 3836 3837If you want to complete the configuration process using your problematic 3838'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3839to "yes", and re-run configure. 3840 3841END 3842 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3843 fi 3844fi 3845 3846 3847 3848 3849# Make sure we can run config.sub. 3850$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3851 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3852 3853{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3854$as_echo_n "checking build system type... " >&6; } 3855if ${ac_cv_build+:} false; then : 3856 $as_echo_n "(cached) " >&6 3857else 3858 ac_build_alias=$build_alias 3859test "x$ac_build_alias" = x && 3860 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3861test "x$ac_build_alias" = x && 3862 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3863ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3864 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3865 3866fi 3867{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3868$as_echo "$ac_cv_build" >&6; } 3869case $ac_cv_build in 3870*-*-*) ;; 3871*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3872esac 3873build=$ac_cv_build 3874ac_save_IFS=$IFS; IFS='-' 3875set x $ac_cv_build 3876shift 3877build_cpu=$1 3878build_vendor=$2 3879shift; shift 3880# Remember, the first character of IFS is used to create $*, 3881# except with old shells: 3882build_os=$* 3883IFS=$ac_save_IFS 3884case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3885 3886 3887{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3888$as_echo_n "checking host system type... " >&6; } 3889if ${ac_cv_host+:} false; then : 3890 $as_echo_n "(cached) " >&6 3891else 3892 if test "x$host_alias" = x; then 3893 ac_cv_host=$ac_cv_build 3894else 3895 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3896 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3897fi 3898 3899fi 3900{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3901$as_echo "$ac_cv_host" >&6; } 3902case $ac_cv_host in 3903*-*-*) ;; 3904*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3905esac 3906host=$ac_cv_host 3907ac_save_IFS=$IFS; IFS='-' 3908set x $ac_cv_host 3909shift 3910host_cpu=$1 3911host_vendor=$2 3912shift; shift 3913# Remember, the first character of IFS is used to create $*, 3914# except with old shells: 3915host_os=$* 3916IFS=$ac_save_IFS 3917case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3918 3919 3920 3921enable_win32_dll=yes 3922 3923case $host in 3924*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) 3925 if test -n "$ac_tool_prefix"; then 3926 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 3927set dummy ${ac_tool_prefix}as; ac_word=$2 3928{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3929$as_echo_n "checking for $ac_word... " >&6; } 3930if ${ac_cv_prog_AS+:} false; then : 3931 $as_echo_n "(cached) " >&6 3932else 3933 if test -n "$AS"; then 3934 ac_cv_prog_AS="$AS" # Let the user override the test. 3935else 3936as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3937for as_dir in $PATH 3938do 3939 IFS=$as_save_IFS 3940 test -z "$as_dir" && as_dir=. 3941 for ac_exec_ext in '' $ac_executable_extensions; do 3942 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3943 ac_cv_prog_AS="${ac_tool_prefix}as" 3944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3945 break 2 3946 fi 3947done 3948 done 3949IFS=$as_save_IFS 3950 3951fi 3952fi 3953AS=$ac_cv_prog_AS 3954if test -n "$AS"; then 3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 3956$as_echo "$AS" >&6; } 3957else 3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3959$as_echo "no" >&6; } 3960fi 3961 3962 3963fi 3964if test -z "$ac_cv_prog_AS"; then 3965 ac_ct_AS=$AS 3966 # Extract the first word of "as", so it can be a program name with args. 3967set dummy as; ac_word=$2 3968{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3969$as_echo_n "checking for $ac_word... " >&6; } 3970if ${ac_cv_prog_ac_ct_AS+:} false; then : 3971 $as_echo_n "(cached) " >&6 3972else 3973 if test -n "$ac_ct_AS"; then 3974 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 3975else 3976as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3977for as_dir in $PATH 3978do 3979 IFS=$as_save_IFS 3980 test -z "$as_dir" && as_dir=. 3981 for ac_exec_ext in '' $ac_executable_extensions; do 3982 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3983 ac_cv_prog_ac_ct_AS="as" 3984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3985 break 2 3986 fi 3987done 3988 done 3989IFS=$as_save_IFS 3990 3991fi 3992fi 3993ac_ct_AS=$ac_cv_prog_ac_ct_AS 3994if test -n "$ac_ct_AS"; then 3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 3996$as_echo "$ac_ct_AS" >&6; } 3997else 3998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3999$as_echo "no" >&6; } 4000fi 4001 4002 if test "x$ac_ct_AS" = x; then 4003 AS="false" 4004 else 4005 case $cross_compiling:$ac_tool_warned in 4006yes:) 4007{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4008$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4009ac_tool_warned=yes ;; 4010esac 4011 AS=$ac_ct_AS 4012 fi 4013else 4014 AS="$ac_cv_prog_AS" 4015fi 4016 4017 if test -n "$ac_tool_prefix"; then 4018 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 4019set dummy ${ac_tool_prefix}dlltool; ac_word=$2 4020{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4021$as_echo_n "checking for $ac_word... " >&6; } 4022if ${ac_cv_prog_DLLTOOL+:} false; then : 4023 $as_echo_n "(cached) " >&6 4024else 4025 if test -n "$DLLTOOL"; then 4026 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 4027else 4028as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4029for as_dir in $PATH 4030do 4031 IFS=$as_save_IFS 4032 test -z "$as_dir" && as_dir=. 4033 for ac_exec_ext in '' $ac_executable_extensions; do 4034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4035 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 4036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4037 break 2 4038 fi 4039done 4040 done 4041IFS=$as_save_IFS 4042 4043fi 4044fi 4045DLLTOOL=$ac_cv_prog_DLLTOOL 4046if test -n "$DLLTOOL"; then 4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 4048$as_echo "$DLLTOOL" >&6; } 4049else 4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4051$as_echo "no" >&6; } 4052fi 4053 4054 4055fi 4056if test -z "$ac_cv_prog_DLLTOOL"; then 4057 ac_ct_DLLTOOL=$DLLTOOL 4058 # Extract the first word of "dlltool", so it can be a program name with args. 4059set dummy dlltool; ac_word=$2 4060{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4061$as_echo_n "checking for $ac_word... " >&6; } 4062if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 4063 $as_echo_n "(cached) " >&6 4064else 4065 if test -n "$ac_ct_DLLTOOL"; then 4066 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 4067else 4068as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4069for as_dir in $PATH 4070do 4071 IFS=$as_save_IFS 4072 test -z "$as_dir" && as_dir=. 4073 for ac_exec_ext in '' $ac_executable_extensions; do 4074 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4075 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 4076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4077 break 2 4078 fi 4079done 4080 done 4081IFS=$as_save_IFS 4082 4083fi 4084fi 4085ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 4086if test -n "$ac_ct_DLLTOOL"; then 4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 4088$as_echo "$ac_ct_DLLTOOL" >&6; } 4089else 4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4091$as_echo "no" >&6; } 4092fi 4093 4094 if test "x$ac_ct_DLLTOOL" = x; then 4095 DLLTOOL="false" 4096 else 4097 case $cross_compiling:$ac_tool_warned in 4098yes:) 4099{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4100$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4101ac_tool_warned=yes ;; 4102esac 4103 DLLTOOL=$ac_ct_DLLTOOL 4104 fi 4105else 4106 DLLTOOL="$ac_cv_prog_DLLTOOL" 4107fi 4108 4109 if test -n "$ac_tool_prefix"; then 4110 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 4111set dummy ${ac_tool_prefix}objdump; ac_word=$2 4112{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4113$as_echo_n "checking for $ac_word... " >&6; } 4114if ${ac_cv_prog_OBJDUMP+:} false; then : 4115 $as_echo_n "(cached) " >&6 4116else 4117 if test -n "$OBJDUMP"; then 4118 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 4119else 4120as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4121for as_dir in $PATH 4122do 4123 IFS=$as_save_IFS 4124 test -z "$as_dir" && as_dir=. 4125 for ac_exec_ext in '' $ac_executable_extensions; do 4126 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4127 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 4128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4129 break 2 4130 fi 4131done 4132 done 4133IFS=$as_save_IFS 4134 4135fi 4136fi 4137OBJDUMP=$ac_cv_prog_OBJDUMP 4138if test -n "$OBJDUMP"; then 4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 4140$as_echo "$OBJDUMP" >&6; } 4141else 4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4143$as_echo "no" >&6; } 4144fi 4145 4146 4147fi 4148if test -z "$ac_cv_prog_OBJDUMP"; then 4149 ac_ct_OBJDUMP=$OBJDUMP 4150 # Extract the first word of "objdump", so it can be a program name with args. 4151set dummy objdump; ac_word=$2 4152{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4153$as_echo_n "checking for $ac_word... " >&6; } 4154if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 4155 $as_echo_n "(cached) " >&6 4156else 4157 if test -n "$ac_ct_OBJDUMP"; then 4158 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 4159else 4160as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4161for as_dir in $PATH 4162do 4163 IFS=$as_save_IFS 4164 test -z "$as_dir" && as_dir=. 4165 for ac_exec_ext in '' $ac_executable_extensions; do 4166 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4167 ac_cv_prog_ac_ct_OBJDUMP="objdump" 4168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4169 break 2 4170 fi 4171done 4172 done 4173IFS=$as_save_IFS 4174 4175fi 4176fi 4177ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 4178if test -n "$ac_ct_OBJDUMP"; then 4179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 4180$as_echo "$ac_ct_OBJDUMP" >&6; } 4181else 4182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4183$as_echo "no" >&6; } 4184fi 4185 4186 if test "x$ac_ct_OBJDUMP" = x; then 4187 OBJDUMP="false" 4188 else 4189 case $cross_compiling:$ac_tool_warned in 4190yes:) 4191{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4192$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4193ac_tool_warned=yes ;; 4194esac 4195 OBJDUMP=$ac_ct_OBJDUMP 4196 fi 4197else 4198 OBJDUMP="$ac_cv_prog_OBJDUMP" 4199fi 4200 4201 ;; 4202esac 4203 4204test -z "$AS" && AS=as 4205 4206 4207 4208 4209 4210test -z "$DLLTOOL" && DLLTOOL=dlltool 4211 4212 4213 4214 4215 4216test -z "$OBJDUMP" && OBJDUMP=objdump 4217 4218 4219 4220 4221 4222 4223 4224 4225ac_ext=c 4226ac_cpp='$CPP $CPPFLAGS' 4227ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4228ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4229ac_compiler_gnu=$ac_cv_c_compiler_gnu 4230if test -n "$ac_tool_prefix"; then 4231 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 4232set dummy ${ac_tool_prefix}gcc; ac_word=$2 4233{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4234$as_echo_n "checking for $ac_word... " >&6; } 4235if ${ac_cv_prog_CC+:} false; then : 4236 $as_echo_n "(cached) " >&6 4237else 4238 if test -n "$CC"; then 4239 ac_cv_prog_CC="$CC" # Let the user override the test. 4240else 4241as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4242for as_dir in $PATH 4243do 4244 IFS=$as_save_IFS 4245 test -z "$as_dir" && as_dir=. 4246 for ac_exec_ext in '' $ac_executable_extensions; do 4247 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4248 ac_cv_prog_CC="${ac_tool_prefix}gcc" 4249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4250 break 2 4251 fi 4252done 4253 done 4254IFS=$as_save_IFS 4255 4256fi 4257fi 4258CC=$ac_cv_prog_CC 4259if test -n "$CC"; then 4260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4261$as_echo "$CC" >&6; } 4262else 4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4264$as_echo "no" >&6; } 4265fi 4266 4267 4268fi 4269if test -z "$ac_cv_prog_CC"; then 4270 ac_ct_CC=$CC 4271 # Extract the first word of "gcc", so it can be a program name with args. 4272set dummy gcc; ac_word=$2 4273{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4274$as_echo_n "checking for $ac_word... " >&6; } 4275if ${ac_cv_prog_ac_ct_CC+:} false; then : 4276 $as_echo_n "(cached) " >&6 4277else 4278 if test -n "$ac_ct_CC"; then 4279 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4280else 4281as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4282for as_dir in $PATH 4283do 4284 IFS=$as_save_IFS 4285 test -z "$as_dir" && as_dir=. 4286 for ac_exec_ext in '' $ac_executable_extensions; do 4287 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4288 ac_cv_prog_ac_ct_CC="gcc" 4289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4290 break 2 4291 fi 4292done 4293 done 4294IFS=$as_save_IFS 4295 4296fi 4297fi 4298ac_ct_CC=$ac_cv_prog_ac_ct_CC 4299if test -n "$ac_ct_CC"; then 4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4301$as_echo "$ac_ct_CC" >&6; } 4302else 4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4304$as_echo "no" >&6; } 4305fi 4306 4307 if test "x$ac_ct_CC" = x; then 4308 CC="" 4309 else 4310 case $cross_compiling:$ac_tool_warned in 4311yes:) 4312{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4313$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4314ac_tool_warned=yes ;; 4315esac 4316 CC=$ac_ct_CC 4317 fi 4318else 4319 CC="$ac_cv_prog_CC" 4320fi 4321 4322if test -z "$CC"; then 4323 if test -n "$ac_tool_prefix"; then 4324 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 4325set dummy ${ac_tool_prefix}cc; ac_word=$2 4326{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4327$as_echo_n "checking for $ac_word... " >&6; } 4328if ${ac_cv_prog_CC+:} false; then : 4329 $as_echo_n "(cached) " >&6 4330else 4331 if test -n "$CC"; then 4332 ac_cv_prog_CC="$CC" # Let the user override the test. 4333else 4334as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4335for as_dir in $PATH 4336do 4337 IFS=$as_save_IFS 4338 test -z "$as_dir" && as_dir=. 4339 for ac_exec_ext in '' $ac_executable_extensions; do 4340 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4341 ac_cv_prog_CC="${ac_tool_prefix}cc" 4342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4343 break 2 4344 fi 4345done 4346 done 4347IFS=$as_save_IFS 4348 4349fi 4350fi 4351CC=$ac_cv_prog_CC 4352if test -n "$CC"; then 4353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4354$as_echo "$CC" >&6; } 4355else 4356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4357$as_echo "no" >&6; } 4358fi 4359 4360 4361 fi 4362fi 4363if test -z "$CC"; then 4364 # Extract the first word of "cc", so it can be a program name with args. 4365set dummy cc; ac_word=$2 4366{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4367$as_echo_n "checking for $ac_word... " >&6; } 4368if ${ac_cv_prog_CC+:} false; then : 4369 $as_echo_n "(cached) " >&6 4370else 4371 if test -n "$CC"; then 4372 ac_cv_prog_CC="$CC" # Let the user override the test. 4373else 4374 ac_prog_rejected=no 4375as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4376for as_dir in $PATH 4377do 4378 IFS=$as_save_IFS 4379 test -z "$as_dir" && as_dir=. 4380 for ac_exec_ext in '' $ac_executable_extensions; do 4381 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4382 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 4383 ac_prog_rejected=yes 4384 continue 4385 fi 4386 ac_cv_prog_CC="cc" 4387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4388 break 2 4389 fi 4390done 4391 done 4392IFS=$as_save_IFS 4393 4394if test $ac_prog_rejected = yes; then 4395 # We found a bogon in the path, so make sure we never use it. 4396 set dummy $ac_cv_prog_CC 4397 shift 4398 if test $# != 0; then 4399 # We chose a different compiler from the bogus one. 4400 # However, it has the same basename, so the bogon will be chosen 4401 # first if we set CC to just the basename; use the full file name. 4402 shift 4403 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 4404 fi 4405fi 4406fi 4407fi 4408CC=$ac_cv_prog_CC 4409if test -n "$CC"; then 4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4411$as_echo "$CC" >&6; } 4412else 4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4414$as_echo "no" >&6; } 4415fi 4416 4417 4418fi 4419if test -z "$CC"; then 4420 if test -n "$ac_tool_prefix"; then 4421 for ac_prog in cl.exe 4422 do 4423 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4424set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4425{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4426$as_echo_n "checking for $ac_word... " >&6; } 4427if ${ac_cv_prog_CC+:} false; then : 4428 $as_echo_n "(cached) " >&6 4429else 4430 if test -n "$CC"; then 4431 ac_cv_prog_CC="$CC" # Let the user override the test. 4432else 4433as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4434for as_dir in $PATH 4435do 4436 IFS=$as_save_IFS 4437 test -z "$as_dir" && as_dir=. 4438 for ac_exec_ext in '' $ac_executable_extensions; do 4439 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4440 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 4441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4442 break 2 4443 fi 4444done 4445 done 4446IFS=$as_save_IFS 4447 4448fi 4449fi 4450CC=$ac_cv_prog_CC 4451if test -n "$CC"; then 4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4453$as_echo "$CC" >&6; } 4454else 4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4456$as_echo "no" >&6; } 4457fi 4458 4459 4460 test -n "$CC" && break 4461 done 4462fi 4463if test -z "$CC"; then 4464 ac_ct_CC=$CC 4465 for ac_prog in cl.exe 4466do 4467 # Extract the first word of "$ac_prog", so it can be a program name with args. 4468set dummy $ac_prog; ac_word=$2 4469{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4470$as_echo_n "checking for $ac_word... " >&6; } 4471if ${ac_cv_prog_ac_ct_CC+:} false; then : 4472 $as_echo_n "(cached) " >&6 4473else 4474 if test -n "$ac_ct_CC"; then 4475 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4476else 4477as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4478for as_dir in $PATH 4479do 4480 IFS=$as_save_IFS 4481 test -z "$as_dir" && as_dir=. 4482 for ac_exec_ext in '' $ac_executable_extensions; do 4483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4484 ac_cv_prog_ac_ct_CC="$ac_prog" 4485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4486 break 2 4487 fi 4488done 4489 done 4490IFS=$as_save_IFS 4491 4492fi 4493fi 4494ac_ct_CC=$ac_cv_prog_ac_ct_CC 4495if test -n "$ac_ct_CC"; then 4496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4497$as_echo "$ac_ct_CC" >&6; } 4498else 4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4500$as_echo "no" >&6; } 4501fi 4502 4503 4504 test -n "$ac_ct_CC" && break 4505done 4506 4507 if test "x$ac_ct_CC" = x; then 4508 CC="" 4509 else 4510 case $cross_compiling:$ac_tool_warned in 4511yes:) 4512{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4513$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4514ac_tool_warned=yes ;; 4515esac 4516 CC=$ac_ct_CC 4517 fi 4518fi 4519 4520fi 4521 4522 4523test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4524$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4525as_fn_error $? "no acceptable C compiler found in \$PATH 4526See \`config.log' for more details" "$LINENO" 5; } 4527 4528# Provide some information about the compiler. 4529$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4530set X $ac_compile 4531ac_compiler=$2 4532for ac_option in --version -v -V -qversion; do 4533 { { ac_try="$ac_compiler $ac_option >&5" 4534case "(($ac_try" in 4535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4536 *) ac_try_echo=$ac_try;; 4537esac 4538eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4539$as_echo "$ac_try_echo"; } >&5 4540 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4541 ac_status=$? 4542 if test -s conftest.err; then 4543 sed '10a\ 4544... rest of stderr output deleted ... 4545 10q' conftest.err >conftest.er1 4546 cat conftest.er1 >&5 4547 fi 4548 rm -f conftest.er1 conftest.err 4549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4550 test $ac_status = 0; } 4551done 4552 4553cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4554/* end confdefs.h. */ 4555 4556int 4557main () 4558{ 4559 4560 ; 4561 return 0; 4562} 4563_ACEOF 4564ac_clean_files_save=$ac_clean_files 4565ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 4566# Try to create an executable without -o first, disregard a.out. 4567# It will help us diagnose broken compilers, and finding out an intuition 4568# of exeext. 4569{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 4570$as_echo_n "checking whether the C compiler works... " >&6; } 4571ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 4572 4573# The possible output files: 4574ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 4575 4576ac_rmfiles= 4577for ac_file in $ac_files 4578do 4579 case $ac_file in 4580 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4581 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 4582 esac 4583done 4584rm -f $ac_rmfiles 4585 4586if { { ac_try="$ac_link_default" 4587case "(($ac_try" in 4588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4589 *) ac_try_echo=$ac_try;; 4590esac 4591eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4592$as_echo "$ac_try_echo"; } >&5 4593 (eval "$ac_link_default") 2>&5 4594 ac_status=$? 4595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4596 test $ac_status = 0; }; then : 4597 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 4598# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 4599# in a Makefile. We should not override ac_cv_exeext if it was cached, 4600# so that the user can short-circuit this test for compilers unknown to 4601# Autoconf. 4602for ac_file in $ac_files '' 4603do 4604 test -f "$ac_file" || continue 4605 case $ac_file in 4606 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 4607 ;; 4608 [ab].out ) 4609 # We found the default executable, but exeext='' is most 4610 # certainly right. 4611 break;; 4612 *.* ) 4613 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 4614 then :; else 4615 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4616 fi 4617 # We set ac_cv_exeext here because the later test for it is not 4618 # safe: cross compilers may not add the suffix if given an `-o' 4619 # argument, so we may need to know it at that point already. 4620 # Even if this section looks crufty: it has the advantage of 4621 # actually working. 4622 break;; 4623 * ) 4624 break;; 4625 esac 4626done 4627test "$ac_cv_exeext" = no && ac_cv_exeext= 4628 4629else 4630 ac_file='' 4631fi 4632if test -z "$ac_file"; then : 4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4634$as_echo "no" >&6; } 4635$as_echo "$as_me: failed program was:" >&5 4636sed 's/^/| /' conftest.$ac_ext >&5 4637 4638{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4639$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4640as_fn_error 77 "C compiler cannot create executables 4641See \`config.log' for more details" "$LINENO" 5; } 4642else 4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4644$as_echo "yes" >&6; } 4645fi 4646{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 4647$as_echo_n "checking for C compiler default output file name... " >&6; } 4648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 4649$as_echo "$ac_file" >&6; } 4650ac_exeext=$ac_cv_exeext 4651 4652rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 4653ac_clean_files=$ac_clean_files_save 4654{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 4655$as_echo_n "checking for suffix of executables... " >&6; } 4656if { { ac_try="$ac_link" 4657case "(($ac_try" in 4658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4659 *) ac_try_echo=$ac_try;; 4660esac 4661eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4662$as_echo "$ac_try_echo"; } >&5 4663 (eval "$ac_link") 2>&5 4664 ac_status=$? 4665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4666 test $ac_status = 0; }; then : 4667 # If both `conftest.exe' and `conftest' are `present' (well, observable) 4668# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 4669# work properly (i.e., refer to `conftest.exe'), while it won't with 4670# `rm'. 4671for ac_file in conftest.exe conftest conftest.*; do 4672 test -f "$ac_file" || continue 4673 case $ac_file in 4674 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4675 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4676 break;; 4677 * ) break;; 4678 esac 4679done 4680else 4681 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4682$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4683as_fn_error $? "cannot compute suffix of executables: cannot compile and link 4684See \`config.log' for more details" "$LINENO" 5; } 4685fi 4686rm -f conftest conftest$ac_cv_exeext 4687{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 4688$as_echo "$ac_cv_exeext" >&6; } 4689 4690rm -f conftest.$ac_ext 4691EXEEXT=$ac_cv_exeext 4692ac_exeext=$EXEEXT 4693cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4694/* end confdefs.h. */ 4695#include <stdio.h> 4696int 4697main () 4698{ 4699FILE *f = fopen ("conftest.out", "w"); 4700 return ferror (f) || fclose (f) != 0; 4701 4702 ; 4703 return 0; 4704} 4705_ACEOF 4706ac_clean_files="$ac_clean_files conftest.out" 4707# Check that the compiler produces executables we can run. If not, either 4708# the compiler is broken, or we cross compile. 4709{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 4710$as_echo_n "checking whether we are cross compiling... " >&6; } 4711if test "$cross_compiling" != yes; then 4712 { { ac_try="$ac_link" 4713case "(($ac_try" in 4714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4715 *) ac_try_echo=$ac_try;; 4716esac 4717eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4718$as_echo "$ac_try_echo"; } >&5 4719 (eval "$ac_link") 2>&5 4720 ac_status=$? 4721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4722 test $ac_status = 0; } 4723 if { ac_try='./conftest$ac_cv_exeext' 4724 { { case "(($ac_try" in 4725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4726 *) ac_try_echo=$ac_try;; 4727esac 4728eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4729$as_echo "$ac_try_echo"; } >&5 4730 (eval "$ac_try") 2>&5 4731 ac_status=$? 4732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4733 test $ac_status = 0; }; }; then 4734 cross_compiling=no 4735 else 4736 if test "$cross_compiling" = maybe; then 4737 cross_compiling=yes 4738 else 4739 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4740$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4741as_fn_error $? "cannot run C compiled programs. 4742If you meant to cross compile, use \`--host'. 4743See \`config.log' for more details" "$LINENO" 5; } 4744 fi 4745 fi 4746fi 4747{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4748$as_echo "$cross_compiling" >&6; } 4749 4750rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 4751ac_clean_files=$ac_clean_files_save 4752{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4753$as_echo_n "checking for suffix of object files... " >&6; } 4754if ${ac_cv_objext+:} false; then : 4755 $as_echo_n "(cached) " >&6 4756else 4757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4758/* end confdefs.h. */ 4759 4760int 4761main () 4762{ 4763 4764 ; 4765 return 0; 4766} 4767_ACEOF 4768rm -f conftest.o conftest.obj 4769if { { ac_try="$ac_compile" 4770case "(($ac_try" in 4771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4772 *) ac_try_echo=$ac_try;; 4773esac 4774eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4775$as_echo "$ac_try_echo"; } >&5 4776 (eval "$ac_compile") 2>&5 4777 ac_status=$? 4778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4779 test $ac_status = 0; }; then : 4780 for ac_file in conftest.o conftest.obj conftest.*; do 4781 test -f "$ac_file" || continue; 4782 case $ac_file in 4783 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 4784 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 4785 break;; 4786 esac 4787done 4788else 4789 $as_echo "$as_me: failed program was:" >&5 4790sed 's/^/| /' conftest.$ac_ext >&5 4791 4792{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4793$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4794as_fn_error $? "cannot compute suffix of object files: cannot compile 4795See \`config.log' for more details" "$LINENO" 5; } 4796fi 4797rm -f conftest.$ac_cv_objext conftest.$ac_ext 4798fi 4799{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4800$as_echo "$ac_cv_objext" >&6; } 4801OBJEXT=$ac_cv_objext 4802ac_objext=$OBJEXT 4803{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4804$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4805if ${ac_cv_c_compiler_gnu+:} false; then : 4806 $as_echo_n "(cached) " >&6 4807else 4808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4809/* end confdefs.h. */ 4810 4811int 4812main () 4813{ 4814#ifndef __GNUC__ 4815 choke me 4816#endif 4817 4818 ; 4819 return 0; 4820} 4821_ACEOF 4822if ac_fn_c_try_compile "$LINENO"; then : 4823 ac_compiler_gnu=yes 4824else 4825 ac_compiler_gnu=no 4826fi 4827rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4828ac_cv_c_compiler_gnu=$ac_compiler_gnu 4829 4830fi 4831{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4832$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4833if test $ac_compiler_gnu = yes; then 4834 GCC=yes 4835else 4836 GCC= 4837fi 4838ac_test_CFLAGS=${CFLAGS+set} 4839ac_save_CFLAGS=$CFLAGS 4840{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4841$as_echo_n "checking whether $CC accepts -g... " >&6; } 4842if ${ac_cv_prog_cc_g+:} false; then : 4843 $as_echo_n "(cached) " >&6 4844else 4845 ac_save_c_werror_flag=$ac_c_werror_flag 4846 ac_c_werror_flag=yes 4847 ac_cv_prog_cc_g=no 4848 CFLAGS="-g" 4849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4850/* end confdefs.h. */ 4851 4852int 4853main () 4854{ 4855 4856 ; 4857 return 0; 4858} 4859_ACEOF 4860if ac_fn_c_try_compile "$LINENO"; then : 4861 ac_cv_prog_cc_g=yes 4862else 4863 CFLAGS="" 4864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4865/* end confdefs.h. */ 4866 4867int 4868main () 4869{ 4870 4871 ; 4872 return 0; 4873} 4874_ACEOF 4875if ac_fn_c_try_compile "$LINENO"; then : 4876 4877else 4878 ac_c_werror_flag=$ac_save_c_werror_flag 4879 CFLAGS="-g" 4880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4881/* end confdefs.h. */ 4882 4883int 4884main () 4885{ 4886 4887 ; 4888 return 0; 4889} 4890_ACEOF 4891if ac_fn_c_try_compile "$LINENO"; then : 4892 ac_cv_prog_cc_g=yes 4893fi 4894rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4895fi 4896rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4897fi 4898rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4899 ac_c_werror_flag=$ac_save_c_werror_flag 4900fi 4901{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4902$as_echo "$ac_cv_prog_cc_g" >&6; } 4903if test "$ac_test_CFLAGS" = set; then 4904 CFLAGS=$ac_save_CFLAGS 4905elif test $ac_cv_prog_cc_g = yes; then 4906 if test "$GCC" = yes; then 4907 CFLAGS="-g -O2" 4908 else 4909 CFLAGS="-g" 4910 fi 4911else 4912 if test "$GCC" = yes; then 4913 CFLAGS="-O2" 4914 else 4915 CFLAGS= 4916 fi 4917fi 4918{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4919$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4920if ${ac_cv_prog_cc_c89+:} false; then : 4921 $as_echo_n "(cached) " >&6 4922else 4923 ac_cv_prog_cc_c89=no 4924ac_save_CC=$CC 4925cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4926/* end confdefs.h. */ 4927#include <stdarg.h> 4928#include <stdio.h> 4929struct stat; 4930/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4931struct buf { int x; }; 4932FILE * (*rcsopen) (struct buf *, struct stat *, int); 4933static char *e (p, i) 4934 char **p; 4935 int i; 4936{ 4937 return p[i]; 4938} 4939static char *f (char * (*g) (char **, int), char **p, ...) 4940{ 4941 char *s; 4942 va_list v; 4943 va_start (v,p); 4944 s = g (p, va_arg (v,int)); 4945 va_end (v); 4946 return s; 4947} 4948 4949/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4950 function prototypes and stuff, but not '\xHH' hex character constants. 4951 These don't provoke an error unfortunately, instead are silently treated 4952 as 'x'. The following induces an error, until -std is added to get 4953 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4954 array size at least. It's necessary to write '\x00'==0 to get something 4955 that's true only with -std. */ 4956int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4957 4958/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4959 inside strings and character constants. */ 4960#define FOO(x) 'x' 4961int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4962 4963int test (int i, double x); 4964struct s1 {int (*f) (int a);}; 4965struct s2 {int (*f) (double a);}; 4966int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4967int argc; 4968char **argv; 4969int 4970main () 4971{ 4972return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4973 ; 4974 return 0; 4975} 4976_ACEOF 4977for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4978 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4979do 4980 CC="$ac_save_CC $ac_arg" 4981 if ac_fn_c_try_compile "$LINENO"; then : 4982 ac_cv_prog_cc_c89=$ac_arg 4983fi 4984rm -f core conftest.err conftest.$ac_objext 4985 test "x$ac_cv_prog_cc_c89" != "xno" && break 4986done 4987rm -f conftest.$ac_ext 4988CC=$ac_save_CC 4989 4990fi 4991# AC_CACHE_VAL 4992case "x$ac_cv_prog_cc_c89" in 4993 x) 4994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4995$as_echo "none needed" >&6; } ;; 4996 xno) 4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4998$as_echo "unsupported" >&6; } ;; 4999 *) 5000 CC="$CC $ac_cv_prog_cc_c89" 5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 5002$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 5003esac 5004if test "x$ac_cv_prog_cc_c89" != xno; then : 5005 5006fi 5007 5008ac_ext=c 5009ac_cpp='$CPP $CPPFLAGS' 5010ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5011ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5012ac_compiler_gnu=$ac_cv_c_compiler_gnu 5013 5014ac_ext=c 5015ac_cpp='$CPP $CPPFLAGS' 5016ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5017ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5018ac_compiler_gnu=$ac_cv_c_compiler_gnu 5019{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 5020$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 5021if ${am_cv_prog_cc_c_o+:} false; then : 5022 $as_echo_n "(cached) " >&6 5023else 5024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5025/* end confdefs.h. */ 5026 5027int 5028main () 5029{ 5030 5031 ; 5032 return 0; 5033} 5034_ACEOF 5035 # Make sure it works both with $CC and with simple cc. 5036 # Following AC_PROG_CC_C_O, we do the test twice because some 5037 # compilers refuse to overwrite an existing .o file with -o, 5038 # though they will create one. 5039 am_cv_prog_cc_c_o=yes 5040 for am_i in 1 2; do 5041 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 5042 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 5043 ac_status=$? 5044 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5045 (exit $ac_status); } \ 5046 && test -f conftest2.$ac_objext; then 5047 : OK 5048 else 5049 am_cv_prog_cc_c_o=no 5050 break 5051 fi 5052 done 5053 rm -f core conftest* 5054 unset am_i 5055fi 5056{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 5057$as_echo "$am_cv_prog_cc_c_o" >&6; } 5058if test "$am_cv_prog_cc_c_o" != yes; then 5059 # Losing compiler, so override with the script. 5060 # FIXME: It is wrong to rewrite CC. 5061 # But if we don't then we get into trouble of one sort or another. 5062 # A longer-term fix would be to have automake use am__CC in this case, 5063 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 5064 CC="$am_aux_dir/compile $CC" 5065fi 5066ac_ext=c 5067ac_cpp='$CPP $CPPFLAGS' 5068ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5069ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5070ac_compiler_gnu=$ac_cv_c_compiler_gnu 5071 5072DEPDIR="${am__leading_dot}deps" 5073 5074ac_config_commands="$ac_config_commands depfiles" 5075 5076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 5077$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } 5078cat > confinc.mk << 'END' 5079am__doit: 5080 @echo this is the am__doit target >confinc.out 5081.PHONY: am__doit 5082END 5083am__include="#" 5084am__quote= 5085# BSD make does it like this. 5086echo '.include "confinc.mk" # ignored' > confmf.BSD 5087# Other make implementations (GNU, Solaris 10, AIX) do it like this. 5088echo 'include confinc.mk # ignored' > confmf.GNU 5089_am_result=no 5090for s in GNU BSD; do 5091 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 5092 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 5093 ac_status=$? 5094 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5095 (exit $ac_status); } 5096 case $?:`cat confinc.out 2>/dev/null` in #( 5097 '0:this is the am__doit target') : 5098 case $s in #( 5099 BSD) : 5100 am__include='.include' am__quote='"' ;; #( 5101 *) : 5102 am__include='include' am__quote='' ;; 5103esac ;; #( 5104 *) : 5105 ;; 5106esac 5107 if test "$am__include" != "#"; then 5108 _am_result="yes ($s style)" 5109 break 5110 fi 5111done 5112rm -f confinc.* confmf.* 5113{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 5114$as_echo "${_am_result}" >&6; } 5115 5116# Check whether --enable-dependency-tracking was given. 5117if test "${enable_dependency_tracking+set}" = set; then : 5118 enableval=$enable_dependency_tracking; 5119fi 5120 5121if test "x$enable_dependency_tracking" != xno; then 5122 am_depcomp="$ac_aux_dir/depcomp" 5123 AMDEPBACKSLASH='\' 5124 am__nodep='_no' 5125fi 5126 if test "x$enable_dependency_tracking" != xno; then 5127 AMDEP_TRUE= 5128 AMDEP_FALSE='#' 5129else 5130 AMDEP_TRUE='#' 5131 AMDEP_FALSE= 5132fi 5133 5134 5135 5136depcc="$CC" am_compiler_list= 5137 5138{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5139$as_echo_n "checking dependency style of $depcc... " >&6; } 5140if ${am_cv_CC_dependencies_compiler_type+:} false; then : 5141 $as_echo_n "(cached) " >&6 5142else 5143 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5144 # We make a subdir and do the tests there. Otherwise we can end up 5145 # making bogus files that we don't know about and never remove. For 5146 # instance it was reported that on HP-UX the gcc test will end up 5147 # making a dummy file named 'D' -- because '-MD' means "put the output 5148 # in D". 5149 rm -rf conftest.dir 5150 mkdir conftest.dir 5151 # Copy depcomp to subdir because otherwise we won't find it if we're 5152 # using a relative directory. 5153 cp "$am_depcomp" conftest.dir 5154 cd conftest.dir 5155 # We will build objects and dependencies in a subdirectory because 5156 # it helps to detect inapplicable dependency modes. For instance 5157 # both Tru64's cc and ICC support -MD to output dependencies as a 5158 # side effect of compilation, but ICC will put the dependencies in 5159 # the current directory while Tru64 will put them in the object 5160 # directory. 5161 mkdir sub 5162 5163 am_cv_CC_dependencies_compiler_type=none 5164 if test "$am_compiler_list" = ""; then 5165 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5166 fi 5167 am__universal=false 5168 case " $depcc " in #( 5169 *\ -arch\ *\ -arch\ *) am__universal=true ;; 5170 esac 5171 5172 for depmode in $am_compiler_list; do 5173 # Setup a source with many dependencies, because some compilers 5174 # like to wrap large dependency lists on column 80 (with \), and 5175 # we should not choose a depcomp mode which is confused by this. 5176 # 5177 # We need to recreate these files for each test, as the compiler may 5178 # overwrite some of them when testing with obscure command lines. 5179 # This happens at least with the AIX C compiler. 5180 : > sub/conftest.c 5181 for i in 1 2 3 4 5 6; do 5182 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5183 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 5184 # Solaris 10 /bin/sh. 5185 echo '/* dummy */' > sub/conftst$i.h 5186 done 5187 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5188 5189 # We check with '-c' and '-o' for the sake of the "dashmstdout" 5190 # mode. It turns out that the SunPro C++ compiler does not properly 5191 # handle '-M -o', and we need to detect this. Also, some Intel 5192 # versions had trouble with output in subdirs. 5193 am__obj=sub/conftest.${OBJEXT-o} 5194 am__minus_obj="-o $am__obj" 5195 case $depmode in 5196 gcc) 5197 # This depmode causes a compiler race in universal mode. 5198 test "$am__universal" = false || continue 5199 ;; 5200 nosideeffect) 5201 # After this tag, mechanisms are not by side-effect, so they'll 5202 # only be used when explicitly requested. 5203 if test "x$enable_dependency_tracking" = xyes; then 5204 continue 5205 else 5206 break 5207 fi 5208 ;; 5209 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 5210 # This compiler won't grok '-c -o', but also, the minuso test has 5211 # not run yet. These depmodes are late enough in the game, and 5212 # so weak that their functioning should not be impacted. 5213 am__obj=conftest.${OBJEXT-o} 5214 am__minus_obj= 5215 ;; 5216 none) break ;; 5217 esac 5218 if depmode=$depmode \ 5219 source=sub/conftest.c object=$am__obj \ 5220 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5221 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 5222 >/dev/null 2>conftest.err && 5223 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 5224 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5225 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 5226 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5227 # icc doesn't choke on unknown options, it will just issue warnings 5228 # or remarks (even with -Werror). So we grep stderr for any message 5229 # that says an option was ignored or not supported. 5230 # When given -MP, icc 7.0 and 7.1 complain thusly: 5231 # icc: Command line warning: ignoring option '-M'; no argument required 5232 # The diagnosis changed in icc 8.0: 5233 # icc: Command line remark: option '-MP' not supported 5234 if (grep 'ignoring option' conftest.err || 5235 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 5236 am_cv_CC_dependencies_compiler_type=$depmode 5237 break 5238 fi 5239 fi 5240 done 5241 5242 cd .. 5243 rm -rf conftest.dir 5244else 5245 am_cv_CC_dependencies_compiler_type=none 5246fi 5247 5248fi 5249{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 5250$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 5251CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 5252 5253 if 5254 test "x$enable_dependency_tracking" != xno \ 5255 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 5256 am__fastdepCC_TRUE= 5257 am__fastdepCC_FALSE='#' 5258else 5259 am__fastdepCC_TRUE='#' 5260 am__fastdepCC_FALSE= 5261fi 5262 5263 5264 5265ac_ext=c 5266ac_cpp='$CPP $CPPFLAGS' 5267ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5268ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5269ac_compiler_gnu=$ac_cv_c_compiler_gnu 5270{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 5271$as_echo_n "checking how to run the C preprocessor... " >&6; } 5272# On Suns, sometimes $CPP names a directory. 5273if test -n "$CPP" && test -d "$CPP"; then 5274 CPP= 5275fi 5276if test -z "$CPP"; then 5277 if ${ac_cv_prog_CPP+:} false; then : 5278 $as_echo_n "(cached) " >&6 5279else 5280 # Double quotes because CPP needs to be expanded 5281 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 5282 do 5283 ac_preproc_ok=false 5284for ac_c_preproc_warn_flag in '' yes 5285do 5286 # Use a header file that comes with gcc, so configuring glibc 5287 # with a fresh cross-compiler works. 5288 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5289 # <limits.h> exists even on freestanding compilers. 5290 # On the NeXT, cc -E runs the code through the compiler's parser, 5291 # not just through cpp. "Syntax error" is here to catch this case. 5292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5293/* end confdefs.h. */ 5294#ifdef __STDC__ 5295# include <limits.h> 5296#else 5297# include <assert.h> 5298#endif 5299 Syntax error 5300_ACEOF 5301if ac_fn_c_try_cpp "$LINENO"; then : 5302 5303else 5304 # Broken: fails on valid input. 5305continue 5306fi 5307rm -f conftest.err conftest.i conftest.$ac_ext 5308 5309 # OK, works on sane cases. Now check whether nonexistent headers 5310 # can be detected and how. 5311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5312/* end confdefs.h. */ 5313#include <ac_nonexistent.h> 5314_ACEOF 5315if ac_fn_c_try_cpp "$LINENO"; then : 5316 # Broken: success on invalid input. 5317continue 5318else 5319 # Passes both tests. 5320ac_preproc_ok=: 5321break 5322fi 5323rm -f conftest.err conftest.i conftest.$ac_ext 5324 5325done 5326# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5327rm -f conftest.i conftest.err conftest.$ac_ext 5328if $ac_preproc_ok; then : 5329 break 5330fi 5331 5332 done 5333 ac_cv_prog_CPP=$CPP 5334 5335fi 5336 CPP=$ac_cv_prog_CPP 5337else 5338 ac_cv_prog_CPP=$CPP 5339fi 5340{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 5341$as_echo "$CPP" >&6; } 5342ac_preproc_ok=false 5343for ac_c_preproc_warn_flag in '' yes 5344do 5345 # Use a header file that comes with gcc, so configuring glibc 5346 # with a fresh cross-compiler works. 5347 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5348 # <limits.h> exists even on freestanding compilers. 5349 # On the NeXT, cc -E runs the code through the compiler's parser, 5350 # not just through cpp. "Syntax error" is here to catch this case. 5351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5352/* end confdefs.h. */ 5353#ifdef __STDC__ 5354# include <limits.h> 5355#else 5356# include <assert.h> 5357#endif 5358 Syntax error 5359_ACEOF 5360if ac_fn_c_try_cpp "$LINENO"; then : 5361 5362else 5363 # Broken: fails on valid input. 5364continue 5365fi 5366rm -f conftest.err conftest.i conftest.$ac_ext 5367 5368 # OK, works on sane cases. Now check whether nonexistent headers 5369 # can be detected and how. 5370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5371/* end confdefs.h. */ 5372#include <ac_nonexistent.h> 5373_ACEOF 5374if ac_fn_c_try_cpp "$LINENO"; then : 5375 # Broken: success on invalid input. 5376continue 5377else 5378 # Passes both tests. 5379ac_preproc_ok=: 5380break 5381fi 5382rm -f conftest.err conftest.i conftest.$ac_ext 5383 5384done 5385# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5386rm -f conftest.i conftest.err conftest.$ac_ext 5387if $ac_preproc_ok; then : 5388 5389else 5390 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5391$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5392as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 5393See \`config.log' for more details" "$LINENO" 5; } 5394fi 5395 5396ac_ext=c 5397ac_cpp='$CPP $CPPFLAGS' 5398ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5399ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5400ac_compiler_gnu=$ac_cv_c_compiler_gnu 5401 5402 5403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 5404$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 5405if ${ac_cv_path_GREP+:} false; then : 5406 $as_echo_n "(cached) " >&6 5407else 5408 if test -z "$GREP"; then 5409 ac_path_GREP_found=false 5410 # Loop through the user's path and test for each of PROGNAME-LIST 5411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5412for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5413do 5414 IFS=$as_save_IFS 5415 test -z "$as_dir" && as_dir=. 5416 for ac_prog in grep ggrep; do 5417 for ac_exec_ext in '' $ac_executable_extensions; do 5418 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 5419 as_fn_executable_p "$ac_path_GREP" || continue 5420# Check for GNU ac_path_GREP and select it if it is found. 5421 # Check for GNU $ac_path_GREP 5422case `"$ac_path_GREP" --version 2>&1` in 5423*GNU*) 5424 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 5425*) 5426 ac_count=0 5427 $as_echo_n 0123456789 >"conftest.in" 5428 while : 5429 do 5430 cat "conftest.in" "conftest.in" >"conftest.tmp" 5431 mv "conftest.tmp" "conftest.in" 5432 cp "conftest.in" "conftest.nl" 5433 $as_echo 'GREP' >> "conftest.nl" 5434 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5435 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5436 as_fn_arith $ac_count + 1 && ac_count=$as_val 5437 if test $ac_count -gt ${ac_path_GREP_max-0}; then 5438 # Best one so far, save it but keep looking for a better one 5439 ac_cv_path_GREP="$ac_path_GREP" 5440 ac_path_GREP_max=$ac_count 5441 fi 5442 # 10*(2^10) chars as input seems more than enough 5443 test $ac_count -gt 10 && break 5444 done 5445 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5446esac 5447 5448 $ac_path_GREP_found && break 3 5449 done 5450 done 5451 done 5452IFS=$as_save_IFS 5453 if test -z "$ac_cv_path_GREP"; then 5454 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5455 fi 5456else 5457 ac_cv_path_GREP=$GREP 5458fi 5459 5460fi 5461{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 5462$as_echo "$ac_cv_path_GREP" >&6; } 5463 GREP="$ac_cv_path_GREP" 5464 5465 5466{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 5467$as_echo_n "checking for egrep... " >&6; } 5468if ${ac_cv_path_EGREP+:} false; then : 5469 $as_echo_n "(cached) " >&6 5470else 5471 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 5472 then ac_cv_path_EGREP="$GREP -E" 5473 else 5474 if test -z "$EGREP"; then 5475 ac_path_EGREP_found=false 5476 # Loop through the user's path and test for each of PROGNAME-LIST 5477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5478for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5479do 5480 IFS=$as_save_IFS 5481 test -z "$as_dir" && as_dir=. 5482 for ac_prog in egrep; do 5483 for ac_exec_ext in '' $ac_executable_extensions; do 5484 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 5485 as_fn_executable_p "$ac_path_EGREP" || continue 5486# Check for GNU ac_path_EGREP and select it if it is found. 5487 # Check for GNU $ac_path_EGREP 5488case `"$ac_path_EGREP" --version 2>&1` in 5489*GNU*) 5490 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 5491*) 5492 ac_count=0 5493 $as_echo_n 0123456789 >"conftest.in" 5494 while : 5495 do 5496 cat "conftest.in" "conftest.in" >"conftest.tmp" 5497 mv "conftest.tmp" "conftest.in" 5498 cp "conftest.in" "conftest.nl" 5499 $as_echo 'EGREP' >> "conftest.nl" 5500 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5501 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5502 as_fn_arith $ac_count + 1 && ac_count=$as_val 5503 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 5504 # Best one so far, save it but keep looking for a better one 5505 ac_cv_path_EGREP="$ac_path_EGREP" 5506 ac_path_EGREP_max=$ac_count 5507 fi 5508 # 10*(2^10) chars as input seems more than enough 5509 test $ac_count -gt 10 && break 5510 done 5511 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5512esac 5513 5514 $ac_path_EGREP_found && break 3 5515 done 5516 done 5517 done 5518IFS=$as_save_IFS 5519 if test -z "$ac_cv_path_EGREP"; then 5520 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5521 fi 5522else 5523 ac_cv_path_EGREP=$EGREP 5524fi 5525 5526 fi 5527fi 5528{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 5529$as_echo "$ac_cv_path_EGREP" >&6; } 5530 EGREP="$ac_cv_path_EGREP" 5531 5532 5533if test $ac_cv_c_compiler_gnu = yes; then 5534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 5535$as_echo_n "checking whether $CC needs -traditional... " >&6; } 5536if ${ac_cv_prog_gcc_traditional+:} false; then : 5537 $as_echo_n "(cached) " >&6 5538else 5539 ac_pattern="Autoconf.*'x'" 5540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5541/* end confdefs.h. */ 5542#include <sgtty.h> 5543Autoconf TIOCGETP 5544_ACEOF 5545if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5546 $EGREP "$ac_pattern" >/dev/null 2>&1; then : 5547 ac_cv_prog_gcc_traditional=yes 5548else 5549 ac_cv_prog_gcc_traditional=no 5550fi 5551rm -f conftest* 5552 5553 5554 if test $ac_cv_prog_gcc_traditional = no; then 5555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5556/* end confdefs.h. */ 5557#include <termio.h> 5558Autoconf TCGETA 5559_ACEOF 5560if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5561 $EGREP "$ac_pattern" >/dev/null 2>&1; then : 5562 ac_cv_prog_gcc_traditional=yes 5563fi 5564rm -f conftest* 5565 5566 fi 5567fi 5568{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5 5569$as_echo "$ac_cv_prog_gcc_traditional" >&6; } 5570 if test $ac_cv_prog_gcc_traditional = yes; then 5571 CC="$CC -traditional" 5572 fi 5573fi 5574 5575ac_ext=cpp 5576ac_cpp='$CXXCPP $CPPFLAGS' 5577ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5578ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5579ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 5580if test -z "$CXX"; then 5581 if test -n "$CCC"; then 5582 CXX=$CCC 5583 else 5584 if test -n "$ac_tool_prefix"; then 5585 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 5586 do 5587 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5588set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5589{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5590$as_echo_n "checking for $ac_word... " >&6; } 5591if ${ac_cv_prog_CXX+:} false; then : 5592 $as_echo_n "(cached) " >&6 5593else 5594 if test -n "$CXX"; then 5595 ac_cv_prog_CXX="$CXX" # Let the user override the test. 5596else 5597as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5598for as_dir in $PATH 5599do 5600 IFS=$as_save_IFS 5601 test -z "$as_dir" && as_dir=. 5602 for ac_exec_ext in '' $ac_executable_extensions; do 5603 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5604 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 5605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5606 break 2 5607 fi 5608done 5609 done 5610IFS=$as_save_IFS 5611 5612fi 5613fi 5614CXX=$ac_cv_prog_CXX 5615if test -n "$CXX"; then 5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 5617$as_echo "$CXX" >&6; } 5618else 5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5620$as_echo "no" >&6; } 5621fi 5622 5623 5624 test -n "$CXX" && break 5625 done 5626fi 5627if test -z "$CXX"; then 5628 ac_ct_CXX=$CXX 5629 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 5630do 5631 # Extract the first word of "$ac_prog", so it can be a program name with args. 5632set dummy $ac_prog; ac_word=$2 5633{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5634$as_echo_n "checking for $ac_word... " >&6; } 5635if ${ac_cv_prog_ac_ct_CXX+:} false; then : 5636 $as_echo_n "(cached) " >&6 5637else 5638 if test -n "$ac_ct_CXX"; then 5639 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 5640else 5641as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5642for as_dir in $PATH 5643do 5644 IFS=$as_save_IFS 5645 test -z "$as_dir" && as_dir=. 5646 for ac_exec_ext in '' $ac_executable_extensions; do 5647 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5648 ac_cv_prog_ac_ct_CXX="$ac_prog" 5649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5650 break 2 5651 fi 5652done 5653 done 5654IFS=$as_save_IFS 5655 5656fi 5657fi 5658ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 5659if test -n "$ac_ct_CXX"; then 5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 5661$as_echo "$ac_ct_CXX" >&6; } 5662else 5663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5664$as_echo "no" >&6; } 5665fi 5666 5667 5668 test -n "$ac_ct_CXX" && break 5669done 5670 5671 if test "x$ac_ct_CXX" = x; then 5672 CXX="g++" 5673 else 5674 case $cross_compiling:$ac_tool_warned in 5675yes:) 5676{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5677$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5678ac_tool_warned=yes ;; 5679esac 5680 CXX=$ac_ct_CXX 5681 fi 5682fi 5683 5684 fi 5685fi 5686# Provide some information about the compiler. 5687$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 5688set X $ac_compile 5689ac_compiler=$2 5690for ac_option in --version -v -V -qversion; do 5691 { { ac_try="$ac_compiler $ac_option >&5" 5692case "(($ac_try" in 5693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5694 *) ac_try_echo=$ac_try;; 5695esac 5696eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5697$as_echo "$ac_try_echo"; } >&5 5698 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 5699 ac_status=$? 5700 if test -s conftest.err; then 5701 sed '10a\ 5702... rest of stderr output deleted ... 5703 10q' conftest.err >conftest.er1 5704 cat conftest.er1 >&5 5705 fi 5706 rm -f conftest.er1 conftest.err 5707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5708 test $ac_status = 0; } 5709done 5710 5711{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 5712$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 5713if ${ac_cv_cxx_compiler_gnu+:} false; then : 5714 $as_echo_n "(cached) " >&6 5715else 5716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5717/* end confdefs.h. */ 5718 5719int 5720main () 5721{ 5722#ifndef __GNUC__ 5723 choke me 5724#endif 5725 5726 ; 5727 return 0; 5728} 5729_ACEOF 5730if ac_fn_cxx_try_compile "$LINENO"; then : 5731 ac_compiler_gnu=yes 5732else 5733 ac_compiler_gnu=no 5734fi 5735rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5736ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 5737 5738fi 5739{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 5740$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 5741if test $ac_compiler_gnu = yes; then 5742 GXX=yes 5743else 5744 GXX= 5745fi 5746ac_test_CXXFLAGS=${CXXFLAGS+set} 5747ac_save_CXXFLAGS=$CXXFLAGS 5748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 5749$as_echo_n "checking whether $CXX accepts -g... " >&6; } 5750if ${ac_cv_prog_cxx_g+:} false; then : 5751 $as_echo_n "(cached) " >&6 5752else 5753 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 5754 ac_cxx_werror_flag=yes 5755 ac_cv_prog_cxx_g=no 5756 CXXFLAGS="-g" 5757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5758/* end confdefs.h. */ 5759 5760int 5761main () 5762{ 5763 5764 ; 5765 return 0; 5766} 5767_ACEOF 5768if ac_fn_cxx_try_compile "$LINENO"; then : 5769 ac_cv_prog_cxx_g=yes 5770else 5771 CXXFLAGS="" 5772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5773/* end confdefs.h. */ 5774 5775int 5776main () 5777{ 5778 5779 ; 5780 return 0; 5781} 5782_ACEOF 5783if ac_fn_cxx_try_compile "$LINENO"; then : 5784 5785else 5786 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 5787 CXXFLAGS="-g" 5788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5789/* end confdefs.h. */ 5790 5791int 5792main () 5793{ 5794 5795 ; 5796 return 0; 5797} 5798_ACEOF 5799if ac_fn_cxx_try_compile "$LINENO"; then : 5800 ac_cv_prog_cxx_g=yes 5801fi 5802rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5803fi 5804rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5805fi 5806rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5807 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 5808fi 5809{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 5810$as_echo "$ac_cv_prog_cxx_g" >&6; } 5811if test "$ac_test_CXXFLAGS" = set; then 5812 CXXFLAGS=$ac_save_CXXFLAGS 5813elif test $ac_cv_prog_cxx_g = yes; then 5814 if test "$GXX" = yes; then 5815 CXXFLAGS="-g -O2" 5816 else 5817 CXXFLAGS="-g" 5818 fi 5819else 5820 if test "$GXX" = yes; then 5821 CXXFLAGS="-O2" 5822 else 5823 CXXFLAGS= 5824 fi 5825fi 5826ac_ext=c 5827ac_cpp='$CPP $CPPFLAGS' 5828ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5829ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5830ac_compiler_gnu=$ac_cv_c_compiler_gnu 5831 5832depcc="$CXX" am_compiler_list= 5833 5834{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5835$as_echo_n "checking dependency style of $depcc... " >&6; } 5836if ${am_cv_CXX_dependencies_compiler_type+:} false; then : 5837 $as_echo_n "(cached) " >&6 5838else 5839 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5840 # We make a subdir and do the tests there. Otherwise we can end up 5841 # making bogus files that we don't know about and never remove. For 5842 # instance it was reported that on HP-UX the gcc test will end up 5843 # making a dummy file named 'D' -- because '-MD' means "put the output 5844 # in D". 5845 rm -rf conftest.dir 5846 mkdir conftest.dir 5847 # Copy depcomp to subdir because otherwise we won't find it if we're 5848 # using a relative directory. 5849 cp "$am_depcomp" conftest.dir 5850 cd conftest.dir 5851 # We will build objects and dependencies in a subdirectory because 5852 # it helps to detect inapplicable dependency modes. For instance 5853 # both Tru64's cc and ICC support -MD to output dependencies as a 5854 # side effect of compilation, but ICC will put the dependencies in 5855 # the current directory while Tru64 will put them in the object 5856 # directory. 5857 mkdir sub 5858 5859 am_cv_CXX_dependencies_compiler_type=none 5860 if test "$am_compiler_list" = ""; then 5861 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5862 fi 5863 am__universal=false 5864 case " $depcc " in #( 5865 *\ -arch\ *\ -arch\ *) am__universal=true ;; 5866 esac 5867 5868 for depmode in $am_compiler_list; do 5869 # Setup a source with many dependencies, because some compilers 5870 # like to wrap large dependency lists on column 80 (with \), and 5871 # we should not choose a depcomp mode which is confused by this. 5872 # 5873 # We need to recreate these files for each test, as the compiler may 5874 # overwrite some of them when testing with obscure command lines. 5875 # This happens at least with the AIX C compiler. 5876 : > sub/conftest.c 5877 for i in 1 2 3 4 5 6; do 5878 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5879 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 5880 # Solaris 10 /bin/sh. 5881 echo '/* dummy */' > sub/conftst$i.h 5882 done 5883 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5884 5885 # We check with '-c' and '-o' for the sake of the "dashmstdout" 5886 # mode. It turns out that the SunPro C++ compiler does not properly 5887 # handle '-M -o', and we need to detect this. Also, some Intel 5888 # versions had trouble with output in subdirs. 5889 am__obj=sub/conftest.${OBJEXT-o} 5890 am__minus_obj="-o $am__obj" 5891 case $depmode in 5892 gcc) 5893 # This depmode causes a compiler race in universal mode. 5894 test "$am__universal" = false || continue 5895 ;; 5896 nosideeffect) 5897 # After this tag, mechanisms are not by side-effect, so they'll 5898 # only be used when explicitly requested. 5899 if test "x$enable_dependency_tracking" = xyes; then 5900 continue 5901 else 5902 break 5903 fi 5904 ;; 5905 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 5906 # This compiler won't grok '-c -o', but also, the minuso test has 5907 # not run yet. These depmodes are late enough in the game, and 5908 # so weak that their functioning should not be impacted. 5909 am__obj=conftest.${OBJEXT-o} 5910 am__minus_obj= 5911 ;; 5912 none) break ;; 5913 esac 5914 if depmode=$depmode \ 5915 source=sub/conftest.c object=$am__obj \ 5916 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5917 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 5918 >/dev/null 2>conftest.err && 5919 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 5920 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5921 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 5922 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5923 # icc doesn't choke on unknown options, it will just issue warnings 5924 # or remarks (even with -Werror). So we grep stderr for any message 5925 # that says an option was ignored or not supported. 5926 # When given -MP, icc 7.0 and 7.1 complain thusly: 5927 # icc: Command line warning: ignoring option '-M'; no argument required 5928 # The diagnosis changed in icc 8.0: 5929 # icc: Command line remark: option '-MP' not supported 5930 if (grep 'ignoring option' conftest.err || 5931 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 5932 am_cv_CXX_dependencies_compiler_type=$depmode 5933 break 5934 fi 5935 fi 5936 done 5937 5938 cd .. 5939 rm -rf conftest.dir 5940else 5941 am_cv_CXX_dependencies_compiler_type=none 5942fi 5943 5944fi 5945{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 5946$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 5947CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 5948 5949 if 5950 test "x$enable_dependency_tracking" != xno \ 5951 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 5952 am__fastdepCXX_TRUE= 5953 am__fastdepCXX_FALSE='#' 5954else 5955 am__fastdepCXX_TRUE='#' 5956 am__fastdepCXX_FALSE= 5957fi 5958 5959 5960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 5961$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 5962set x ${MAKE-make} 5963ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 5964if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 5965 $as_echo_n "(cached) " >&6 5966else 5967 cat >conftest.make <<\_ACEOF 5968SHELL = /bin/sh 5969all: 5970 @echo '@@@%%%=$(MAKE)=@@@%%%' 5971_ACEOF 5972# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 5973case `${MAKE-make} -f conftest.make 2>/dev/null` in 5974 *@@@%%%=?*=@@@%%%*) 5975 eval ac_cv_prog_make_${ac_make}_set=yes;; 5976 *) 5977 eval ac_cv_prog_make_${ac_make}_set=no;; 5978esac 5979rm -f conftest.make 5980fi 5981if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5983$as_echo "yes" >&6; } 5984 SET_MAKE= 5985else 5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5987$as_echo "no" >&6; } 5988 SET_MAKE="MAKE=${MAKE-make}" 5989fi 5990 5991 5992 5993case `pwd` in 5994 *\ * | *\ *) 5995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 5996$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 5997esac 5998 5999 6000 6001macro_version='2.4.6' 6002macro_revision='2.4.6' 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016ltmain=$ac_aux_dir/ltmain.sh 6017 6018# Backslashify metacharacters that are still active within 6019# double-quoted strings. 6020sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 6021 6022# Same as above, but do not quote variable references. 6023double_quote_subst='s/\(["`\\]\)/\\\1/g' 6024 6025# Sed substitution to delay expansion of an escaped shell variable in a 6026# double_quote_subst'ed string. 6027delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 6028 6029# Sed substitution to delay expansion of an escaped single quote. 6030delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 6031 6032# Sed substitution to avoid accidental globbing in evaled expressions 6033no_glob_subst='s/\*/\\\*/g' 6034 6035ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 6036ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 6037ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 6038 6039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 6040$as_echo_n "checking how to print strings... " >&6; } 6041# Test print first, because it will be a builtin if present. 6042if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 6043 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 6044 ECHO='print -r --' 6045elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 6046 ECHO='printf %s\n' 6047else 6048 # Use this function as a fallback that always works. 6049 func_fallback_echo () 6050 { 6051 eval 'cat <<_LTECHO_EOF 6052$1 6053_LTECHO_EOF' 6054 } 6055 ECHO='func_fallback_echo' 6056fi 6057 6058# func_echo_all arg... 6059# Invoke $ECHO with all args, space-separated. 6060func_echo_all () 6061{ 6062 $ECHO "" 6063} 6064 6065case $ECHO in 6066 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 6067$as_echo "printf" >&6; } ;; 6068 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 6069$as_echo "print -r" >&6; } ;; 6070 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 6071$as_echo "cat" >&6; } ;; 6072esac 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 6088$as_echo_n "checking for a sed that does not truncate output... " >&6; } 6089if ${ac_cv_path_SED+:} false; then : 6090 $as_echo_n "(cached) " >&6 6091else 6092 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 6093 for ac_i in 1 2 3 4 5 6 7; do 6094 ac_script="$ac_script$as_nl$ac_script" 6095 done 6096 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 6097 { ac_script=; unset ac_script;} 6098 if test -z "$SED"; then 6099 ac_path_SED_found=false 6100 # Loop through the user's path and test for each of PROGNAME-LIST 6101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6102for as_dir in $PATH 6103do 6104 IFS=$as_save_IFS 6105 test -z "$as_dir" && as_dir=. 6106 for ac_prog in sed gsed; do 6107 for ac_exec_ext in '' $ac_executable_extensions; do 6108 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 6109 as_fn_executable_p "$ac_path_SED" || continue 6110# Check for GNU ac_path_SED and select it if it is found. 6111 # Check for GNU $ac_path_SED 6112case `"$ac_path_SED" --version 2>&1` in 6113*GNU*) 6114 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 6115*) 6116 ac_count=0 6117 $as_echo_n 0123456789 >"conftest.in" 6118 while : 6119 do 6120 cat "conftest.in" "conftest.in" >"conftest.tmp" 6121 mv "conftest.tmp" "conftest.in" 6122 cp "conftest.in" "conftest.nl" 6123 $as_echo '' >> "conftest.nl" 6124 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 6125 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6126 as_fn_arith $ac_count + 1 && ac_count=$as_val 6127 if test $ac_count -gt ${ac_path_SED_max-0}; then 6128 # Best one so far, save it but keep looking for a better one 6129 ac_cv_path_SED="$ac_path_SED" 6130 ac_path_SED_max=$ac_count 6131 fi 6132 # 10*(2^10) chars as input seems more than enough 6133 test $ac_count -gt 10 && break 6134 done 6135 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6136esac 6137 6138 $ac_path_SED_found && break 3 6139 done 6140 done 6141 done 6142IFS=$as_save_IFS 6143 if test -z "$ac_cv_path_SED"; then 6144 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 6145 fi 6146else 6147 ac_cv_path_SED=$SED 6148fi 6149 6150fi 6151{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 6152$as_echo "$ac_cv_path_SED" >&6; } 6153 SED="$ac_cv_path_SED" 6154 rm -f conftest.sed 6155 6156test -z "$SED" && SED=sed 6157Xsed="$SED -e 1s/^X//" 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 6170$as_echo_n "checking for fgrep... " >&6; } 6171if ${ac_cv_path_FGREP+:} false; then : 6172 $as_echo_n "(cached) " >&6 6173else 6174 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 6175 then ac_cv_path_FGREP="$GREP -F" 6176 else 6177 if test -z "$FGREP"; then 6178 ac_path_FGREP_found=false 6179 # Loop through the user's path and test for each of PROGNAME-LIST 6180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6181for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 6182do 6183 IFS=$as_save_IFS 6184 test -z "$as_dir" && as_dir=. 6185 for ac_prog in fgrep; do 6186 for ac_exec_ext in '' $ac_executable_extensions; do 6187 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 6188 as_fn_executable_p "$ac_path_FGREP" || continue 6189# Check for GNU ac_path_FGREP and select it if it is found. 6190 # Check for GNU $ac_path_FGREP 6191case `"$ac_path_FGREP" --version 2>&1` in 6192*GNU*) 6193 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 6194*) 6195 ac_count=0 6196 $as_echo_n 0123456789 >"conftest.in" 6197 while : 6198 do 6199 cat "conftest.in" "conftest.in" >"conftest.tmp" 6200 mv "conftest.tmp" "conftest.in" 6201 cp "conftest.in" "conftest.nl" 6202 $as_echo 'FGREP' >> "conftest.nl" 6203 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 6204 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6205 as_fn_arith $ac_count + 1 && ac_count=$as_val 6206 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 6207 # Best one so far, save it but keep looking for a better one 6208 ac_cv_path_FGREP="$ac_path_FGREP" 6209 ac_path_FGREP_max=$ac_count 6210 fi 6211 # 10*(2^10) chars as input seems more than enough 6212 test $ac_count -gt 10 && break 6213 done 6214 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6215esac 6216 6217 $ac_path_FGREP_found && break 3 6218 done 6219 done 6220 done 6221IFS=$as_save_IFS 6222 if test -z "$ac_cv_path_FGREP"; then 6223 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 6224 fi 6225else 6226 ac_cv_path_FGREP=$FGREP 6227fi 6228 6229 fi 6230fi 6231{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 6232$as_echo "$ac_cv_path_FGREP" >&6; } 6233 FGREP="$ac_cv_path_FGREP" 6234 6235 6236test -z "$GREP" && GREP=grep 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256# Check whether --with-gnu-ld was given. 6257if test "${with_gnu_ld+set}" = set; then : 6258 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 6259else 6260 with_gnu_ld=no 6261fi 6262 6263ac_prog=ld 6264if test yes = "$GCC"; then 6265 # Check if gcc -print-prog-name=ld gives a path. 6266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 6267$as_echo_n "checking for ld used by $CC... " >&6; } 6268 case $host in 6269 *-*-mingw*) 6270 # gcc leaves a trailing carriage return, which upsets mingw 6271 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 6272 *) 6273 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 6274 esac 6275 case $ac_prog in 6276 # Accept absolute paths. 6277 [\\/]* | ?:[\\/]*) 6278 re_direlt='/[^/][^/]*/\.\./' 6279 # Canonicalize the pathname of ld 6280 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 6281 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 6282 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 6283 done 6284 test -z "$LD" && LD=$ac_prog 6285 ;; 6286 "") 6287 # If it fails, then pretend we aren't using GCC. 6288 ac_prog=ld 6289 ;; 6290 *) 6291 # If it is relative, then search for the first ld in PATH. 6292 with_gnu_ld=unknown 6293 ;; 6294 esac 6295elif test yes = "$with_gnu_ld"; then 6296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 6297$as_echo_n "checking for GNU ld... " >&6; } 6298else 6299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 6300$as_echo_n "checking for non-GNU ld... " >&6; } 6301fi 6302if ${lt_cv_path_LD+:} false; then : 6303 $as_echo_n "(cached) " >&6 6304else 6305 if test -z "$LD"; then 6306 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 6307 for ac_dir in $PATH; do 6308 IFS=$lt_save_ifs 6309 test -z "$ac_dir" && ac_dir=. 6310 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 6311 lt_cv_path_LD=$ac_dir/$ac_prog 6312 # Check to see if the program is GNU ld. I'd rather use --version, 6313 # but apparently some variants of GNU ld only accept -v. 6314 # Break only if it was the GNU/non-GNU ld that we prefer. 6315 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 6316 *GNU* | *'with BFD'*) 6317 test no != "$with_gnu_ld" && break 6318 ;; 6319 *) 6320 test yes != "$with_gnu_ld" && break 6321 ;; 6322 esac 6323 fi 6324 done 6325 IFS=$lt_save_ifs 6326else 6327 lt_cv_path_LD=$LD # Let the user override the test with a path. 6328fi 6329fi 6330 6331LD=$lt_cv_path_LD 6332if test -n "$LD"; then 6333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 6334$as_echo "$LD" >&6; } 6335else 6336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6337$as_echo "no" >&6; } 6338fi 6339test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 6340{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 6341$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 6342if ${lt_cv_prog_gnu_ld+:} false; then : 6343 $as_echo_n "(cached) " >&6 6344else 6345 # I'd rather use --version here, but apparently some GNU lds only accept -v. 6346case `$LD -v 2>&1 </dev/null` in 6347*GNU* | *'with BFD'*) 6348 lt_cv_prog_gnu_ld=yes 6349 ;; 6350*) 6351 lt_cv_prog_gnu_ld=no 6352 ;; 6353esac 6354fi 6355{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 6356$as_echo "$lt_cv_prog_gnu_ld" >&6; } 6357with_gnu_ld=$lt_cv_prog_gnu_ld 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 6368$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 6369if ${lt_cv_path_NM+:} false; then : 6370 $as_echo_n "(cached) " >&6 6371else 6372 if test -n "$NM"; then 6373 # Let the user override the test. 6374 lt_cv_path_NM=$NM 6375else 6376 lt_nm_to_check=${ac_tool_prefix}nm 6377 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 6378 lt_nm_to_check="$lt_nm_to_check nm" 6379 fi 6380 for lt_tmp_nm in $lt_nm_to_check; do 6381 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 6382 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 6383 IFS=$lt_save_ifs 6384 test -z "$ac_dir" && ac_dir=. 6385 tmp_nm=$ac_dir/$lt_tmp_nm 6386 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 6387 # Check to see if the nm accepts a BSD-compat flag. 6388 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 6389 # nm: unknown option "B" ignored 6390 # Tru64's nm complains that /dev/null is an invalid object file 6391 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 6392 case $build_os in 6393 mingw*) lt_bad_file=conftest.nm/nofile ;; 6394 *) lt_bad_file=/dev/null ;; 6395 esac 6396 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 6397 *$lt_bad_file* | *'Invalid file or object type'*) 6398 lt_cv_path_NM="$tmp_nm -B" 6399 break 2 6400 ;; 6401 *) 6402 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 6403 */dev/null*) 6404 lt_cv_path_NM="$tmp_nm -p" 6405 break 2 6406 ;; 6407 *) 6408 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 6409 continue # so that we can try to find one that supports BSD flags 6410 ;; 6411 esac 6412 ;; 6413 esac 6414 fi 6415 done 6416 IFS=$lt_save_ifs 6417 done 6418 : ${lt_cv_path_NM=no} 6419fi 6420fi 6421{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 6422$as_echo "$lt_cv_path_NM" >&6; } 6423if test no != "$lt_cv_path_NM"; then 6424 NM=$lt_cv_path_NM 6425else 6426 # Didn't find any BSD compatible name lister, look for dumpbin. 6427 if test -n "$DUMPBIN"; then : 6428 # Let the user override the test. 6429 else 6430 if test -n "$ac_tool_prefix"; then 6431 for ac_prog in dumpbin "link -dump" 6432 do 6433 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6434set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6435{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6436$as_echo_n "checking for $ac_word... " >&6; } 6437if ${ac_cv_prog_DUMPBIN+:} false; then : 6438 $as_echo_n "(cached) " >&6 6439else 6440 if test -n "$DUMPBIN"; then 6441 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 6442else 6443as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6444for as_dir in $PATH 6445do 6446 IFS=$as_save_IFS 6447 test -z "$as_dir" && as_dir=. 6448 for ac_exec_ext in '' $ac_executable_extensions; do 6449 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6450 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 6451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6452 break 2 6453 fi 6454done 6455 done 6456IFS=$as_save_IFS 6457 6458fi 6459fi 6460DUMPBIN=$ac_cv_prog_DUMPBIN 6461if test -n "$DUMPBIN"; then 6462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 6463$as_echo "$DUMPBIN" >&6; } 6464else 6465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6466$as_echo "no" >&6; } 6467fi 6468 6469 6470 test -n "$DUMPBIN" && break 6471 done 6472fi 6473if test -z "$DUMPBIN"; then 6474 ac_ct_DUMPBIN=$DUMPBIN 6475 for ac_prog in dumpbin "link -dump" 6476do 6477 # Extract the first word of "$ac_prog", so it can be a program name with args. 6478set dummy $ac_prog; ac_word=$2 6479{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6480$as_echo_n "checking for $ac_word... " >&6; } 6481if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 6482 $as_echo_n "(cached) " >&6 6483else 6484 if test -n "$ac_ct_DUMPBIN"; then 6485 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 6486else 6487as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6488for as_dir in $PATH 6489do 6490 IFS=$as_save_IFS 6491 test -z "$as_dir" && as_dir=. 6492 for ac_exec_ext in '' $ac_executable_extensions; do 6493 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6494 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 6495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6496 break 2 6497 fi 6498done 6499 done 6500IFS=$as_save_IFS 6501 6502fi 6503fi 6504ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 6505if test -n "$ac_ct_DUMPBIN"; then 6506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 6507$as_echo "$ac_ct_DUMPBIN" >&6; } 6508else 6509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6510$as_echo "no" >&6; } 6511fi 6512 6513 6514 test -n "$ac_ct_DUMPBIN" && break 6515done 6516 6517 if test "x$ac_ct_DUMPBIN" = x; then 6518 DUMPBIN=":" 6519 else 6520 case $cross_compiling:$ac_tool_warned in 6521yes:) 6522{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6523$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6524ac_tool_warned=yes ;; 6525esac 6526 DUMPBIN=$ac_ct_DUMPBIN 6527 fi 6528fi 6529 6530 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 6531 *COFF*) 6532 DUMPBIN="$DUMPBIN -symbols -headers" 6533 ;; 6534 *) 6535 DUMPBIN=: 6536 ;; 6537 esac 6538 fi 6539 6540 if test : != "$DUMPBIN"; then 6541 NM=$DUMPBIN 6542 fi 6543fi 6544test -z "$NM" && NM=nm 6545 6546 6547 6548 6549 6550 6551{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 6552$as_echo_n "checking the name lister ($NM) interface... " >&6; } 6553if ${lt_cv_nm_interface+:} false; then : 6554 $as_echo_n "(cached) " >&6 6555else 6556 lt_cv_nm_interface="BSD nm" 6557 echo "int some_variable = 0;" > conftest.$ac_ext 6558 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 6559 (eval "$ac_compile" 2>conftest.err) 6560 cat conftest.err >&5 6561 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 6562 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 6563 cat conftest.err >&5 6564 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 6565 cat conftest.out >&5 6566 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 6567 lt_cv_nm_interface="MS dumpbin" 6568 fi 6569 rm -f conftest* 6570fi 6571{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 6572$as_echo "$lt_cv_nm_interface" >&6; } 6573 6574{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 6575$as_echo_n "checking whether ln -s works... " >&6; } 6576LN_S=$as_ln_s 6577if test "$LN_S" = "ln -s"; then 6578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6579$as_echo "yes" >&6; } 6580else 6581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 6582$as_echo "no, using $LN_S" >&6; } 6583fi 6584 6585# find the maximum length of command line arguments 6586{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 6587$as_echo_n "checking the maximum length of command line arguments... " >&6; } 6588if ${lt_cv_sys_max_cmd_len+:} false; then : 6589 $as_echo_n "(cached) " >&6 6590else 6591 i=0 6592 teststring=ABCD 6593 6594 case $build_os in 6595 msdosdjgpp*) 6596 # On DJGPP, this test can blow up pretty badly due to problems in libc 6597 # (any single argument exceeding 2000 bytes causes a buffer overrun 6598 # during glob expansion). Even if it were fixed, the result of this 6599 # check would be larger than it should be. 6600 lt_cv_sys_max_cmd_len=12288; # 12K is about right 6601 ;; 6602 6603 gnu*) 6604 # Under GNU Hurd, this test is not required because there is 6605 # no limit to the length of command line arguments. 6606 # Libtool will interpret -1 as no limit whatsoever 6607 lt_cv_sys_max_cmd_len=-1; 6608 ;; 6609 6610 cygwin* | mingw* | cegcc*) 6611 # On Win9x/ME, this test blows up -- it succeeds, but takes 6612 # about 5 minutes as the teststring grows exponentially. 6613 # Worse, since 9x/ME are not pre-emptively multitasking, 6614 # you end up with a "frozen" computer, even though with patience 6615 # the test eventually succeeds (with a max line length of 256k). 6616 # Instead, let's just punt: use the minimum linelength reported by 6617 # all of the supported platforms: 8192 (on NT/2K/XP). 6618 lt_cv_sys_max_cmd_len=8192; 6619 ;; 6620 6621 mint*) 6622 # On MiNT this can take a long time and run out of memory. 6623 lt_cv_sys_max_cmd_len=8192; 6624 ;; 6625 6626 amigaos*) 6627 # On AmigaOS with pdksh, this test takes hours, literally. 6628 # So we just punt and use a minimum line length of 8192. 6629 lt_cv_sys_max_cmd_len=8192; 6630 ;; 6631 6632 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 6633 # This has been around since 386BSD, at least. Likely further. 6634 if test -x /sbin/sysctl; then 6635 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 6636 elif test -x /usr/sbin/sysctl; then 6637 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 6638 else 6639 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 6640 fi 6641 # And add a safety zone 6642 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6643 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6644 ;; 6645 6646 interix*) 6647 # We know the value 262144 and hardcode it with a safety zone (like BSD) 6648 lt_cv_sys_max_cmd_len=196608 6649 ;; 6650 6651 os2*) 6652 # The test takes a long time on OS/2. 6653 lt_cv_sys_max_cmd_len=8192 6654 ;; 6655 6656 osf*) 6657 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 6658 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 6659 # nice to cause kernel panics so lets avoid the loop below. 6660 # First set a reasonable default. 6661 lt_cv_sys_max_cmd_len=16384 6662 # 6663 if test -x /sbin/sysconfig; then 6664 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 6665 *1*) lt_cv_sys_max_cmd_len=-1 ;; 6666 esac 6667 fi 6668 ;; 6669 sco3.2v5*) 6670 lt_cv_sys_max_cmd_len=102400 6671 ;; 6672 sysv5* | sco5v6* | sysv4.2uw2*) 6673 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 6674 if test -n "$kargmax"; then 6675 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 6676 else 6677 lt_cv_sys_max_cmd_len=32768 6678 fi 6679 ;; 6680 *) 6681 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 6682 if test -n "$lt_cv_sys_max_cmd_len" && \ 6683 test undefined != "$lt_cv_sys_max_cmd_len"; then 6684 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6685 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6686 else 6687 # Make teststring a little bigger before we do anything with it. 6688 # a 1K string should be a reasonable start. 6689 for i in 1 2 3 4 5 6 7 8; do 6690 teststring=$teststring$teststring 6691 done 6692 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 6693 # If test is not a shell built-in, we'll probably end up computing a 6694 # maximum length that is only half of the actual maximum length, but 6695 # we can't tell. 6696 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 6697 = "X$teststring$teststring"; } >/dev/null 2>&1 && 6698 test 17 != "$i" # 1/2 MB should be enough 6699 do 6700 i=`expr $i + 1` 6701 teststring=$teststring$teststring 6702 done 6703 # Only check the string length outside the loop. 6704 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 6705 teststring= 6706 # Add a significant safety factor because C++ compilers can tack on 6707 # massive amounts of additional arguments before passing them to the 6708 # linker. It appears as though 1/2 is a usable value. 6709 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 6710 fi 6711 ;; 6712 esac 6713 6714fi 6715 6716if test -n "$lt_cv_sys_max_cmd_len"; then 6717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 6718$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 6719else 6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 6721$as_echo "none" >&6; } 6722fi 6723max_cmd_len=$lt_cv_sys_max_cmd_len 6724 6725 6726 6727 6728 6729 6730: ${CP="cp -f"} 6731: ${MV="mv -f"} 6732: ${RM="rm -f"} 6733 6734if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 6735 lt_unset=unset 6736else 6737 lt_unset=false 6738fi 6739 6740 6741 6742 6743 6744# test EBCDIC or ASCII 6745case `echo X|tr X '\101'` in 6746 A) # ASCII based system 6747 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 6748 lt_SP2NL='tr \040 \012' 6749 lt_NL2SP='tr \015\012 \040\040' 6750 ;; 6751 *) # EBCDIC based system 6752 lt_SP2NL='tr \100 \n' 6753 lt_NL2SP='tr \r\n \100\100' 6754 ;; 6755esac 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 6766$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 6767if ${lt_cv_to_host_file_cmd+:} false; then : 6768 $as_echo_n "(cached) " >&6 6769else 6770 case $host in 6771 *-*-mingw* ) 6772 case $build in 6773 *-*-mingw* ) # actually msys 6774 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 6775 ;; 6776 *-*-cygwin* ) 6777 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 6778 ;; 6779 * ) # otherwise, assume *nix 6780 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 6781 ;; 6782 esac 6783 ;; 6784 *-*-cygwin* ) 6785 case $build in 6786 *-*-mingw* ) # actually msys 6787 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 6788 ;; 6789 *-*-cygwin* ) 6790 lt_cv_to_host_file_cmd=func_convert_file_noop 6791 ;; 6792 * ) # otherwise, assume *nix 6793 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 6794 ;; 6795 esac 6796 ;; 6797 * ) # unhandled hosts (and "normal" native builds) 6798 lt_cv_to_host_file_cmd=func_convert_file_noop 6799 ;; 6800esac 6801 6802fi 6803 6804to_host_file_cmd=$lt_cv_to_host_file_cmd 6805{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 6806$as_echo "$lt_cv_to_host_file_cmd" >&6; } 6807 6808 6809 6810 6811 6812{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 6813$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 6814if ${lt_cv_to_tool_file_cmd+:} false; then : 6815 $as_echo_n "(cached) " >&6 6816else 6817 #assume ordinary cross tools, or native build. 6818lt_cv_to_tool_file_cmd=func_convert_file_noop 6819case $host in 6820 *-*-mingw* ) 6821 case $build in 6822 *-*-mingw* ) # actually msys 6823 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 6824 ;; 6825 esac 6826 ;; 6827esac 6828 6829fi 6830 6831to_tool_file_cmd=$lt_cv_to_tool_file_cmd 6832{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 6833$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 6834 6835 6836 6837 6838 6839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 6840$as_echo_n "checking for $LD option to reload object files... " >&6; } 6841if ${lt_cv_ld_reload_flag+:} false; then : 6842 $as_echo_n "(cached) " >&6 6843else 6844 lt_cv_ld_reload_flag='-r' 6845fi 6846{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 6847$as_echo "$lt_cv_ld_reload_flag" >&6; } 6848reload_flag=$lt_cv_ld_reload_flag 6849case $reload_flag in 6850"" | " "*) ;; 6851*) reload_flag=" $reload_flag" ;; 6852esac 6853reload_cmds='$LD$reload_flag -o $output$reload_objs' 6854case $host_os in 6855 cygwin* | mingw* | pw32* | cegcc*) 6856 if test yes != "$GCC"; then 6857 reload_cmds=false 6858 fi 6859 ;; 6860 darwin*) 6861 if test yes = "$GCC"; then 6862 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 6863 else 6864 reload_cmds='$LD$reload_flag -o $output$reload_objs' 6865 fi 6866 ;; 6867esac 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877if test -n "$ac_tool_prefix"; then 6878 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 6879set dummy ${ac_tool_prefix}objdump; ac_word=$2 6880{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6881$as_echo_n "checking for $ac_word... " >&6; } 6882if ${ac_cv_prog_OBJDUMP+:} false; then : 6883 $as_echo_n "(cached) " >&6 6884else 6885 if test -n "$OBJDUMP"; then 6886 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 6887else 6888as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6889for as_dir in $PATH 6890do 6891 IFS=$as_save_IFS 6892 test -z "$as_dir" && as_dir=. 6893 for ac_exec_ext in '' $ac_executable_extensions; do 6894 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6895 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 6896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6897 break 2 6898 fi 6899done 6900 done 6901IFS=$as_save_IFS 6902 6903fi 6904fi 6905OBJDUMP=$ac_cv_prog_OBJDUMP 6906if test -n "$OBJDUMP"; then 6907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 6908$as_echo "$OBJDUMP" >&6; } 6909else 6910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6911$as_echo "no" >&6; } 6912fi 6913 6914 6915fi 6916if test -z "$ac_cv_prog_OBJDUMP"; then 6917 ac_ct_OBJDUMP=$OBJDUMP 6918 # Extract the first word of "objdump", so it can be a program name with args. 6919set dummy objdump; ac_word=$2 6920{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6921$as_echo_n "checking for $ac_word... " >&6; } 6922if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 6923 $as_echo_n "(cached) " >&6 6924else 6925 if test -n "$ac_ct_OBJDUMP"; then 6926 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 6927else 6928as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6929for as_dir in $PATH 6930do 6931 IFS=$as_save_IFS 6932 test -z "$as_dir" && as_dir=. 6933 for ac_exec_ext in '' $ac_executable_extensions; do 6934 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6935 ac_cv_prog_ac_ct_OBJDUMP="objdump" 6936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6937 break 2 6938 fi 6939done 6940 done 6941IFS=$as_save_IFS 6942 6943fi 6944fi 6945ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 6946if test -n "$ac_ct_OBJDUMP"; then 6947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 6948$as_echo "$ac_ct_OBJDUMP" >&6; } 6949else 6950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6951$as_echo "no" >&6; } 6952fi 6953 6954 if test "x$ac_ct_OBJDUMP" = x; then 6955 OBJDUMP="false" 6956 else 6957 case $cross_compiling:$ac_tool_warned in 6958yes:) 6959{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6960$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6961ac_tool_warned=yes ;; 6962esac 6963 OBJDUMP=$ac_ct_OBJDUMP 6964 fi 6965else 6966 OBJDUMP="$ac_cv_prog_OBJDUMP" 6967fi 6968 6969test -z "$OBJDUMP" && OBJDUMP=objdump 6970 6971 6972 6973 6974 6975 6976{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 6977$as_echo_n "checking how to recognize dependent libraries... " >&6; } 6978if ${lt_cv_deplibs_check_method+:} false; then : 6979 $as_echo_n "(cached) " >&6 6980else 6981 lt_cv_file_magic_cmd='$MAGIC_CMD' 6982lt_cv_file_magic_test_file= 6983lt_cv_deplibs_check_method='unknown' 6984# Need to set the preceding variable on all platforms that support 6985# interlibrary dependencies. 6986# 'none' -- dependencies not supported. 6987# 'unknown' -- same as none, but documents that we really don't know. 6988# 'pass_all' -- all dependencies passed with no checks. 6989# 'test_compile' -- check by making test program. 6990# 'file_magic [[regex]]' -- check by looking for files in library path 6991# that responds to the $file_magic_cmd with a given extended regex. 6992# If you have 'file' or equivalent on your system and you're not sure 6993# whether 'pass_all' will *always* work, you probably want this one. 6994 6995case $host_os in 6996aix[4-9]*) 6997 lt_cv_deplibs_check_method=pass_all 6998 ;; 6999 7000beos*) 7001 lt_cv_deplibs_check_method=pass_all 7002 ;; 7003 7004bsdi[45]*) 7005 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 7006 lt_cv_file_magic_cmd='/usr/bin/file -L' 7007 lt_cv_file_magic_test_file=/shlib/libc.so 7008 ;; 7009 7010cygwin*) 7011 # func_win32_libid is a shell function defined in ltmain.sh 7012 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 7013 lt_cv_file_magic_cmd='func_win32_libid' 7014 ;; 7015 7016mingw* | pw32*) 7017 # Base MSYS/MinGW do not provide the 'file' command needed by 7018 # func_win32_libid shell function, so use a weaker test based on 'objdump', 7019 # unless we find 'file', for example because we are cross-compiling. 7020 if ( file / ) >/dev/null 2>&1; then 7021 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 7022 lt_cv_file_magic_cmd='func_win32_libid' 7023 else 7024 # Keep this pattern in sync with the one in func_win32_libid. 7025 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 7026 lt_cv_file_magic_cmd='$OBJDUMP -f' 7027 fi 7028 ;; 7029 7030cegcc*) 7031 # use the weaker test based on 'objdump'. See mingw*. 7032 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 7033 lt_cv_file_magic_cmd='$OBJDUMP -f' 7034 ;; 7035 7036darwin* | rhapsody*) 7037 lt_cv_deplibs_check_method=pass_all 7038 ;; 7039 7040freebsd* | dragonfly*) 7041 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 7042 case $host_cpu in 7043 i*86 ) 7044 # Not sure whether the presence of OpenBSD here was a mistake. 7045 # Let's accept both of them until this is cleared up. 7046 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 7047 lt_cv_file_magic_cmd=/usr/bin/file 7048 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 7049 ;; 7050 esac 7051 else 7052 lt_cv_deplibs_check_method=pass_all 7053 fi 7054 ;; 7055 7056haiku*) 7057 lt_cv_deplibs_check_method=pass_all 7058 ;; 7059 7060hpux10.20* | hpux11*) 7061 lt_cv_file_magic_cmd=/usr/bin/file 7062 case $host_cpu in 7063 ia64*) 7064 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 7065 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 7066 ;; 7067 hppa*64*) 7068 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]' 7069 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 7070 ;; 7071 *) 7072 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 7073 lt_cv_file_magic_test_file=/usr/lib/libc.sl 7074 ;; 7075 esac 7076 ;; 7077 7078interix[3-9]*) 7079 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 7080 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 7081 ;; 7082 7083irix5* | irix6* | nonstopux*) 7084 case $LD in 7085 *-32|*"-32 ") libmagic=32-bit;; 7086 *-n32|*"-n32 ") libmagic=N32;; 7087 *-64|*"-64 ") libmagic=64-bit;; 7088 *) libmagic=never-match;; 7089 esac 7090 lt_cv_deplibs_check_method=pass_all 7091 ;; 7092 7093# This must be glibc/ELF. 7094linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 7095 lt_cv_deplibs_check_method=pass_all 7096 ;; 7097 7098netbsd*) 7099 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 7100 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 7101 else 7102 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 7103 fi 7104 ;; 7105 7106newos6*) 7107 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 7108 lt_cv_file_magic_cmd=/usr/bin/file 7109 lt_cv_file_magic_test_file=/usr/lib/libnls.so 7110 ;; 7111 7112*nto* | *qnx*) 7113 lt_cv_deplibs_check_method=pass_all 7114 ;; 7115 7116openbsd* | bitrig*) 7117 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 7118 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 7119 else 7120 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 7121 fi 7122 ;; 7123 7124osf3* | osf4* | osf5*) 7125 lt_cv_deplibs_check_method=pass_all 7126 ;; 7127 7128rdos*) 7129 lt_cv_deplibs_check_method=pass_all 7130 ;; 7131 7132solaris*) 7133 lt_cv_deplibs_check_method=pass_all 7134 ;; 7135 7136sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 7137 lt_cv_deplibs_check_method=pass_all 7138 ;; 7139 7140sysv4 | sysv4.3*) 7141 case $host_vendor in 7142 motorola) 7143 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]' 7144 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 7145 ;; 7146 ncr) 7147 lt_cv_deplibs_check_method=pass_all 7148 ;; 7149 sequent) 7150 lt_cv_file_magic_cmd='/bin/file' 7151 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 7152 ;; 7153 sni) 7154 lt_cv_file_magic_cmd='/bin/file' 7155 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 7156 lt_cv_file_magic_test_file=/lib/libc.so 7157 ;; 7158 siemens) 7159 lt_cv_deplibs_check_method=pass_all 7160 ;; 7161 pc) 7162 lt_cv_deplibs_check_method=pass_all 7163 ;; 7164 esac 7165 ;; 7166 7167tpf*) 7168 lt_cv_deplibs_check_method=pass_all 7169 ;; 7170os2*) 7171 lt_cv_deplibs_check_method=pass_all 7172 ;; 7173esac 7174 7175fi 7176{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 7177$as_echo "$lt_cv_deplibs_check_method" >&6; } 7178 7179file_magic_glob= 7180want_nocaseglob=no 7181if test "$build" = "$host"; then 7182 case $host_os in 7183 mingw* | pw32*) 7184 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 7185 want_nocaseglob=yes 7186 else 7187 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 7188 fi 7189 ;; 7190 esac 7191fi 7192 7193file_magic_cmd=$lt_cv_file_magic_cmd 7194deplibs_check_method=$lt_cv_deplibs_check_method 7195test -z "$deplibs_check_method" && deplibs_check_method=unknown 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218if test -n "$ac_tool_prefix"; then 7219 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 7220set dummy ${ac_tool_prefix}dlltool; ac_word=$2 7221{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7222$as_echo_n "checking for $ac_word... " >&6; } 7223if ${ac_cv_prog_DLLTOOL+:} false; then : 7224 $as_echo_n "(cached) " >&6 7225else 7226 if test -n "$DLLTOOL"; then 7227 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 7228else 7229as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7230for as_dir in $PATH 7231do 7232 IFS=$as_save_IFS 7233 test -z "$as_dir" && as_dir=. 7234 for ac_exec_ext in '' $ac_executable_extensions; do 7235 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7236 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 7237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7238 break 2 7239 fi 7240done 7241 done 7242IFS=$as_save_IFS 7243 7244fi 7245fi 7246DLLTOOL=$ac_cv_prog_DLLTOOL 7247if test -n "$DLLTOOL"; then 7248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 7249$as_echo "$DLLTOOL" >&6; } 7250else 7251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7252$as_echo "no" >&6; } 7253fi 7254 7255 7256fi 7257if test -z "$ac_cv_prog_DLLTOOL"; then 7258 ac_ct_DLLTOOL=$DLLTOOL 7259 # Extract the first word of "dlltool", so it can be a program name with args. 7260set dummy dlltool; ac_word=$2 7261{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7262$as_echo_n "checking for $ac_word... " >&6; } 7263if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 7264 $as_echo_n "(cached) " >&6 7265else 7266 if test -n "$ac_ct_DLLTOOL"; then 7267 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 7268else 7269as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7270for as_dir in $PATH 7271do 7272 IFS=$as_save_IFS 7273 test -z "$as_dir" && as_dir=. 7274 for ac_exec_ext in '' $ac_executable_extensions; do 7275 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7276 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 7277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7278 break 2 7279 fi 7280done 7281 done 7282IFS=$as_save_IFS 7283 7284fi 7285fi 7286ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 7287if test -n "$ac_ct_DLLTOOL"; then 7288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 7289$as_echo "$ac_ct_DLLTOOL" >&6; } 7290else 7291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7292$as_echo "no" >&6; } 7293fi 7294 7295 if test "x$ac_ct_DLLTOOL" = x; then 7296 DLLTOOL="false" 7297 else 7298 case $cross_compiling:$ac_tool_warned in 7299yes:) 7300{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7301$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7302ac_tool_warned=yes ;; 7303esac 7304 DLLTOOL=$ac_ct_DLLTOOL 7305 fi 7306else 7307 DLLTOOL="$ac_cv_prog_DLLTOOL" 7308fi 7309 7310test -z "$DLLTOOL" && DLLTOOL=dlltool 7311 7312 7313 7314 7315 7316 7317 7318{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 7319$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 7320if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 7321 $as_echo_n "(cached) " >&6 7322else 7323 lt_cv_sharedlib_from_linklib_cmd='unknown' 7324 7325case $host_os in 7326cygwin* | mingw* | pw32* | cegcc*) 7327 # two different shell functions defined in ltmain.sh; 7328 # decide which one to use based on capabilities of $DLLTOOL 7329 case `$DLLTOOL --help 2>&1` in 7330 *--identify-strict*) 7331 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 7332 ;; 7333 *) 7334 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 7335 ;; 7336 esac 7337 ;; 7338*) 7339 # fallback: assume linklib IS sharedlib 7340 lt_cv_sharedlib_from_linklib_cmd=$ECHO 7341 ;; 7342esac 7343 7344fi 7345{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 7346$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 7347sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 7348test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 7349 7350 7351 7352 7353 7354 7355 7356if test -n "$ac_tool_prefix"; then 7357 for ac_prog in ar 7358 do 7359 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 7360set dummy $ac_tool_prefix$ac_prog; ac_word=$2 7361{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7362$as_echo_n "checking for $ac_word... " >&6; } 7363if ${ac_cv_prog_AR+:} false; then : 7364 $as_echo_n "(cached) " >&6 7365else 7366 if test -n "$AR"; then 7367 ac_cv_prog_AR="$AR" # Let the user override the test. 7368else 7369as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7370for as_dir in $PATH 7371do 7372 IFS=$as_save_IFS 7373 test -z "$as_dir" && as_dir=. 7374 for ac_exec_ext in '' $ac_executable_extensions; do 7375 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7376 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 7377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7378 break 2 7379 fi 7380done 7381 done 7382IFS=$as_save_IFS 7383 7384fi 7385fi 7386AR=$ac_cv_prog_AR 7387if test -n "$AR"; then 7388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 7389$as_echo "$AR" >&6; } 7390else 7391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7392$as_echo "no" >&6; } 7393fi 7394 7395 7396 test -n "$AR" && break 7397 done 7398fi 7399if test -z "$AR"; then 7400 ac_ct_AR=$AR 7401 for ac_prog in ar 7402do 7403 # Extract the first word of "$ac_prog", so it can be a program name with args. 7404set dummy $ac_prog; ac_word=$2 7405{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7406$as_echo_n "checking for $ac_word... " >&6; } 7407if ${ac_cv_prog_ac_ct_AR+:} false; then : 7408 $as_echo_n "(cached) " >&6 7409else 7410 if test -n "$ac_ct_AR"; then 7411 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 7412else 7413as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7414for as_dir in $PATH 7415do 7416 IFS=$as_save_IFS 7417 test -z "$as_dir" && as_dir=. 7418 for ac_exec_ext in '' $ac_executable_extensions; do 7419 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7420 ac_cv_prog_ac_ct_AR="$ac_prog" 7421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7422 break 2 7423 fi 7424done 7425 done 7426IFS=$as_save_IFS 7427 7428fi 7429fi 7430ac_ct_AR=$ac_cv_prog_ac_ct_AR 7431if test -n "$ac_ct_AR"; then 7432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 7433$as_echo "$ac_ct_AR" >&6; } 7434else 7435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7436$as_echo "no" >&6; } 7437fi 7438 7439 7440 test -n "$ac_ct_AR" && break 7441done 7442 7443 if test "x$ac_ct_AR" = x; then 7444 AR="false" 7445 else 7446 case $cross_compiling:$ac_tool_warned in 7447yes:) 7448{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7449$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7450ac_tool_warned=yes ;; 7451esac 7452 AR=$ac_ct_AR 7453 fi 7454fi 7455 7456: ${AR=ar} 7457: ${AR_FLAGS=cru} 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 7470$as_echo_n "checking for archiver @FILE support... " >&6; } 7471if ${lt_cv_ar_at_file+:} false; then : 7472 $as_echo_n "(cached) " >&6 7473else 7474 lt_cv_ar_at_file=no 7475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7476/* end confdefs.h. */ 7477 7478int 7479main () 7480{ 7481 7482 ; 7483 return 0; 7484} 7485_ACEOF 7486if ac_fn_c_try_compile "$LINENO"; then : 7487 echo conftest.$ac_objext > conftest.lst 7488 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 7489 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 7490 (eval $lt_ar_try) 2>&5 7491 ac_status=$? 7492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7493 test $ac_status = 0; } 7494 if test 0 -eq "$ac_status"; then 7495 # Ensure the archiver fails upon bogus file names. 7496 rm -f conftest.$ac_objext libconftest.a 7497 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 7498 (eval $lt_ar_try) 2>&5 7499 ac_status=$? 7500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7501 test $ac_status = 0; } 7502 if test 0 -ne "$ac_status"; then 7503 lt_cv_ar_at_file=@ 7504 fi 7505 fi 7506 rm -f conftest.* libconftest.a 7507 7508fi 7509rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7510 7511fi 7512{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 7513$as_echo "$lt_cv_ar_at_file" >&6; } 7514 7515if test no = "$lt_cv_ar_at_file"; then 7516 archiver_list_spec= 7517else 7518 archiver_list_spec=$lt_cv_ar_at_file 7519fi 7520 7521 7522 7523 7524 7525 7526 7527if test -n "$ac_tool_prefix"; then 7528 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 7529set dummy ${ac_tool_prefix}strip; ac_word=$2 7530{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7531$as_echo_n "checking for $ac_word... " >&6; } 7532if ${ac_cv_prog_STRIP+:} false; then : 7533 $as_echo_n "(cached) " >&6 7534else 7535 if test -n "$STRIP"; then 7536 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 7537else 7538as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7539for as_dir in $PATH 7540do 7541 IFS=$as_save_IFS 7542 test -z "$as_dir" && as_dir=. 7543 for ac_exec_ext in '' $ac_executable_extensions; do 7544 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7545 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 7546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7547 break 2 7548 fi 7549done 7550 done 7551IFS=$as_save_IFS 7552 7553fi 7554fi 7555STRIP=$ac_cv_prog_STRIP 7556if test -n "$STRIP"; then 7557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 7558$as_echo "$STRIP" >&6; } 7559else 7560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7561$as_echo "no" >&6; } 7562fi 7563 7564 7565fi 7566if test -z "$ac_cv_prog_STRIP"; then 7567 ac_ct_STRIP=$STRIP 7568 # Extract the first word of "strip", so it can be a program name with args. 7569set dummy strip; ac_word=$2 7570{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7571$as_echo_n "checking for $ac_word... " >&6; } 7572if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 7573 $as_echo_n "(cached) " >&6 7574else 7575 if test -n "$ac_ct_STRIP"; then 7576 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 7577else 7578as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7579for as_dir in $PATH 7580do 7581 IFS=$as_save_IFS 7582 test -z "$as_dir" && as_dir=. 7583 for ac_exec_ext in '' $ac_executable_extensions; do 7584 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7585 ac_cv_prog_ac_ct_STRIP="strip" 7586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7587 break 2 7588 fi 7589done 7590 done 7591IFS=$as_save_IFS 7592 7593fi 7594fi 7595ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 7596if test -n "$ac_ct_STRIP"; then 7597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 7598$as_echo "$ac_ct_STRIP" >&6; } 7599else 7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7601$as_echo "no" >&6; } 7602fi 7603 7604 if test "x$ac_ct_STRIP" = x; then 7605 STRIP=":" 7606 else 7607 case $cross_compiling:$ac_tool_warned in 7608yes:) 7609{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7610$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7611ac_tool_warned=yes ;; 7612esac 7613 STRIP=$ac_ct_STRIP 7614 fi 7615else 7616 STRIP="$ac_cv_prog_STRIP" 7617fi 7618 7619test -z "$STRIP" && STRIP=: 7620 7621 7622 7623 7624 7625 7626if test -n "$ac_tool_prefix"; then 7627 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 7628set dummy ${ac_tool_prefix}ranlib; ac_word=$2 7629{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7630$as_echo_n "checking for $ac_word... " >&6; } 7631if ${ac_cv_prog_RANLIB+:} false; then : 7632 $as_echo_n "(cached) " >&6 7633else 7634 if test -n "$RANLIB"; then 7635 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 7636else 7637as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7638for as_dir in $PATH 7639do 7640 IFS=$as_save_IFS 7641 test -z "$as_dir" && as_dir=. 7642 for ac_exec_ext in '' $ac_executable_extensions; do 7643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7644 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 7645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7646 break 2 7647 fi 7648done 7649 done 7650IFS=$as_save_IFS 7651 7652fi 7653fi 7654RANLIB=$ac_cv_prog_RANLIB 7655if test -n "$RANLIB"; then 7656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 7657$as_echo "$RANLIB" >&6; } 7658else 7659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7660$as_echo "no" >&6; } 7661fi 7662 7663 7664fi 7665if test -z "$ac_cv_prog_RANLIB"; then 7666 ac_ct_RANLIB=$RANLIB 7667 # Extract the first word of "ranlib", so it can be a program name with args. 7668set dummy ranlib; ac_word=$2 7669{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7670$as_echo_n "checking for $ac_word... " >&6; } 7671if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 7672 $as_echo_n "(cached) " >&6 7673else 7674 if test -n "$ac_ct_RANLIB"; then 7675 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 7676else 7677as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7678for as_dir in $PATH 7679do 7680 IFS=$as_save_IFS 7681 test -z "$as_dir" && as_dir=. 7682 for ac_exec_ext in '' $ac_executable_extensions; do 7683 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7684 ac_cv_prog_ac_ct_RANLIB="ranlib" 7685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7686 break 2 7687 fi 7688done 7689 done 7690IFS=$as_save_IFS 7691 7692fi 7693fi 7694ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 7695if test -n "$ac_ct_RANLIB"; then 7696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 7697$as_echo "$ac_ct_RANLIB" >&6; } 7698else 7699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7700$as_echo "no" >&6; } 7701fi 7702 7703 if test "x$ac_ct_RANLIB" = x; then 7704 RANLIB=":" 7705 else 7706 case $cross_compiling:$ac_tool_warned in 7707yes:) 7708{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7709$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7710ac_tool_warned=yes ;; 7711esac 7712 RANLIB=$ac_ct_RANLIB 7713 fi 7714else 7715 RANLIB="$ac_cv_prog_RANLIB" 7716fi 7717 7718test -z "$RANLIB" && RANLIB=: 7719 7720 7721 7722 7723 7724 7725# Determine commands to create old-style static archives. 7726old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 7727old_postinstall_cmds='chmod 644 $oldlib' 7728old_postuninstall_cmds= 7729 7730if test -n "$RANLIB"; then 7731 case $host_os in 7732 bitrig* | openbsd*) 7733 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 7734 ;; 7735 *) 7736 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 7737 ;; 7738 esac 7739 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 7740fi 7741 7742case $host_os in 7743 darwin*) 7744 lock_old_archive_extraction=yes ;; 7745 *) 7746 lock_old_archive_extraction=no ;; 7747esac 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787# If no C compiler was specified, use CC. 7788LTCC=${LTCC-"$CC"} 7789 7790# If no C compiler flags were specified, use CFLAGS. 7791LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7792 7793# Allow CC to be a program name with arguments. 7794compiler=$CC 7795 7796 7797# Check for command to grab the raw symbol name followed by C symbol from nm. 7798{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 7799$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 7800if ${lt_cv_sys_global_symbol_pipe+:} false; then : 7801 $as_echo_n "(cached) " >&6 7802else 7803 7804# These are sane defaults that work on at least a few old systems. 7805# [They come from Ultrix. What could be older than Ultrix?!! ;)] 7806 7807# Character class describing NM global symbol codes. 7808symcode='[BCDEGRST]' 7809 7810# Regexp to match symbols that can be accessed directly from C. 7811sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 7812 7813# Define system-specific variables. 7814case $host_os in 7815aix*) 7816 symcode='[BCDT]' 7817 ;; 7818cygwin* | mingw* | pw32* | cegcc*) 7819 symcode='[ABCDGISTW]' 7820 ;; 7821hpux*) 7822 if test ia64 = "$host_cpu"; then 7823 symcode='[ABCDEGRST]' 7824 fi 7825 ;; 7826irix* | nonstopux*) 7827 symcode='[BCDEGRST]' 7828 ;; 7829osf*) 7830 symcode='[BCDEGQRST]' 7831 ;; 7832solaris*) 7833 symcode='[BDRT]' 7834 ;; 7835sco3.2v5*) 7836 symcode='[DT]' 7837 ;; 7838sysv4.2uw2*) 7839 symcode='[DT]' 7840 ;; 7841sysv5* | sco5v6* | unixware* | OpenUNIX*) 7842 symcode='[ABDT]' 7843 ;; 7844sysv4) 7845 symcode='[DFNSTU]' 7846 ;; 7847esac 7848 7849# If we're using GNU nm, then use its standard symbol codes. 7850case `$NM -V 2>&1` in 7851*GNU* | *'with BFD'*) 7852 symcode='[ABCDGIRSTW]' ;; 7853esac 7854 7855if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7856 # Gets list of data symbols to import. 7857 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 7858 # Adjust the below global symbol transforms to fixup imported variables. 7859 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 7860 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 7861 lt_c_name_lib_hook="\ 7862 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 7863 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 7864else 7865 # Disable hooks by default. 7866 lt_cv_sys_global_symbol_to_import= 7867 lt_cdecl_hook= 7868 lt_c_name_hook= 7869 lt_c_name_lib_hook= 7870fi 7871 7872# Transform an extracted symbol line into a proper C declaration. 7873# Some systems (esp. on ia64) link data and code symbols differently, 7874# so use this general approach. 7875lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 7876$lt_cdecl_hook\ 7877" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 7878" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 7879 7880# Transform an extracted symbol line into symbol name and symbol address 7881lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 7882$lt_c_name_hook\ 7883" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 7884" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 7885 7886# Transform an extracted symbol line into symbol name with lib prefix and 7887# symbol address. 7888lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 7889$lt_c_name_lib_hook\ 7890" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 7891" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 7892" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 7893 7894# Handle CRLF in mingw tool chain 7895opt_cr= 7896case $build_os in 7897mingw*) 7898 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 7899 ;; 7900esac 7901 7902# Try without a prefix underscore, then with it. 7903for ac_symprfx in "" "_"; do 7904 7905 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 7906 symxfrm="\\1 $ac_symprfx\\2 \\2" 7907 7908 # Write the raw and C identifiers. 7909 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7910 # Fake it for dumpbin and say T for any non-static function, 7911 # D for any global variable and I for any imported variable. 7912 # Also find C++ and __fastcall symbols from MSVC++, 7913 # which start with @ or ?. 7914 lt_cv_sys_global_symbol_pipe="$AWK '"\ 7915" {last_section=section; section=\$ 3};"\ 7916" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 7917" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 7918" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 7919" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 7920" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 7921" \$ 0!~/External *\|/{next};"\ 7922" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 7923" {if(hide[section]) next};"\ 7924" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 7925" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 7926" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 7927" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 7928" ' prfx=^$ac_symprfx" 7929 else 7930 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 7931 fi 7932 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 7933 7934 # Check to see that the pipe works correctly. 7935 pipe_works=no 7936 7937 rm -f conftest* 7938 cat > conftest.$ac_ext <<_LT_EOF 7939#ifdef __cplusplus 7940extern "C" { 7941#endif 7942char nm_test_var; 7943void nm_test_func(void); 7944void nm_test_func(void){} 7945#ifdef __cplusplus 7946} 7947#endif 7948int main(){nm_test_var='a';nm_test_func();return(0);} 7949_LT_EOF 7950 7951 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7952 (eval $ac_compile) 2>&5 7953 ac_status=$? 7954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7955 test $ac_status = 0; }; then 7956 # Now try to grab the symbols. 7957 nlist=conftest.nm 7958 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 7959 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 7960 ac_status=$? 7961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7962 test $ac_status = 0; } && test -s "$nlist"; then 7963 # Try sorting and uniquifying the output. 7964 if sort "$nlist" | uniq > "$nlist"T; then 7965 mv -f "$nlist"T "$nlist" 7966 else 7967 rm -f "$nlist"T 7968 fi 7969 7970 # Make sure that we snagged all the symbols we need. 7971 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 7972 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 7973 cat <<_LT_EOF > conftest.$ac_ext 7974/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 7975#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 7976/* DATA imports from DLLs on WIN32 can't be const, because runtime 7977 relocations are performed -- see ld's documentation on pseudo-relocs. */ 7978# define LT_DLSYM_CONST 7979#elif defined __osf__ 7980/* This system does not cope well with relocations in const data. */ 7981# define LT_DLSYM_CONST 7982#else 7983# define LT_DLSYM_CONST const 7984#endif 7985 7986#ifdef __cplusplus 7987extern "C" { 7988#endif 7989 7990_LT_EOF 7991 # Now generate the symbol file. 7992 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 7993 7994 cat <<_LT_EOF >> conftest.$ac_ext 7995 7996/* The mapping between symbol names and symbols. */ 7997LT_DLSYM_CONST struct { 7998 const char *name; 7999 void *address; 8000} 8001lt__PROGRAM__LTX_preloaded_symbols[] = 8002{ 8003 { "@PROGRAM@", (void *) 0 }, 8004_LT_EOF 8005 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 8006 cat <<\_LT_EOF >> conftest.$ac_ext 8007 {0, (void *) 0} 8008}; 8009 8010/* This works around a problem in FreeBSD linker */ 8011#ifdef FREEBSD_WORKAROUND 8012static const void *lt_preloaded_setup() { 8013 return lt__PROGRAM__LTX_preloaded_symbols; 8014} 8015#endif 8016 8017#ifdef __cplusplus 8018} 8019#endif 8020_LT_EOF 8021 # Now try linking the two files. 8022 mv conftest.$ac_objext conftstm.$ac_objext 8023 lt_globsym_save_LIBS=$LIBS 8024 lt_globsym_save_CFLAGS=$CFLAGS 8025 LIBS=conftstm.$ac_objext 8026 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 8027 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 8028 (eval $ac_link) 2>&5 8029 ac_status=$? 8030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8031 test $ac_status = 0; } && test -s conftest$ac_exeext; then 8032 pipe_works=yes 8033 fi 8034 LIBS=$lt_globsym_save_LIBS 8035 CFLAGS=$lt_globsym_save_CFLAGS 8036 else 8037 echo "cannot find nm_test_func in $nlist" >&5 8038 fi 8039 else 8040 echo "cannot find nm_test_var in $nlist" >&5 8041 fi 8042 else 8043 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 8044 fi 8045 else 8046 echo "$progname: failed program was:" >&5 8047 cat conftest.$ac_ext >&5 8048 fi 8049 rm -rf conftest* conftst* 8050 8051 # Do not use the global_symbol_pipe unless it works. 8052 if test yes = "$pipe_works"; then 8053 break 8054 else 8055 lt_cv_sys_global_symbol_pipe= 8056 fi 8057done 8058 8059fi 8060 8061if test -z "$lt_cv_sys_global_symbol_pipe"; then 8062 lt_cv_sys_global_symbol_to_cdecl= 8063fi 8064if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 8066$as_echo "failed" >&6; } 8067else 8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 8069$as_echo "ok" >&6; } 8070fi 8071 8072# Response file support. 8073if test "$lt_cv_nm_interface" = "MS dumpbin"; then 8074 nm_file_list_spec='@' 8075elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 8076 nm_file_list_spec='@' 8077fi 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 8116$as_echo_n "checking for sysroot... " >&6; } 8117 8118# Check whether --with-sysroot was given. 8119if test "${with_sysroot+set}" = set; then : 8120 withval=$with_sysroot; 8121else 8122 with_sysroot=no 8123fi 8124 8125 8126lt_sysroot= 8127case $with_sysroot in #( 8128 yes) 8129 if test yes = "$GCC"; then 8130 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 8131 fi 8132 ;; #( 8133 /*) 8134 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 8135 ;; #( 8136 no|'') 8137 ;; #( 8138 *) 8139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 8140$as_echo "$with_sysroot" >&6; } 8141 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 8142 ;; 8143esac 8144 8145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 8146$as_echo "${lt_sysroot:-no}" >&6; } 8147 8148 8149 8150 8151 8152{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 8153$as_echo_n "checking for a working dd... " >&6; } 8154if ${ac_cv_path_lt_DD+:} false; then : 8155 $as_echo_n "(cached) " >&6 8156else 8157 printf 0123456789abcdef0123456789abcdef >conftest.i 8158cat conftest.i conftest.i >conftest2.i 8159: ${lt_DD:=$DD} 8160if test -z "$lt_DD"; then 8161 ac_path_lt_DD_found=false 8162 # Loop through the user's path and test for each of PROGNAME-LIST 8163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8164for as_dir in $PATH 8165do 8166 IFS=$as_save_IFS 8167 test -z "$as_dir" && as_dir=. 8168 for ac_prog in dd; do 8169 for ac_exec_ext in '' $ac_executable_extensions; do 8170 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 8171 as_fn_executable_p "$ac_path_lt_DD" || continue 8172if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 8173 cmp -s conftest.i conftest.out \ 8174 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 8175fi 8176 $ac_path_lt_DD_found && break 3 8177 done 8178 done 8179 done 8180IFS=$as_save_IFS 8181 if test -z "$ac_cv_path_lt_DD"; then 8182 : 8183 fi 8184else 8185 ac_cv_path_lt_DD=$lt_DD 8186fi 8187 8188rm -f conftest.i conftest2.i conftest.out 8189fi 8190{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 8191$as_echo "$ac_cv_path_lt_DD" >&6; } 8192 8193 8194{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 8195$as_echo_n "checking how to truncate binary pipes... " >&6; } 8196if ${lt_cv_truncate_bin+:} false; then : 8197 $as_echo_n "(cached) " >&6 8198else 8199 printf 0123456789abcdef0123456789abcdef >conftest.i 8200cat conftest.i conftest.i >conftest2.i 8201lt_cv_truncate_bin= 8202if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 8203 cmp -s conftest.i conftest.out \ 8204 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 8205fi 8206rm -f conftest.i conftest2.i conftest.out 8207test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 8208fi 8209{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 8210$as_echo "$lt_cv_truncate_bin" >&6; } 8211 8212 8213 8214 8215 8216 8217 8218# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 8219func_cc_basename () 8220{ 8221 for cc_temp in $*""; do 8222 case $cc_temp in 8223 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 8224 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 8225 \-*) ;; 8226 *) break;; 8227 esac 8228 done 8229 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 8230} 8231 8232# Check whether --enable-libtool-lock was given. 8233if test "${enable_libtool_lock+set}" = set; then : 8234 enableval=$enable_libtool_lock; 8235fi 8236 8237test no = "$enable_libtool_lock" || enable_libtool_lock=yes 8238 8239# Some flags need to be propagated to the compiler or linker for good 8240# libtool support. 8241case $host in 8242ia64-*-hpux*) 8243 # Find out what ABI is being produced by ac_compile, and set mode 8244 # options accordingly. 8245 echo 'int i;' > conftest.$ac_ext 8246 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8247 (eval $ac_compile) 2>&5 8248 ac_status=$? 8249 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8250 test $ac_status = 0; }; then 8251 case `/usr/bin/file conftest.$ac_objext` in 8252 *ELF-32*) 8253 HPUX_IA64_MODE=32 8254 ;; 8255 *ELF-64*) 8256 HPUX_IA64_MODE=64 8257 ;; 8258 esac 8259 fi 8260 rm -rf conftest* 8261 ;; 8262*-*-irix6*) 8263 # Find out what ABI is being produced by ac_compile, and set linker 8264 # options accordingly. 8265 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 8266 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8267 (eval $ac_compile) 2>&5 8268 ac_status=$? 8269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8270 test $ac_status = 0; }; then 8271 if test yes = "$lt_cv_prog_gnu_ld"; then 8272 case `/usr/bin/file conftest.$ac_objext` in 8273 *32-bit*) 8274 LD="${LD-ld} -melf32bsmip" 8275 ;; 8276 *N32*) 8277 LD="${LD-ld} -melf32bmipn32" 8278 ;; 8279 *64-bit*) 8280 LD="${LD-ld} -melf64bmip" 8281 ;; 8282 esac 8283 else 8284 case `/usr/bin/file conftest.$ac_objext` in 8285 *32-bit*) 8286 LD="${LD-ld} -32" 8287 ;; 8288 *N32*) 8289 LD="${LD-ld} -n32" 8290 ;; 8291 *64-bit*) 8292 LD="${LD-ld} -64" 8293 ;; 8294 esac 8295 fi 8296 fi 8297 rm -rf conftest* 8298 ;; 8299 8300mips64*-*linux*) 8301 # Find out what ABI is being produced by ac_compile, and set linker 8302 # options accordingly. 8303 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 8304 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8305 (eval $ac_compile) 2>&5 8306 ac_status=$? 8307 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8308 test $ac_status = 0; }; then 8309 emul=elf 8310 case `/usr/bin/file conftest.$ac_objext` in 8311 *32-bit*) 8312 emul="${emul}32" 8313 ;; 8314 *64-bit*) 8315 emul="${emul}64" 8316 ;; 8317 esac 8318 case `/usr/bin/file conftest.$ac_objext` in 8319 *MSB*) 8320 emul="${emul}btsmip" 8321 ;; 8322 *LSB*) 8323 emul="${emul}ltsmip" 8324 ;; 8325 esac 8326 case `/usr/bin/file conftest.$ac_objext` in 8327 *N32*) 8328 emul="${emul}n32" 8329 ;; 8330 esac 8331 LD="${LD-ld} -m $emul" 8332 fi 8333 rm -rf conftest* 8334 ;; 8335 8336x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 8337s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 8338 # Find out what ABI is being produced by ac_compile, and set linker 8339 # options accordingly. Note that the listed cases only cover the 8340 # situations where additional linker options are needed (such as when 8341 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 8342 # vice versa); the common cases where no linker options are needed do 8343 # not appear in the list. 8344 echo 'int i;' > conftest.$ac_ext 8345 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8346 (eval $ac_compile) 2>&5 8347 ac_status=$? 8348 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8349 test $ac_status = 0; }; then 8350 case `/usr/bin/file conftest.o` in 8351 *32-bit*) 8352 case $host in 8353 x86_64-*kfreebsd*-gnu) 8354 LD="${LD-ld} -m elf_i386_fbsd" 8355 ;; 8356 x86_64-*linux*) 8357 case `/usr/bin/file conftest.o` in 8358 *x86-64*) 8359 LD="${LD-ld} -m elf32_x86_64" 8360 ;; 8361 *) 8362 LD="${LD-ld} -m elf_i386" 8363 ;; 8364 esac 8365 ;; 8366 powerpc64le-*linux*) 8367 LD="${LD-ld} -m elf32lppclinux" 8368 ;; 8369 powerpc64-*linux*) 8370 LD="${LD-ld} -m elf32ppclinux" 8371 ;; 8372 s390x-*linux*) 8373 LD="${LD-ld} -m elf_s390" 8374 ;; 8375 sparc64-*linux*) 8376 LD="${LD-ld} -m elf32_sparc" 8377 ;; 8378 esac 8379 ;; 8380 *64-bit*) 8381 case $host in 8382 x86_64-*kfreebsd*-gnu) 8383 LD="${LD-ld} -m elf_x86_64_fbsd" 8384 ;; 8385 x86_64-*linux*) 8386 LD="${LD-ld} -m elf_x86_64" 8387 ;; 8388 powerpcle-*linux*) 8389 LD="${LD-ld} -m elf64lppc" 8390 ;; 8391 powerpc-*linux*) 8392 LD="${LD-ld} -m elf64ppc" 8393 ;; 8394 s390*-*linux*|s390*-*tpf*) 8395 LD="${LD-ld} -m elf64_s390" 8396 ;; 8397 sparc*-*linux*) 8398 LD="${LD-ld} -m elf64_sparc" 8399 ;; 8400 esac 8401 ;; 8402 esac 8403 fi 8404 rm -rf conftest* 8405 ;; 8406 8407*-*-sco3.2v5*) 8408 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 8409 SAVE_CFLAGS=$CFLAGS 8410 CFLAGS="$CFLAGS -belf" 8411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 8412$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 8413if ${lt_cv_cc_needs_belf+:} false; then : 8414 $as_echo_n "(cached) " >&6 8415else 8416 ac_ext=c 8417ac_cpp='$CPP $CPPFLAGS' 8418ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8419ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8420ac_compiler_gnu=$ac_cv_c_compiler_gnu 8421 8422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8423/* end confdefs.h. */ 8424 8425int 8426main () 8427{ 8428 8429 ; 8430 return 0; 8431} 8432_ACEOF 8433if ac_fn_c_try_link "$LINENO"; then : 8434 lt_cv_cc_needs_belf=yes 8435else 8436 lt_cv_cc_needs_belf=no 8437fi 8438rm -f core conftest.err conftest.$ac_objext \ 8439 conftest$ac_exeext conftest.$ac_ext 8440 ac_ext=c 8441ac_cpp='$CPP $CPPFLAGS' 8442ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8443ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8444ac_compiler_gnu=$ac_cv_c_compiler_gnu 8445 8446fi 8447{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 8448$as_echo "$lt_cv_cc_needs_belf" >&6; } 8449 if test yes != "$lt_cv_cc_needs_belf"; then 8450 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 8451 CFLAGS=$SAVE_CFLAGS 8452 fi 8453 ;; 8454*-*solaris*) 8455 # Find out what ABI is being produced by ac_compile, and set linker 8456 # options accordingly. 8457 echo 'int i;' > conftest.$ac_ext 8458 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8459 (eval $ac_compile) 2>&5 8460 ac_status=$? 8461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8462 test $ac_status = 0; }; then 8463 case `/usr/bin/file conftest.o` in 8464 *64-bit*) 8465 case $lt_cv_prog_gnu_ld in 8466 yes*) 8467 case $host in 8468 i?86-*-solaris*|x86_64-*-solaris*) 8469 LD="${LD-ld} -m elf_x86_64" 8470 ;; 8471 sparc*-*-solaris*) 8472 LD="${LD-ld} -m elf64_sparc" 8473 ;; 8474 esac 8475 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 8476 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 8477 LD=${LD-ld}_sol2 8478 fi 8479 ;; 8480 *) 8481 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 8482 LD="${LD-ld} -64" 8483 fi 8484 ;; 8485 esac 8486 ;; 8487 esac 8488 fi 8489 rm -rf conftest* 8490 ;; 8491esac 8492 8493need_locks=$enable_libtool_lock 8494 8495if test -n "$ac_tool_prefix"; then 8496 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 8497set dummy ${ac_tool_prefix}mt; ac_word=$2 8498{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8499$as_echo_n "checking for $ac_word... " >&6; } 8500if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 8501 $as_echo_n "(cached) " >&6 8502else 8503 if test -n "$MANIFEST_TOOL"; then 8504 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 8505else 8506as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8507for as_dir in $PATH 8508do 8509 IFS=$as_save_IFS 8510 test -z "$as_dir" && as_dir=. 8511 for ac_exec_ext in '' $ac_executable_extensions; do 8512 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8513 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 8514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8515 break 2 8516 fi 8517done 8518 done 8519IFS=$as_save_IFS 8520 8521fi 8522fi 8523MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 8524if test -n "$MANIFEST_TOOL"; then 8525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 8526$as_echo "$MANIFEST_TOOL" >&6; } 8527else 8528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8529$as_echo "no" >&6; } 8530fi 8531 8532 8533fi 8534if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 8535 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 8536 # Extract the first word of "mt", so it can be a program name with args. 8537set dummy mt; ac_word=$2 8538{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8539$as_echo_n "checking for $ac_word... " >&6; } 8540if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 8541 $as_echo_n "(cached) " >&6 8542else 8543 if test -n "$ac_ct_MANIFEST_TOOL"; then 8544 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 8545else 8546as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8547for as_dir in $PATH 8548do 8549 IFS=$as_save_IFS 8550 test -z "$as_dir" && as_dir=. 8551 for ac_exec_ext in '' $ac_executable_extensions; do 8552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8553 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 8554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8555 break 2 8556 fi 8557done 8558 done 8559IFS=$as_save_IFS 8560 8561fi 8562fi 8563ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 8564if test -n "$ac_ct_MANIFEST_TOOL"; then 8565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 8566$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 8567else 8568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8569$as_echo "no" >&6; } 8570fi 8571 8572 if test "x$ac_ct_MANIFEST_TOOL" = x; then 8573 MANIFEST_TOOL=":" 8574 else 8575 case $cross_compiling:$ac_tool_warned in 8576yes:) 8577{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8578$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8579ac_tool_warned=yes ;; 8580esac 8581 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 8582 fi 8583else 8584 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 8585fi 8586 8587test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 8588{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 8589$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 8590if ${lt_cv_path_mainfest_tool+:} false; then : 8591 $as_echo_n "(cached) " >&6 8592else 8593 lt_cv_path_mainfest_tool=no 8594 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 8595 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 8596 cat conftest.err >&5 8597 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 8598 lt_cv_path_mainfest_tool=yes 8599 fi 8600 rm -f conftest* 8601fi 8602{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 8603$as_echo "$lt_cv_path_mainfest_tool" >&6; } 8604if test yes != "$lt_cv_path_mainfest_tool"; then 8605 MANIFEST_TOOL=: 8606fi 8607 8608 8609 8610 8611 8612 8613 case $host_os in 8614 rhapsody* | darwin*) 8615 if test -n "$ac_tool_prefix"; then 8616 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 8617set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 8618{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8619$as_echo_n "checking for $ac_word... " >&6; } 8620if ${ac_cv_prog_DSYMUTIL+:} false; then : 8621 $as_echo_n "(cached) " >&6 8622else 8623 if test -n "$DSYMUTIL"; then 8624 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 8625else 8626as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8627for as_dir in $PATH 8628do 8629 IFS=$as_save_IFS 8630 test -z "$as_dir" && as_dir=. 8631 for ac_exec_ext in '' $ac_executable_extensions; do 8632 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8633 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 8634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8635 break 2 8636 fi 8637done 8638 done 8639IFS=$as_save_IFS 8640 8641fi 8642fi 8643DSYMUTIL=$ac_cv_prog_DSYMUTIL 8644if test -n "$DSYMUTIL"; then 8645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 8646$as_echo "$DSYMUTIL" >&6; } 8647else 8648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8649$as_echo "no" >&6; } 8650fi 8651 8652 8653fi 8654if test -z "$ac_cv_prog_DSYMUTIL"; then 8655 ac_ct_DSYMUTIL=$DSYMUTIL 8656 # Extract the first word of "dsymutil", so it can be a program name with args. 8657set dummy dsymutil; ac_word=$2 8658{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8659$as_echo_n "checking for $ac_word... " >&6; } 8660if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 8661 $as_echo_n "(cached) " >&6 8662else 8663 if test -n "$ac_ct_DSYMUTIL"; then 8664 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 8665else 8666as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8667for as_dir in $PATH 8668do 8669 IFS=$as_save_IFS 8670 test -z "$as_dir" && as_dir=. 8671 for ac_exec_ext in '' $ac_executable_extensions; do 8672 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8673 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 8674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8675 break 2 8676 fi 8677done 8678 done 8679IFS=$as_save_IFS 8680 8681fi 8682fi 8683ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 8684if test -n "$ac_ct_DSYMUTIL"; then 8685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 8686$as_echo "$ac_ct_DSYMUTIL" >&6; } 8687else 8688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8689$as_echo "no" >&6; } 8690fi 8691 8692 if test "x$ac_ct_DSYMUTIL" = x; then 8693 DSYMUTIL=":" 8694 else 8695 case $cross_compiling:$ac_tool_warned in 8696yes:) 8697{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8698$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8699ac_tool_warned=yes ;; 8700esac 8701 DSYMUTIL=$ac_ct_DSYMUTIL 8702 fi 8703else 8704 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 8705fi 8706 8707 if test -n "$ac_tool_prefix"; then 8708 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 8709set dummy ${ac_tool_prefix}nmedit; ac_word=$2 8710{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8711$as_echo_n "checking for $ac_word... " >&6; } 8712if ${ac_cv_prog_NMEDIT+:} false; then : 8713 $as_echo_n "(cached) " >&6 8714else 8715 if test -n "$NMEDIT"; then 8716 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 8717else 8718as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8719for as_dir in $PATH 8720do 8721 IFS=$as_save_IFS 8722 test -z "$as_dir" && as_dir=. 8723 for ac_exec_ext in '' $ac_executable_extensions; do 8724 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8725 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 8726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8727 break 2 8728 fi 8729done 8730 done 8731IFS=$as_save_IFS 8732 8733fi 8734fi 8735NMEDIT=$ac_cv_prog_NMEDIT 8736if test -n "$NMEDIT"; then 8737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 8738$as_echo "$NMEDIT" >&6; } 8739else 8740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8741$as_echo "no" >&6; } 8742fi 8743 8744 8745fi 8746if test -z "$ac_cv_prog_NMEDIT"; then 8747 ac_ct_NMEDIT=$NMEDIT 8748 # Extract the first word of "nmedit", so it can be a program name with args. 8749set dummy nmedit; ac_word=$2 8750{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8751$as_echo_n "checking for $ac_word... " >&6; } 8752if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 8753 $as_echo_n "(cached) " >&6 8754else 8755 if test -n "$ac_ct_NMEDIT"; then 8756 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 8757else 8758as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8759for as_dir in $PATH 8760do 8761 IFS=$as_save_IFS 8762 test -z "$as_dir" && as_dir=. 8763 for ac_exec_ext in '' $ac_executable_extensions; do 8764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8765 ac_cv_prog_ac_ct_NMEDIT="nmedit" 8766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8767 break 2 8768 fi 8769done 8770 done 8771IFS=$as_save_IFS 8772 8773fi 8774fi 8775ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 8776if test -n "$ac_ct_NMEDIT"; then 8777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 8778$as_echo "$ac_ct_NMEDIT" >&6; } 8779else 8780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8781$as_echo "no" >&6; } 8782fi 8783 8784 if test "x$ac_ct_NMEDIT" = x; then 8785 NMEDIT=":" 8786 else 8787 case $cross_compiling:$ac_tool_warned in 8788yes:) 8789{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8790$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8791ac_tool_warned=yes ;; 8792esac 8793 NMEDIT=$ac_ct_NMEDIT 8794 fi 8795else 8796 NMEDIT="$ac_cv_prog_NMEDIT" 8797fi 8798 8799 if test -n "$ac_tool_prefix"; then 8800 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 8801set dummy ${ac_tool_prefix}lipo; ac_word=$2 8802{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8803$as_echo_n "checking for $ac_word... " >&6; } 8804if ${ac_cv_prog_LIPO+:} false; then : 8805 $as_echo_n "(cached) " >&6 8806else 8807 if test -n "$LIPO"; then 8808 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 8809else 8810as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8811for as_dir in $PATH 8812do 8813 IFS=$as_save_IFS 8814 test -z "$as_dir" && as_dir=. 8815 for ac_exec_ext in '' $ac_executable_extensions; do 8816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8817 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 8818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8819 break 2 8820 fi 8821done 8822 done 8823IFS=$as_save_IFS 8824 8825fi 8826fi 8827LIPO=$ac_cv_prog_LIPO 8828if test -n "$LIPO"; then 8829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 8830$as_echo "$LIPO" >&6; } 8831else 8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8833$as_echo "no" >&6; } 8834fi 8835 8836 8837fi 8838if test -z "$ac_cv_prog_LIPO"; then 8839 ac_ct_LIPO=$LIPO 8840 # Extract the first word of "lipo", so it can be a program name with args. 8841set dummy lipo; ac_word=$2 8842{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8843$as_echo_n "checking for $ac_word... " >&6; } 8844if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 8845 $as_echo_n "(cached) " >&6 8846else 8847 if test -n "$ac_ct_LIPO"; then 8848 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 8849else 8850as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8851for as_dir in $PATH 8852do 8853 IFS=$as_save_IFS 8854 test -z "$as_dir" && as_dir=. 8855 for ac_exec_ext in '' $ac_executable_extensions; do 8856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8857 ac_cv_prog_ac_ct_LIPO="lipo" 8858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8859 break 2 8860 fi 8861done 8862 done 8863IFS=$as_save_IFS 8864 8865fi 8866fi 8867ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 8868if test -n "$ac_ct_LIPO"; then 8869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 8870$as_echo "$ac_ct_LIPO" >&6; } 8871else 8872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8873$as_echo "no" >&6; } 8874fi 8875 8876 if test "x$ac_ct_LIPO" = x; then 8877 LIPO=":" 8878 else 8879 case $cross_compiling:$ac_tool_warned in 8880yes:) 8881{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8882$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8883ac_tool_warned=yes ;; 8884esac 8885 LIPO=$ac_ct_LIPO 8886 fi 8887else 8888 LIPO="$ac_cv_prog_LIPO" 8889fi 8890 8891 if test -n "$ac_tool_prefix"; then 8892 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 8893set dummy ${ac_tool_prefix}otool; ac_word=$2 8894{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8895$as_echo_n "checking for $ac_word... " >&6; } 8896if ${ac_cv_prog_OTOOL+:} false; then : 8897 $as_echo_n "(cached) " >&6 8898else 8899 if test -n "$OTOOL"; then 8900 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 8901else 8902as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8903for as_dir in $PATH 8904do 8905 IFS=$as_save_IFS 8906 test -z "$as_dir" && as_dir=. 8907 for ac_exec_ext in '' $ac_executable_extensions; do 8908 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8909 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 8910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8911 break 2 8912 fi 8913done 8914 done 8915IFS=$as_save_IFS 8916 8917fi 8918fi 8919OTOOL=$ac_cv_prog_OTOOL 8920if test -n "$OTOOL"; then 8921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 8922$as_echo "$OTOOL" >&6; } 8923else 8924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8925$as_echo "no" >&6; } 8926fi 8927 8928 8929fi 8930if test -z "$ac_cv_prog_OTOOL"; then 8931 ac_ct_OTOOL=$OTOOL 8932 # Extract the first word of "otool", so it can be a program name with args. 8933set dummy otool; ac_word=$2 8934{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8935$as_echo_n "checking for $ac_word... " >&6; } 8936if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 8937 $as_echo_n "(cached) " >&6 8938else 8939 if test -n "$ac_ct_OTOOL"; then 8940 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 8941else 8942as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8943for as_dir in $PATH 8944do 8945 IFS=$as_save_IFS 8946 test -z "$as_dir" && as_dir=. 8947 for ac_exec_ext in '' $ac_executable_extensions; do 8948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8949 ac_cv_prog_ac_ct_OTOOL="otool" 8950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8951 break 2 8952 fi 8953done 8954 done 8955IFS=$as_save_IFS 8956 8957fi 8958fi 8959ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 8960if test -n "$ac_ct_OTOOL"; then 8961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 8962$as_echo "$ac_ct_OTOOL" >&6; } 8963else 8964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8965$as_echo "no" >&6; } 8966fi 8967 8968 if test "x$ac_ct_OTOOL" = x; then 8969 OTOOL=":" 8970 else 8971 case $cross_compiling:$ac_tool_warned in 8972yes:) 8973{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8974$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8975ac_tool_warned=yes ;; 8976esac 8977 OTOOL=$ac_ct_OTOOL 8978 fi 8979else 8980 OTOOL="$ac_cv_prog_OTOOL" 8981fi 8982 8983 if test -n "$ac_tool_prefix"; then 8984 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 8985set dummy ${ac_tool_prefix}otool64; ac_word=$2 8986{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8987$as_echo_n "checking for $ac_word... " >&6; } 8988if ${ac_cv_prog_OTOOL64+:} false; then : 8989 $as_echo_n "(cached) " >&6 8990else 8991 if test -n "$OTOOL64"; then 8992 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 8993else 8994as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8995for as_dir in $PATH 8996do 8997 IFS=$as_save_IFS 8998 test -z "$as_dir" && as_dir=. 8999 for ac_exec_ext in '' $ac_executable_extensions; do 9000 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9001 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 9002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9003 break 2 9004 fi 9005done 9006 done 9007IFS=$as_save_IFS 9008 9009fi 9010fi 9011OTOOL64=$ac_cv_prog_OTOOL64 9012if test -n "$OTOOL64"; then 9013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 9014$as_echo "$OTOOL64" >&6; } 9015else 9016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9017$as_echo "no" >&6; } 9018fi 9019 9020 9021fi 9022if test -z "$ac_cv_prog_OTOOL64"; then 9023 ac_ct_OTOOL64=$OTOOL64 9024 # Extract the first word of "otool64", so it can be a program name with args. 9025set dummy otool64; ac_word=$2 9026{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9027$as_echo_n "checking for $ac_word... " >&6; } 9028if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 9029 $as_echo_n "(cached) " >&6 9030else 9031 if test -n "$ac_ct_OTOOL64"; then 9032 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 9033else 9034as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9035for as_dir in $PATH 9036do 9037 IFS=$as_save_IFS 9038 test -z "$as_dir" && as_dir=. 9039 for ac_exec_ext in '' $ac_executable_extensions; do 9040 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9041 ac_cv_prog_ac_ct_OTOOL64="otool64" 9042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9043 break 2 9044 fi 9045done 9046 done 9047IFS=$as_save_IFS 9048 9049fi 9050fi 9051ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 9052if test -n "$ac_ct_OTOOL64"; then 9053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 9054$as_echo "$ac_ct_OTOOL64" >&6; } 9055else 9056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9057$as_echo "no" >&6; } 9058fi 9059 9060 if test "x$ac_ct_OTOOL64" = x; then 9061 OTOOL64=":" 9062 else 9063 case $cross_compiling:$ac_tool_warned in 9064yes:) 9065{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9066$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9067ac_tool_warned=yes ;; 9068esac 9069 OTOOL64=$ac_ct_OTOOL64 9070 fi 9071else 9072 OTOOL64="$ac_cv_prog_OTOOL64" 9073fi 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 9102$as_echo_n "checking for -single_module linker flag... " >&6; } 9103if ${lt_cv_apple_cc_single_mod+:} false; then : 9104 $as_echo_n "(cached) " >&6 9105else 9106 lt_cv_apple_cc_single_mod=no 9107 if test -z "$LT_MULTI_MODULE"; then 9108 # By default we will add the -single_module flag. You can override 9109 # by either setting the environment variable LT_MULTI_MODULE 9110 # non-empty at configure time, or by adding -multi_module to the 9111 # link flags. 9112 rm -rf libconftest.dylib* 9113 echo "int foo(void){return 1;}" > conftest.c 9114 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 9115-dynamiclib -Wl,-single_module conftest.c" >&5 9116 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 9117 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 9118 _lt_result=$? 9119 # If there is a non-empty error log, and "single_module" 9120 # appears in it, assume the flag caused a linker warning 9121 if test -s conftest.err && $GREP single_module conftest.err; then 9122 cat conftest.err >&5 9123 # Otherwise, if the output was created with a 0 exit code from 9124 # the compiler, it worked. 9125 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 9126 lt_cv_apple_cc_single_mod=yes 9127 else 9128 cat conftest.err >&5 9129 fi 9130 rm -rf libconftest.dylib* 9131 rm -f conftest.* 9132 fi 9133fi 9134{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 9135$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 9136 9137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 9138$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 9139if ${lt_cv_ld_exported_symbols_list+:} false; then : 9140 $as_echo_n "(cached) " >&6 9141else 9142 lt_cv_ld_exported_symbols_list=no 9143 save_LDFLAGS=$LDFLAGS 9144 echo "_main" > conftest.sym 9145 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 9146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9147/* end confdefs.h. */ 9148 9149int 9150main () 9151{ 9152 9153 ; 9154 return 0; 9155} 9156_ACEOF 9157if ac_fn_c_try_link "$LINENO"; then : 9158 lt_cv_ld_exported_symbols_list=yes 9159else 9160 lt_cv_ld_exported_symbols_list=no 9161fi 9162rm -f core conftest.err conftest.$ac_objext \ 9163 conftest$ac_exeext conftest.$ac_ext 9164 LDFLAGS=$save_LDFLAGS 9165 9166fi 9167{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 9168$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 9169 9170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 9171$as_echo_n "checking for -force_load linker flag... " >&6; } 9172if ${lt_cv_ld_force_load+:} false; then : 9173 $as_echo_n "(cached) " >&6 9174else 9175 lt_cv_ld_force_load=no 9176 cat > conftest.c << _LT_EOF 9177int forced_loaded() { return 2;} 9178_LT_EOF 9179 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 9180 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 9181 echo "$AR cru libconftest.a conftest.o" >&5 9182 $AR cru libconftest.a conftest.o 2>&5 9183 echo "$RANLIB libconftest.a" >&5 9184 $RANLIB libconftest.a 2>&5 9185 cat > conftest.c << _LT_EOF 9186int main() { return 0;} 9187_LT_EOF 9188 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 9189 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 9190 _lt_result=$? 9191 if test -s conftest.err && $GREP force_load conftest.err; then 9192 cat conftest.err >&5 9193 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 9194 lt_cv_ld_force_load=yes 9195 else 9196 cat conftest.err >&5 9197 fi 9198 rm -f conftest.err libconftest.a conftest conftest.c 9199 rm -rf conftest.dSYM 9200 9201fi 9202{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 9203$as_echo "$lt_cv_ld_force_load" >&6; } 9204 case $host_os in 9205 rhapsody* | darwin1.[012]) 9206 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 9207 darwin1.*) 9208 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 9209 darwin*) # darwin 5.x on 9210 # if running on 10.5 or later, the deployment target defaults 9211 # to the OS version, if on x86, and 10.4, the deployment 9212 # target defaults to 10.4. Don't you love it? 9213 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 9214 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 9215 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 9216 10.[012][,.]*) 9217 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 9218 10.*) 9219 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 9220 esac 9221 ;; 9222 esac 9223 if test yes = "$lt_cv_apple_cc_single_mod"; then 9224 _lt_dar_single_mod='$single_module' 9225 fi 9226 if test yes = "$lt_cv_ld_exported_symbols_list"; then 9227 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 9228 else 9229 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 9230 fi 9231 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 9232 _lt_dsymutil='~$DSYMUTIL $lib || :' 9233 else 9234 _lt_dsymutil= 9235 fi 9236 ;; 9237 esac 9238 9239# func_munge_path_list VARIABLE PATH 9240# ----------------------------------- 9241# VARIABLE is name of variable containing _space_ separated list of 9242# directories to be munged by the contents of PATH, which is string 9243# having a format: 9244# "DIR[:DIR]:" 9245# string "DIR[ DIR]" will be prepended to VARIABLE 9246# ":DIR[:DIR]" 9247# string "DIR[ DIR]" will be appended to VARIABLE 9248# "DIRP[:DIRP]::[DIRA:]DIRA" 9249# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 9250# "DIRA[ DIRA]" will be appended to VARIABLE 9251# "DIR[:DIR]" 9252# VARIABLE will be replaced by "DIR[ DIR]" 9253func_munge_path_list () 9254{ 9255 case x$2 in 9256 x) 9257 ;; 9258 *:) 9259 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 9260 ;; 9261 x:*) 9262 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 9263 ;; 9264 *::*) 9265 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 9266 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 9267 ;; 9268 *) 9269 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 9270 ;; 9271 esac 9272} 9273 9274{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 9275$as_echo_n "checking for ANSI C header files... " >&6; } 9276if ${ac_cv_header_stdc+:} false; then : 9277 $as_echo_n "(cached) " >&6 9278else 9279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9280/* end confdefs.h. */ 9281#include <stdlib.h> 9282#include <stdarg.h> 9283#include <string.h> 9284#include <float.h> 9285 9286int 9287main () 9288{ 9289 9290 ; 9291 return 0; 9292} 9293_ACEOF 9294if ac_fn_c_try_compile "$LINENO"; then : 9295 ac_cv_header_stdc=yes 9296else 9297 ac_cv_header_stdc=no 9298fi 9299rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9300 9301if test $ac_cv_header_stdc = yes; then 9302 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 9303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9304/* end confdefs.h. */ 9305#include <string.h> 9306 9307_ACEOF 9308if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 9309 $EGREP "memchr" >/dev/null 2>&1; then : 9310 9311else 9312 ac_cv_header_stdc=no 9313fi 9314rm -f conftest* 9315 9316fi 9317 9318if test $ac_cv_header_stdc = yes; then 9319 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 9320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9321/* end confdefs.h. */ 9322#include <stdlib.h> 9323 9324_ACEOF 9325if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 9326 $EGREP "free" >/dev/null 2>&1; then : 9327 9328else 9329 ac_cv_header_stdc=no 9330fi 9331rm -f conftest* 9332 9333fi 9334 9335if test $ac_cv_header_stdc = yes; then 9336 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 9337 if test "$cross_compiling" = yes; then : 9338 : 9339else 9340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9341/* end confdefs.h. */ 9342#include <ctype.h> 9343#include <stdlib.h> 9344#if ((' ' & 0x0FF) == 0x020) 9345# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 9346# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 9347#else 9348# define ISLOWER(c) \ 9349 (('a' <= (c) && (c) <= 'i') \ 9350 || ('j' <= (c) && (c) <= 'r') \ 9351 || ('s' <= (c) && (c) <= 'z')) 9352# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 9353#endif 9354 9355#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 9356int 9357main () 9358{ 9359 int i; 9360 for (i = 0; i < 256; i++) 9361 if (XOR (islower (i), ISLOWER (i)) 9362 || toupper (i) != TOUPPER (i)) 9363 return 2; 9364 return 0; 9365} 9366_ACEOF 9367if ac_fn_c_try_run "$LINENO"; then : 9368 9369else 9370 ac_cv_header_stdc=no 9371fi 9372rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 9373 conftest.$ac_objext conftest.beam conftest.$ac_ext 9374fi 9375 9376fi 9377fi 9378{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 9379$as_echo "$ac_cv_header_stdc" >&6; } 9380if test $ac_cv_header_stdc = yes; then 9381 9382$as_echo "#define STDC_HEADERS 1" >>confdefs.h 9383 9384fi 9385 9386# On IRIX 5.3, sys/types and inttypes.h are conflicting. 9387for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 9388 inttypes.h stdint.h unistd.h 9389do : 9390 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9391ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 9392" 9393if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 9394 cat >>confdefs.h <<_ACEOF 9395#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 9396_ACEOF 9397 9398fi 9399 9400done 9401 9402 9403for ac_header in dlfcn.h 9404do : 9405 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 9406" 9407if test "x$ac_cv_header_dlfcn_h" = xyes; then : 9408 cat >>confdefs.h <<_ACEOF 9409#define HAVE_DLFCN_H 1 9410_ACEOF 9411 9412fi 9413 9414done 9415 9416 9417 9418 9419func_stripname_cnf () 9420{ 9421 case $2 in 9422 .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;; 9423 *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;; 9424 esac 9425} # func_stripname_cnf 9426 9427 9428 9429 9430 9431# Set options 9432 9433 9434 9435 enable_dlopen=no 9436 9437 9438 9439 # Check whether --enable-shared was given. 9440if test "${enable_shared+set}" = set; then : 9441 enableval=$enable_shared; p=${PACKAGE-default} 9442 case $enableval in 9443 yes) enable_shared=yes ;; 9444 no) enable_shared=no ;; 9445 *) 9446 enable_shared=no 9447 # Look at the argument we got. We use all the common list separators. 9448 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9449 for pkg in $enableval; do 9450 IFS=$lt_save_ifs 9451 if test "X$pkg" = "X$p"; then 9452 enable_shared=yes 9453 fi 9454 done 9455 IFS=$lt_save_ifs 9456 ;; 9457 esac 9458else 9459 enable_shared=yes 9460fi 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 # Check whether --enable-static was given. 9471if test "${enable_static+set}" = set; then : 9472 enableval=$enable_static; p=${PACKAGE-default} 9473 case $enableval in 9474 yes) enable_static=yes ;; 9475 no) enable_static=no ;; 9476 *) 9477 enable_static=no 9478 # Look at the argument we got. We use all the common list separators. 9479 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9480 for pkg in $enableval; do 9481 IFS=$lt_save_ifs 9482 if test "X$pkg" = "X$p"; then 9483 enable_static=yes 9484 fi 9485 done 9486 IFS=$lt_save_ifs 9487 ;; 9488 esac 9489else 9490 enable_static=yes 9491fi 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502# Check whether --with-pic was given. 9503if test "${with_pic+set}" = set; then : 9504 withval=$with_pic; lt_p=${PACKAGE-default} 9505 case $withval in 9506 yes|no) pic_mode=$withval ;; 9507 *) 9508 pic_mode=default 9509 # Look at the argument we got. We use all the common list separators. 9510 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9511 for lt_pkg in $withval; do 9512 IFS=$lt_save_ifs 9513 if test "X$lt_pkg" = "X$lt_p"; then 9514 pic_mode=yes 9515 fi 9516 done 9517 IFS=$lt_save_ifs 9518 ;; 9519 esac 9520else 9521 pic_mode=default 9522fi 9523 9524 9525 9526 9527 9528 9529 9530 9531 # Check whether --enable-fast-install was given. 9532if test "${enable_fast_install+set}" = set; then : 9533 enableval=$enable_fast_install; p=${PACKAGE-default} 9534 case $enableval in 9535 yes) enable_fast_install=yes ;; 9536 no) enable_fast_install=no ;; 9537 *) 9538 enable_fast_install=no 9539 # Look at the argument we got. We use all the common list separators. 9540 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9541 for pkg in $enableval; do 9542 IFS=$lt_save_ifs 9543 if test "X$pkg" = "X$p"; then 9544 enable_fast_install=yes 9545 fi 9546 done 9547 IFS=$lt_save_ifs 9548 ;; 9549 esac 9550else 9551 enable_fast_install=yes 9552fi 9553 9554 9555 9556 9557 9558 9559 9560 9561 shared_archive_member_spec= 9562case $host,$enable_shared in 9563power*-*-aix[5-9]*,yes) 9564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 9565$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 9566 9567# Check whether --with-aix-soname was given. 9568if test "${with_aix_soname+set}" = set; then : 9569 withval=$with_aix_soname; case $withval in 9570 aix|svr4|both) 9571 ;; 9572 *) 9573 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 9574 ;; 9575 esac 9576 lt_cv_with_aix_soname=$with_aix_soname 9577else 9578 if ${lt_cv_with_aix_soname+:} false; then : 9579 $as_echo_n "(cached) " >&6 9580else 9581 lt_cv_with_aix_soname=aix 9582fi 9583 9584 with_aix_soname=$lt_cv_with_aix_soname 9585fi 9586 9587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 9588$as_echo "$with_aix_soname" >&6; } 9589 if test aix != "$with_aix_soname"; then 9590 # For the AIX way of multilib, we name the shared archive member 9591 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 9592 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 9593 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 9594 # the AIX toolchain works better with OBJECT_MODE set (default 32). 9595 if test 64 = "${OBJECT_MODE-32}"; then 9596 shared_archive_member_spec=shr_64 9597 else 9598 shared_archive_member_spec=shr 9599 fi 9600 fi 9601 ;; 9602*) 9603 with_aix_soname=aix 9604 ;; 9605esac 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616# This can be used to rebuild libtool when needed 9617LIBTOOL_DEPS=$ltmain 9618 9619# Always use our own libtool. 9620LIBTOOL='$(SHELL) $(top_builddir)/libtool' 9621 9622 9623 9624 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651test -z "$LN_S" && LN_S="ln -s" 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666if test -n "${ZSH_VERSION+set}"; then 9667 setopt NO_GLOB_SUBST 9668fi 9669 9670{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 9671$as_echo_n "checking for objdir... " >&6; } 9672if ${lt_cv_objdir+:} false; then : 9673 $as_echo_n "(cached) " >&6 9674else 9675 rm -f .libs 2>/dev/null 9676mkdir .libs 2>/dev/null 9677if test -d .libs; then 9678 lt_cv_objdir=.libs 9679else 9680 # MS-DOS does not allow filenames that begin with a dot. 9681 lt_cv_objdir=_libs 9682fi 9683rmdir .libs 2>/dev/null 9684fi 9685{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 9686$as_echo "$lt_cv_objdir" >&6; } 9687objdir=$lt_cv_objdir 9688 9689 9690 9691 9692 9693cat >>confdefs.h <<_ACEOF 9694#define LT_OBJDIR "$lt_cv_objdir/" 9695_ACEOF 9696 9697 9698 9699 9700case $host_os in 9701aix3*) 9702 # AIX sometimes has problems with the GCC collect2 program. For some 9703 # reason, if we set the COLLECT_NAMES environment variable, the problems 9704 # vanish in a puff of smoke. 9705 if test set != "${COLLECT_NAMES+set}"; then 9706 COLLECT_NAMES= 9707 export COLLECT_NAMES 9708 fi 9709 ;; 9710esac 9711 9712# Global variables: 9713ofile=libtool 9714can_build_shared=yes 9715 9716# All known linkers require a '.a' archive for static linking (except MSVC, 9717# which needs '.lib'). 9718libext=a 9719 9720with_gnu_ld=$lt_cv_prog_gnu_ld 9721 9722old_CC=$CC 9723old_CFLAGS=$CFLAGS 9724 9725# Set sane defaults for various variables 9726test -z "$CC" && CC=cc 9727test -z "$LTCC" && LTCC=$CC 9728test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 9729test -z "$LD" && LD=ld 9730test -z "$ac_objext" && ac_objext=o 9731 9732func_cc_basename $compiler 9733cc_basename=$func_cc_basename_result 9734 9735 9736# Only perform the check for file, if the check method requires it 9737test -z "$MAGIC_CMD" && MAGIC_CMD=file 9738case $deplibs_check_method in 9739file_magic*) 9740 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 9741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 9742$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 9743if ${lt_cv_path_MAGIC_CMD+:} false; then : 9744 $as_echo_n "(cached) " >&6 9745else 9746 case $MAGIC_CMD in 9747[\\/*] | ?:[\\/]*) 9748 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 9749 ;; 9750*) 9751 lt_save_MAGIC_CMD=$MAGIC_CMD 9752 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 9753 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9754 for ac_dir in $ac_dummy; do 9755 IFS=$lt_save_ifs 9756 test -z "$ac_dir" && ac_dir=. 9757 if test -f "$ac_dir/${ac_tool_prefix}file"; then 9758 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 9759 if test -n "$file_magic_test_file"; then 9760 case $deplibs_check_method in 9761 "file_magic "*) 9762 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9763 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9764 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9765 $EGREP "$file_magic_regex" > /dev/null; then 9766 : 9767 else 9768 cat <<_LT_EOF 1>&2 9769 9770*** Warning: the command libtool uses to detect shared libraries, 9771*** $file_magic_cmd, produces output that libtool cannot recognize. 9772*** The result is that libtool may fail to recognize shared libraries 9773*** as such. This will affect the creation of libtool libraries that 9774*** depend on shared libraries, but programs linked with such libtool 9775*** libraries will work regardless of this problem. Nevertheless, you 9776*** may want to report the problem to your system manager and/or to 9777*** bug-libtool@gnu.org 9778 9779_LT_EOF 9780 fi ;; 9781 esac 9782 fi 9783 break 9784 fi 9785 done 9786 IFS=$lt_save_ifs 9787 MAGIC_CMD=$lt_save_MAGIC_CMD 9788 ;; 9789esac 9790fi 9791 9792MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9793if test -n "$MAGIC_CMD"; then 9794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9795$as_echo "$MAGIC_CMD" >&6; } 9796else 9797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9798$as_echo "no" >&6; } 9799fi 9800 9801 9802 9803 9804 9805if test -z "$lt_cv_path_MAGIC_CMD"; then 9806 if test -n "$ac_tool_prefix"; then 9807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 9808$as_echo_n "checking for file... " >&6; } 9809if ${lt_cv_path_MAGIC_CMD+:} false; then : 9810 $as_echo_n "(cached) " >&6 9811else 9812 case $MAGIC_CMD in 9813[\\/*] | ?:[\\/]*) 9814 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 9815 ;; 9816*) 9817 lt_save_MAGIC_CMD=$MAGIC_CMD 9818 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 9819 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9820 for ac_dir in $ac_dummy; do 9821 IFS=$lt_save_ifs 9822 test -z "$ac_dir" && ac_dir=. 9823 if test -f "$ac_dir/file"; then 9824 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 9825 if test -n "$file_magic_test_file"; then 9826 case $deplibs_check_method in 9827 "file_magic "*) 9828 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9829 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9830 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9831 $EGREP "$file_magic_regex" > /dev/null; then 9832 : 9833 else 9834 cat <<_LT_EOF 1>&2 9835 9836*** Warning: the command libtool uses to detect shared libraries, 9837*** $file_magic_cmd, produces output that libtool cannot recognize. 9838*** The result is that libtool may fail to recognize shared libraries 9839*** as such. This will affect the creation of libtool libraries that 9840*** depend on shared libraries, but programs linked with such libtool 9841*** libraries will work regardless of this problem. Nevertheless, you 9842*** may want to report the problem to your system manager and/or to 9843*** bug-libtool@gnu.org 9844 9845_LT_EOF 9846 fi ;; 9847 esac 9848 fi 9849 break 9850 fi 9851 done 9852 IFS=$lt_save_ifs 9853 MAGIC_CMD=$lt_save_MAGIC_CMD 9854 ;; 9855esac 9856fi 9857 9858MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9859if test -n "$MAGIC_CMD"; then 9860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9861$as_echo "$MAGIC_CMD" >&6; } 9862else 9863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9864$as_echo "no" >&6; } 9865fi 9866 9867 9868 else 9869 MAGIC_CMD=: 9870 fi 9871fi 9872 9873 fi 9874 ;; 9875esac 9876 9877# Use C for the default configuration in the libtool script 9878 9879lt_save_CC=$CC 9880ac_ext=c 9881ac_cpp='$CPP $CPPFLAGS' 9882ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9883ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9884ac_compiler_gnu=$ac_cv_c_compiler_gnu 9885 9886 9887# Source file extension for C test sources. 9888ac_ext=c 9889 9890# Object file extension for compiled C test sources. 9891objext=o 9892objext=$objext 9893 9894# Code to be used in simple compile tests 9895lt_simple_compile_test_code="int some_variable = 0;" 9896 9897# Code to be used in simple link tests 9898lt_simple_link_test_code='int main(){return(0);}' 9899 9900 9901 9902 9903 9904 9905 9906# If no C compiler was specified, use CC. 9907LTCC=${LTCC-"$CC"} 9908 9909# If no C compiler flags were specified, use CFLAGS. 9910LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 9911 9912# Allow CC to be a program name with arguments. 9913compiler=$CC 9914 9915# Save the default compiler, since it gets overwritten when the other 9916# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 9917compiler_DEFAULT=$CC 9918 9919# save warnings/boilerplate of simple test code 9920ac_outfile=conftest.$ac_objext 9921echo "$lt_simple_compile_test_code" >conftest.$ac_ext 9922eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9923_lt_compiler_boilerplate=`cat conftest.err` 9924$RM conftest* 9925 9926ac_outfile=conftest.$ac_objext 9927echo "$lt_simple_link_test_code" >conftest.$ac_ext 9928eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9929_lt_linker_boilerplate=`cat conftest.err` 9930$RM -r conftest* 9931 9932 9933## CAVEAT EMPTOR: 9934## There is no encapsulation within the following macros, do not change 9935## the running order or otherwise move them around unless you know exactly 9936## what you are doing... 9937if test -n "$compiler"; then 9938 9939lt_prog_compiler_no_builtin_flag= 9940 9941if test yes = "$GCC"; then 9942 case $cc_basename in 9943 nvcc*) 9944 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 9945 *) 9946 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 9947 esac 9948 9949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 9950$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 9951if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 9952 $as_echo_n "(cached) " >&6 9953else 9954 lt_cv_prog_compiler_rtti_exceptions=no 9955 ac_outfile=conftest.$ac_objext 9956 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9957 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 9958 # Insert the option either (1) after the last *FLAGS variable, or 9959 # (2) before a word containing "conftest.", or (3) at the end. 9960 # Note that $ac_compile itself does not contain backslashes and begins 9961 # with a dollar sign (not a hyphen), so the echo should work correctly. 9962 # The option is referenced via a variable to avoid confusing sed. 9963 lt_compile=`echo "$ac_compile" | $SED \ 9964 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9965 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9966 -e 's:$: $lt_compiler_flag:'` 9967 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9968 (eval "$lt_compile" 2>conftest.err) 9969 ac_status=$? 9970 cat conftest.err >&5 9971 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9972 if (exit $ac_status) && test -s "$ac_outfile"; then 9973 # The compiler can only warn and ignore the option if not recognized 9974 # So say no if there are warnings other than the usual output. 9975 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9976 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9977 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9978 lt_cv_prog_compiler_rtti_exceptions=yes 9979 fi 9980 fi 9981 $RM conftest* 9982 9983fi 9984{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 9985$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 9986 9987if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 9988 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 9989else 9990 : 9991fi 9992 9993fi 9994 9995 9996 9997 9998 9999 10000 lt_prog_compiler_wl= 10001lt_prog_compiler_pic= 10002lt_prog_compiler_static= 10003 10004 10005 if test yes = "$GCC"; then 10006 lt_prog_compiler_wl='-Wl,' 10007 lt_prog_compiler_static='-static' 10008 10009 case $host_os in 10010 aix*) 10011 # All AIX code is PIC. 10012 if test ia64 = "$host_cpu"; then 10013 # AIX 5 now supports IA64 processor 10014 lt_prog_compiler_static='-Bstatic' 10015 fi 10016 lt_prog_compiler_pic='-fPIC' 10017 ;; 10018 10019 amigaos*) 10020 case $host_cpu in 10021 powerpc) 10022 # see comment about AmigaOS4 .so support 10023 lt_prog_compiler_pic='-fPIC' 10024 ;; 10025 m68k) 10026 # FIXME: we need at least 68020 code to build shared libraries, but 10027 # adding the '-m68020' flag to GCC prevents building anything better, 10028 # like '-m68040'. 10029 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 10030 ;; 10031 esac 10032 ;; 10033 10034 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 10035 # PIC is the default for these OSes. 10036 ;; 10037 10038 mingw* | cygwin* | pw32* | os2* | cegcc*) 10039 # This hack is so that the source file can tell whether it is being 10040 # built for inclusion in a dll (and should export symbols for example). 10041 # Although the cygwin gcc ignores -fPIC, still need this for old-style 10042 # (--disable-auto-import) libraries 10043 lt_prog_compiler_pic='-DDLL_EXPORT' 10044 case $host_os in 10045 os2*) 10046 lt_prog_compiler_static='$wl-static' 10047 ;; 10048 esac 10049 ;; 10050 10051 darwin* | rhapsody*) 10052 # PIC is the default on this platform 10053 # Common symbols not allowed in MH_DYLIB files 10054 lt_prog_compiler_pic='-fno-common' 10055 ;; 10056 10057 haiku*) 10058 # PIC is the default for Haiku. 10059 # The "-static" flag exists, but is broken. 10060 lt_prog_compiler_static= 10061 ;; 10062 10063 hpux*) 10064 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 10065 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 10066 # sets the default TLS model and affects inlining. 10067 case $host_cpu in 10068 hppa*64*) 10069 # +Z the default 10070 ;; 10071 *) 10072 lt_prog_compiler_pic='-fPIC' 10073 ;; 10074 esac 10075 ;; 10076 10077 interix[3-9]*) 10078 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 10079 # Instead, we relocate shared libraries at runtime. 10080 ;; 10081 10082 msdosdjgpp*) 10083 # Just because we use GCC doesn't mean we suddenly get shared libraries 10084 # on systems that don't support them. 10085 lt_prog_compiler_can_build_shared=no 10086 enable_shared=no 10087 ;; 10088 10089 *nto* | *qnx*) 10090 # QNX uses GNU C++, but need to define -shared option too, otherwise 10091 # it will coredump. 10092 lt_prog_compiler_pic='-fPIC -shared' 10093 ;; 10094 10095 sysv4*MP*) 10096 if test -d /usr/nec; then 10097 lt_prog_compiler_pic=-Kconform_pic 10098 fi 10099 ;; 10100 10101 *) 10102 lt_prog_compiler_pic='-fPIC' 10103 ;; 10104 esac 10105 10106 case $cc_basename in 10107 nvcc*) # Cuda Compiler Driver 2.2 10108 lt_prog_compiler_wl='-Xlinker ' 10109 if test -n "$lt_prog_compiler_pic"; then 10110 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 10111 fi 10112 ;; 10113 esac 10114 else 10115 # PORTME Check for flag to pass linker flags through the system compiler. 10116 case $host_os in 10117 aix*) 10118 lt_prog_compiler_wl='-Wl,' 10119 if test ia64 = "$host_cpu"; then 10120 # AIX 5 now supports IA64 processor 10121 lt_prog_compiler_static='-Bstatic' 10122 else 10123 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 10124 fi 10125 ;; 10126 10127 darwin* | rhapsody*) 10128 # PIC is the default on this platform 10129 # Common symbols not allowed in MH_DYLIB files 10130 lt_prog_compiler_pic='-fno-common' 10131 case $cc_basename in 10132 nagfor*) 10133 # NAG Fortran compiler 10134 lt_prog_compiler_wl='-Wl,-Wl,,' 10135 lt_prog_compiler_pic='-PIC' 10136 lt_prog_compiler_static='-Bstatic' 10137 ;; 10138 esac 10139 ;; 10140 10141 mingw* | cygwin* | pw32* | os2* | cegcc*) 10142 # This hack is so that the source file can tell whether it is being 10143 # built for inclusion in a dll (and should export symbols for example). 10144 lt_prog_compiler_pic='-DDLL_EXPORT' 10145 case $host_os in 10146 os2*) 10147 lt_prog_compiler_static='$wl-static' 10148 ;; 10149 esac 10150 ;; 10151 10152 hpux9* | hpux10* | hpux11*) 10153 lt_prog_compiler_wl='-Wl,' 10154 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 10155 # not for PA HP-UX. 10156 case $host_cpu in 10157 hppa*64*|ia64*) 10158 # +Z the default 10159 ;; 10160 *) 10161 lt_prog_compiler_pic='+Z' 10162 ;; 10163 esac 10164 # Is there a better lt_prog_compiler_static that works with the bundled CC? 10165 lt_prog_compiler_static='$wl-a ${wl}archive' 10166 ;; 10167 10168 irix5* | irix6* | nonstopux*) 10169 lt_prog_compiler_wl='-Wl,' 10170 # PIC (with -KPIC) is the default. 10171 lt_prog_compiler_static='-non_shared' 10172 ;; 10173 10174 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 10175 case $cc_basename in 10176 # old Intel for x86_64, which still supported -KPIC. 10177 ecc*) 10178 lt_prog_compiler_wl='-Wl,' 10179 lt_prog_compiler_pic='-KPIC' 10180 lt_prog_compiler_static='-static' 10181 ;; 10182 # icc used to be incompatible with GCC. 10183 # ICC 10 doesn't accept -KPIC any more. 10184 icc* | ifort*) 10185 lt_prog_compiler_wl='-Wl,' 10186 lt_prog_compiler_pic='-fPIC' 10187 lt_prog_compiler_static='-static' 10188 ;; 10189 # Lahey Fortran 8.1. 10190 lf95*) 10191 lt_prog_compiler_wl='-Wl,' 10192 lt_prog_compiler_pic='--shared' 10193 lt_prog_compiler_static='--static' 10194 ;; 10195 nagfor*) 10196 # NAG Fortran compiler 10197 lt_prog_compiler_wl='-Wl,-Wl,,' 10198 lt_prog_compiler_pic='-PIC' 10199 lt_prog_compiler_static='-Bstatic' 10200 ;; 10201 tcc*) 10202 # Fabrice Bellard et al's Tiny C Compiler 10203 lt_prog_compiler_wl='-Wl,' 10204 lt_prog_compiler_pic='-fPIC' 10205 lt_prog_compiler_static='-static' 10206 ;; 10207 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 10208 # Portland Group compilers (*not* the Pentium gcc compiler, 10209 # which looks to be a dead project) 10210 lt_prog_compiler_wl='-Wl,' 10211 lt_prog_compiler_pic='-fpic' 10212 lt_prog_compiler_static='-Bstatic' 10213 ;; 10214 ccc*) 10215 lt_prog_compiler_wl='-Wl,' 10216 # All Alpha code is PIC. 10217 lt_prog_compiler_static='-non_shared' 10218 ;; 10219 xl* | bgxl* | bgf* | mpixl*) 10220 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 10221 lt_prog_compiler_wl='-Wl,' 10222 lt_prog_compiler_pic='-qpic' 10223 lt_prog_compiler_static='-qstaticlink' 10224 ;; 10225 *) 10226 case `$CC -V 2>&1 | sed 5q` in 10227 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 10228 # Sun Fortran 8.3 passes all unrecognized flags to the linker 10229 lt_prog_compiler_pic='-KPIC' 10230 lt_prog_compiler_static='-Bstatic' 10231 lt_prog_compiler_wl='' 10232 ;; 10233 *Sun\ F* | *Sun*Fortran*) 10234 lt_prog_compiler_pic='-KPIC' 10235 lt_prog_compiler_static='-Bstatic' 10236 lt_prog_compiler_wl='-Qoption ld ' 10237 ;; 10238 *Sun\ C*) 10239 # Sun C 5.9 10240 lt_prog_compiler_pic='-KPIC' 10241 lt_prog_compiler_static='-Bstatic' 10242 lt_prog_compiler_wl='-Wl,' 10243 ;; 10244 *Intel*\ [CF]*Compiler*) 10245 lt_prog_compiler_wl='-Wl,' 10246 lt_prog_compiler_pic='-fPIC' 10247 lt_prog_compiler_static='-static' 10248 ;; 10249 *Portland\ Group*) 10250 lt_prog_compiler_wl='-Wl,' 10251 lt_prog_compiler_pic='-fpic' 10252 lt_prog_compiler_static='-Bstatic' 10253 ;; 10254 esac 10255 ;; 10256 esac 10257 ;; 10258 10259 newsos6) 10260 lt_prog_compiler_pic='-KPIC' 10261 lt_prog_compiler_static='-Bstatic' 10262 ;; 10263 10264 *nto* | *qnx*) 10265 # QNX uses GNU C++, but need to define -shared option too, otherwise 10266 # it will coredump. 10267 lt_prog_compiler_pic='-fPIC -shared' 10268 ;; 10269 10270 osf3* | osf4* | osf5*) 10271 lt_prog_compiler_wl='-Wl,' 10272 # All OSF/1 code is PIC. 10273 lt_prog_compiler_static='-non_shared' 10274 ;; 10275 10276 rdos*) 10277 lt_prog_compiler_static='-non_shared' 10278 ;; 10279 10280 solaris*) 10281 lt_prog_compiler_pic='-KPIC' 10282 lt_prog_compiler_static='-Bstatic' 10283 case $cc_basename in 10284 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 10285 lt_prog_compiler_wl='-Qoption ld ';; 10286 *) 10287 lt_prog_compiler_wl='-Wl,';; 10288 esac 10289 ;; 10290 10291 sunos4*) 10292 lt_prog_compiler_wl='-Qoption ld ' 10293 lt_prog_compiler_pic='-PIC' 10294 lt_prog_compiler_static='-Bstatic' 10295 ;; 10296 10297 sysv4 | sysv4.2uw2* | sysv4.3*) 10298 lt_prog_compiler_wl='-Wl,' 10299 lt_prog_compiler_pic='-KPIC' 10300 lt_prog_compiler_static='-Bstatic' 10301 ;; 10302 10303 sysv4*MP*) 10304 if test -d /usr/nec; then 10305 lt_prog_compiler_pic='-Kconform_pic' 10306 lt_prog_compiler_static='-Bstatic' 10307 fi 10308 ;; 10309 10310 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 10311 lt_prog_compiler_wl='-Wl,' 10312 lt_prog_compiler_pic='-KPIC' 10313 lt_prog_compiler_static='-Bstatic' 10314 ;; 10315 10316 unicos*) 10317 lt_prog_compiler_wl='-Wl,' 10318 lt_prog_compiler_can_build_shared=no 10319 ;; 10320 10321 uts4*) 10322 lt_prog_compiler_pic='-pic' 10323 lt_prog_compiler_static='-Bstatic' 10324 ;; 10325 10326 *) 10327 lt_prog_compiler_can_build_shared=no 10328 ;; 10329 esac 10330 fi 10331 10332case $host_os in 10333 # For platforms that do not support PIC, -DPIC is meaningless: 10334 *djgpp*) 10335 lt_prog_compiler_pic= 10336 ;; 10337 *) 10338 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 10339 ;; 10340esac 10341 10342{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 10343$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 10344if ${lt_cv_prog_compiler_pic+:} false; then : 10345 $as_echo_n "(cached) " >&6 10346else 10347 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 10348fi 10349{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 10350$as_echo "$lt_cv_prog_compiler_pic" >&6; } 10351lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 10352 10353# 10354# Check to make sure the PIC flag actually works. 10355# 10356if test -n "$lt_prog_compiler_pic"; then 10357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 10358$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 10359if ${lt_cv_prog_compiler_pic_works+:} false; then : 10360 $as_echo_n "(cached) " >&6 10361else 10362 lt_cv_prog_compiler_pic_works=no 10363 ac_outfile=conftest.$ac_objext 10364 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10365 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 10366 # Insert the option either (1) after the last *FLAGS variable, or 10367 # (2) before a word containing "conftest.", or (3) at the end. 10368 # Note that $ac_compile itself does not contain backslashes and begins 10369 # with a dollar sign (not a hyphen), so the echo should work correctly. 10370 # The option is referenced via a variable to avoid confusing sed. 10371 lt_compile=`echo "$ac_compile" | $SED \ 10372 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10373 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10374 -e 's:$: $lt_compiler_flag:'` 10375 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10376 (eval "$lt_compile" 2>conftest.err) 10377 ac_status=$? 10378 cat conftest.err >&5 10379 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10380 if (exit $ac_status) && test -s "$ac_outfile"; then 10381 # The compiler can only warn and ignore the option if not recognized 10382 # So say no if there are warnings other than the usual output. 10383 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 10384 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10385 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 10386 lt_cv_prog_compiler_pic_works=yes 10387 fi 10388 fi 10389 $RM conftest* 10390 10391fi 10392{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 10393$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 10394 10395if test yes = "$lt_cv_prog_compiler_pic_works"; then 10396 case $lt_prog_compiler_pic in 10397 "" | " "*) ;; 10398 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 10399 esac 10400else 10401 lt_prog_compiler_pic= 10402 lt_prog_compiler_can_build_shared=no 10403fi 10404 10405fi 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417# 10418# Check to make sure the static flag actually works. 10419# 10420wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 10421{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 10422$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 10423if ${lt_cv_prog_compiler_static_works+:} false; then : 10424 $as_echo_n "(cached) " >&6 10425else 10426 lt_cv_prog_compiler_static_works=no 10427 save_LDFLAGS=$LDFLAGS 10428 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 10429 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10430 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10431 # The linker can only warn and ignore the option if not recognized 10432 # So say no if there are warnings 10433 if test -s conftest.err; then 10434 # Append any errors to the config.log. 10435 cat conftest.err 1>&5 10436 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10437 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10438 if diff conftest.exp conftest.er2 >/dev/null; then 10439 lt_cv_prog_compiler_static_works=yes 10440 fi 10441 else 10442 lt_cv_prog_compiler_static_works=yes 10443 fi 10444 fi 10445 $RM -r conftest* 10446 LDFLAGS=$save_LDFLAGS 10447 10448fi 10449{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 10450$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 10451 10452if test yes = "$lt_cv_prog_compiler_static_works"; then 10453 : 10454else 10455 lt_prog_compiler_static= 10456fi 10457 10458 10459 10460 10461 10462 10463 10464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 10465$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 10466if ${lt_cv_prog_compiler_c_o+:} false; then : 10467 $as_echo_n "(cached) " >&6 10468else 10469 lt_cv_prog_compiler_c_o=no 10470 $RM -r conftest 2>/dev/null 10471 mkdir conftest 10472 cd conftest 10473 mkdir out 10474 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10475 10476 lt_compiler_flag="-o out/conftest2.$ac_objext" 10477 # Insert the option either (1) after the last *FLAGS variable, or 10478 # (2) before a word containing "conftest.", or (3) at the end. 10479 # Note that $ac_compile itself does not contain backslashes and begins 10480 # with a dollar sign (not a hyphen), so the echo should work correctly. 10481 lt_compile=`echo "$ac_compile" | $SED \ 10482 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10483 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10484 -e 's:$: $lt_compiler_flag:'` 10485 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10486 (eval "$lt_compile" 2>out/conftest.err) 10487 ac_status=$? 10488 cat out/conftest.err >&5 10489 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10490 if (exit $ac_status) && test -s out/conftest2.$ac_objext 10491 then 10492 # The compiler can only warn and ignore the option if not recognized 10493 # So say no if there are warnings 10494 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 10495 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 10496 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 10497 lt_cv_prog_compiler_c_o=yes 10498 fi 10499 fi 10500 chmod u+w . 2>&5 10501 $RM conftest* 10502 # SGI C++ compiler will create directory out/ii_files/ for 10503 # template instantiation 10504 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 10505 $RM out/* && rmdir out 10506 cd .. 10507 $RM -r conftest 10508 $RM conftest* 10509 10510fi 10511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 10512$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 10513 10514 10515 10516 10517 10518 10519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 10520$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 10521if ${lt_cv_prog_compiler_c_o+:} false; then : 10522 $as_echo_n "(cached) " >&6 10523else 10524 lt_cv_prog_compiler_c_o=no 10525 $RM -r conftest 2>/dev/null 10526 mkdir conftest 10527 cd conftest 10528 mkdir out 10529 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10530 10531 lt_compiler_flag="-o out/conftest2.$ac_objext" 10532 # Insert the option either (1) after the last *FLAGS variable, or 10533 # (2) before a word containing "conftest.", or (3) at the end. 10534 # Note that $ac_compile itself does not contain backslashes and begins 10535 # with a dollar sign (not a hyphen), so the echo should work correctly. 10536 lt_compile=`echo "$ac_compile" | $SED \ 10537 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10538 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10539 -e 's:$: $lt_compiler_flag:'` 10540 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10541 (eval "$lt_compile" 2>out/conftest.err) 10542 ac_status=$? 10543 cat out/conftest.err >&5 10544 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10545 if (exit $ac_status) && test -s out/conftest2.$ac_objext 10546 then 10547 # The compiler can only warn and ignore the option if not recognized 10548 # So say no if there are warnings 10549 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 10550 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 10551 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 10552 lt_cv_prog_compiler_c_o=yes 10553 fi 10554 fi 10555 chmod u+w . 2>&5 10556 $RM conftest* 10557 # SGI C++ compiler will create directory out/ii_files/ for 10558 # template instantiation 10559 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 10560 $RM out/* && rmdir out 10561 cd .. 10562 $RM -r conftest 10563 $RM conftest* 10564 10565fi 10566{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 10567$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 10568 10569 10570 10571 10572hard_links=nottested 10573if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 10574 # do not overwrite the value of need_locks provided by the user 10575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 10576$as_echo_n "checking if we can lock with hard links... " >&6; } 10577 hard_links=yes 10578 $RM conftest* 10579 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10580 touch conftest.a 10581 ln conftest.a conftest.b 2>&5 || hard_links=no 10582 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 10584$as_echo "$hard_links" >&6; } 10585 if test no = "$hard_links"; then 10586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 10587$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 10588 need_locks=warn 10589 fi 10590else 10591 need_locks=no 10592fi 10593 10594 10595 10596 10597 10598 10599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 10600$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 10601 10602 runpath_var= 10603 allow_undefined_flag= 10604 always_export_symbols=no 10605 archive_cmds= 10606 archive_expsym_cmds= 10607 compiler_needs_object=no 10608 enable_shared_with_static_runtimes=no 10609 export_dynamic_flag_spec= 10610 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 10611 hardcode_automatic=no 10612 hardcode_direct=no 10613 hardcode_direct_absolute=no 10614 hardcode_libdir_flag_spec= 10615 hardcode_libdir_separator= 10616 hardcode_minus_L=no 10617 hardcode_shlibpath_var=unsupported 10618 inherit_rpath=no 10619 link_all_deplibs=unknown 10620 module_cmds= 10621 module_expsym_cmds= 10622 old_archive_from_new_cmds= 10623 old_archive_from_expsyms_cmds= 10624 thread_safe_flag_spec= 10625 whole_archive_flag_spec= 10626 # include_expsyms should be a list of space-separated symbols to be *always* 10627 # included in the symbol list 10628 include_expsyms= 10629 # exclude_expsyms can be an extended regexp of symbols to exclude 10630 # it will be wrapped by ' (' and ')$', so one must not match beginning or 10631 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 10632 # as well as any symbol that contains 'd'. 10633 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 10634 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 10635 # platforms (ab)use it in PIC code, but their linkers get confused if 10636 # the symbol is explicitly referenced. Since portable code cannot 10637 # rely on this symbol name, it's probably fine to never include it in 10638 # preloaded symbol tables. 10639 # Exclude shared library initialization/finalization symbols. 10640 extract_expsyms_cmds= 10641 10642 case $host_os in 10643 cygwin* | mingw* | pw32* | cegcc*) 10644 # FIXME: the MSVC++ port hasn't been tested in a loooong time 10645 # When not using gcc, we currently assume that we are using 10646 # Microsoft Visual C++. 10647 if test yes != "$GCC"; then 10648 with_gnu_ld=no 10649 fi 10650 ;; 10651 interix*) 10652 # we just hope/assume this is gcc and not c89 (= MSVC++) 10653 with_gnu_ld=yes 10654 ;; 10655 openbsd* | bitrig*) 10656 with_gnu_ld=no 10657 ;; 10658 esac 10659 10660 ld_shlibs=yes 10661 10662 # On some targets, GNU ld is compatible enough with the native linker 10663 # that we're better off using the native interface for both. 10664 lt_use_gnu_ld_interface=no 10665 if test yes = "$with_gnu_ld"; then 10666 case $host_os in 10667 aix*) 10668 # The AIX port of GNU ld has always aspired to compatibility 10669 # with the native linker. However, as the warning in the GNU ld 10670 # block says, versions before 2.19.5* couldn't really create working 10671 # shared libraries, regardless of the interface used. 10672 case `$LD -v 2>&1` in 10673 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 10674 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 10675 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 10676 *) 10677 lt_use_gnu_ld_interface=yes 10678 ;; 10679 esac 10680 ;; 10681 *) 10682 lt_use_gnu_ld_interface=yes 10683 ;; 10684 esac 10685 fi 10686 10687 if test yes = "$lt_use_gnu_ld_interface"; then 10688 # If archive_cmds runs LD, not CC, wlarc should be empty 10689 wlarc='$wl' 10690 10691 # Set some defaults for GNU ld with shared library support. These 10692 # are reset later if shared libraries are not supported. Putting them 10693 # here allows them to be overridden if necessary. 10694 runpath_var=LD_RUN_PATH 10695 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10696 export_dynamic_flag_spec='$wl--export-dynamic' 10697 # ancient GNU ld didn't support --whole-archive et. al. 10698 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 10699 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 10700 else 10701 whole_archive_flag_spec= 10702 fi 10703 supports_anon_versioning=no 10704 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 10705 *GNU\ gold*) supports_anon_versioning=yes ;; 10706 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 10707 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 10708 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 10709 *\ 2.11.*) ;; # other 2.11 versions 10710 *) supports_anon_versioning=yes ;; 10711 esac 10712 10713 # See if GNU ld supports shared libraries. 10714 case $host_os in 10715 aix[3-9]*) 10716 # On AIX/PPC, the GNU linker is very broken 10717 if test ia64 != "$host_cpu"; then 10718 ld_shlibs=no 10719 cat <<_LT_EOF 1>&2 10720 10721*** Warning: the GNU linker, at least up to release 2.19, is reported 10722*** to be unable to reliably create shared libraries on AIX. 10723*** Therefore, libtool is disabling shared libraries support. If you 10724*** really care for shared libraries, you may want to install binutils 10725*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 10726*** You will then need to restart the configuration process. 10727 10728_LT_EOF 10729 fi 10730 ;; 10731 10732 amigaos*) 10733 case $host_cpu in 10734 powerpc) 10735 # see comment about AmigaOS4 .so support 10736 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10737 archive_expsym_cmds='' 10738 ;; 10739 m68k) 10740 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)' 10741 hardcode_libdir_flag_spec='-L$libdir' 10742 hardcode_minus_L=yes 10743 ;; 10744 esac 10745 ;; 10746 10747 beos*) 10748 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10749 allow_undefined_flag=unsupported 10750 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 10751 # support --undefined. This deserves some investigation. FIXME 10752 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10753 else 10754 ld_shlibs=no 10755 fi 10756 ;; 10757 10758 cygwin* | mingw* | pw32* | cegcc*) 10759 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 10760 # as there is no search path for DLLs. 10761 hardcode_libdir_flag_spec='-L$libdir' 10762 export_dynamic_flag_spec='$wl--export-all-symbols' 10763 allow_undefined_flag=unsupported 10764 always_export_symbols=no 10765 enable_shared_with_static_runtimes=yes 10766 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' 10767 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 10768 10769 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 10770 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10771 # If the export-symbols file already is a .def file, use it as 10772 # is; otherwise, prepend EXPORTS... 10773 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 10774 cp $export_symbols $output_objdir/$soname.def; 10775 else 10776 echo EXPORTS > $output_objdir/$soname.def; 10777 cat $export_symbols >> $output_objdir/$soname.def; 10778 fi~ 10779 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10780 else 10781 ld_shlibs=no 10782 fi 10783 ;; 10784 10785 haiku*) 10786 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10787 link_all_deplibs=yes 10788 ;; 10789 10790 os2*) 10791 hardcode_libdir_flag_spec='-L$libdir' 10792 hardcode_minus_L=yes 10793 allow_undefined_flag=unsupported 10794 shrext_cmds=.dll 10795 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10796 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10797 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10798 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10799 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10800 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10801 emximp -o $lib $output_objdir/$libname.def' 10802 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10803 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10804 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10805 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10806 prefix_cmds="$SED"~ 10807 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10808 prefix_cmds="$prefix_cmds -e 1d"; 10809 fi~ 10810 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10811 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10812 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10813 emximp -o $lib $output_objdir/$libname.def' 10814 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10815 enable_shared_with_static_runtimes=yes 10816 ;; 10817 10818 interix[3-9]*) 10819 hardcode_direct=no 10820 hardcode_shlibpath_var=no 10821 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10822 export_dynamic_flag_spec='$wl-E' 10823 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 10824 # Instead, shared libraries are loaded at an image base (0x10000000 by 10825 # default) and relocated if they conflict, which is a slow very memory 10826 # consuming and fragmenting process. To avoid this, we pick a random, 10827 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 10828 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 10829 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 10830 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' 10831 ;; 10832 10833 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 10834 tmp_diet=no 10835 if test linux-dietlibc = "$host_os"; then 10836 case $cc_basename in 10837 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 10838 esac 10839 fi 10840 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 10841 && test no = "$tmp_diet" 10842 then 10843 tmp_addflag=' $pic_flag' 10844 tmp_sharedflag='-shared' 10845 case $cc_basename,$host_cpu in 10846 pgcc*) # Portland Group C compiler 10847 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' 10848 tmp_addflag=' $pic_flag' 10849 ;; 10850 pgf77* | pgf90* | pgf95* | pgfortran*) 10851 # Portland Group f77 and f90 compilers 10852 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' 10853 tmp_addflag=' $pic_flag -Mnomain' ;; 10854 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 10855 tmp_addflag=' -i_dynamic' ;; 10856 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 10857 tmp_addflag=' -i_dynamic -nofor_main' ;; 10858 ifc* | ifort*) # Intel Fortran compiler 10859 tmp_addflag=' -nofor_main' ;; 10860 lf95*) # Lahey Fortran 8.1 10861 whole_archive_flag_spec= 10862 tmp_sharedflag='--shared' ;; 10863 nagfor*) # NAGFOR 5.3 10864 tmp_sharedflag='-Wl,-shared' ;; 10865 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 10866 tmp_sharedflag='-qmkshrobj' 10867 tmp_addflag= ;; 10868 nvcc*) # Cuda Compiler Driver 2.2 10869 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' 10870 compiler_needs_object=yes 10871 ;; 10872 esac 10873 case `$CC -V 2>&1 | sed 5q` in 10874 *Sun\ C*) # Sun C 5.9 10875 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' 10876 compiler_needs_object=yes 10877 tmp_sharedflag='-G' ;; 10878 *Sun\ F*) # Sun Fortran 8.3 10879 tmp_sharedflag='-G' ;; 10880 esac 10881 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10882 10883 if test yes = "$supports_anon_versioning"; then 10884 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10885 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10886 echo "local: *; };" >> $output_objdir/$libname.ver~ 10887 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 10888 fi 10889 10890 case $cc_basename in 10891 tcc*) 10892 export_dynamic_flag_spec='-rdynamic' 10893 ;; 10894 xlf* | bgf* | bgxlf* | mpixlf*) 10895 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 10896 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 10897 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10898 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 10899 if test yes = "$supports_anon_versioning"; then 10900 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10901 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10902 echo "local: *; };" >> $output_objdir/$libname.ver~ 10903 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 10904 fi 10905 ;; 10906 esac 10907 else 10908 ld_shlibs=no 10909 fi 10910 ;; 10911 10912 netbsd*) 10913 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10914 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 10915 wlarc= 10916 else 10917 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10918 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10919 fi 10920 ;; 10921 10922 solaris*) 10923 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 10924 ld_shlibs=no 10925 cat <<_LT_EOF 1>&2 10926 10927*** Warning: The releases 2.8.* of the GNU linker cannot reliably 10928*** create shared libraries on Solaris systems. Therefore, libtool 10929*** is disabling shared libraries support. We urge you to upgrade GNU 10930*** binutils to release 2.9.1 or newer. Another option is to modify 10931*** your PATH or compiler configuration so that the native linker is 10932*** used, and then restart. 10933 10934_LT_EOF 10935 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10936 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10937 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10938 else 10939 ld_shlibs=no 10940 fi 10941 ;; 10942 10943 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 10944 case `$LD -v 2>&1` in 10945 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 10946 ld_shlibs=no 10947 cat <<_LT_EOF 1>&2 10948 10949*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 10950*** reliably create shared libraries on SCO systems. Therefore, libtool 10951*** is disabling shared libraries support. We urge you to upgrade GNU 10952*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 10953*** your PATH or compiler configuration so that the native linker is 10954*** used, and then restart. 10955 10956_LT_EOF 10957 ;; 10958 *) 10959 # For security reasons, it is highly recommended that you always 10960 # use absolute paths for naming shared libraries, and exclude the 10961 # DT_RUNPATH tag from executables and libraries. But doing so 10962 # requires that you compile everything twice, which is a pain. 10963 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10964 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10965 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10966 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10967 else 10968 ld_shlibs=no 10969 fi 10970 ;; 10971 esac 10972 ;; 10973 10974 sunos4*) 10975 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10976 wlarc= 10977 hardcode_direct=yes 10978 hardcode_shlibpath_var=no 10979 ;; 10980 10981 *) 10982 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10983 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10984 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10985 else 10986 ld_shlibs=no 10987 fi 10988 ;; 10989 esac 10990 10991 if test no = "$ld_shlibs"; then 10992 runpath_var= 10993 hardcode_libdir_flag_spec= 10994 export_dynamic_flag_spec= 10995 whole_archive_flag_spec= 10996 fi 10997 else 10998 # PORTME fill in a description of your system's linker (not GNU ld) 10999 case $host_os in 11000 aix3*) 11001 allow_undefined_flag=unsupported 11002 always_export_symbols=yes 11003 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' 11004 # Note: this linker hardcodes the directories in LIBPATH if there 11005 # are no directories specified by -L. 11006 hardcode_minus_L=yes 11007 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 11008 # Neither direct hardcoding nor static linking is supported with a 11009 # broken collect2. 11010 hardcode_direct=unsupported 11011 fi 11012 ;; 11013 11014 aix[4-9]*) 11015 if test ia64 = "$host_cpu"; then 11016 # On IA64, the linker does run time linking by default, so we don't 11017 # have to do anything special. 11018 aix_use_runtimelinking=no 11019 exp_sym_flag='-Bexport' 11020 no_entry_flag= 11021 else 11022 # If we're using GNU nm, then we don't want the "-C" option. 11023 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 11024 # Without the "-l" option, or with the "-B" option, AIX nm treats 11025 # weak defined symbols like other global defined symbols, whereas 11026 # GNU nm marks them as "W". 11027 # While the 'weak' keyword is ignored in the Export File, we need 11028 # it in the Import File for the 'aix-soname' feature, so we have 11029 # to replace the "-B" option with "-P" for AIX nm. 11030 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 11031 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' 11032 else 11033 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' 11034 fi 11035 aix_use_runtimelinking=no 11036 11037 # Test if we are trying to use run time linking or normal 11038 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 11039 # have runtime linking enabled, and use it for executables. 11040 # For shared libraries, we enable/disable runtime linking 11041 # depending on the kind of the shared library created - 11042 # when "with_aix_soname,aix_use_runtimelinking" is: 11043 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 11044 # "aix,yes" lib.so shared, rtl:yes, for executables 11045 # lib.a static archive 11046 # "both,no" lib.so.V(shr.o) shared, rtl:yes 11047 # lib.a(lib.so.V) shared, rtl:no, for executables 11048 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 11049 # lib.a(lib.so.V) shared, rtl:no 11050 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 11051 # lib.a static archive 11052 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 11053 for ld_flag in $LDFLAGS; do 11054 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 11055 aix_use_runtimelinking=yes 11056 break 11057 fi 11058 done 11059 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 11060 # With aix-soname=svr4, we create the lib.so.V shared archives only, 11061 # so we don't have lib.a shared libs to link our executables. 11062 # We have to force runtime linking in this case. 11063 aix_use_runtimelinking=yes 11064 LDFLAGS="$LDFLAGS -Wl,-brtl" 11065 fi 11066 ;; 11067 esac 11068 11069 exp_sym_flag='-bexport' 11070 no_entry_flag='-bnoentry' 11071 fi 11072 11073 # When large executables or shared objects are built, AIX ld can 11074 # have problems creating the table of contents. If linking a library 11075 # or program results in "error TOC overflow" add -mminimal-toc to 11076 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 11077 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 11078 11079 archive_cmds='' 11080 hardcode_direct=yes 11081 hardcode_direct_absolute=yes 11082 hardcode_libdir_separator=':' 11083 link_all_deplibs=yes 11084 file_list_spec='$wl-f,' 11085 case $with_aix_soname,$aix_use_runtimelinking in 11086 aix,*) ;; # traditional, no import file 11087 svr4,* | *,yes) # use import file 11088 # The Import File defines what to hardcode. 11089 hardcode_direct=no 11090 hardcode_direct_absolute=no 11091 ;; 11092 esac 11093 11094 if test yes = "$GCC"; then 11095 case $host_os in aix4.[012]|aix4.[012].*) 11096 # We only want to do this on AIX 4.2 and lower, the check 11097 # below for broken collect2 doesn't work under 4.3+ 11098 collect2name=`$CC -print-prog-name=collect2` 11099 if test -f "$collect2name" && 11100 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 11101 then 11102 # We have reworked collect2 11103 : 11104 else 11105 # We have old collect2 11106 hardcode_direct=unsupported 11107 # It fails to find uninstalled libraries when the uninstalled 11108 # path is not listed in the libpath. Setting hardcode_minus_L 11109 # to unsupported forces relinking 11110 hardcode_minus_L=yes 11111 hardcode_libdir_flag_spec='-L$libdir' 11112 hardcode_libdir_separator= 11113 fi 11114 ;; 11115 esac 11116 shared_flag='-shared' 11117 if test yes = "$aix_use_runtimelinking"; then 11118 shared_flag="$shared_flag "'$wl-G' 11119 fi 11120 # Need to ensure runtime linking is disabled for the traditional 11121 # shared library, or the linker may eventually find shared libraries 11122 # /with/ Import File - we do not want to mix them. 11123 shared_flag_aix='-shared' 11124 shared_flag_svr4='-shared $wl-G' 11125 else 11126 # not using gcc 11127 if test ia64 = "$host_cpu"; then 11128 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 11129 # chokes on -Wl,-G. The following line is correct: 11130 shared_flag='-G' 11131 else 11132 if test yes = "$aix_use_runtimelinking"; then 11133 shared_flag='$wl-G' 11134 else 11135 shared_flag='$wl-bM:SRE' 11136 fi 11137 shared_flag_aix='$wl-bM:SRE' 11138 shared_flag_svr4='$wl-G' 11139 fi 11140 fi 11141 11142 export_dynamic_flag_spec='$wl-bexpall' 11143 # It seems that -bexpall does not export symbols beginning with 11144 # underscore (_), so it is better to generate a list of symbols to export. 11145 always_export_symbols=yes 11146 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 11147 # Warning - without using the other runtime loading flags (-brtl), 11148 # -berok will link without error, but may produce a broken library. 11149 allow_undefined_flag='-berok' 11150 # Determine the default libpath from the value encoded in an 11151 # empty executable. 11152 if test set = "${lt_cv_aix_libpath+set}"; then 11153 aix_libpath=$lt_cv_aix_libpath 11154else 11155 if ${lt_cv_aix_libpath_+:} false; then : 11156 $as_echo_n "(cached) " >&6 11157else 11158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11159/* end confdefs.h. */ 11160 11161int 11162main () 11163{ 11164 11165 ; 11166 return 0; 11167} 11168_ACEOF 11169if ac_fn_c_try_link "$LINENO"; then : 11170 11171 lt_aix_libpath_sed=' 11172 /Import File Strings/,/^$/ { 11173 /^0/ { 11174 s/^0 *\([^ ]*\) *$/\1/ 11175 p 11176 } 11177 }' 11178 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11179 # Check for a 64-bit object if we didn't find anything. 11180 if test -z "$lt_cv_aix_libpath_"; then 11181 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11182 fi 11183fi 11184rm -f core conftest.err conftest.$ac_objext \ 11185 conftest$ac_exeext conftest.$ac_ext 11186 if test -z "$lt_cv_aix_libpath_"; then 11187 lt_cv_aix_libpath_=/usr/lib:/lib 11188 fi 11189 11190fi 11191 11192 aix_libpath=$lt_cv_aix_libpath_ 11193fi 11194 11195 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 11196 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 11197 else 11198 if test ia64 = "$host_cpu"; then 11199 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 11200 allow_undefined_flag="-z nodefs" 11201 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" 11202 else 11203 # Determine the default libpath from the value encoded in an 11204 # empty executable. 11205 if test set = "${lt_cv_aix_libpath+set}"; then 11206 aix_libpath=$lt_cv_aix_libpath 11207else 11208 if ${lt_cv_aix_libpath_+:} false; then : 11209 $as_echo_n "(cached) " >&6 11210else 11211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11212/* end confdefs.h. */ 11213 11214int 11215main () 11216{ 11217 11218 ; 11219 return 0; 11220} 11221_ACEOF 11222if ac_fn_c_try_link "$LINENO"; then : 11223 11224 lt_aix_libpath_sed=' 11225 /Import File Strings/,/^$/ { 11226 /^0/ { 11227 s/^0 *\([^ ]*\) *$/\1/ 11228 p 11229 } 11230 }' 11231 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11232 # Check for a 64-bit object if we didn't find anything. 11233 if test -z "$lt_cv_aix_libpath_"; then 11234 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11235 fi 11236fi 11237rm -f core conftest.err conftest.$ac_objext \ 11238 conftest$ac_exeext conftest.$ac_ext 11239 if test -z "$lt_cv_aix_libpath_"; then 11240 lt_cv_aix_libpath_=/usr/lib:/lib 11241 fi 11242 11243fi 11244 11245 aix_libpath=$lt_cv_aix_libpath_ 11246fi 11247 11248 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 11249 # Warning - without using the other run time loading flags, 11250 # -berok will link without error, but may produce a broken library. 11251 no_undefined_flag=' $wl-bernotok' 11252 allow_undefined_flag=' $wl-berok' 11253 if test yes = "$with_gnu_ld"; then 11254 # We only use this code for GNU lds that support --whole-archive. 11255 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 11256 else 11257 # Exported symbols can be pulled into shared objects from archives 11258 whole_archive_flag_spec='$convenience' 11259 fi 11260 archive_cmds_need_lc=yes 11261 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 11262 # -brtl affects multiple linker settings, -berok does not and is overridden later 11263 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 11264 if test svr4 != "$with_aix_soname"; then 11265 # This is similar to how AIX traditionally builds its shared libraries. 11266 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' 11267 fi 11268 if test aix != "$with_aix_soname"; then 11269 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' 11270 else 11271 # used by -dlpreopen to get the symbols 11272 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 11273 fi 11274 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 11275 fi 11276 fi 11277 ;; 11278 11279 amigaos*) 11280 case $host_cpu in 11281 powerpc) 11282 # see comment about AmigaOS4 .so support 11283 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 11284 archive_expsym_cmds='' 11285 ;; 11286 m68k) 11287 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)' 11288 hardcode_libdir_flag_spec='-L$libdir' 11289 hardcode_minus_L=yes 11290 ;; 11291 esac 11292 ;; 11293 11294 bsdi[45]*) 11295 export_dynamic_flag_spec=-rdynamic 11296 ;; 11297 11298 cygwin* | mingw* | pw32* | cegcc*) 11299 # When not using gcc, we currently assume that we are using 11300 # Microsoft Visual C++. 11301 # hardcode_libdir_flag_spec is actually meaningless, as there is 11302 # no search path for DLLs. 11303 case $cc_basename in 11304 cl*) 11305 # Native MSVC 11306 hardcode_libdir_flag_spec=' ' 11307 allow_undefined_flag=unsupported 11308 always_export_symbols=yes 11309 file_list_spec='@' 11310 # Tell ltmain to make .lib files, not .a files. 11311 libext=lib 11312 # Tell ltmain to make .dll files, not .so files. 11313 shrext_cmds=.dll 11314 # FIXME: Setting linknames here is a bad hack. 11315 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 11316 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 11317 cp "$export_symbols" "$output_objdir/$soname.def"; 11318 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 11319 else 11320 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 11321 fi~ 11322 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 11323 linknames=' 11324 # The linker will not automatically build a static lib if we build a DLL. 11325 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 11326 enable_shared_with_static_runtimes=yes 11327 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 11328 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 11329 # Don't use ranlib 11330 old_postinstall_cmds='chmod 644 $oldlib' 11331 postlink_cmds='lt_outputfile="@OUTPUT@"~ 11332 lt_tool_outputfile="@TOOL_OUTPUT@"~ 11333 case $lt_outputfile in 11334 *.exe|*.EXE) ;; 11335 *) 11336 lt_outputfile=$lt_outputfile.exe 11337 lt_tool_outputfile=$lt_tool_outputfile.exe 11338 ;; 11339 esac~ 11340 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 11341 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 11342 $RM "$lt_outputfile.manifest"; 11343 fi' 11344 ;; 11345 *) 11346 # Assume MSVC wrapper 11347 hardcode_libdir_flag_spec=' ' 11348 allow_undefined_flag=unsupported 11349 # Tell ltmain to make .lib files, not .a files. 11350 libext=lib 11351 # Tell ltmain to make .dll files, not .so files. 11352 shrext_cmds=.dll 11353 # FIXME: Setting linknames here is a bad hack. 11354 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 11355 # The linker will automatically build a .lib file if we build a DLL. 11356 old_archive_from_new_cmds='true' 11357 # FIXME: Should let the user specify the lib program. 11358 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 11359 enable_shared_with_static_runtimes=yes 11360 ;; 11361 esac 11362 ;; 11363 11364 darwin* | rhapsody*) 11365 11366 11367 archive_cmds_need_lc=no 11368 hardcode_direct=no 11369 hardcode_automatic=yes 11370 hardcode_shlibpath_var=unsupported 11371 if test yes = "$lt_cv_ld_force_load"; then 11372 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\"`' 11373 11374 else 11375 whole_archive_flag_spec='' 11376 fi 11377 link_all_deplibs=yes 11378 allow_undefined_flag=$_lt_dar_allow_undefined 11379 case $cc_basename in 11380 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 11381 *) _lt_dar_can_shared=$GCC ;; 11382 esac 11383 if test yes = "$_lt_dar_can_shared"; then 11384 output_verbose_link_cmd=func_echo_all 11385 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 11386 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 11387 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" 11388 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" 11389 11390 else 11391 ld_shlibs=no 11392 fi 11393 11394 ;; 11395 11396 dgux*) 11397 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11398 hardcode_libdir_flag_spec='-L$libdir' 11399 hardcode_shlibpath_var=no 11400 ;; 11401 11402 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 11403 # support. Future versions do this automatically, but an explicit c++rt0.o 11404 # does not break anything, and helps significantly (at the cost of a little 11405 # extra space). 11406 freebsd2.2*) 11407 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 11408 hardcode_libdir_flag_spec='-R$libdir' 11409 hardcode_direct=yes 11410 hardcode_shlibpath_var=no 11411 ;; 11412 11413 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 11414 freebsd2.*) 11415 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 11416 hardcode_direct=yes 11417 hardcode_minus_L=yes 11418 hardcode_shlibpath_var=no 11419 ;; 11420 11421 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 11422 freebsd* | dragonfly*) 11423 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11424 hardcode_libdir_flag_spec='-R$libdir' 11425 hardcode_direct=yes 11426 hardcode_shlibpath_var=no 11427 ;; 11428 11429 hpux9*) 11430 if test yes = "$GCC"; then 11431 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' 11432 else 11433 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' 11434 fi 11435 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 11436 hardcode_libdir_separator=: 11437 hardcode_direct=yes 11438 11439 # hardcode_minus_L: Not really in the search PATH, 11440 # but as the default location of the library. 11441 hardcode_minus_L=yes 11442 export_dynamic_flag_spec='$wl-E' 11443 ;; 11444 11445 hpux10*) 11446 if test yes,no = "$GCC,$with_gnu_ld"; then 11447 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11448 else 11449 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 11450 fi 11451 if test no = "$with_gnu_ld"; then 11452 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 11453 hardcode_libdir_separator=: 11454 hardcode_direct=yes 11455 hardcode_direct_absolute=yes 11456 export_dynamic_flag_spec='$wl-E' 11457 # hardcode_minus_L: Not really in the search PATH, 11458 # but as the default location of the library. 11459 hardcode_minus_L=yes 11460 fi 11461 ;; 11462 11463 hpux11*) 11464 if test yes,no = "$GCC,$with_gnu_ld"; then 11465 case $host_cpu in 11466 hppa*64*) 11467 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11468 ;; 11469 ia64*) 11470 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 11471 ;; 11472 *) 11473 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11474 ;; 11475 esac 11476 else 11477 case $host_cpu in 11478 hppa*64*) 11479 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11480 ;; 11481 ia64*) 11482 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 11483 ;; 11484 *) 11485 11486 # Older versions of the 11.00 compiler do not understand -b yet 11487 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 11488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 11489$as_echo_n "checking if $CC understands -b... " >&6; } 11490if ${lt_cv_prog_compiler__b+:} false; then : 11491 $as_echo_n "(cached) " >&6 11492else 11493 lt_cv_prog_compiler__b=no 11494 save_LDFLAGS=$LDFLAGS 11495 LDFLAGS="$LDFLAGS -b" 11496 echo "$lt_simple_link_test_code" > conftest.$ac_ext 11497 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 11498 # The linker can only warn and ignore the option if not recognized 11499 # So say no if there are warnings 11500 if test -s conftest.err; then 11501 # Append any errors to the config.log. 11502 cat conftest.err 1>&5 11503 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 11504 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 11505 if diff conftest.exp conftest.er2 >/dev/null; then 11506 lt_cv_prog_compiler__b=yes 11507 fi 11508 else 11509 lt_cv_prog_compiler__b=yes 11510 fi 11511 fi 11512 $RM -r conftest* 11513 LDFLAGS=$save_LDFLAGS 11514 11515fi 11516{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 11517$as_echo "$lt_cv_prog_compiler__b" >&6; } 11518 11519if test yes = "$lt_cv_prog_compiler__b"; then 11520 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11521else 11522 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 11523fi 11524 11525 ;; 11526 esac 11527 fi 11528 if test no = "$with_gnu_ld"; then 11529 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 11530 hardcode_libdir_separator=: 11531 11532 case $host_cpu in 11533 hppa*64*|ia64*) 11534 hardcode_direct=no 11535 hardcode_shlibpath_var=no 11536 ;; 11537 *) 11538 hardcode_direct=yes 11539 hardcode_direct_absolute=yes 11540 export_dynamic_flag_spec='$wl-E' 11541 11542 # hardcode_minus_L: Not really in the search PATH, 11543 # but as the default location of the library. 11544 hardcode_minus_L=yes 11545 ;; 11546 esac 11547 fi 11548 ;; 11549 11550 irix5* | irix6* | nonstopux*) 11551 if test yes = "$GCC"; then 11552 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' 11553 # Try to use the -exported_symbol ld option, if it does not 11554 # work, assume that -exports_file does not work either and 11555 # implicitly export all symbols. 11556 # This should be the same for all languages, so no per-tag cache variable. 11557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 11558$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 11559if ${lt_cv_irix_exported_symbol+:} false; then : 11560 $as_echo_n "(cached) " >&6 11561else 11562 save_LDFLAGS=$LDFLAGS 11563 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 11564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11565/* end confdefs.h. */ 11566int foo (void) { return 0; } 11567_ACEOF 11568if ac_fn_c_try_link "$LINENO"; then : 11569 lt_cv_irix_exported_symbol=yes 11570else 11571 lt_cv_irix_exported_symbol=no 11572fi 11573rm -f core conftest.err conftest.$ac_objext \ 11574 conftest$ac_exeext conftest.$ac_ext 11575 LDFLAGS=$save_LDFLAGS 11576fi 11577{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 11578$as_echo "$lt_cv_irix_exported_symbol" >&6; } 11579 if test yes = "$lt_cv_irix_exported_symbol"; then 11580 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' 11581 fi 11582 else 11583 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' 11584 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' 11585 fi 11586 archive_cmds_need_lc='no' 11587 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11588 hardcode_libdir_separator=: 11589 inherit_rpath=yes 11590 link_all_deplibs=yes 11591 ;; 11592 11593 linux*) 11594 case $cc_basename in 11595 tcc*) 11596 # Fabrice Bellard et al's Tiny C Compiler 11597 ld_shlibs=yes 11598 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11599 ;; 11600 esac 11601 ;; 11602 11603 netbsd*) 11604 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11605 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 11606 else 11607 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 11608 fi 11609 hardcode_libdir_flag_spec='-R$libdir' 11610 hardcode_direct=yes 11611 hardcode_shlibpath_var=no 11612 ;; 11613 11614 newsos6) 11615 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11616 hardcode_direct=yes 11617 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11618 hardcode_libdir_separator=: 11619 hardcode_shlibpath_var=no 11620 ;; 11621 11622 *nto* | *qnx*) 11623 ;; 11624 11625 openbsd* | bitrig*) 11626 if test -f /usr/libexec/ld.so; then 11627 hardcode_direct=yes 11628 hardcode_shlibpath_var=no 11629 hardcode_direct_absolute=yes 11630 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 11631 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11632 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 11633 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 11634 export_dynamic_flag_spec='$wl-E' 11635 else 11636 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11637 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 11638 fi 11639 else 11640 ld_shlibs=no 11641 fi 11642 ;; 11643 11644 os2*) 11645 hardcode_libdir_flag_spec='-L$libdir' 11646 hardcode_minus_L=yes 11647 allow_undefined_flag=unsupported 11648 shrext_cmds=.dll 11649 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 11650 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 11651 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 11652 $ECHO EXPORTS >> $output_objdir/$libname.def~ 11653 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 11654 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 11655 emximp -o $lib $output_objdir/$libname.def' 11656 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 11657 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 11658 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 11659 $ECHO EXPORTS >> $output_objdir/$libname.def~ 11660 prefix_cmds="$SED"~ 11661 if test EXPORTS = "`$SED 1q $export_symbols`"; then 11662 prefix_cmds="$prefix_cmds -e 1d"; 11663 fi~ 11664 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 11665 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 11666 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 11667 emximp -o $lib $output_objdir/$libname.def' 11668 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 11669 enable_shared_with_static_runtimes=yes 11670 ;; 11671 11672 osf3*) 11673 if test yes = "$GCC"; then 11674 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 11675 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' 11676 else 11677 allow_undefined_flag=' -expect_unresolved \*' 11678 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' 11679 fi 11680 archive_cmds_need_lc='no' 11681 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11682 hardcode_libdir_separator=: 11683 ;; 11684 11685 osf4* | osf5*) # as osf3* with the addition of -msym flag 11686 if test yes = "$GCC"; then 11687 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 11688 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' 11689 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11690 else 11691 allow_undefined_flag=' -expect_unresolved \*' 11692 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' 11693 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~ 11694 $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' 11695 11696 # Both c and cxx compiler support -rpath directly 11697 hardcode_libdir_flag_spec='-rpath $libdir' 11698 fi 11699 archive_cmds_need_lc='no' 11700 hardcode_libdir_separator=: 11701 ;; 11702 11703 solaris*) 11704 no_undefined_flag=' -z defs' 11705 if test yes = "$GCC"; then 11706 wlarc='$wl' 11707 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11708 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11709 $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' 11710 else 11711 case `$CC -V 2>&1` in 11712 *"Compilers 5.0"*) 11713 wlarc='' 11714 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 11715 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11716 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 11717 ;; 11718 *) 11719 wlarc='$wl' 11720 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 11721 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11722 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 11723 ;; 11724 esac 11725 fi 11726 hardcode_libdir_flag_spec='-R$libdir' 11727 hardcode_shlibpath_var=no 11728 case $host_os in 11729 solaris2.[0-5] | solaris2.[0-5].*) ;; 11730 *) 11731 # The compiler driver will combine and reorder linker options, 11732 # but understands '-z linker_flag'. GCC discards it without '$wl', 11733 # but is careful enough not to reorder. 11734 # Supported since Solaris 2.6 (maybe 2.5.1?) 11735 if test yes = "$GCC"; then 11736 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 11737 else 11738 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 11739 fi 11740 ;; 11741 esac 11742 link_all_deplibs=yes 11743 ;; 11744 11745 sunos4*) 11746 if test sequent = "$host_vendor"; then 11747 # Use $CC to link under sequent, because it throws in some extra .o 11748 # files that make .init and .fini sections work. 11749 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 11750 else 11751 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 11752 fi 11753 hardcode_libdir_flag_spec='-L$libdir' 11754 hardcode_direct=yes 11755 hardcode_minus_L=yes 11756 hardcode_shlibpath_var=no 11757 ;; 11758 11759 sysv4) 11760 case $host_vendor in 11761 sni) 11762 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11763 hardcode_direct=yes # is this really true??? 11764 ;; 11765 siemens) 11766 ## LD is ld it makes a PLAMLIB 11767 ## CC just makes a GrossModule. 11768 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 11769 reload_cmds='$CC -r -o $output$reload_objs' 11770 hardcode_direct=no 11771 ;; 11772 motorola) 11773 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11774 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 11775 ;; 11776 esac 11777 runpath_var='LD_RUN_PATH' 11778 hardcode_shlibpath_var=no 11779 ;; 11780 11781 sysv4.3*) 11782 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11783 hardcode_shlibpath_var=no 11784 export_dynamic_flag_spec='-Bexport' 11785 ;; 11786 11787 sysv4*MP*) 11788 if test -d /usr/nec; then 11789 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11790 hardcode_shlibpath_var=no 11791 runpath_var=LD_RUN_PATH 11792 hardcode_runpath_var=yes 11793 ld_shlibs=yes 11794 fi 11795 ;; 11796 11797 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 11798 no_undefined_flag='$wl-z,text' 11799 archive_cmds_need_lc=no 11800 hardcode_shlibpath_var=no 11801 runpath_var='LD_RUN_PATH' 11802 11803 if test yes = "$GCC"; then 11804 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11805 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11806 else 11807 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11808 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11809 fi 11810 ;; 11811 11812 sysv5* | sco3.2v5* | sco5v6*) 11813 # Note: We CANNOT use -z defs as we might desire, because we do not 11814 # link with -lc, and that would cause any symbols used from libc to 11815 # always be unresolved, which means just about no library would 11816 # ever link correctly. If we're not using GNU ld we use -z text 11817 # though, which does catch some bad symbols but isn't as heavy-handed 11818 # as -z defs. 11819 no_undefined_flag='$wl-z,text' 11820 allow_undefined_flag='$wl-z,nodefs' 11821 archive_cmds_need_lc=no 11822 hardcode_shlibpath_var=no 11823 hardcode_libdir_flag_spec='$wl-R,$libdir' 11824 hardcode_libdir_separator=':' 11825 link_all_deplibs=yes 11826 export_dynamic_flag_spec='$wl-Bexport' 11827 runpath_var='LD_RUN_PATH' 11828 11829 if test yes = "$GCC"; then 11830 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11831 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11832 else 11833 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11834 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11835 fi 11836 ;; 11837 11838 uts4*) 11839 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11840 hardcode_libdir_flag_spec='-L$libdir' 11841 hardcode_shlibpath_var=no 11842 ;; 11843 11844 *) 11845 ld_shlibs=no 11846 ;; 11847 esac 11848 11849 if test sni = "$host_vendor"; then 11850 case $host in 11851 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 11852 export_dynamic_flag_spec='$wl-Blargedynsym' 11853 ;; 11854 esac 11855 fi 11856 fi 11857 11858{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 11859$as_echo "$ld_shlibs" >&6; } 11860test no = "$ld_shlibs" && can_build_shared=no 11861 11862with_gnu_ld=$with_gnu_ld 11863 11864 11865 11866 11867 11868 11869 11870 11871 11872 11873 11874 11875 11876 11877 11878# 11879# Do we need to explicitly link libc? 11880# 11881case "x$archive_cmds_need_lc" in 11882x|xyes) 11883 # Assume -lc should be added 11884 archive_cmds_need_lc=yes 11885 11886 if test yes,yes = "$GCC,$enable_shared"; then 11887 case $archive_cmds in 11888 *'~'*) 11889 # FIXME: we may have to deal with multi-command sequences. 11890 ;; 11891 '$CC '*) 11892 # Test whether the compiler implicitly links with -lc since on some 11893 # systems, -lgcc has to come before -lc. If gcc already passes -lc 11894 # to ld, don't add -lc before -lgcc. 11895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 11896$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 11897if ${lt_cv_archive_cmds_need_lc+:} false; then : 11898 $as_echo_n "(cached) " >&6 11899else 11900 $RM conftest* 11901 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 11902 11903 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 11904 (eval $ac_compile) 2>&5 11905 ac_status=$? 11906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11907 test $ac_status = 0; } 2>conftest.err; then 11908 soname=conftest 11909 lib=conftest 11910 libobjs=conftest.$ac_objext 11911 deplibs= 11912 wl=$lt_prog_compiler_wl 11913 pic_flag=$lt_prog_compiler_pic 11914 compiler_flags=-v 11915 linker_flags=-v 11916 verstring= 11917 output_objdir=. 11918 libname=conftest 11919 lt_save_allow_undefined_flag=$allow_undefined_flag 11920 allow_undefined_flag= 11921 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 11922 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 11923 ac_status=$? 11924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11925 test $ac_status = 0; } 11926 then 11927 lt_cv_archive_cmds_need_lc=no 11928 else 11929 lt_cv_archive_cmds_need_lc=yes 11930 fi 11931 allow_undefined_flag=$lt_save_allow_undefined_flag 11932 else 11933 cat conftest.err 1>&5 11934 fi 11935 $RM conftest* 11936 11937fi 11938{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 11939$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 11940 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 11941 ;; 11942 esac 11943 fi 11944 ;; 11945esac 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 12015 12016 12017 12018 12019 12020 12021 12022 12023 12024 12025 12026 12027 12028 12029 12030 12031 12032 12033 12034 12035 12036 12037 12038 12039 12040 12041 12042 12043 12044 12045 12046 12047 12048 12049 12050 12051 12052 12053 12054 12055 12056 12057 12058 12059 12060 12061 12062 12063 12064 12065 12066 12067 12068 12069 12070 12071 12072 12073 12074 12075 12076 12077 12078 12079 12080 12081 12082 12083 12084 12085 12086 12087 12088 12089 12090 12091 12092 12093 12094 12095 12096 12097 12098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 12099$as_echo_n "checking dynamic linker characteristics... " >&6; } 12100 12101if test yes = "$GCC"; then 12102 case $host_os in 12103 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 12104 *) lt_awk_arg='/^libraries:/' ;; 12105 esac 12106 case $host_os in 12107 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 12108 *) lt_sed_strip_eq='s|=/|/|g' ;; 12109 esac 12110 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 12111 case $lt_search_path_spec in 12112 *\;*) 12113 # if the path contains ";" then we assume it to be the separator 12114 # otherwise default to the standard path separator (i.e. ":") - it is 12115 # assumed that no part of a normal pathname contains ";" but that should 12116 # okay in the real world where ";" in dirpaths is itself problematic. 12117 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 12118 ;; 12119 *) 12120 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 12121 ;; 12122 esac 12123 # Ok, now we have the path, separated by spaces, we can step through it 12124 # and add multilib dir if necessary... 12125 lt_tmp_lt_search_path_spec= 12126 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 12127 # ...but if some path component already ends with the multilib dir we assume 12128 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 12129 case "$lt_multi_os_dir; $lt_search_path_spec " in 12130 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 12131 lt_multi_os_dir= 12132 ;; 12133 esac 12134 for lt_sys_path in $lt_search_path_spec; do 12135 if test -d "$lt_sys_path$lt_multi_os_dir"; then 12136 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 12137 elif test -n "$lt_multi_os_dir"; then 12138 test -d "$lt_sys_path" && \ 12139 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 12140 fi 12141 done 12142 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 12143BEGIN {RS = " "; FS = "/|\n";} { 12144 lt_foo = ""; 12145 lt_count = 0; 12146 for (lt_i = NF; lt_i > 0; lt_i--) { 12147 if ($lt_i != "" && $lt_i != ".") { 12148 if ($lt_i == "..") { 12149 lt_count++; 12150 } else { 12151 if (lt_count == 0) { 12152 lt_foo = "/" $lt_i lt_foo; 12153 } else { 12154 lt_count--; 12155 } 12156 } 12157 } 12158 } 12159 if (lt_foo != "") { lt_freq[lt_foo]++; } 12160 if (lt_freq[lt_foo] == 1) { print lt_foo; } 12161}'` 12162 # AWK program above erroneously prepends '/' to C:/dos/paths 12163 # for these hosts. 12164 case $host_os in 12165 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 12166 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 12167 esac 12168 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 12169else 12170 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 12171fi 12172library_names_spec= 12173libname_spec='lib$name' 12174soname_spec= 12175shrext_cmds=.so 12176postinstall_cmds= 12177postuninstall_cmds= 12178finish_cmds= 12179finish_eval= 12180shlibpath_var= 12181shlibpath_overrides_runpath=unknown 12182version_type=none 12183dynamic_linker="$host_os ld.so" 12184sys_lib_dlsearch_path_spec="/lib /usr/lib" 12185need_lib_prefix=unknown 12186hardcode_into_libs=no 12187 12188# when you set need_version to no, make sure it does not cause -set_version 12189# flags to be left without arguments 12190need_version=unknown 12191 12192 12193 12194case $host_os in 12195aix3*) 12196 version_type=linux # correct to gnu/linux during the next big refactor 12197 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 12198 shlibpath_var=LIBPATH 12199 12200 # AIX 3 has no versioning support, so we append a major version to the name. 12201 soname_spec='$libname$release$shared_ext$major' 12202 ;; 12203 12204aix[4-9]*) 12205 version_type=linux # correct to gnu/linux during the next big refactor 12206 need_lib_prefix=no 12207 need_version=no 12208 hardcode_into_libs=yes 12209 if test ia64 = "$host_cpu"; then 12210 # AIX 5 supports IA64 12211 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 12212 shlibpath_var=LD_LIBRARY_PATH 12213 else 12214 # With GCC up to 2.95.x, collect2 would create an import file 12215 # for dependence libraries. The import file would start with 12216 # the line '#! .'. This would cause the generated library to 12217 # depend on '.', always an invalid library. This was fixed in 12218 # development snapshots of GCC prior to 3.0. 12219 case $host_os in 12220 aix4 | aix4.[01] | aix4.[01].*) 12221 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 12222 echo ' yes ' 12223 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 12224 : 12225 else 12226 can_build_shared=no 12227 fi 12228 ;; 12229 esac 12230 # Using Import Files as archive members, it is possible to support 12231 # filename-based versioning of shared library archives on AIX. While 12232 # this would work for both with and without runtime linking, it will 12233 # prevent static linking of such archives. So we do filename-based 12234 # shared library versioning with .so extension only, which is used 12235 # when both runtime linking and shared linking is enabled. 12236 # Unfortunately, runtime linking may impact performance, so we do 12237 # not want this to be the default eventually. Also, we use the 12238 # versioned .so libs for executables only if there is the -brtl 12239 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 12240 # To allow for filename-based versioning support, we need to create 12241 # libNAME.so.V as an archive file, containing: 12242 # *) an Import File, referring to the versioned filename of the 12243 # archive as well as the shared archive member, telling the 12244 # bitwidth (32 or 64) of that shared object, and providing the 12245 # list of exported symbols of that shared object, eventually 12246 # decorated with the 'weak' keyword 12247 # *) the shared object with the F_LOADONLY flag set, to really avoid 12248 # it being seen by the linker. 12249 # At run time we better use the real file rather than another symlink, 12250 # but for link time we create the symlink libNAME.so -> libNAME.so.V 12251 12252 case $with_aix_soname,$aix_use_runtimelinking in 12253 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 12254 # soname into executable. Probably we can add versioning support to 12255 # collect2, so additional links can be useful in future. 12256 aix,yes) # traditional libtool 12257 dynamic_linker='AIX unversionable lib.so' 12258 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 12259 # instead of lib<name>.a to let people know that these are not 12260 # typical AIX shared libraries. 12261 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12262 ;; 12263 aix,no) # traditional AIX only 12264 dynamic_linker='AIX lib.a(lib.so.V)' 12265 # We preserve .a as extension for shared libraries through AIX4.2 12266 # and later when we are not doing run time linking. 12267 library_names_spec='$libname$release.a $libname.a' 12268 soname_spec='$libname$release$shared_ext$major' 12269 ;; 12270 svr4,*) # full svr4 only 12271 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 12272 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 12273 # We do not specify a path in Import Files, so LIBPATH fires. 12274 shlibpath_overrides_runpath=yes 12275 ;; 12276 *,yes) # both, prefer svr4 12277 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 12278 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 12279 # unpreferred sharedlib libNAME.a needs extra handling 12280 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"' 12281 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"' 12282 # We do not specify a path in Import Files, so LIBPATH fires. 12283 shlibpath_overrides_runpath=yes 12284 ;; 12285 *,no) # both, prefer aix 12286 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 12287 library_names_spec='$libname$release.a $libname.a' 12288 soname_spec='$libname$release$shared_ext$major' 12289 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 12290 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)' 12291 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"' 12292 ;; 12293 esac 12294 shlibpath_var=LIBPATH 12295 fi 12296 ;; 12297 12298amigaos*) 12299 case $host_cpu in 12300 powerpc) 12301 # Since July 2007 AmigaOS4 officially supports .so libraries. 12302 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 12303 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12304 ;; 12305 m68k) 12306 library_names_spec='$libname.ixlibrary $libname.a' 12307 # Create ${libname}_ixlibrary.a entries in /sys/libs. 12308 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' 12309 ;; 12310 esac 12311 ;; 12312 12313beos*) 12314 library_names_spec='$libname$shared_ext' 12315 dynamic_linker="$host_os ld.so" 12316 shlibpath_var=LIBRARY_PATH 12317 ;; 12318 12319bsdi[45]*) 12320 version_type=linux # correct to gnu/linux during the next big refactor 12321 need_version=no 12322 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12323 soname_spec='$libname$release$shared_ext$major' 12324 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 12325 shlibpath_var=LD_LIBRARY_PATH 12326 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 12327 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 12328 # the default ld.so.conf also contains /usr/contrib/lib and 12329 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 12330 # libtool to hard-code these into programs 12331 ;; 12332 12333cygwin* | mingw* | pw32* | cegcc*) 12334 version_type=windows 12335 shrext_cmds=.dll 12336 need_version=no 12337 need_lib_prefix=no 12338 12339 case $GCC,$cc_basename in 12340 yes,*) 12341 # gcc 12342 library_names_spec='$libname.dll.a' 12343 # DLL is installed to $(libdir)/../bin by postinstall_cmds 12344 postinstall_cmds='base_file=`basename \$file`~ 12345 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 12346 dldir=$destdir/`dirname \$dlpath`~ 12347 test -d \$dldir || mkdir -p \$dldir~ 12348 $install_prog $dir/$dlname \$dldir/$dlname~ 12349 chmod a+x \$dldir/$dlname~ 12350 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 12351 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 12352 fi' 12353 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 12354 dlpath=$dir/\$dldll~ 12355 $RM \$dlpath' 12356 shlibpath_overrides_runpath=yes 12357 12358 case $host_os in 12359 cygwin*) 12360 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 12361 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12362 12363 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 12364 ;; 12365 mingw* | cegcc*) 12366 # MinGW DLLs use traditional 'lib' prefix 12367 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12368 ;; 12369 pw32*) 12370 # pw32 DLLs use 'pw' prefix rather than 'lib' 12371 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12372 ;; 12373 esac 12374 dynamic_linker='Win32 ld.exe' 12375 ;; 12376 12377 *,cl*) 12378 # Native MSVC 12379 libname_spec='$name' 12380 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12381 library_names_spec='$libname.dll.lib' 12382 12383 case $build_os in 12384 mingw*) 12385 sys_lib_search_path_spec= 12386 lt_save_ifs=$IFS 12387 IFS=';' 12388 for lt_path in $LIB 12389 do 12390 IFS=$lt_save_ifs 12391 # Let DOS variable expansion print the short 8.3 style file name. 12392 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 12393 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 12394 done 12395 IFS=$lt_save_ifs 12396 # Convert to MSYS style. 12397 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 12398 ;; 12399 cygwin*) 12400 # Convert to unix form, then to dos form, then back to unix form 12401 # but this time dos style (no spaces!) so that the unix form looks 12402 # like /cygdrive/c/PROGRA~1:/cygdr... 12403 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 12404 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 12405 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 12406 ;; 12407 *) 12408 sys_lib_search_path_spec=$LIB 12409 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 12410 # It is most probably a Windows format PATH. 12411 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 12412 else 12413 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 12414 fi 12415 # FIXME: find the short name or the path components, as spaces are 12416 # common. (e.g. "Program Files" -> "PROGRA~1") 12417 ;; 12418 esac 12419 12420 # DLL is installed to $(libdir)/../bin by postinstall_cmds 12421 postinstall_cmds='base_file=`basename \$file`~ 12422 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 12423 dldir=$destdir/`dirname \$dlpath`~ 12424 test -d \$dldir || mkdir -p \$dldir~ 12425 $install_prog $dir/$dlname \$dldir/$dlname' 12426 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 12427 dlpath=$dir/\$dldll~ 12428 $RM \$dlpath' 12429 shlibpath_overrides_runpath=yes 12430 dynamic_linker='Win32 link.exe' 12431 ;; 12432 12433 *) 12434 # Assume MSVC wrapper 12435 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 12436 dynamic_linker='Win32 ld.exe' 12437 ;; 12438 esac 12439 # FIXME: first we should search . and the directory the executable is in 12440 shlibpath_var=PATH 12441 ;; 12442 12443darwin* | rhapsody*) 12444 dynamic_linker="$host_os dyld" 12445 version_type=darwin 12446 need_lib_prefix=no 12447 need_version=no 12448 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 12449 soname_spec='$libname$release$major$shared_ext' 12450 shlibpath_overrides_runpath=yes 12451 shlibpath_var=DYLD_LIBRARY_PATH 12452 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 12453 12454 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 12455 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 12456 ;; 12457 12458dgux*) 12459 version_type=linux # correct to gnu/linux during the next big refactor 12460 need_lib_prefix=no 12461 need_version=no 12462 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12463 soname_spec='$libname$release$shared_ext$major' 12464 shlibpath_var=LD_LIBRARY_PATH 12465 ;; 12466 12467freebsd* | dragonfly*) 12468 # DragonFly does not have aout. When/if they implement a new 12469 # versioning mechanism, adjust this. 12470 if test -x /usr/bin/objformat; then 12471 objformat=`/usr/bin/objformat` 12472 else 12473 case $host_os in 12474 freebsd[23].*) objformat=aout ;; 12475 *) objformat=elf ;; 12476 esac 12477 fi 12478 version_type=freebsd-$objformat 12479 case $version_type in 12480 freebsd-elf*) 12481 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12482 soname_spec='$libname$release$shared_ext$major' 12483 need_version=no 12484 need_lib_prefix=no 12485 ;; 12486 freebsd-*) 12487 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12488 need_version=yes 12489 ;; 12490 esac 12491 shlibpath_var=LD_LIBRARY_PATH 12492 case $host_os in 12493 freebsd2.*) 12494 shlibpath_overrides_runpath=yes 12495 ;; 12496 freebsd3.[01]* | freebsdelf3.[01]*) 12497 shlibpath_overrides_runpath=yes 12498 hardcode_into_libs=yes 12499 ;; 12500 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 12501 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 12502 shlibpath_overrides_runpath=no 12503 hardcode_into_libs=yes 12504 ;; 12505 *) # from 4.6 on, and DragonFly 12506 shlibpath_overrides_runpath=yes 12507 hardcode_into_libs=yes 12508 ;; 12509 esac 12510 ;; 12511 12512haiku*) 12513 version_type=linux # correct to gnu/linux during the next big refactor 12514 need_lib_prefix=no 12515 need_version=no 12516 dynamic_linker="$host_os runtime_loader" 12517 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12518 soname_spec='$libname$release$shared_ext$major' 12519 shlibpath_var=LIBRARY_PATH 12520 shlibpath_overrides_runpath=no 12521 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 12522 hardcode_into_libs=yes 12523 ;; 12524 12525hpux9* | hpux10* | hpux11*) 12526 # Give a soname corresponding to the major version so that dld.sl refuses to 12527 # link against other versions. 12528 version_type=sunos 12529 need_lib_prefix=no 12530 need_version=no 12531 case $host_cpu in 12532 ia64*) 12533 shrext_cmds='.so' 12534 hardcode_into_libs=yes 12535 dynamic_linker="$host_os dld.so" 12536 shlibpath_var=LD_LIBRARY_PATH 12537 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 12538 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12539 soname_spec='$libname$release$shared_ext$major' 12540 if test 32 = "$HPUX_IA64_MODE"; then 12541 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 12542 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 12543 else 12544 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 12545 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 12546 fi 12547 ;; 12548 hppa*64*) 12549 shrext_cmds='.sl' 12550 hardcode_into_libs=yes 12551 dynamic_linker="$host_os dld.sl" 12552 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 12553 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 12554 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12555 soname_spec='$libname$release$shared_ext$major' 12556 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 12557 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12558 ;; 12559 *) 12560 shrext_cmds='.sl' 12561 dynamic_linker="$host_os dld.sl" 12562 shlibpath_var=SHLIB_PATH 12563 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 12564 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12565 soname_spec='$libname$release$shared_ext$major' 12566 ;; 12567 esac 12568 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 12569 postinstall_cmds='chmod 555 $lib' 12570 # or fails outright, so override atomically: 12571 install_override_mode=555 12572 ;; 12573 12574interix[3-9]*) 12575 version_type=linux # correct to gnu/linux during the next big refactor 12576 need_lib_prefix=no 12577 need_version=no 12578 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12579 soname_spec='$libname$release$shared_ext$major' 12580 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 12581 shlibpath_var=LD_LIBRARY_PATH 12582 shlibpath_overrides_runpath=no 12583 hardcode_into_libs=yes 12584 ;; 12585 12586irix5* | irix6* | nonstopux*) 12587 case $host_os in 12588 nonstopux*) version_type=nonstopux ;; 12589 *) 12590 if test yes = "$lt_cv_prog_gnu_ld"; then 12591 version_type=linux # correct to gnu/linux during the next big refactor 12592 else 12593 version_type=irix 12594 fi ;; 12595 esac 12596 need_lib_prefix=no 12597 need_version=no 12598 soname_spec='$libname$release$shared_ext$major' 12599 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 12600 case $host_os in 12601 irix5* | nonstopux*) 12602 libsuff= shlibsuff= 12603 ;; 12604 *) 12605 case $LD in # libtool.m4 will add one of these switches to LD 12606 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 12607 libsuff= shlibsuff= libmagic=32-bit;; 12608 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 12609 libsuff=32 shlibsuff=N32 libmagic=N32;; 12610 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 12611 libsuff=64 shlibsuff=64 libmagic=64-bit;; 12612 *) libsuff= shlibsuff= libmagic=never-match;; 12613 esac 12614 ;; 12615 esac 12616 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 12617 shlibpath_overrides_runpath=no 12618 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 12619 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 12620 hardcode_into_libs=yes 12621 ;; 12622 12623# No shared lib support for Linux oldld, aout, or coff. 12624linux*oldld* | linux*aout* | linux*coff*) 12625 dynamic_linker=no 12626 ;; 12627 12628linux*android*) 12629 version_type=none # Android doesn't support versioned libraries. 12630 need_lib_prefix=no 12631 need_version=no 12632 library_names_spec='$libname$release$shared_ext' 12633 soname_spec='$libname$release$shared_ext' 12634 finish_cmds= 12635 shlibpath_var=LD_LIBRARY_PATH 12636 shlibpath_overrides_runpath=yes 12637 12638 # This implies no fast_install, which is unacceptable. 12639 # Some rework will be needed to allow for fast_install 12640 # before this can be enabled. 12641 hardcode_into_libs=yes 12642 12643 dynamic_linker='Android linker' 12644 # Don't embed -rpath directories since the linker doesn't support them. 12645 hardcode_libdir_flag_spec='-L$libdir' 12646 ;; 12647 12648# This must be glibc/ELF. 12649linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 12650 version_type=linux # correct to gnu/linux during the next big refactor 12651 need_lib_prefix=no 12652 need_version=no 12653 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12654 soname_spec='$libname$release$shared_ext$major' 12655 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 12656 shlibpath_var=LD_LIBRARY_PATH 12657 shlibpath_overrides_runpath=no 12658 12659 # Some binutils ld are patched to set DT_RUNPATH 12660 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 12661 $as_echo_n "(cached) " >&6 12662else 12663 lt_cv_shlibpath_overrides_runpath=no 12664 save_LDFLAGS=$LDFLAGS 12665 save_libdir=$libdir 12666 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 12667 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 12668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12669/* end confdefs.h. */ 12670 12671int 12672main () 12673{ 12674 12675 ; 12676 return 0; 12677} 12678_ACEOF 12679if ac_fn_c_try_link "$LINENO"; then : 12680 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 12681 lt_cv_shlibpath_overrides_runpath=yes 12682fi 12683fi 12684rm -f core conftest.err conftest.$ac_objext \ 12685 conftest$ac_exeext conftest.$ac_ext 12686 LDFLAGS=$save_LDFLAGS 12687 libdir=$save_libdir 12688 12689fi 12690 12691 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 12692 12693 # This implies no fast_install, which is unacceptable. 12694 # Some rework will be needed to allow for fast_install 12695 # before this can be enabled. 12696 hardcode_into_libs=yes 12697 12698 # Add ABI-specific directories to the system library path. 12699 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 12700 12701 # Ideally, we could use ldconfig to report *all* directores which are 12702 # searched for libraries, however this is still not possible. Aside from not 12703 # being certain /sbin/ldconfig is available, command 12704 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 12705 # even though it is searched at run-time. Try to do the best guess by 12706 # appending ld.so.conf contents (and includes) to the search path. 12707 if test -f /etc/ld.so.conf; then 12708 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' ' '` 12709 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 12710 fi 12711 12712 # We used to test for /lib/ld.so.1 and disable shared libraries on 12713 # powerpc, because MkLinux only supported shared libraries with the 12714 # GNU dynamic linker. Since this was broken with cross compilers, 12715 # most powerpc-linux boxes support dynamic linking these days and 12716 # people can always --disable-shared, the test was removed, and we 12717 # assume the GNU/Linux dynamic linker is in use. 12718 dynamic_linker='GNU/Linux ld.so' 12719 ;; 12720 12721netbsd*) 12722 version_type=sunos 12723 need_lib_prefix=no 12724 need_version=no 12725 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 12726 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12727 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12728 dynamic_linker='NetBSD (a.out) ld.so' 12729 else 12730 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12731 soname_spec='$libname$release$shared_ext$major' 12732 dynamic_linker='NetBSD ld.elf_so' 12733 fi 12734 shlibpath_var=LD_LIBRARY_PATH 12735 shlibpath_overrides_runpath=yes 12736 hardcode_into_libs=yes 12737 ;; 12738 12739newsos6) 12740 version_type=linux # correct to gnu/linux during the next big refactor 12741 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12742 shlibpath_var=LD_LIBRARY_PATH 12743 shlibpath_overrides_runpath=yes 12744 ;; 12745 12746*nto* | *qnx*) 12747 version_type=qnx 12748 need_lib_prefix=no 12749 need_version=no 12750 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12751 soname_spec='$libname$release$shared_ext$major' 12752 shlibpath_var=LD_LIBRARY_PATH 12753 shlibpath_overrides_runpath=no 12754 hardcode_into_libs=yes 12755 dynamic_linker='ldqnx.so' 12756 ;; 12757 12758openbsd* | bitrig*) 12759 version_type=sunos 12760 sys_lib_dlsearch_path_spec=/usr/lib 12761 need_lib_prefix=no 12762 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 12763 need_version=no 12764 else 12765 need_version=yes 12766 fi 12767 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12768 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12769 shlibpath_var=LD_LIBRARY_PATH 12770 shlibpath_overrides_runpath=yes 12771 ;; 12772 12773os2*) 12774 libname_spec='$name' 12775 version_type=windows 12776 shrext_cmds=.dll 12777 need_version=no 12778 need_lib_prefix=no 12779 # OS/2 can only load a DLL with a base name of 8 characters or less. 12780 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 12781 v=$($ECHO $release$versuffix | tr -d .-); 12782 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 12783 $ECHO $n$v`$shared_ext' 12784 library_names_spec='${libname}_dll.$libext' 12785 dynamic_linker='OS/2 ld.exe' 12786 shlibpath_var=BEGINLIBPATH 12787 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 12788 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12789 postinstall_cmds='base_file=`basename \$file`~ 12790 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 12791 dldir=$destdir/`dirname \$dlpath`~ 12792 test -d \$dldir || mkdir -p \$dldir~ 12793 $install_prog $dir/$dlname \$dldir/$dlname~ 12794 chmod a+x \$dldir/$dlname~ 12795 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 12796 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 12797 fi' 12798 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 12799 dlpath=$dir/\$dldll~ 12800 $RM \$dlpath' 12801 ;; 12802 12803osf3* | osf4* | osf5*) 12804 version_type=osf 12805 need_lib_prefix=no 12806 need_version=no 12807 soname_spec='$libname$release$shared_ext$major' 12808 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12809 shlibpath_var=LD_LIBRARY_PATH 12810 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 12811 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12812 ;; 12813 12814rdos*) 12815 dynamic_linker=no 12816 ;; 12817 12818solaris*) 12819 version_type=linux # correct to gnu/linux during the next big refactor 12820 need_lib_prefix=no 12821 need_version=no 12822 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12823 soname_spec='$libname$release$shared_ext$major' 12824 shlibpath_var=LD_LIBRARY_PATH 12825 shlibpath_overrides_runpath=yes 12826 hardcode_into_libs=yes 12827 # ldd complains unless libraries are executable 12828 postinstall_cmds='chmod +x $lib' 12829 ;; 12830 12831sunos4*) 12832 version_type=sunos 12833 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12834 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 12835 shlibpath_var=LD_LIBRARY_PATH 12836 shlibpath_overrides_runpath=yes 12837 if test yes = "$with_gnu_ld"; then 12838 need_lib_prefix=no 12839 fi 12840 need_version=yes 12841 ;; 12842 12843sysv4 | sysv4.3*) 12844 version_type=linux # correct to gnu/linux during the next big refactor 12845 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12846 soname_spec='$libname$release$shared_ext$major' 12847 shlibpath_var=LD_LIBRARY_PATH 12848 case $host_vendor in 12849 sni) 12850 shlibpath_overrides_runpath=no 12851 need_lib_prefix=no 12852 runpath_var=LD_RUN_PATH 12853 ;; 12854 siemens) 12855 need_lib_prefix=no 12856 ;; 12857 motorola) 12858 need_lib_prefix=no 12859 need_version=no 12860 shlibpath_overrides_runpath=no 12861 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 12862 ;; 12863 esac 12864 ;; 12865 12866sysv4*MP*) 12867 if test -d /usr/nec; then 12868 version_type=linux # correct to gnu/linux during the next big refactor 12869 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 12870 soname_spec='$libname$shared_ext.$major' 12871 shlibpath_var=LD_LIBRARY_PATH 12872 fi 12873 ;; 12874 12875sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 12876 version_type=sco 12877 need_lib_prefix=no 12878 need_version=no 12879 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 12880 soname_spec='$libname$release$shared_ext$major' 12881 shlibpath_var=LD_LIBRARY_PATH 12882 shlibpath_overrides_runpath=yes 12883 hardcode_into_libs=yes 12884 if test yes = "$with_gnu_ld"; then 12885 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 12886 else 12887 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 12888 case $host_os in 12889 sco3.2v5*) 12890 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 12891 ;; 12892 esac 12893 fi 12894 sys_lib_dlsearch_path_spec='/usr/lib' 12895 ;; 12896 12897tpf*) 12898 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 12899 version_type=linux # correct to gnu/linux during the next big refactor 12900 need_lib_prefix=no 12901 need_version=no 12902 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12903 shlibpath_var=LD_LIBRARY_PATH 12904 shlibpath_overrides_runpath=no 12905 hardcode_into_libs=yes 12906 ;; 12907 12908uts4*) 12909 version_type=linux # correct to gnu/linux during the next big refactor 12910 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12911 soname_spec='$libname$release$shared_ext$major' 12912 shlibpath_var=LD_LIBRARY_PATH 12913 ;; 12914 12915*) 12916 dynamic_linker=no 12917 ;; 12918esac 12919{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 12920$as_echo "$dynamic_linker" >&6; } 12921test no = "$dynamic_linker" && can_build_shared=no 12922 12923variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 12924if test yes = "$GCC"; then 12925 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 12926fi 12927 12928if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 12929 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 12930fi 12931 12932if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 12933 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 12934fi 12935 12936# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 12937configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 12938 12939# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 12940func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 12941 12942# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 12943configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 12944 12945 12946 12947 12948 12949 12950 12951 12952 12953 12954 12955 12956 12957 12958 12959 12960 12961 12962 12963 12964 12965 12966 12967 12968 12969 12970 12971 12972 12973 12974 12975 12976 12977 12978 12979 12980 12981 12982 12983 12984 12985 12986 12987 12988 12989 12990 12991 12992 12993 12994 12995 12996 12997 12998 12999 13000 13001 13002 13003 13004 13005 13006 13007 13008 13009 13010 13011 13012 13013 13014 13015 13016 13017 13018 13019 13020 13021 13022 13023 13024 13025 13026 13027 13028 13029 13030 13031 13032 13033 13034 13035 13036 13037 13038 13039 13040 13041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 13042$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 13043hardcode_action= 13044if test -n "$hardcode_libdir_flag_spec" || 13045 test -n "$runpath_var" || 13046 test yes = "$hardcode_automatic"; then 13047 13048 # We can hardcode non-existent directories. 13049 if test no != "$hardcode_direct" && 13050 # If the only mechanism to avoid hardcoding is shlibpath_var, we 13051 # have to relink, otherwise we might link with an installed library 13052 # when we should be linking with a yet-to-be-installed one 13053 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 13054 test no != "$hardcode_minus_L"; then 13055 # Linking always hardcodes the temporary library directory. 13056 hardcode_action=relink 13057 else 13058 # We can link without hardcoding, and we can hardcode nonexisting dirs. 13059 hardcode_action=immediate 13060 fi 13061else 13062 # We cannot hardcode anything, or else we can only hardcode existing 13063 # directories. 13064 hardcode_action=unsupported 13065fi 13066{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 13067$as_echo "$hardcode_action" >&6; } 13068 13069if test relink = "$hardcode_action" || 13070 test yes = "$inherit_rpath"; then 13071 # Fast installation is not supported 13072 enable_fast_install=no 13073elif test yes = "$shlibpath_overrides_runpath" || 13074 test no = "$enable_shared"; then 13075 # Fast installation is not necessary 13076 enable_fast_install=needless 13077fi 13078 13079 13080 13081 13082 13083 13084 if test yes != "$enable_dlopen"; then 13085 enable_dlopen=unknown 13086 enable_dlopen_self=unknown 13087 enable_dlopen_self_static=unknown 13088else 13089 lt_cv_dlopen=no 13090 lt_cv_dlopen_libs= 13091 13092 case $host_os in 13093 beos*) 13094 lt_cv_dlopen=load_add_on 13095 lt_cv_dlopen_libs= 13096 lt_cv_dlopen_self=yes 13097 ;; 13098 13099 mingw* | pw32* | cegcc*) 13100 lt_cv_dlopen=LoadLibrary 13101 lt_cv_dlopen_libs= 13102 ;; 13103 13104 cygwin*) 13105 lt_cv_dlopen=dlopen 13106 lt_cv_dlopen_libs= 13107 ;; 13108 13109 darwin*) 13110 # if libdl is installed we need to link against it 13111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 13112$as_echo_n "checking for dlopen in -ldl... " >&6; } 13113if ${ac_cv_lib_dl_dlopen+:} false; then : 13114 $as_echo_n "(cached) " >&6 13115else 13116 ac_check_lib_save_LIBS=$LIBS 13117LIBS="-ldl $LIBS" 13118cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13119/* end confdefs.h. */ 13120 13121/* Override any GCC internal prototype to avoid an error. 13122 Use char because int might match the return type of a GCC 13123 builtin and then its argument prototype would still apply. */ 13124#ifdef __cplusplus 13125extern "C" 13126#endif 13127char dlopen (); 13128int 13129main () 13130{ 13131return dlopen (); 13132 ; 13133 return 0; 13134} 13135_ACEOF 13136if ac_fn_c_try_link "$LINENO"; then : 13137 ac_cv_lib_dl_dlopen=yes 13138else 13139 ac_cv_lib_dl_dlopen=no 13140fi 13141rm -f core conftest.err conftest.$ac_objext \ 13142 conftest$ac_exeext conftest.$ac_ext 13143LIBS=$ac_check_lib_save_LIBS 13144fi 13145{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 13146$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 13147if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 13148 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 13149else 13150 13151 lt_cv_dlopen=dyld 13152 lt_cv_dlopen_libs= 13153 lt_cv_dlopen_self=yes 13154 13155fi 13156 13157 ;; 13158 13159 tpf*) 13160 # Don't try to run any link tests for TPF. We know it's impossible 13161 # because TPF is a cross-compiler, and we know how we open DSOs. 13162 lt_cv_dlopen=dlopen 13163 lt_cv_dlopen_libs= 13164 lt_cv_dlopen_self=no 13165 ;; 13166 13167 *) 13168 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 13169if test "x$ac_cv_func_shl_load" = xyes; then : 13170 lt_cv_dlopen=shl_load 13171else 13172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 13173$as_echo_n "checking for shl_load in -ldld... " >&6; } 13174if ${ac_cv_lib_dld_shl_load+:} false; then : 13175 $as_echo_n "(cached) " >&6 13176else 13177 ac_check_lib_save_LIBS=$LIBS 13178LIBS="-ldld $LIBS" 13179cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13180/* end confdefs.h. */ 13181 13182/* Override any GCC internal prototype to avoid an error. 13183 Use char because int might match the return type of a GCC 13184 builtin and then its argument prototype would still apply. */ 13185#ifdef __cplusplus 13186extern "C" 13187#endif 13188char shl_load (); 13189int 13190main () 13191{ 13192return shl_load (); 13193 ; 13194 return 0; 13195} 13196_ACEOF 13197if ac_fn_c_try_link "$LINENO"; then : 13198 ac_cv_lib_dld_shl_load=yes 13199else 13200 ac_cv_lib_dld_shl_load=no 13201fi 13202rm -f core conftest.err conftest.$ac_objext \ 13203 conftest$ac_exeext conftest.$ac_ext 13204LIBS=$ac_check_lib_save_LIBS 13205fi 13206{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 13207$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 13208if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 13209 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 13210else 13211 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 13212if test "x$ac_cv_func_dlopen" = xyes; then : 13213 lt_cv_dlopen=dlopen 13214else 13215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 13216$as_echo_n "checking for dlopen in -ldl... " >&6; } 13217if ${ac_cv_lib_dl_dlopen+:} false; then : 13218 $as_echo_n "(cached) " >&6 13219else 13220 ac_check_lib_save_LIBS=$LIBS 13221LIBS="-ldl $LIBS" 13222cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13223/* end confdefs.h. */ 13224 13225/* Override any GCC internal prototype to avoid an error. 13226 Use char because int might match the return type of a GCC 13227 builtin and then its argument prototype would still apply. */ 13228#ifdef __cplusplus 13229extern "C" 13230#endif 13231char dlopen (); 13232int 13233main () 13234{ 13235return dlopen (); 13236 ; 13237 return 0; 13238} 13239_ACEOF 13240if ac_fn_c_try_link "$LINENO"; then : 13241 ac_cv_lib_dl_dlopen=yes 13242else 13243 ac_cv_lib_dl_dlopen=no 13244fi 13245rm -f core conftest.err conftest.$ac_objext \ 13246 conftest$ac_exeext conftest.$ac_ext 13247LIBS=$ac_check_lib_save_LIBS 13248fi 13249{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 13250$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 13251if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 13252 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 13253else 13254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 13255$as_echo_n "checking for dlopen in -lsvld... " >&6; } 13256if ${ac_cv_lib_svld_dlopen+:} false; then : 13257 $as_echo_n "(cached) " >&6 13258else 13259 ac_check_lib_save_LIBS=$LIBS 13260LIBS="-lsvld $LIBS" 13261cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13262/* end confdefs.h. */ 13263 13264/* Override any GCC internal prototype to avoid an error. 13265 Use char because int might match the return type of a GCC 13266 builtin and then its argument prototype would still apply. */ 13267#ifdef __cplusplus 13268extern "C" 13269#endif 13270char dlopen (); 13271int 13272main () 13273{ 13274return dlopen (); 13275 ; 13276 return 0; 13277} 13278_ACEOF 13279if ac_fn_c_try_link "$LINENO"; then : 13280 ac_cv_lib_svld_dlopen=yes 13281else 13282 ac_cv_lib_svld_dlopen=no 13283fi 13284rm -f core conftest.err conftest.$ac_objext \ 13285 conftest$ac_exeext conftest.$ac_ext 13286LIBS=$ac_check_lib_save_LIBS 13287fi 13288{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 13289$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 13290if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 13291 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 13292else 13293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 13294$as_echo_n "checking for dld_link in -ldld... " >&6; } 13295if ${ac_cv_lib_dld_dld_link+:} false; then : 13296 $as_echo_n "(cached) " >&6 13297else 13298 ac_check_lib_save_LIBS=$LIBS 13299LIBS="-ldld $LIBS" 13300cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13301/* end confdefs.h. */ 13302 13303/* Override any GCC internal prototype to avoid an error. 13304 Use char because int might match the return type of a GCC 13305 builtin and then its argument prototype would still apply. */ 13306#ifdef __cplusplus 13307extern "C" 13308#endif 13309char dld_link (); 13310int 13311main () 13312{ 13313return dld_link (); 13314 ; 13315 return 0; 13316} 13317_ACEOF 13318if ac_fn_c_try_link "$LINENO"; then : 13319 ac_cv_lib_dld_dld_link=yes 13320else 13321 ac_cv_lib_dld_dld_link=no 13322fi 13323rm -f core conftest.err conftest.$ac_objext \ 13324 conftest$ac_exeext conftest.$ac_ext 13325LIBS=$ac_check_lib_save_LIBS 13326fi 13327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 13328$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 13329if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 13330 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 13331fi 13332 13333 13334fi 13335 13336 13337fi 13338 13339 13340fi 13341 13342 13343fi 13344 13345 13346fi 13347 13348 ;; 13349 esac 13350 13351 if test no = "$lt_cv_dlopen"; then 13352 enable_dlopen=no 13353 else 13354 enable_dlopen=yes 13355 fi 13356 13357 case $lt_cv_dlopen in 13358 dlopen) 13359 save_CPPFLAGS=$CPPFLAGS 13360 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 13361 13362 save_LDFLAGS=$LDFLAGS 13363 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 13364 13365 save_LIBS=$LIBS 13366 LIBS="$lt_cv_dlopen_libs $LIBS" 13367 13368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 13369$as_echo_n "checking whether a program can dlopen itself... " >&6; } 13370if ${lt_cv_dlopen_self+:} false; then : 13371 $as_echo_n "(cached) " >&6 13372else 13373 if test yes = "$cross_compiling"; then : 13374 lt_cv_dlopen_self=cross 13375else 13376 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13377 lt_status=$lt_dlunknown 13378 cat > conftest.$ac_ext <<_LT_EOF 13379#line $LINENO "configure" 13380#include "confdefs.h" 13381 13382#if HAVE_DLFCN_H 13383#include <dlfcn.h> 13384#endif 13385 13386#include <stdio.h> 13387 13388#ifdef RTLD_GLOBAL 13389# define LT_DLGLOBAL RTLD_GLOBAL 13390#else 13391# ifdef DL_GLOBAL 13392# define LT_DLGLOBAL DL_GLOBAL 13393# else 13394# define LT_DLGLOBAL 0 13395# endif 13396#endif 13397 13398/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 13399 find out it does not work in some platform. */ 13400#ifndef LT_DLLAZY_OR_NOW 13401# ifdef RTLD_LAZY 13402# define LT_DLLAZY_OR_NOW RTLD_LAZY 13403# else 13404# ifdef DL_LAZY 13405# define LT_DLLAZY_OR_NOW DL_LAZY 13406# else 13407# ifdef RTLD_NOW 13408# define LT_DLLAZY_OR_NOW RTLD_NOW 13409# else 13410# ifdef DL_NOW 13411# define LT_DLLAZY_OR_NOW DL_NOW 13412# else 13413# define LT_DLLAZY_OR_NOW 0 13414# endif 13415# endif 13416# endif 13417# endif 13418#endif 13419 13420/* When -fvisibility=hidden is used, assume the code has been annotated 13421 correspondingly for the symbols needed. */ 13422#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 13423int fnord () __attribute__((visibility("default"))); 13424#endif 13425 13426int fnord () { return 42; } 13427int main () 13428{ 13429 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 13430 int status = $lt_dlunknown; 13431 13432 if (self) 13433 { 13434 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 13435 else 13436 { 13437 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 13438 else puts (dlerror ()); 13439 } 13440 /* dlclose (self); */ 13441 } 13442 else 13443 puts (dlerror ()); 13444 13445 return status; 13446} 13447_LT_EOF 13448 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13449 (eval $ac_link) 2>&5 13450 ac_status=$? 13451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13452 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 13453 (./conftest; exit; ) >&5 2>/dev/null 13454 lt_status=$? 13455 case x$lt_status in 13456 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 13457 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 13458 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 13459 esac 13460 else : 13461 # compilation failed 13462 lt_cv_dlopen_self=no 13463 fi 13464fi 13465rm -fr conftest* 13466 13467 13468fi 13469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 13470$as_echo "$lt_cv_dlopen_self" >&6; } 13471 13472 if test yes = "$lt_cv_dlopen_self"; then 13473 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 13474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 13475$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 13476if ${lt_cv_dlopen_self_static+:} false; then : 13477 $as_echo_n "(cached) " >&6 13478else 13479 if test yes = "$cross_compiling"; then : 13480 lt_cv_dlopen_self_static=cross 13481else 13482 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13483 lt_status=$lt_dlunknown 13484 cat > conftest.$ac_ext <<_LT_EOF 13485#line $LINENO "configure" 13486#include "confdefs.h" 13487 13488#if HAVE_DLFCN_H 13489#include <dlfcn.h> 13490#endif 13491 13492#include <stdio.h> 13493 13494#ifdef RTLD_GLOBAL 13495# define LT_DLGLOBAL RTLD_GLOBAL 13496#else 13497# ifdef DL_GLOBAL 13498# define LT_DLGLOBAL DL_GLOBAL 13499# else 13500# define LT_DLGLOBAL 0 13501# endif 13502#endif 13503 13504/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 13505 find out it does not work in some platform. */ 13506#ifndef LT_DLLAZY_OR_NOW 13507# ifdef RTLD_LAZY 13508# define LT_DLLAZY_OR_NOW RTLD_LAZY 13509# else 13510# ifdef DL_LAZY 13511# define LT_DLLAZY_OR_NOW DL_LAZY 13512# else 13513# ifdef RTLD_NOW 13514# define LT_DLLAZY_OR_NOW RTLD_NOW 13515# else 13516# ifdef DL_NOW 13517# define LT_DLLAZY_OR_NOW DL_NOW 13518# else 13519# define LT_DLLAZY_OR_NOW 0 13520# endif 13521# endif 13522# endif 13523# endif 13524#endif 13525 13526/* When -fvisibility=hidden is used, assume the code has been annotated 13527 correspondingly for the symbols needed. */ 13528#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 13529int fnord () __attribute__((visibility("default"))); 13530#endif 13531 13532int fnord () { return 42; } 13533int main () 13534{ 13535 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 13536 int status = $lt_dlunknown; 13537 13538 if (self) 13539 { 13540 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 13541 else 13542 { 13543 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 13544 else puts (dlerror ()); 13545 } 13546 /* dlclose (self); */ 13547 } 13548 else 13549 puts (dlerror ()); 13550 13551 return status; 13552} 13553_LT_EOF 13554 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13555 (eval $ac_link) 2>&5 13556 ac_status=$? 13557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13558 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 13559 (./conftest; exit; ) >&5 2>/dev/null 13560 lt_status=$? 13561 case x$lt_status in 13562 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 13563 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 13564 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 13565 esac 13566 else : 13567 # compilation failed 13568 lt_cv_dlopen_self_static=no 13569 fi 13570fi 13571rm -fr conftest* 13572 13573 13574fi 13575{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 13576$as_echo "$lt_cv_dlopen_self_static" >&6; } 13577 fi 13578 13579 CPPFLAGS=$save_CPPFLAGS 13580 LDFLAGS=$save_LDFLAGS 13581 LIBS=$save_LIBS 13582 ;; 13583 esac 13584 13585 case $lt_cv_dlopen_self in 13586 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 13587 *) enable_dlopen_self=unknown ;; 13588 esac 13589 13590 case $lt_cv_dlopen_self_static in 13591 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 13592 *) enable_dlopen_self_static=unknown ;; 13593 esac 13594fi 13595 13596 13597 13598 13599 13600 13601 13602 13603 13604 13605 13606 13607 13608 13609 13610 13611 13612striplib= 13613old_striplib= 13614{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 13615$as_echo_n "checking whether stripping libraries is possible... " >&6; } 13616if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 13617 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 13618 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 13619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13620$as_echo "yes" >&6; } 13621else 13622# FIXME - insert some real tests, host_os isn't really good enough 13623 case $host_os in 13624 darwin*) 13625 if test -n "$STRIP"; then 13626 striplib="$STRIP -x" 13627 old_striplib="$STRIP -S" 13628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13629$as_echo "yes" >&6; } 13630 else 13631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13632$as_echo "no" >&6; } 13633 fi 13634 ;; 13635 *) 13636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13637$as_echo "no" >&6; } 13638 ;; 13639 esac 13640fi 13641 13642 13643 13644 13645 13646 13647 13648 13649 13650 13651 13652 13653 # Report what library types will actually be built 13654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 13655$as_echo_n "checking if libtool supports shared libraries... " >&6; } 13656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 13657$as_echo "$can_build_shared" >&6; } 13658 13659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 13660$as_echo_n "checking whether to build shared libraries... " >&6; } 13661 test no = "$can_build_shared" && enable_shared=no 13662 13663 # On AIX, shared libraries and static libraries use the same namespace, and 13664 # are all built from PIC. 13665 case $host_os in 13666 aix3*) 13667 test yes = "$enable_shared" && enable_static=no 13668 if test -n "$RANLIB"; then 13669 archive_cmds="$archive_cmds~\$RANLIB \$lib" 13670 postinstall_cmds='$RANLIB $lib' 13671 fi 13672 ;; 13673 13674 aix[4-9]*) 13675 if test ia64 != "$host_cpu"; then 13676 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 13677 yes,aix,yes) ;; # shared object as lib.so file only 13678 yes,svr4,*) ;; # shared object as lib.so archive member only 13679 yes,*) enable_static=no ;; # shared object in lib.a archive as well 13680 esac 13681 fi 13682 ;; 13683 esac 13684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 13685$as_echo "$enable_shared" >&6; } 13686 13687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 13688$as_echo_n "checking whether to build static libraries... " >&6; } 13689 # Make sure either enable_shared or enable_static is yes. 13690 test yes = "$enable_shared" || enable_static=yes 13691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 13692$as_echo "$enable_static" >&6; } 13693 13694 13695 13696 13697fi 13698ac_ext=c 13699ac_cpp='$CPP $CPPFLAGS' 13700ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13701ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13702ac_compiler_gnu=$ac_cv_c_compiler_gnu 13703 13704CC=$lt_save_CC 13705 13706 if test -n "$CXX" && ( test no != "$CXX" && 13707 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) || 13708 (test g++ != "$CXX"))); then 13709 ac_ext=cpp 13710ac_cpp='$CXXCPP $CPPFLAGS' 13711ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13712ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13713ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 13714{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 13715$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 13716if test -z "$CXXCPP"; then 13717 if ${ac_cv_prog_CXXCPP+:} false; then : 13718 $as_echo_n "(cached) " >&6 13719else 13720 # Double quotes because CXXCPP needs to be expanded 13721 for CXXCPP in "$CXX -E" "/lib/cpp" 13722 do 13723 ac_preproc_ok=false 13724for ac_cxx_preproc_warn_flag in '' yes 13725do 13726 # Use a header file that comes with gcc, so configuring glibc 13727 # with a fresh cross-compiler works. 13728 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13729 # <limits.h> exists even on freestanding compilers. 13730 # On the NeXT, cc -E runs the code through the compiler's parser, 13731 # not just through cpp. "Syntax error" is here to catch this case. 13732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13733/* end confdefs.h. */ 13734#ifdef __STDC__ 13735# include <limits.h> 13736#else 13737# include <assert.h> 13738#endif 13739 Syntax error 13740_ACEOF 13741if ac_fn_cxx_try_cpp "$LINENO"; then : 13742 13743else 13744 # Broken: fails on valid input. 13745continue 13746fi 13747rm -f conftest.err conftest.i conftest.$ac_ext 13748 13749 # OK, works on sane cases. Now check whether nonexistent headers 13750 # can be detected and how. 13751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13752/* end confdefs.h. */ 13753#include <ac_nonexistent.h> 13754_ACEOF 13755if ac_fn_cxx_try_cpp "$LINENO"; then : 13756 # Broken: success on invalid input. 13757continue 13758else 13759 # Passes both tests. 13760ac_preproc_ok=: 13761break 13762fi 13763rm -f conftest.err conftest.i conftest.$ac_ext 13764 13765done 13766# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 13767rm -f conftest.i conftest.err conftest.$ac_ext 13768if $ac_preproc_ok; then : 13769 break 13770fi 13771 13772 done 13773 ac_cv_prog_CXXCPP=$CXXCPP 13774 13775fi 13776 CXXCPP=$ac_cv_prog_CXXCPP 13777else 13778 ac_cv_prog_CXXCPP=$CXXCPP 13779fi 13780{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 13781$as_echo "$CXXCPP" >&6; } 13782ac_preproc_ok=false 13783for ac_cxx_preproc_warn_flag in '' yes 13784do 13785 # Use a header file that comes with gcc, so configuring glibc 13786 # with a fresh cross-compiler works. 13787 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13788 # <limits.h> exists even on freestanding compilers. 13789 # On the NeXT, cc -E runs the code through the compiler's parser, 13790 # not just through cpp. "Syntax error" is here to catch this case. 13791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13792/* end confdefs.h. */ 13793#ifdef __STDC__ 13794# include <limits.h> 13795#else 13796# include <assert.h> 13797#endif 13798 Syntax error 13799_ACEOF 13800if ac_fn_cxx_try_cpp "$LINENO"; then : 13801 13802else 13803 # Broken: fails on valid input. 13804continue 13805fi 13806rm -f conftest.err conftest.i conftest.$ac_ext 13807 13808 # OK, works on sane cases. Now check whether nonexistent headers 13809 # can be detected and how. 13810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13811/* end confdefs.h. */ 13812#include <ac_nonexistent.h> 13813_ACEOF 13814if ac_fn_cxx_try_cpp "$LINENO"; then : 13815 # Broken: success on invalid input. 13816continue 13817else 13818 # Passes both tests. 13819ac_preproc_ok=: 13820break 13821fi 13822rm -f conftest.err conftest.i conftest.$ac_ext 13823 13824done 13825# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 13826rm -f conftest.i conftest.err conftest.$ac_ext 13827if $ac_preproc_ok; then : 13828 13829else 13830 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13831$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13832as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 13833See \`config.log' for more details" "$LINENO" 5; } 13834fi 13835 13836ac_ext=c 13837ac_cpp='$CPP $CPPFLAGS' 13838ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13839ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13840ac_compiler_gnu=$ac_cv_c_compiler_gnu 13841 13842else 13843 _lt_caught_CXX_error=yes 13844fi 13845 13846ac_ext=cpp 13847ac_cpp='$CXXCPP $CPPFLAGS' 13848ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13849ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13850ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 13851 13852archive_cmds_need_lc_CXX=no 13853allow_undefined_flag_CXX= 13854always_export_symbols_CXX=no 13855archive_expsym_cmds_CXX= 13856compiler_needs_object_CXX=no 13857export_dynamic_flag_spec_CXX= 13858hardcode_direct_CXX=no 13859hardcode_direct_absolute_CXX=no 13860hardcode_libdir_flag_spec_CXX= 13861hardcode_libdir_separator_CXX= 13862hardcode_minus_L_CXX=no 13863hardcode_shlibpath_var_CXX=unsupported 13864hardcode_automatic_CXX=no 13865inherit_rpath_CXX=no 13866module_cmds_CXX= 13867module_expsym_cmds_CXX= 13868link_all_deplibs_CXX=unknown 13869old_archive_cmds_CXX=$old_archive_cmds 13870reload_flag_CXX=$reload_flag 13871reload_cmds_CXX=$reload_cmds 13872no_undefined_flag_CXX= 13873whole_archive_flag_spec_CXX= 13874enable_shared_with_static_runtimes_CXX=no 13875 13876# Source file extension for C++ test sources. 13877ac_ext=cpp 13878 13879# Object file extension for compiled C++ test sources. 13880objext=o 13881objext_CXX=$objext 13882 13883# No sense in running all these tests if we already determined that 13884# the CXX compiler isn't working. Some variables (like enable_shared) 13885# are currently assumed to apply to all compilers on this platform, 13886# and will be corrupted by setting them based on a non-working compiler. 13887if test yes != "$_lt_caught_CXX_error"; then 13888 # Code to be used in simple compile tests 13889 lt_simple_compile_test_code="int some_variable = 0;" 13890 13891 # Code to be used in simple link tests 13892 lt_simple_link_test_code='int main(int, char *[]) { return(0); }' 13893 13894 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 13895 13896 13897 13898 13899 13900 13901# If no C compiler was specified, use CC. 13902LTCC=${LTCC-"$CC"} 13903 13904# If no C compiler flags were specified, use CFLAGS. 13905LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 13906 13907# Allow CC to be a program name with arguments. 13908compiler=$CC 13909 13910 13911 # save warnings/boilerplate of simple test code 13912 ac_outfile=conftest.$ac_objext 13913echo "$lt_simple_compile_test_code" >conftest.$ac_ext 13914eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 13915_lt_compiler_boilerplate=`cat conftest.err` 13916$RM conftest* 13917 13918 ac_outfile=conftest.$ac_objext 13919echo "$lt_simple_link_test_code" >conftest.$ac_ext 13920eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 13921_lt_linker_boilerplate=`cat conftest.err` 13922$RM -r conftest* 13923 13924 13925 # Allow CC to be a program name with arguments. 13926 lt_save_CC=$CC 13927 lt_save_CFLAGS=$CFLAGS 13928 lt_save_LD=$LD 13929 lt_save_GCC=$GCC 13930 GCC=$GXX 13931 lt_save_with_gnu_ld=$with_gnu_ld 13932 lt_save_path_LD=$lt_cv_path_LD 13933 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then 13934 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 13935 else 13936 $as_unset lt_cv_prog_gnu_ld 13937 fi 13938 if test -n "${lt_cv_path_LDCXX+set}"; then 13939 lt_cv_path_LD=$lt_cv_path_LDCXX 13940 else 13941 $as_unset lt_cv_path_LD 13942 fi 13943 test -z "${LDCXX+set}" || LD=$LDCXX 13944 CC=${CXX-"c++"} 13945 CFLAGS=$CXXFLAGS 13946 compiler=$CC 13947 compiler_CXX=$CC 13948 func_cc_basename $compiler 13949cc_basename=$func_cc_basename_result 13950 13951 13952 if test -n "$compiler"; then 13953 # We don't want -fno-exception when compiling C++ code, so set the 13954 # no_builtin_flag separately 13955 if test yes = "$GXX"; then 13956 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' 13957 else 13958 lt_prog_compiler_no_builtin_flag_CXX= 13959 fi 13960 13961 if test yes = "$GXX"; then 13962 # Set up default GNU C++ configuration 13963 13964 13965 13966# Check whether --with-gnu-ld was given. 13967if test "${with_gnu_ld+set}" = set; then : 13968 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 13969else 13970 with_gnu_ld=no 13971fi 13972 13973ac_prog=ld 13974if test yes = "$GCC"; then 13975 # Check if gcc -print-prog-name=ld gives a path. 13976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 13977$as_echo_n "checking for ld used by $CC... " >&6; } 13978 case $host in 13979 *-*-mingw*) 13980 # gcc leaves a trailing carriage return, which upsets mingw 13981 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 13982 *) 13983 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 13984 esac 13985 case $ac_prog in 13986 # Accept absolute paths. 13987 [\\/]* | ?:[\\/]*) 13988 re_direlt='/[^/][^/]*/\.\./' 13989 # Canonicalize the pathname of ld 13990 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 13991 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 13992 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 13993 done 13994 test -z "$LD" && LD=$ac_prog 13995 ;; 13996 "") 13997 # If it fails, then pretend we aren't using GCC. 13998 ac_prog=ld 13999 ;; 14000 *) 14001 # If it is relative, then search for the first ld in PATH. 14002 with_gnu_ld=unknown 14003 ;; 14004 esac 14005elif test yes = "$with_gnu_ld"; then 14006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 14007$as_echo_n "checking for GNU ld... " >&6; } 14008else 14009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 14010$as_echo_n "checking for non-GNU ld... " >&6; } 14011fi 14012if ${lt_cv_path_LD+:} false; then : 14013 $as_echo_n "(cached) " >&6 14014else 14015 if test -z "$LD"; then 14016 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 14017 for ac_dir in $PATH; do 14018 IFS=$lt_save_ifs 14019 test -z "$ac_dir" && ac_dir=. 14020 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 14021 lt_cv_path_LD=$ac_dir/$ac_prog 14022 # Check to see if the program is GNU ld. I'd rather use --version, 14023 # but apparently some variants of GNU ld only accept -v. 14024 # Break only if it was the GNU/non-GNU ld that we prefer. 14025 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 14026 *GNU* | *'with BFD'*) 14027 test no != "$with_gnu_ld" && break 14028 ;; 14029 *) 14030 test yes != "$with_gnu_ld" && break 14031 ;; 14032 esac 14033 fi 14034 done 14035 IFS=$lt_save_ifs 14036else 14037 lt_cv_path_LD=$LD # Let the user override the test with a path. 14038fi 14039fi 14040 14041LD=$lt_cv_path_LD 14042if test -n "$LD"; then 14043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 14044$as_echo "$LD" >&6; } 14045else 14046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14047$as_echo "no" >&6; } 14048fi 14049test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 14050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 14051$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 14052if ${lt_cv_prog_gnu_ld+:} false; then : 14053 $as_echo_n "(cached) " >&6 14054else 14055 # I'd rather use --version here, but apparently some GNU lds only accept -v. 14056case `$LD -v 2>&1 </dev/null` in 14057*GNU* | *'with BFD'*) 14058 lt_cv_prog_gnu_ld=yes 14059 ;; 14060*) 14061 lt_cv_prog_gnu_ld=no 14062 ;; 14063esac 14064fi 14065{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 14066$as_echo "$lt_cv_prog_gnu_ld" >&6; } 14067with_gnu_ld=$lt_cv_prog_gnu_ld 14068 14069 14070 14071 14072 14073 14074 14075 # Check if GNU C++ uses GNU ld as the underlying linker, since the 14076 # archiving commands below assume that GNU ld is being used. 14077 if test yes = "$with_gnu_ld"; then 14078 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14079 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 14080 14081 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14082 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14083 14084 # If archive_cmds runs LD, not CC, wlarc should be empty 14085 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to 14086 # investigate it a little bit more. (MM) 14087 wlarc='$wl' 14088 14089 # ancient GNU ld didn't support --whole-archive et. al. 14090 if eval "`$CC -print-prog-name=ld` --help 2>&1" | 14091 $GREP 'no-whole-archive' > /dev/null; then 14092 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 14093 else 14094 whole_archive_flag_spec_CXX= 14095 fi 14096 else 14097 with_gnu_ld=no 14098 wlarc= 14099 14100 # A generic and very simple default shared library creation 14101 # command for GNU C++ for the case where it uses the native 14102 # linker, instead of GNU ld. If possible, this setting should 14103 # overridden to take advantage of the native linker features on 14104 # the platform it is being used on. 14105 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 14106 fi 14107 14108 # Commands to make compiler produce verbose output that lists 14109 # what "hidden" libraries, object files and flags are used when 14110 # linking a shared library. 14111 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 14112 14113 else 14114 GXX=no 14115 with_gnu_ld=no 14116 wlarc= 14117 fi 14118 14119 # PORTME: fill in a description of your system's C++ link characteristics 14120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 14121$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 14122 ld_shlibs_CXX=yes 14123 case $host_os in 14124 aix3*) 14125 # FIXME: insert proper C++ library support 14126 ld_shlibs_CXX=no 14127 ;; 14128 aix[4-9]*) 14129 if test ia64 = "$host_cpu"; then 14130 # On IA64, the linker does run time linking by default, so we don't 14131 # have to do anything special. 14132 aix_use_runtimelinking=no 14133 exp_sym_flag='-Bexport' 14134 no_entry_flag= 14135 else 14136 aix_use_runtimelinking=no 14137 14138 # Test if we are trying to use run time linking or normal 14139 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 14140 # have runtime linking enabled, and use it for executables. 14141 # For shared libraries, we enable/disable runtime linking 14142 # depending on the kind of the shared library created - 14143 # when "with_aix_soname,aix_use_runtimelinking" is: 14144 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 14145 # "aix,yes" lib.so shared, rtl:yes, for executables 14146 # lib.a static archive 14147 # "both,no" lib.so.V(shr.o) shared, rtl:yes 14148 # lib.a(lib.so.V) shared, rtl:no, for executables 14149 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 14150 # lib.a(lib.so.V) shared, rtl:no 14151 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 14152 # lib.a static archive 14153 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 14154 for ld_flag in $LDFLAGS; do 14155 case $ld_flag in 14156 *-brtl*) 14157 aix_use_runtimelinking=yes 14158 break 14159 ;; 14160 esac 14161 done 14162 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 14163 # With aix-soname=svr4, we create the lib.so.V shared archives only, 14164 # so we don't have lib.a shared libs to link our executables. 14165 # We have to force runtime linking in this case. 14166 aix_use_runtimelinking=yes 14167 LDFLAGS="$LDFLAGS -Wl,-brtl" 14168 fi 14169 ;; 14170 esac 14171 14172 exp_sym_flag='-bexport' 14173 no_entry_flag='-bnoentry' 14174 fi 14175 14176 # When large executables or shared objects are built, AIX ld can 14177 # have problems creating the table of contents. If linking a library 14178 # or program results in "error TOC overflow" add -mminimal-toc to 14179 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 14180 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 14181 14182 archive_cmds_CXX='' 14183 hardcode_direct_CXX=yes 14184 hardcode_direct_absolute_CXX=yes 14185 hardcode_libdir_separator_CXX=':' 14186 link_all_deplibs_CXX=yes 14187 file_list_spec_CXX='$wl-f,' 14188 case $with_aix_soname,$aix_use_runtimelinking in 14189 aix,*) ;; # no import file 14190 svr4,* | *,yes) # use import file 14191 # The Import File defines what to hardcode. 14192 hardcode_direct_CXX=no 14193 hardcode_direct_absolute_CXX=no 14194 ;; 14195 esac 14196 14197 if test yes = "$GXX"; then 14198 case $host_os in aix4.[012]|aix4.[012].*) 14199 # We only want to do this on AIX 4.2 and lower, the check 14200 # below for broken collect2 doesn't work under 4.3+ 14201 collect2name=`$CC -print-prog-name=collect2` 14202 if test -f "$collect2name" && 14203 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 14204 then 14205 # We have reworked collect2 14206 : 14207 else 14208 # We have old collect2 14209 hardcode_direct_CXX=unsupported 14210 # It fails to find uninstalled libraries when the uninstalled 14211 # path is not listed in the libpath. Setting hardcode_minus_L 14212 # to unsupported forces relinking 14213 hardcode_minus_L_CXX=yes 14214 hardcode_libdir_flag_spec_CXX='-L$libdir' 14215 hardcode_libdir_separator_CXX= 14216 fi 14217 esac 14218 shared_flag='-shared' 14219 if test yes = "$aix_use_runtimelinking"; then 14220 shared_flag=$shared_flag' $wl-G' 14221 fi 14222 # Need to ensure runtime linking is disabled for the traditional 14223 # shared library, or the linker may eventually find shared libraries 14224 # /with/ Import File - we do not want to mix them. 14225 shared_flag_aix='-shared' 14226 shared_flag_svr4='-shared $wl-G' 14227 else 14228 # not using gcc 14229 if test ia64 = "$host_cpu"; then 14230 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 14231 # chokes on -Wl,-G. The following line is correct: 14232 shared_flag='-G' 14233 else 14234 if test yes = "$aix_use_runtimelinking"; then 14235 shared_flag='$wl-G' 14236 else 14237 shared_flag='$wl-bM:SRE' 14238 fi 14239 shared_flag_aix='$wl-bM:SRE' 14240 shared_flag_svr4='$wl-G' 14241 fi 14242 fi 14243 14244 export_dynamic_flag_spec_CXX='$wl-bexpall' 14245 # It seems that -bexpall does not export symbols beginning with 14246 # underscore (_), so it is better to generate a list of symbols to 14247 # export. 14248 always_export_symbols_CXX=yes 14249 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 14250 # Warning - without using the other runtime loading flags (-brtl), 14251 # -berok will link without error, but may produce a broken library. 14252 # The "-G" linker flag allows undefined symbols. 14253 no_undefined_flag_CXX='-bernotok' 14254 # Determine the default libpath from the value encoded in an empty 14255 # executable. 14256 if test set = "${lt_cv_aix_libpath+set}"; then 14257 aix_libpath=$lt_cv_aix_libpath 14258else 14259 if ${lt_cv_aix_libpath__CXX+:} false; then : 14260 $as_echo_n "(cached) " >&6 14261else 14262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14263/* end confdefs.h. */ 14264 14265int 14266main () 14267{ 14268 14269 ; 14270 return 0; 14271} 14272_ACEOF 14273if ac_fn_cxx_try_link "$LINENO"; then : 14274 14275 lt_aix_libpath_sed=' 14276 /Import File Strings/,/^$/ { 14277 /^0/ { 14278 s/^0 *\([^ ]*\) *$/\1/ 14279 p 14280 } 14281 }' 14282 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14283 # Check for a 64-bit object if we didn't find anything. 14284 if test -z "$lt_cv_aix_libpath__CXX"; then 14285 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14286 fi 14287fi 14288rm -f core conftest.err conftest.$ac_objext \ 14289 conftest$ac_exeext conftest.$ac_ext 14290 if test -z "$lt_cv_aix_libpath__CXX"; then 14291 lt_cv_aix_libpath__CXX=/usr/lib:/lib 14292 fi 14293 14294fi 14295 14296 aix_libpath=$lt_cv_aix_libpath__CXX 14297fi 14298 14299 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" 14300 14301 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag 14302 else 14303 if test ia64 = "$host_cpu"; then 14304 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib' 14305 allow_undefined_flag_CXX="-z nodefs" 14306 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols" 14307 else 14308 # Determine the default libpath from the value encoded in an 14309 # empty executable. 14310 if test set = "${lt_cv_aix_libpath+set}"; then 14311 aix_libpath=$lt_cv_aix_libpath 14312else 14313 if ${lt_cv_aix_libpath__CXX+:} false; then : 14314 $as_echo_n "(cached) " >&6 14315else 14316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14317/* end confdefs.h. */ 14318 14319int 14320main () 14321{ 14322 14323 ; 14324 return 0; 14325} 14326_ACEOF 14327if ac_fn_cxx_try_link "$LINENO"; then : 14328 14329 lt_aix_libpath_sed=' 14330 /Import File Strings/,/^$/ { 14331 /^0/ { 14332 s/^0 *\([^ ]*\) *$/\1/ 14333 p 14334 } 14335 }' 14336 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14337 # Check for a 64-bit object if we didn't find anything. 14338 if test -z "$lt_cv_aix_libpath__CXX"; then 14339 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14340 fi 14341fi 14342rm -f core conftest.err conftest.$ac_objext \ 14343 conftest$ac_exeext conftest.$ac_ext 14344 if test -z "$lt_cv_aix_libpath__CXX"; then 14345 lt_cv_aix_libpath__CXX=/usr/lib:/lib 14346 fi 14347 14348fi 14349 14350 aix_libpath=$lt_cv_aix_libpath__CXX 14351fi 14352 14353 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" 14354 # Warning - without using the other run time loading flags, 14355 # -berok will link without error, but may produce a broken library. 14356 no_undefined_flag_CXX=' $wl-bernotok' 14357 allow_undefined_flag_CXX=' $wl-berok' 14358 if test yes = "$with_gnu_ld"; then 14359 # We only use this code for GNU lds that support --whole-archive. 14360 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' 14361 else 14362 # Exported symbols can be pulled into shared objects from archives 14363 whole_archive_flag_spec_CXX='$convenience' 14364 fi 14365 archive_cmds_need_lc_CXX=yes 14366 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 14367 # -brtl affects multiple linker settings, -berok does not and is overridden later 14368 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 14369 if test svr4 != "$with_aix_soname"; then 14370 # This is similar to how AIX traditionally builds its shared 14371 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS. 14372 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' 14373 fi 14374 if test aix != "$with_aix_soname"; then 14375 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' 14376 else 14377 # used by -dlpreopen to get the symbols 14378 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 14379 fi 14380 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d' 14381 fi 14382 fi 14383 ;; 14384 14385 beos*) 14386 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 14387 allow_undefined_flag_CXX=unsupported 14388 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 14389 # support --undefined. This deserves some investigation. FIXME 14390 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14391 else 14392 ld_shlibs_CXX=no 14393 fi 14394 ;; 14395 14396 chorus*) 14397 case $cc_basename in 14398 *) 14399 # FIXME: insert proper C++ library support 14400 ld_shlibs_CXX=no 14401 ;; 14402 esac 14403 ;; 14404 14405 cygwin* | mingw* | pw32* | cegcc*) 14406 case $GXX,$cc_basename in 14407 ,cl* | no,cl*) 14408 # Native MSVC 14409 # hardcode_libdir_flag_spec is actually meaningless, as there is 14410 # no search path for DLLs. 14411 hardcode_libdir_flag_spec_CXX=' ' 14412 allow_undefined_flag_CXX=unsupported 14413 always_export_symbols_CXX=yes 14414 file_list_spec_CXX='@' 14415 # Tell ltmain to make .lib files, not .a files. 14416 libext=lib 14417 # Tell ltmain to make .dll files, not .so files. 14418 shrext_cmds=.dll 14419 # FIXME: Setting linknames here is a bad hack. 14420 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 14421 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 14422 cp "$export_symbols" "$output_objdir/$soname.def"; 14423 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 14424 else 14425 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 14426 fi~ 14427 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 14428 linknames=' 14429 # The linker will not automatically build a static lib if we build a DLL. 14430 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true' 14431 enable_shared_with_static_runtimes_CXX=yes 14432 # Don't use ranlib 14433 old_postinstall_cmds_CXX='chmod 644 $oldlib' 14434 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~ 14435 lt_tool_outputfile="@TOOL_OUTPUT@"~ 14436 case $lt_outputfile in 14437 *.exe|*.EXE) ;; 14438 *) 14439 lt_outputfile=$lt_outputfile.exe 14440 lt_tool_outputfile=$lt_tool_outputfile.exe 14441 ;; 14442 esac~ 14443 func_to_tool_file "$lt_outputfile"~ 14444 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 14445 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 14446 $RM "$lt_outputfile.manifest"; 14447 fi' 14448 ;; 14449 *) 14450 # g++ 14451 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, 14452 # as there is no search path for DLLs. 14453 hardcode_libdir_flag_spec_CXX='-L$libdir' 14454 export_dynamic_flag_spec_CXX='$wl--export-all-symbols' 14455 allow_undefined_flag_CXX=unsupported 14456 always_export_symbols_CXX=no 14457 enable_shared_with_static_runtimes_CXX=yes 14458 14459 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 14460 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 14461 # If the export-symbols file already is a .def file, use it as 14462 # is; otherwise, prepend EXPORTS... 14463 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 14464 cp $export_symbols $output_objdir/$soname.def; 14465 else 14466 echo EXPORTS > $output_objdir/$soname.def; 14467 cat $export_symbols >> $output_objdir/$soname.def; 14468 fi~ 14469 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 14470 else 14471 ld_shlibs_CXX=no 14472 fi 14473 ;; 14474 esac 14475 ;; 14476 darwin* | rhapsody*) 14477 14478 14479 archive_cmds_need_lc_CXX=no 14480 hardcode_direct_CXX=no 14481 hardcode_automatic_CXX=yes 14482 hardcode_shlibpath_var_CXX=unsupported 14483 if test yes = "$lt_cv_ld_force_load"; then 14484 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' 14485 14486 else 14487 whole_archive_flag_spec_CXX='' 14488 fi 14489 link_all_deplibs_CXX=yes 14490 allow_undefined_flag_CXX=$_lt_dar_allow_undefined 14491 case $cc_basename in 14492 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 14493 *) _lt_dar_can_shared=$GCC ;; 14494 esac 14495 if test yes = "$_lt_dar_can_shared"; then 14496 output_verbose_link_cmd=func_echo_all 14497 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 14498 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 14499 archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil" 14500 module_expsym_cmds_CXX="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil" 14501 if test yes != "$lt_cv_apple_cc_single_mod"; then 14502 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil" 14503 archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil" 14504 fi 14505 14506 else 14507 ld_shlibs_CXX=no 14508 fi 14509 14510 ;; 14511 14512 os2*) 14513 hardcode_libdir_flag_spec_CXX='-L$libdir' 14514 hardcode_minus_L_CXX=yes 14515 allow_undefined_flag_CXX=unsupported 14516 shrext_cmds=.dll 14517 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 14518 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 14519 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 14520 $ECHO EXPORTS >> $output_objdir/$libname.def~ 14521 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 14522 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 14523 emximp -o $lib $output_objdir/$libname.def' 14524 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 14525 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 14526 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 14527 $ECHO EXPORTS >> $output_objdir/$libname.def~ 14528 prefix_cmds="$SED"~ 14529 if test EXPORTS = "`$SED 1q $export_symbols`"; then 14530 prefix_cmds="$prefix_cmds -e 1d"; 14531 fi~ 14532 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 14533 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 14534 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 14535 emximp -o $lib $output_objdir/$libname.def' 14536 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 14537 enable_shared_with_static_runtimes_CXX=yes 14538 ;; 14539 14540 dgux*) 14541 case $cc_basename in 14542 ec++*) 14543 # FIXME: insert proper C++ library support 14544 ld_shlibs_CXX=no 14545 ;; 14546 ghcx*) 14547 # Green Hills C++ Compiler 14548 # FIXME: insert proper C++ library support 14549 ld_shlibs_CXX=no 14550 ;; 14551 *) 14552 # FIXME: insert proper C++ library support 14553 ld_shlibs_CXX=no 14554 ;; 14555 esac 14556 ;; 14557 14558 freebsd2.*) 14559 # C++ shared libraries reported to be fairly broken before 14560 # switch to ELF 14561 ld_shlibs_CXX=no 14562 ;; 14563 14564 freebsd-elf*) 14565 archive_cmds_need_lc_CXX=no 14566 ;; 14567 14568 freebsd* | dragonfly*) 14569 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 14570 # conventions 14571 ld_shlibs_CXX=yes 14572 ;; 14573 14574 haiku*) 14575 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14576 link_all_deplibs_CXX=yes 14577 ;; 14578 14579 hpux9*) 14580 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' 14581 hardcode_libdir_separator_CXX=: 14582 export_dynamic_flag_spec_CXX='$wl-E' 14583 hardcode_direct_CXX=yes 14584 hardcode_minus_L_CXX=yes # Not in the search PATH, 14585 # but as the default 14586 # location of the library. 14587 14588 case $cc_basename in 14589 CC*) 14590 # FIXME: insert proper C++ library support 14591 ld_shlibs_CXX=no 14592 ;; 14593 aCC*) 14594 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 14595 # Commands to make compiler produce verbose output that lists 14596 # what "hidden" libraries, object files and flags are used when 14597 # linking a shared library. 14598 # 14599 # There doesn't appear to be a way to prevent this compiler from 14600 # explicitly linking system object files so we need to strip them 14601 # from the output so that they don't get included in the library 14602 # dependencies. 14603 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 14604 ;; 14605 *) 14606 if test yes = "$GXX"; then 14607 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 14608 else 14609 # FIXME: insert proper C++ library support 14610 ld_shlibs_CXX=no 14611 fi 14612 ;; 14613 esac 14614 ;; 14615 14616 hpux10*|hpux11*) 14617 if test no = "$with_gnu_ld"; then 14618 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' 14619 hardcode_libdir_separator_CXX=: 14620 14621 case $host_cpu in 14622 hppa*64*|ia64*) 14623 ;; 14624 *) 14625 export_dynamic_flag_spec_CXX='$wl-E' 14626 ;; 14627 esac 14628 fi 14629 case $host_cpu in 14630 hppa*64*|ia64*) 14631 hardcode_direct_CXX=no 14632 hardcode_shlibpath_var_CXX=no 14633 ;; 14634 *) 14635 hardcode_direct_CXX=yes 14636 hardcode_direct_absolute_CXX=yes 14637 hardcode_minus_L_CXX=yes # Not in the search PATH, 14638 # but as the default 14639 # location of the library. 14640 ;; 14641 esac 14642 14643 case $cc_basename in 14644 CC*) 14645 # FIXME: insert proper C++ library support 14646 ld_shlibs_CXX=no 14647 ;; 14648 aCC*) 14649 case $host_cpu in 14650 hppa*64*) 14651 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14652 ;; 14653 ia64*) 14654 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14655 ;; 14656 *) 14657 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14658 ;; 14659 esac 14660 # Commands to make compiler produce verbose output that lists 14661 # what "hidden" libraries, object files and flags are used when 14662 # linking a shared library. 14663 # 14664 # There doesn't appear to be a way to prevent this compiler from 14665 # explicitly linking system object files so we need to strip them 14666 # from the output so that they don't get included in the library 14667 # dependencies. 14668 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 14669 ;; 14670 *) 14671 if test yes = "$GXX"; then 14672 if test no = "$with_gnu_ld"; then 14673 case $host_cpu in 14674 hppa*64*) 14675 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14676 ;; 14677 ia64*) 14678 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14679 ;; 14680 *) 14681 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14682 ;; 14683 esac 14684 fi 14685 else 14686 # FIXME: insert proper C++ library support 14687 ld_shlibs_CXX=no 14688 fi 14689 ;; 14690 esac 14691 ;; 14692 14693 interix[3-9]*) 14694 hardcode_direct_CXX=no 14695 hardcode_shlibpath_var_CXX=no 14696 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14697 export_dynamic_flag_spec_CXX='$wl-E' 14698 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 14699 # Instead, shared libraries are loaded at an image base (0x10000000 by 14700 # default) and relocated if they conflict, which is a slow very memory 14701 # consuming and fragmenting process. To avoid this, we pick a random, 14702 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 14703 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 14704 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 14705 archive_expsym_cmds_CXX='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 14706 ;; 14707 irix5* | irix6*) 14708 case $cc_basename in 14709 CC*) 14710 # SGI C++ 14711 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' 14712 14713 # Archives containing C++ object files must be created using 14714 # "CC -ar", where "CC" is the IRIX C++ compiler. This is 14715 # necessary to make sure instantiated templates are included 14716 # in the archive. 14717 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' 14718 ;; 14719 *) 14720 if test yes = "$GXX"; then 14721 if test no = "$with_gnu_ld"; then 14722 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' 14723 else 14724 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib' 14725 fi 14726 fi 14727 link_all_deplibs_CXX=yes 14728 ;; 14729 esac 14730 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14731 hardcode_libdir_separator_CXX=: 14732 inherit_rpath_CXX=yes 14733 ;; 14734 14735 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 14736 case $cc_basename in 14737 KCC*) 14738 # Kuck and Associates, Inc. (KAI) C++ Compiler 14739 14740 # KCC will only create a shared library if the output file 14741 # ends with ".so" (or ".sl" for HP-UX), so rename the library 14742 # to its proper name (with version) after linking. 14743 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 14744 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib' 14745 # Commands to make compiler produce verbose output that lists 14746 # what "hidden" libraries, object files and flags are used when 14747 # linking a shared library. 14748 # 14749 # There doesn't appear to be a way to prevent this compiler from 14750 # explicitly linking system object files so we need to strip them 14751 # from the output so that they don't get included in the library 14752 # dependencies. 14753 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 14754 14755 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14756 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14757 14758 # Archives containing C++ object files must be created using 14759 # "CC -Bstatic", where "CC" is the KAI C++ compiler. 14760 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' 14761 ;; 14762 icpc* | ecpc* ) 14763 # Intel C++ 14764 with_gnu_ld=yes 14765 # version 8.0 and above of icpc choke on multiply defined symbols 14766 # if we add $predep_objects and $postdep_objects, however 7.1 and 14767 # earlier do not add the objects themselves. 14768 case `$CC -V 2>&1` in 14769 *"Version 7."*) 14770 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14771 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 14772 ;; 14773 *) # Version 8.0 or newer 14774 tmp_idyn= 14775 case $host_cpu in 14776 ia64*) tmp_idyn=' -i_dynamic';; 14777 esac 14778 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14779 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 14780 ;; 14781 esac 14782 archive_cmds_need_lc_CXX=no 14783 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14784 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14785 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' 14786 ;; 14787 pgCC* | pgcpp*) 14788 # Portland Group C++ compiler 14789 case `$CC -V` in 14790 *pgCC\ [1-5].* | *pgcpp\ [1-5].*) 14791 prelink_cmds_CXX='tpldir=Template.dir~ 14792 rm -rf $tpldir~ 14793 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ 14794 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' 14795 old_archive_cmds_CXX='tpldir=Template.dir~ 14796 rm -rf $tpldir~ 14797 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ 14798 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ 14799 $RANLIB $oldlib' 14800 archive_cmds_CXX='tpldir=Template.dir~ 14801 rm -rf $tpldir~ 14802 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 14803 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14804 archive_expsym_cmds_CXX='tpldir=Template.dir~ 14805 rm -rf $tpldir~ 14806 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 14807 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 14808 ;; 14809 *) # Version 6 and above use weak symbols 14810 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14811 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 14812 ;; 14813 esac 14814 14815 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir' 14816 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14817 whole_archive_flag_spec_CXX='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' 14818 ;; 14819 cxx*) 14820 # Compaq C++ 14821 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14822 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols' 14823 14824 runpath_var=LD_RUN_PATH 14825 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 14826 hardcode_libdir_separator_CXX=: 14827 14828 # Commands to make compiler produce verbose output that lists 14829 # what "hidden" libraries, object files and flags are used when 14830 # linking a shared library. 14831 # 14832 # There doesn't appear to be a way to prevent this compiler from 14833 # explicitly linking system object files so we need to strip them 14834 # from the output so that they don't get included in the library 14835 # dependencies. 14836 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed' 14837 ;; 14838 xl* | mpixl* | bgxl*) 14839 # IBM XL 8.0 on PPC, with GNU ld 14840 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14841 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14842 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14843 if test yes = "$supports_anon_versioning"; then 14844 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ 14845 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 14846 echo "local: *; };" >> $output_objdir/$libname.ver~ 14847 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 14848 fi 14849 ;; 14850 *) 14851 case `$CC -V 2>&1 | sed 5q` in 14852 *Sun\ C*) 14853 # Sun C++ 5.9 14854 no_undefined_flag_CXX=' -zdefs' 14855 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14856 archive_expsym_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols' 14857 hardcode_libdir_flag_spec_CXX='-R$libdir' 14858 whole_archive_flag_spec_CXX='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' 14859 compiler_needs_object_CXX=yes 14860 14861 # Not sure whether something based on 14862 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 14863 # would be better. 14864 output_verbose_link_cmd='func_echo_all' 14865 14866 # Archives containing C++ object files must be created using 14867 # "CC -xar", where "CC" is the Sun C++ compiler. This is 14868 # necessary to make sure instantiated templates are included 14869 # in the archive. 14870 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 14871 ;; 14872 esac 14873 ;; 14874 esac 14875 ;; 14876 14877 lynxos*) 14878 # FIXME: insert proper C++ library support 14879 ld_shlibs_CXX=no 14880 ;; 14881 14882 m88k*) 14883 # FIXME: insert proper C++ library support 14884 ld_shlibs_CXX=no 14885 ;; 14886 14887 mvs*) 14888 case $cc_basename in 14889 cxx*) 14890 # FIXME: insert proper C++ library support 14891 ld_shlibs_CXX=no 14892 ;; 14893 *) 14894 # FIXME: insert proper C++ library support 14895 ld_shlibs_CXX=no 14896 ;; 14897 esac 14898 ;; 14899 14900 netbsd*) 14901 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 14902 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 14903 wlarc= 14904 hardcode_libdir_flag_spec_CXX='-R$libdir' 14905 hardcode_direct_CXX=yes 14906 hardcode_shlibpath_var_CXX=no 14907 fi 14908 # Workaround some broken pre-1.5 toolchains 14909 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 14910 ;; 14911 14912 *nto* | *qnx*) 14913 ld_shlibs_CXX=yes 14914 ;; 14915 14916 openbsd* | bitrig*) 14917 if test -f /usr/libexec/ld.so; then 14918 hardcode_direct_CXX=yes 14919 hardcode_shlibpath_var_CXX=no 14920 hardcode_direct_absolute_CXX=yes 14921 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 14922 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14923 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then 14924 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib' 14925 export_dynamic_flag_spec_CXX='$wl-E' 14926 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 14927 fi 14928 output_verbose_link_cmd=func_echo_all 14929 else 14930 ld_shlibs_CXX=no 14931 fi 14932 ;; 14933 14934 osf3* | osf4* | osf5*) 14935 case $cc_basename in 14936 KCC*) 14937 # Kuck and Associates, Inc. (KAI) C++ Compiler 14938 14939 # KCC will only create a shared library if the output file 14940 # ends with ".so" (or ".sl" for HP-UX), so rename the library 14941 # to its proper name (with version) after linking. 14942 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 14943 14944 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14945 hardcode_libdir_separator_CXX=: 14946 14947 # Archives containing C++ object files must be created using 14948 # the KAI C++ compiler. 14949 case $host in 14950 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; 14951 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; 14952 esac 14953 ;; 14954 RCC*) 14955 # Rational C++ 2.4.1 14956 # FIXME: insert proper C++ library support 14957 ld_shlibs_CXX=no 14958 ;; 14959 cxx*) 14960 case $host in 14961 osf3*) 14962 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' 14963 archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' 14964 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14965 ;; 14966 *) 14967 allow_undefined_flag_CXX=' -expect_unresolved \*' 14968 archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' 14969 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 14970 echo "-hidden">> $lib.exp~ 14971 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~ 14972 $RM $lib.exp' 14973 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 14974 ;; 14975 esac 14976 14977 hardcode_libdir_separator_CXX=: 14978 14979 # Commands to make compiler produce verbose output that lists 14980 # what "hidden" libraries, object files and flags are used when 14981 # linking a shared library. 14982 # 14983 # There doesn't appear to be a way to prevent this compiler from 14984 # explicitly linking system object files so we need to strip them 14985 # from the output so that they don't get included in the library 14986 # dependencies. 14987 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' 14988 ;; 14989 *) 14990 if test yes,no = "$GXX,$with_gnu_ld"; then 14991 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' 14992 case $host in 14993 osf3*) 14994 archive_cmds_CXX='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' 14995 ;; 14996 *) 14997 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' 14998 ;; 14999 esac 15000 15001 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 15002 hardcode_libdir_separator_CXX=: 15003 15004 # Commands to make compiler produce verbose output that lists 15005 # what "hidden" libraries, object files and flags are used when 15006 # linking a shared library. 15007 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 15008 15009 else 15010 # FIXME: insert proper C++ library support 15011 ld_shlibs_CXX=no 15012 fi 15013 ;; 15014 esac 15015 ;; 15016 15017 psos*) 15018 # FIXME: insert proper C++ library support 15019 ld_shlibs_CXX=no 15020 ;; 15021 15022 sunos4*) 15023 case $cc_basename in 15024 CC*) 15025 # Sun C++ 4.x 15026 # FIXME: insert proper C++ library support 15027 ld_shlibs_CXX=no 15028 ;; 15029 lcc*) 15030 # Lucid 15031 # FIXME: insert proper C++ library support 15032 ld_shlibs_CXX=no 15033 ;; 15034 *) 15035 # FIXME: insert proper C++ library support 15036 ld_shlibs_CXX=no 15037 ;; 15038 esac 15039 ;; 15040 15041 solaris*) 15042 case $cc_basename in 15043 CC* | sunCC*) 15044 # Sun C++ 4.2, 5.x and Centerline C++ 15045 archive_cmds_need_lc_CXX=yes 15046 no_undefined_flag_CXX=' -zdefs' 15047 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 15048 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 15049 $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 15050 15051 hardcode_libdir_flag_spec_CXX='-R$libdir' 15052 hardcode_shlibpath_var_CXX=no 15053 case $host_os in 15054 solaris2.[0-5] | solaris2.[0-5].*) ;; 15055 *) 15056 # The compiler driver will combine and reorder linker options, 15057 # but understands '-z linker_flag'. 15058 # Supported since Solaris 2.6 (maybe 2.5.1?) 15059 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' 15060 ;; 15061 esac 15062 link_all_deplibs_CXX=yes 15063 15064 output_verbose_link_cmd='func_echo_all' 15065 15066 # Archives containing C++ object files must be created using 15067 # "CC -xar", where "CC" is the Sun C++ compiler. This is 15068 # necessary to make sure instantiated templates are included 15069 # in the archive. 15070 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 15071 ;; 15072 gcx*) 15073 # Green Hills C++ Compiler 15074 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 15075 15076 # The C++ compiler must be used to create the archive. 15077 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' 15078 ;; 15079 *) 15080 # GNU C++ compiler with Solaris linker 15081 if test yes,no = "$GXX,$with_gnu_ld"; then 15082 no_undefined_flag_CXX=' $wl-z ${wl}defs' 15083 if $CC --version | $GREP -v '^2\.7' > /dev/null; then 15084 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 15085 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 15086 $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 15087 15088 # Commands to make compiler produce verbose output that lists 15089 # what "hidden" libraries, object files and flags are used when 15090 # linking a shared library. 15091 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 15092 else 15093 # g++ 2.7 appears to require '-G' NOT '-shared' on this 15094 # platform. 15095 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 15096 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 15097 $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 15098 15099 # Commands to make compiler produce verbose output that lists 15100 # what "hidden" libraries, object files and flags are used when 15101 # linking a shared library. 15102 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 15103 fi 15104 15105 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir' 15106 case $host_os in 15107 solaris2.[0-5] | solaris2.[0-5].*) ;; 15108 *) 15109 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 15110 ;; 15111 esac 15112 fi 15113 ;; 15114 esac 15115 ;; 15116 15117 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 15118 no_undefined_flag_CXX='$wl-z,text' 15119 archive_cmds_need_lc_CXX=no 15120 hardcode_shlibpath_var_CXX=no 15121 runpath_var='LD_RUN_PATH' 15122 15123 case $cc_basename in 15124 CC*) 15125 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15126 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15127 ;; 15128 *) 15129 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15130 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15131 ;; 15132 esac 15133 ;; 15134 15135 sysv5* | sco3.2v5* | sco5v6*) 15136 # Note: We CANNOT use -z defs as we might desire, because we do not 15137 # link with -lc, and that would cause any symbols used from libc to 15138 # always be unresolved, which means just about no library would 15139 # ever link correctly. If we're not using GNU ld we use -z text 15140 # though, which does catch some bad symbols but isn't as heavy-handed 15141 # as -z defs. 15142 no_undefined_flag_CXX='$wl-z,text' 15143 allow_undefined_flag_CXX='$wl-z,nodefs' 15144 archive_cmds_need_lc_CXX=no 15145 hardcode_shlibpath_var_CXX=no 15146 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir' 15147 hardcode_libdir_separator_CXX=':' 15148 link_all_deplibs_CXX=yes 15149 export_dynamic_flag_spec_CXX='$wl-Bexport' 15150 runpath_var='LD_RUN_PATH' 15151 15152 case $cc_basename in 15153 CC*) 15154 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15155 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15156 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~ 15157 '"$old_archive_cmds_CXX" 15158 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~ 15159 '"$reload_cmds_CXX" 15160 ;; 15161 *) 15162 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15163 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15164 ;; 15165 esac 15166 ;; 15167 15168 tandem*) 15169 case $cc_basename in 15170 NCC*) 15171 # NonStop-UX NCC 3.20 15172 # FIXME: insert proper C++ library support 15173 ld_shlibs_CXX=no 15174 ;; 15175 *) 15176 # FIXME: insert proper C++ library support 15177 ld_shlibs_CXX=no 15178 ;; 15179 esac 15180 ;; 15181 15182 vxworks*) 15183 # FIXME: insert proper C++ library support 15184 ld_shlibs_CXX=no 15185 ;; 15186 15187 *) 15188 # FIXME: insert proper C++ library support 15189 ld_shlibs_CXX=no 15190 ;; 15191 esac 15192 15193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 15194$as_echo "$ld_shlibs_CXX" >&6; } 15195 test no = "$ld_shlibs_CXX" && can_build_shared=no 15196 15197 GCC_CXX=$GXX 15198 LD_CXX=$LD 15199 15200 ## CAVEAT EMPTOR: 15201 ## There is no encapsulation within the following macros, do not change 15202 ## the running order or otherwise move them around unless you know exactly 15203 ## what you are doing... 15204 # Dependencies to place before and after the object being linked: 15205predep_objects_CXX= 15206postdep_objects_CXX= 15207predeps_CXX= 15208postdeps_CXX= 15209compiler_lib_search_path_CXX= 15210 15211cat > conftest.$ac_ext <<_LT_EOF 15212class Foo 15213{ 15214public: 15215 Foo (void) { a = 0; } 15216private: 15217 int a; 15218}; 15219_LT_EOF 15220 15221 15222_lt_libdeps_save_CFLAGS=$CFLAGS 15223case "$CC $CFLAGS " in #( 15224*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; 15225*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; 15226*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; 15227esac 15228 15229if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 15230 (eval $ac_compile) 2>&5 15231 ac_status=$? 15232 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15233 test $ac_status = 0; }; then 15234 # Parse the compiler output and extract the necessary 15235 # objects, libraries and library flags. 15236 15237 # Sentinel used to keep track of whether or not we are before 15238 # the conftest object file. 15239 pre_test_object_deps_done=no 15240 15241 for p in `eval "$output_verbose_link_cmd"`; do 15242 case $prev$p in 15243 15244 -L* | -R* | -l*) 15245 # Some compilers place space between "-{L,R}" and the path. 15246 # Remove the space. 15247 if test x-L = "$p" || 15248 test x-R = "$p"; then 15249 prev=$p 15250 continue 15251 fi 15252 15253 # Expand the sysroot to ease extracting the directories later. 15254 if test -z "$prev"; then 15255 case $p in 15256 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; 15257 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; 15258 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; 15259 esac 15260 fi 15261 case $p in 15262 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; 15263 esac 15264 if test no = "$pre_test_object_deps_done"; then 15265 case $prev in 15266 -L | -R) 15267 # Internal compiler library paths should come after those 15268 # provided the user. The postdeps already come after the 15269 # user supplied libs so there is no need to process them. 15270 if test -z "$compiler_lib_search_path_CXX"; then 15271 compiler_lib_search_path_CXX=$prev$p 15272 else 15273 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p" 15274 fi 15275 ;; 15276 # The "-l" case would never come before the object being 15277 # linked, so don't bother handling this case. 15278 esac 15279 else 15280 if test -z "$postdeps_CXX"; then 15281 postdeps_CXX=$prev$p 15282 else 15283 postdeps_CXX="${postdeps_CXX} $prev$p" 15284 fi 15285 fi 15286 prev= 15287 ;; 15288 15289 *.lto.$objext) ;; # Ignore GCC LTO objects 15290 *.$objext) 15291 # This assumes that the test object file only shows up 15292 # once in the compiler output. 15293 if test "$p" = "conftest.$objext"; then 15294 pre_test_object_deps_done=yes 15295 continue 15296 fi 15297 15298 if test no = "$pre_test_object_deps_done"; then 15299 if test -z "$predep_objects_CXX"; then 15300 predep_objects_CXX=$p 15301 else 15302 predep_objects_CXX="$predep_objects_CXX $p" 15303 fi 15304 else 15305 if test -z "$postdep_objects_CXX"; then 15306 postdep_objects_CXX=$p 15307 else 15308 postdep_objects_CXX="$postdep_objects_CXX $p" 15309 fi 15310 fi 15311 ;; 15312 15313 *) ;; # Ignore the rest. 15314 15315 esac 15316 done 15317 15318 # Clean up. 15319 rm -f a.out a.exe 15320else 15321 echo "libtool.m4: error: problem compiling CXX test program" 15322fi 15323 15324$RM -f confest.$objext 15325CFLAGS=$_lt_libdeps_save_CFLAGS 15326 15327# PORTME: override above test on systems where it is broken 15328case $host_os in 15329interix[3-9]*) 15330 # Interix 3.5 installs completely hosed .la files for C++, so rather than 15331 # hack all around it, let's just trust "g++" to DTRT. 15332 predep_objects_CXX= 15333 postdep_objects_CXX= 15334 postdeps_CXX= 15335 ;; 15336esac 15337 15338 15339case " $postdeps_CXX " in 15340*" -lc "*) archive_cmds_need_lc_CXX=no ;; 15341esac 15342 compiler_lib_search_dirs_CXX= 15343if test -n "${compiler_lib_search_path_CXX}"; then 15344 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'` 15345fi 15346 15347 15348 15349 15350 15351 15352 15353 15354 15355 15356 15357 15358 15359 15360 15361 15362 15363 15364 15365 15366 15367 15368 15369 15370 15371 15372 15373 15374 15375 15376 15377 lt_prog_compiler_wl_CXX= 15378lt_prog_compiler_pic_CXX= 15379lt_prog_compiler_static_CXX= 15380 15381 15382 # C++ specific cases for pic, static, wl, etc. 15383 if test yes = "$GXX"; then 15384 lt_prog_compiler_wl_CXX='-Wl,' 15385 lt_prog_compiler_static_CXX='-static' 15386 15387 case $host_os in 15388 aix*) 15389 # All AIX code is PIC. 15390 if test ia64 = "$host_cpu"; then 15391 # AIX 5 now supports IA64 processor 15392 lt_prog_compiler_static_CXX='-Bstatic' 15393 fi 15394 lt_prog_compiler_pic_CXX='-fPIC' 15395 ;; 15396 15397 amigaos*) 15398 case $host_cpu in 15399 powerpc) 15400 # see comment about AmigaOS4 .so support 15401 lt_prog_compiler_pic_CXX='-fPIC' 15402 ;; 15403 m68k) 15404 # FIXME: we need at least 68020 code to build shared libraries, but 15405 # adding the '-m68020' flag to GCC prevents building anything better, 15406 # like '-m68040'. 15407 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' 15408 ;; 15409 esac 15410 ;; 15411 15412 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 15413 # PIC is the default for these OSes. 15414 ;; 15415 mingw* | cygwin* | os2* | pw32* | cegcc*) 15416 # This hack is so that the source file can tell whether it is being 15417 # built for inclusion in a dll (and should export symbols for example). 15418 # Although the cygwin gcc ignores -fPIC, still need this for old-style 15419 # (--disable-auto-import) libraries 15420 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 15421 case $host_os in 15422 os2*) 15423 lt_prog_compiler_static_CXX='$wl-static' 15424 ;; 15425 esac 15426 ;; 15427 darwin* | rhapsody*) 15428 # PIC is the default on this platform 15429 # Common symbols not allowed in MH_DYLIB files 15430 lt_prog_compiler_pic_CXX='-fno-common' 15431 ;; 15432 *djgpp*) 15433 # DJGPP does not support shared libraries at all 15434 lt_prog_compiler_pic_CXX= 15435 ;; 15436 haiku*) 15437 # PIC is the default for Haiku. 15438 # The "-static" flag exists, but is broken. 15439 lt_prog_compiler_static_CXX= 15440 ;; 15441 interix[3-9]*) 15442 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 15443 # Instead, we relocate shared libraries at runtime. 15444 ;; 15445 sysv4*MP*) 15446 if test -d /usr/nec; then 15447 lt_prog_compiler_pic_CXX=-Kconform_pic 15448 fi 15449 ;; 15450 hpux*) 15451 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 15452 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 15453 # sets the default TLS model and affects inlining. 15454 case $host_cpu in 15455 hppa*64*) 15456 ;; 15457 *) 15458 lt_prog_compiler_pic_CXX='-fPIC' 15459 ;; 15460 esac 15461 ;; 15462 *qnx* | *nto*) 15463 # QNX uses GNU C++, but need to define -shared option too, otherwise 15464 # it will coredump. 15465 lt_prog_compiler_pic_CXX='-fPIC -shared' 15466 ;; 15467 *) 15468 lt_prog_compiler_pic_CXX='-fPIC' 15469 ;; 15470 esac 15471 else 15472 case $host_os in 15473 aix[4-9]*) 15474 # All AIX code is PIC. 15475 if test ia64 = "$host_cpu"; then 15476 # AIX 5 now supports IA64 processor 15477 lt_prog_compiler_static_CXX='-Bstatic' 15478 else 15479 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' 15480 fi 15481 ;; 15482 chorus*) 15483 case $cc_basename in 15484 cxch68*) 15485 # Green Hills C++ Compiler 15486 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" 15487 ;; 15488 esac 15489 ;; 15490 mingw* | cygwin* | os2* | pw32* | cegcc*) 15491 # This hack is so that the source file can tell whether it is being 15492 # built for inclusion in a dll (and should export symbols for example). 15493 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 15494 ;; 15495 dgux*) 15496 case $cc_basename in 15497 ec++*) 15498 lt_prog_compiler_pic_CXX='-KPIC' 15499 ;; 15500 ghcx*) 15501 # Green Hills C++ Compiler 15502 lt_prog_compiler_pic_CXX='-pic' 15503 ;; 15504 *) 15505 ;; 15506 esac 15507 ;; 15508 freebsd* | dragonfly*) 15509 # FreeBSD uses GNU C++ 15510 ;; 15511 hpux9* | hpux10* | hpux11*) 15512 case $cc_basename in 15513 CC*) 15514 lt_prog_compiler_wl_CXX='-Wl,' 15515 lt_prog_compiler_static_CXX='$wl-a ${wl}archive' 15516 if test ia64 != "$host_cpu"; then 15517 lt_prog_compiler_pic_CXX='+Z' 15518 fi 15519 ;; 15520 aCC*) 15521 lt_prog_compiler_wl_CXX='-Wl,' 15522 lt_prog_compiler_static_CXX='$wl-a ${wl}archive' 15523 case $host_cpu in 15524 hppa*64*|ia64*) 15525 # +Z the default 15526 ;; 15527 *) 15528 lt_prog_compiler_pic_CXX='+Z' 15529 ;; 15530 esac 15531 ;; 15532 *) 15533 ;; 15534 esac 15535 ;; 15536 interix*) 15537 # This is c89, which is MS Visual C++ (no shared libs) 15538 # Anyone wants to do a port? 15539 ;; 15540 irix5* | irix6* | nonstopux*) 15541 case $cc_basename in 15542 CC*) 15543 lt_prog_compiler_wl_CXX='-Wl,' 15544 lt_prog_compiler_static_CXX='-non_shared' 15545 # CC pic flag -KPIC is the default. 15546 ;; 15547 *) 15548 ;; 15549 esac 15550 ;; 15551 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 15552 case $cc_basename in 15553 KCC*) 15554 # KAI C++ Compiler 15555 lt_prog_compiler_wl_CXX='--backend -Wl,' 15556 lt_prog_compiler_pic_CXX='-fPIC' 15557 ;; 15558 ecpc* ) 15559 # old Intel C++ for x86_64, which still supported -KPIC. 15560 lt_prog_compiler_wl_CXX='-Wl,' 15561 lt_prog_compiler_pic_CXX='-KPIC' 15562 lt_prog_compiler_static_CXX='-static' 15563 ;; 15564 icpc* ) 15565 # Intel C++, used to be incompatible with GCC. 15566 # ICC 10 doesn't accept -KPIC any more. 15567 lt_prog_compiler_wl_CXX='-Wl,' 15568 lt_prog_compiler_pic_CXX='-fPIC' 15569 lt_prog_compiler_static_CXX='-static' 15570 ;; 15571 pgCC* | pgcpp*) 15572 # Portland Group C++ compiler 15573 lt_prog_compiler_wl_CXX='-Wl,' 15574 lt_prog_compiler_pic_CXX='-fpic' 15575 lt_prog_compiler_static_CXX='-Bstatic' 15576 ;; 15577 cxx*) 15578 # Compaq C++ 15579 # Make sure the PIC flag is empty. It appears that all Alpha 15580 # Linux and Compaq Tru64 Unix objects are PIC. 15581 lt_prog_compiler_pic_CXX= 15582 lt_prog_compiler_static_CXX='-non_shared' 15583 ;; 15584 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) 15585 # IBM XL 8.0, 9.0 on PPC and BlueGene 15586 lt_prog_compiler_wl_CXX='-Wl,' 15587 lt_prog_compiler_pic_CXX='-qpic' 15588 lt_prog_compiler_static_CXX='-qstaticlink' 15589 ;; 15590 *) 15591 case `$CC -V 2>&1 | sed 5q` in 15592 *Sun\ C*) 15593 # Sun C++ 5.9 15594 lt_prog_compiler_pic_CXX='-KPIC' 15595 lt_prog_compiler_static_CXX='-Bstatic' 15596 lt_prog_compiler_wl_CXX='-Qoption ld ' 15597 ;; 15598 esac 15599 ;; 15600 esac 15601 ;; 15602 lynxos*) 15603 ;; 15604 m88k*) 15605 ;; 15606 mvs*) 15607 case $cc_basename in 15608 cxx*) 15609 lt_prog_compiler_pic_CXX='-W c,exportall' 15610 ;; 15611 *) 15612 ;; 15613 esac 15614 ;; 15615 netbsd*) 15616 ;; 15617 *qnx* | *nto*) 15618 # QNX uses GNU C++, but need to define -shared option too, otherwise 15619 # it will coredump. 15620 lt_prog_compiler_pic_CXX='-fPIC -shared' 15621 ;; 15622 osf3* | osf4* | osf5*) 15623 case $cc_basename in 15624 KCC*) 15625 lt_prog_compiler_wl_CXX='--backend -Wl,' 15626 ;; 15627 RCC*) 15628 # Rational C++ 2.4.1 15629 lt_prog_compiler_pic_CXX='-pic' 15630 ;; 15631 cxx*) 15632 # Digital/Compaq C++ 15633 lt_prog_compiler_wl_CXX='-Wl,' 15634 # Make sure the PIC flag is empty. It appears that all Alpha 15635 # Linux and Compaq Tru64 Unix objects are PIC. 15636 lt_prog_compiler_pic_CXX= 15637 lt_prog_compiler_static_CXX='-non_shared' 15638 ;; 15639 *) 15640 ;; 15641 esac 15642 ;; 15643 psos*) 15644 ;; 15645 solaris*) 15646 case $cc_basename in 15647 CC* | sunCC*) 15648 # Sun C++ 4.2, 5.x and Centerline C++ 15649 lt_prog_compiler_pic_CXX='-KPIC' 15650 lt_prog_compiler_static_CXX='-Bstatic' 15651 lt_prog_compiler_wl_CXX='-Qoption ld ' 15652 ;; 15653 gcx*) 15654 # Green Hills C++ Compiler 15655 lt_prog_compiler_pic_CXX='-PIC' 15656 ;; 15657 *) 15658 ;; 15659 esac 15660 ;; 15661 sunos4*) 15662 case $cc_basename in 15663 CC*) 15664 # Sun C++ 4.x 15665 lt_prog_compiler_pic_CXX='-pic' 15666 lt_prog_compiler_static_CXX='-Bstatic' 15667 ;; 15668 lcc*) 15669 # Lucid 15670 lt_prog_compiler_pic_CXX='-pic' 15671 ;; 15672 *) 15673 ;; 15674 esac 15675 ;; 15676 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 15677 case $cc_basename in 15678 CC*) 15679 lt_prog_compiler_wl_CXX='-Wl,' 15680 lt_prog_compiler_pic_CXX='-KPIC' 15681 lt_prog_compiler_static_CXX='-Bstatic' 15682 ;; 15683 esac 15684 ;; 15685 tandem*) 15686 case $cc_basename in 15687 NCC*) 15688 # NonStop-UX NCC 3.20 15689 lt_prog_compiler_pic_CXX='-KPIC' 15690 ;; 15691 *) 15692 ;; 15693 esac 15694 ;; 15695 vxworks*) 15696 ;; 15697 *) 15698 lt_prog_compiler_can_build_shared_CXX=no 15699 ;; 15700 esac 15701 fi 15702 15703case $host_os in 15704 # For platforms that do not support PIC, -DPIC is meaningless: 15705 *djgpp*) 15706 lt_prog_compiler_pic_CXX= 15707 ;; 15708 *) 15709 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" 15710 ;; 15711esac 15712 15713{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 15714$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 15715if ${lt_cv_prog_compiler_pic_CXX+:} false; then : 15716 $as_echo_n "(cached) " >&6 15717else 15718 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX 15719fi 15720{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 15721$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; } 15722lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX 15723 15724# 15725# Check to make sure the PIC flag actually works. 15726# 15727if test -n "$lt_prog_compiler_pic_CXX"; then 15728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 15729$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } 15730if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then : 15731 $as_echo_n "(cached) " >&6 15732else 15733 lt_cv_prog_compiler_pic_works_CXX=no 15734 ac_outfile=conftest.$ac_objext 15735 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15736 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment 15737 # Insert the option either (1) after the last *FLAGS variable, or 15738 # (2) before a word containing "conftest.", or (3) at the end. 15739 # Note that $ac_compile itself does not contain backslashes and begins 15740 # with a dollar sign (not a hyphen), so the echo should work correctly. 15741 # The option is referenced via a variable to avoid confusing sed. 15742 lt_compile=`echo "$ac_compile" | $SED \ 15743 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15744 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15745 -e 's:$: $lt_compiler_flag:'` 15746 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 15747 (eval "$lt_compile" 2>conftest.err) 15748 ac_status=$? 15749 cat conftest.err >&5 15750 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15751 if (exit $ac_status) && test -s "$ac_outfile"; then 15752 # The compiler can only warn and ignore the option if not recognized 15753 # So say no if there are warnings other than the usual output. 15754 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 15755 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 15756 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 15757 lt_cv_prog_compiler_pic_works_CXX=yes 15758 fi 15759 fi 15760 $RM conftest* 15761 15762fi 15763{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 15764$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } 15765 15766if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then 15767 case $lt_prog_compiler_pic_CXX in 15768 "" | " "*) ;; 15769 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; 15770 esac 15771else 15772 lt_prog_compiler_pic_CXX= 15773 lt_prog_compiler_can_build_shared_CXX=no 15774fi 15775 15776fi 15777 15778 15779 15780 15781 15782# 15783# Check to make sure the static flag actually works. 15784# 15785wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" 15786{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 15787$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 15788if ${lt_cv_prog_compiler_static_works_CXX+:} false; then : 15789 $as_echo_n "(cached) " >&6 15790else 15791 lt_cv_prog_compiler_static_works_CXX=no 15792 save_LDFLAGS=$LDFLAGS 15793 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 15794 echo "$lt_simple_link_test_code" > conftest.$ac_ext 15795 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 15796 # The linker can only warn and ignore the option if not recognized 15797 # So say no if there are warnings 15798 if test -s conftest.err; then 15799 # Append any errors to the config.log. 15800 cat conftest.err 1>&5 15801 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 15802 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 15803 if diff conftest.exp conftest.er2 >/dev/null; then 15804 lt_cv_prog_compiler_static_works_CXX=yes 15805 fi 15806 else 15807 lt_cv_prog_compiler_static_works_CXX=yes 15808 fi 15809 fi 15810 $RM -r conftest* 15811 LDFLAGS=$save_LDFLAGS 15812 15813fi 15814{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 15815$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } 15816 15817if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then 15818 : 15819else 15820 lt_prog_compiler_static_CXX= 15821fi 15822 15823 15824 15825 15826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 15827$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 15828if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 15829 $as_echo_n "(cached) " >&6 15830else 15831 lt_cv_prog_compiler_c_o_CXX=no 15832 $RM -r conftest 2>/dev/null 15833 mkdir conftest 15834 cd conftest 15835 mkdir out 15836 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15837 15838 lt_compiler_flag="-o out/conftest2.$ac_objext" 15839 # Insert the option either (1) after the last *FLAGS variable, or 15840 # (2) before a word containing "conftest.", or (3) at the end. 15841 # Note that $ac_compile itself does not contain backslashes and begins 15842 # with a dollar sign (not a hyphen), so the echo should work correctly. 15843 lt_compile=`echo "$ac_compile" | $SED \ 15844 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15845 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15846 -e 's:$: $lt_compiler_flag:'` 15847 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 15848 (eval "$lt_compile" 2>out/conftest.err) 15849 ac_status=$? 15850 cat out/conftest.err >&5 15851 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15852 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15853 then 15854 # The compiler can only warn and ignore the option if not recognized 15855 # So say no if there are warnings 15856 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 15857 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 15858 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 15859 lt_cv_prog_compiler_c_o_CXX=yes 15860 fi 15861 fi 15862 chmod u+w . 2>&5 15863 $RM conftest* 15864 # SGI C++ compiler will create directory out/ii_files/ for 15865 # template instantiation 15866 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 15867 $RM out/* && rmdir out 15868 cd .. 15869 $RM -r conftest 15870 $RM conftest* 15871 15872fi 15873{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 15874$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 15875 15876 15877 15878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 15879$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 15880if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 15881 $as_echo_n "(cached) " >&6 15882else 15883 lt_cv_prog_compiler_c_o_CXX=no 15884 $RM -r conftest 2>/dev/null 15885 mkdir conftest 15886 cd conftest 15887 mkdir out 15888 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15889 15890 lt_compiler_flag="-o out/conftest2.$ac_objext" 15891 # Insert the option either (1) after the last *FLAGS variable, or 15892 # (2) before a word containing "conftest.", or (3) at the end. 15893 # Note that $ac_compile itself does not contain backslashes and begins 15894 # with a dollar sign (not a hyphen), so the echo should work correctly. 15895 lt_compile=`echo "$ac_compile" | $SED \ 15896 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15897 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15898 -e 's:$: $lt_compiler_flag:'` 15899 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 15900 (eval "$lt_compile" 2>out/conftest.err) 15901 ac_status=$? 15902 cat out/conftest.err >&5 15903 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15904 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15905 then 15906 # The compiler can only warn and ignore the option if not recognized 15907 # So say no if there are warnings 15908 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 15909 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 15910 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 15911 lt_cv_prog_compiler_c_o_CXX=yes 15912 fi 15913 fi 15914 chmod u+w . 2>&5 15915 $RM conftest* 15916 # SGI C++ compiler will create directory out/ii_files/ for 15917 # template instantiation 15918 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 15919 $RM out/* && rmdir out 15920 cd .. 15921 $RM -r conftest 15922 $RM conftest* 15923 15924fi 15925{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 15926$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 15927 15928 15929 15930 15931hard_links=nottested 15932if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then 15933 # do not overwrite the value of need_locks provided by the user 15934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 15935$as_echo_n "checking if we can lock with hard links... " >&6; } 15936 hard_links=yes 15937 $RM conftest* 15938 ln conftest.a conftest.b 2>/dev/null && hard_links=no 15939 touch conftest.a 15940 ln conftest.a conftest.b 2>&5 || hard_links=no 15941 ln conftest.a conftest.b 2>/dev/null && hard_links=no 15942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 15943$as_echo "$hard_links" >&6; } 15944 if test no = "$hard_links"; then 15945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 15946$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 15947 need_locks=warn 15948 fi 15949else 15950 need_locks=no 15951fi 15952 15953 15954 15955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 15956$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 15957 15958 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 15959 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 15960 case $host_os in 15961 aix[4-9]*) 15962 # If we're using GNU nm, then we don't want the "-C" option. 15963 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 15964 # Without the "-l" option, or with the "-B" option, AIX nm treats 15965 # weak defined symbols like other global defined symbols, whereas 15966 # GNU nm marks them as "W". 15967 # While the 'weak' keyword is ignored in the Export File, we need 15968 # it in the Import File for the 'aix-soname' feature, so we have 15969 # to replace the "-B" option with "-P" for AIX nm. 15970 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 15971 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' 15972 else 15973 export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' 15974 fi 15975 ;; 15976 pw32*) 15977 export_symbols_cmds_CXX=$ltdll_cmds 15978 ;; 15979 cygwin* | mingw* | cegcc*) 15980 case $cc_basename in 15981 cl*) 15982 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 15983 ;; 15984 *) 15985 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' 15986 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 15987 ;; 15988 esac 15989 ;; 15990 *) 15991 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 15992 ;; 15993 esac 15994 15995{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 15996$as_echo "$ld_shlibs_CXX" >&6; } 15997test no = "$ld_shlibs_CXX" && can_build_shared=no 15998 15999with_gnu_ld_CXX=$with_gnu_ld 16000 16001 16002 16003 16004 16005 16006# 16007# Do we need to explicitly link libc? 16008# 16009case "x$archive_cmds_need_lc_CXX" in 16010x|xyes) 16011 # Assume -lc should be added 16012 archive_cmds_need_lc_CXX=yes 16013 16014 if test yes,yes = "$GCC,$enable_shared"; then 16015 case $archive_cmds_CXX in 16016 *'~'*) 16017 # FIXME: we may have to deal with multi-command sequences. 16018 ;; 16019 '$CC '*) 16020 # Test whether the compiler implicitly links with -lc since on some 16021 # systems, -lgcc has to come before -lc. If gcc already passes -lc 16022 # to ld, don't add -lc before -lgcc. 16023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 16024$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 16025if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then : 16026 $as_echo_n "(cached) " >&6 16027else 16028 $RM conftest* 16029 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 16030 16031 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 16032 (eval $ac_compile) 2>&5 16033 ac_status=$? 16034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16035 test $ac_status = 0; } 2>conftest.err; then 16036 soname=conftest 16037 lib=conftest 16038 libobjs=conftest.$ac_objext 16039 deplibs= 16040 wl=$lt_prog_compiler_wl_CXX 16041 pic_flag=$lt_prog_compiler_pic_CXX 16042 compiler_flags=-v 16043 linker_flags=-v 16044 verstring= 16045 output_objdir=. 16046 libname=conftest 16047 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX 16048 allow_undefined_flag_CXX= 16049 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 16050 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 16051 ac_status=$? 16052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16053 test $ac_status = 0; } 16054 then 16055 lt_cv_archive_cmds_need_lc_CXX=no 16056 else 16057 lt_cv_archive_cmds_need_lc_CXX=yes 16058 fi 16059 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag 16060 else 16061 cat conftest.err 1>&5 16062 fi 16063 $RM conftest* 16064 16065fi 16066{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 16067$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; } 16068 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX 16069 ;; 16070 esac 16071 fi 16072 ;; 16073esac 16074 16075 16076 16077 16078 16079 16080 16081 16082 16083 16084 16085 16086 16087 16088 16089 16090 16091 16092 16093 16094 16095 16096 16097 16098 16099 16100 16101 16102 16103 16104 16105 16106 16107 16108 16109 16110 16111 16112 16113 16114 16115 16116 16117 16118 16119 16120 16121 16122 16123 16124 16125 16126 16127 16128 16129 16130 16131 16132 16133 16134 16135 16136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 16137$as_echo_n "checking dynamic linker characteristics... " >&6; } 16138 16139library_names_spec= 16140libname_spec='lib$name' 16141soname_spec= 16142shrext_cmds=.so 16143postinstall_cmds= 16144postuninstall_cmds= 16145finish_cmds= 16146finish_eval= 16147shlibpath_var= 16148shlibpath_overrides_runpath=unknown 16149version_type=none 16150dynamic_linker="$host_os ld.so" 16151sys_lib_dlsearch_path_spec="/lib /usr/lib" 16152need_lib_prefix=unknown 16153hardcode_into_libs=no 16154 16155# when you set need_version to no, make sure it does not cause -set_version 16156# flags to be left without arguments 16157need_version=unknown 16158 16159 16160 16161case $host_os in 16162aix3*) 16163 version_type=linux # correct to gnu/linux during the next big refactor 16164 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 16165 shlibpath_var=LIBPATH 16166 16167 # AIX 3 has no versioning support, so we append a major version to the name. 16168 soname_spec='$libname$release$shared_ext$major' 16169 ;; 16170 16171aix[4-9]*) 16172 version_type=linux # correct to gnu/linux during the next big refactor 16173 need_lib_prefix=no 16174 need_version=no 16175 hardcode_into_libs=yes 16176 if test ia64 = "$host_cpu"; then 16177 # AIX 5 supports IA64 16178 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 16179 shlibpath_var=LD_LIBRARY_PATH 16180 else 16181 # With GCC up to 2.95.x, collect2 would create an import file 16182 # for dependence libraries. The import file would start with 16183 # the line '#! .'. This would cause the generated library to 16184 # depend on '.', always an invalid library. This was fixed in 16185 # development snapshots of GCC prior to 3.0. 16186 case $host_os in 16187 aix4 | aix4.[01] | aix4.[01].*) 16188 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 16189 echo ' yes ' 16190 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 16191 : 16192 else 16193 can_build_shared=no 16194 fi 16195 ;; 16196 esac 16197 # Using Import Files as archive members, it is possible to support 16198 # filename-based versioning of shared library archives on AIX. While 16199 # this would work for both with and without runtime linking, it will 16200 # prevent static linking of such archives. So we do filename-based 16201 # shared library versioning with .so extension only, which is used 16202 # when both runtime linking and shared linking is enabled. 16203 # Unfortunately, runtime linking may impact performance, so we do 16204 # not want this to be the default eventually. Also, we use the 16205 # versioned .so libs for executables only if there is the -brtl 16206 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 16207 # To allow for filename-based versioning support, we need to create 16208 # libNAME.so.V as an archive file, containing: 16209 # *) an Import File, referring to the versioned filename of the 16210 # archive as well as the shared archive member, telling the 16211 # bitwidth (32 or 64) of that shared object, and providing the 16212 # list of exported symbols of that shared object, eventually 16213 # decorated with the 'weak' keyword 16214 # *) the shared object with the F_LOADONLY flag set, to really avoid 16215 # it being seen by the linker. 16216 # At run time we better use the real file rather than another symlink, 16217 # but for link time we create the symlink libNAME.so -> libNAME.so.V 16218 16219 case $with_aix_soname,$aix_use_runtimelinking in 16220 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 16221 # soname into executable. Probably we can add versioning support to 16222 # collect2, so additional links can be useful in future. 16223 aix,yes) # traditional libtool 16224 dynamic_linker='AIX unversionable lib.so' 16225 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 16226 # instead of lib<name>.a to let people know that these are not 16227 # typical AIX shared libraries. 16228 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16229 ;; 16230 aix,no) # traditional AIX only 16231 dynamic_linker='AIX lib.a(lib.so.V)' 16232 # We preserve .a as extension for shared libraries through AIX4.2 16233 # and later when we are not doing run time linking. 16234 library_names_spec='$libname$release.a $libname.a' 16235 soname_spec='$libname$release$shared_ext$major' 16236 ;; 16237 svr4,*) # full svr4 only 16238 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 16239 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 16240 # We do not specify a path in Import Files, so LIBPATH fires. 16241 shlibpath_overrides_runpath=yes 16242 ;; 16243 *,yes) # both, prefer svr4 16244 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 16245 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 16246 # unpreferred sharedlib libNAME.a needs extra handling 16247 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"' 16248 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"' 16249 # We do not specify a path in Import Files, so LIBPATH fires. 16250 shlibpath_overrides_runpath=yes 16251 ;; 16252 *,no) # both, prefer aix 16253 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 16254 library_names_spec='$libname$release.a $libname.a' 16255 soname_spec='$libname$release$shared_ext$major' 16256 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 16257 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)' 16258 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"' 16259 ;; 16260 esac 16261 shlibpath_var=LIBPATH 16262 fi 16263 ;; 16264 16265amigaos*) 16266 case $host_cpu in 16267 powerpc) 16268 # Since July 2007 AmigaOS4 officially supports .so libraries. 16269 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 16270 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16271 ;; 16272 m68k) 16273 library_names_spec='$libname.ixlibrary $libname.a' 16274 # Create ${libname}_ixlibrary.a entries in /sys/libs. 16275 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' 16276 ;; 16277 esac 16278 ;; 16279 16280beos*) 16281 library_names_spec='$libname$shared_ext' 16282 dynamic_linker="$host_os ld.so" 16283 shlibpath_var=LIBRARY_PATH 16284 ;; 16285 16286bsdi[45]*) 16287 version_type=linux # correct to gnu/linux during the next big refactor 16288 need_version=no 16289 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16290 soname_spec='$libname$release$shared_ext$major' 16291 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 16292 shlibpath_var=LD_LIBRARY_PATH 16293 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 16294 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 16295 # the default ld.so.conf also contains /usr/contrib/lib and 16296 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 16297 # libtool to hard-code these into programs 16298 ;; 16299 16300cygwin* | mingw* | pw32* | cegcc*) 16301 version_type=windows 16302 shrext_cmds=.dll 16303 need_version=no 16304 need_lib_prefix=no 16305 16306 case $GCC,$cc_basename in 16307 yes,*) 16308 # gcc 16309 library_names_spec='$libname.dll.a' 16310 # DLL is installed to $(libdir)/../bin by postinstall_cmds 16311 postinstall_cmds='base_file=`basename \$file`~ 16312 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 16313 dldir=$destdir/`dirname \$dlpath`~ 16314 test -d \$dldir || mkdir -p \$dldir~ 16315 $install_prog $dir/$dlname \$dldir/$dlname~ 16316 chmod a+x \$dldir/$dlname~ 16317 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 16318 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 16319 fi' 16320 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 16321 dlpath=$dir/\$dldll~ 16322 $RM \$dlpath' 16323 shlibpath_overrides_runpath=yes 16324 16325 case $host_os in 16326 cygwin*) 16327 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 16328 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 16329 16330 ;; 16331 mingw* | cegcc*) 16332 # MinGW DLLs use traditional 'lib' prefix 16333 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 16334 ;; 16335 pw32*) 16336 # pw32 DLLs use 'pw' prefix rather than 'lib' 16337 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 16338 ;; 16339 esac 16340 dynamic_linker='Win32 ld.exe' 16341 ;; 16342 16343 *,cl*) 16344 # Native MSVC 16345 libname_spec='$name' 16346 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 16347 library_names_spec='$libname.dll.lib' 16348 16349 case $build_os in 16350 mingw*) 16351 sys_lib_search_path_spec= 16352 lt_save_ifs=$IFS 16353 IFS=';' 16354 for lt_path in $LIB 16355 do 16356 IFS=$lt_save_ifs 16357 # Let DOS variable expansion print the short 8.3 style file name. 16358 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 16359 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 16360 done 16361 IFS=$lt_save_ifs 16362 # Convert to MSYS style. 16363 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 16364 ;; 16365 cygwin*) 16366 # Convert to unix form, then to dos form, then back to unix form 16367 # but this time dos style (no spaces!) so that the unix form looks 16368 # like /cygdrive/c/PROGRA~1:/cygdr... 16369 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 16370 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 16371 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 16372 ;; 16373 *) 16374 sys_lib_search_path_spec=$LIB 16375 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 16376 # It is most probably a Windows format PATH. 16377 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 16378 else 16379 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 16380 fi 16381 # FIXME: find the short name or the path components, as spaces are 16382 # common. (e.g. "Program Files" -> "PROGRA~1") 16383 ;; 16384 esac 16385 16386 # DLL is installed to $(libdir)/../bin by postinstall_cmds 16387 postinstall_cmds='base_file=`basename \$file`~ 16388 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 16389 dldir=$destdir/`dirname \$dlpath`~ 16390 test -d \$dldir || mkdir -p \$dldir~ 16391 $install_prog $dir/$dlname \$dldir/$dlname' 16392 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 16393 dlpath=$dir/\$dldll~ 16394 $RM \$dlpath' 16395 shlibpath_overrides_runpath=yes 16396 dynamic_linker='Win32 link.exe' 16397 ;; 16398 16399 *) 16400 # Assume MSVC wrapper 16401 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 16402 dynamic_linker='Win32 ld.exe' 16403 ;; 16404 esac 16405 # FIXME: first we should search . and the directory the executable is in 16406 shlibpath_var=PATH 16407 ;; 16408 16409darwin* | rhapsody*) 16410 dynamic_linker="$host_os dyld" 16411 version_type=darwin 16412 need_lib_prefix=no 16413 need_version=no 16414 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 16415 soname_spec='$libname$release$major$shared_ext' 16416 shlibpath_overrides_runpath=yes 16417 shlibpath_var=DYLD_LIBRARY_PATH 16418 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 16419 16420 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 16421 ;; 16422 16423dgux*) 16424 version_type=linux # correct to gnu/linux during the next big refactor 16425 need_lib_prefix=no 16426 need_version=no 16427 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16428 soname_spec='$libname$release$shared_ext$major' 16429 shlibpath_var=LD_LIBRARY_PATH 16430 ;; 16431 16432freebsd* | dragonfly*) 16433 # DragonFly does not have aout. When/if they implement a new 16434 # versioning mechanism, adjust this. 16435 if test -x /usr/bin/objformat; then 16436 objformat=`/usr/bin/objformat` 16437 else 16438 case $host_os in 16439 freebsd[23].*) objformat=aout ;; 16440 *) objformat=elf ;; 16441 esac 16442 fi 16443 version_type=freebsd-$objformat 16444 case $version_type in 16445 freebsd-elf*) 16446 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16447 soname_spec='$libname$release$shared_ext$major' 16448 need_version=no 16449 need_lib_prefix=no 16450 ;; 16451 freebsd-*) 16452 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16453 need_version=yes 16454 ;; 16455 esac 16456 shlibpath_var=LD_LIBRARY_PATH 16457 case $host_os in 16458 freebsd2.*) 16459 shlibpath_overrides_runpath=yes 16460 ;; 16461 freebsd3.[01]* | freebsdelf3.[01]*) 16462 shlibpath_overrides_runpath=yes 16463 hardcode_into_libs=yes 16464 ;; 16465 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 16466 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 16467 shlibpath_overrides_runpath=no 16468 hardcode_into_libs=yes 16469 ;; 16470 *) # from 4.6 on, and DragonFly 16471 shlibpath_overrides_runpath=yes 16472 hardcode_into_libs=yes 16473 ;; 16474 esac 16475 ;; 16476 16477haiku*) 16478 version_type=linux # correct to gnu/linux during the next big refactor 16479 need_lib_prefix=no 16480 need_version=no 16481 dynamic_linker="$host_os runtime_loader" 16482 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16483 soname_spec='$libname$release$shared_ext$major' 16484 shlibpath_var=LIBRARY_PATH 16485 shlibpath_overrides_runpath=no 16486 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 16487 hardcode_into_libs=yes 16488 ;; 16489 16490hpux9* | hpux10* | hpux11*) 16491 # Give a soname corresponding to the major version so that dld.sl refuses to 16492 # link against other versions. 16493 version_type=sunos 16494 need_lib_prefix=no 16495 need_version=no 16496 case $host_cpu in 16497 ia64*) 16498 shrext_cmds='.so' 16499 hardcode_into_libs=yes 16500 dynamic_linker="$host_os dld.so" 16501 shlibpath_var=LD_LIBRARY_PATH 16502 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 16503 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16504 soname_spec='$libname$release$shared_ext$major' 16505 if test 32 = "$HPUX_IA64_MODE"; then 16506 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 16507 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 16508 else 16509 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 16510 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 16511 fi 16512 ;; 16513 hppa*64*) 16514 shrext_cmds='.sl' 16515 hardcode_into_libs=yes 16516 dynamic_linker="$host_os dld.sl" 16517 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 16518 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 16519 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16520 soname_spec='$libname$release$shared_ext$major' 16521 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 16522 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16523 ;; 16524 *) 16525 shrext_cmds='.sl' 16526 dynamic_linker="$host_os dld.sl" 16527 shlibpath_var=SHLIB_PATH 16528 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 16529 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16530 soname_spec='$libname$release$shared_ext$major' 16531 ;; 16532 esac 16533 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 16534 postinstall_cmds='chmod 555 $lib' 16535 # or fails outright, so override atomically: 16536 install_override_mode=555 16537 ;; 16538 16539interix[3-9]*) 16540 version_type=linux # correct to gnu/linux during the next big refactor 16541 need_lib_prefix=no 16542 need_version=no 16543 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16544 soname_spec='$libname$release$shared_ext$major' 16545 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 16546 shlibpath_var=LD_LIBRARY_PATH 16547 shlibpath_overrides_runpath=no 16548 hardcode_into_libs=yes 16549 ;; 16550 16551irix5* | irix6* | nonstopux*) 16552 case $host_os in 16553 nonstopux*) version_type=nonstopux ;; 16554 *) 16555 if test yes = "$lt_cv_prog_gnu_ld"; then 16556 version_type=linux # correct to gnu/linux during the next big refactor 16557 else 16558 version_type=irix 16559 fi ;; 16560 esac 16561 need_lib_prefix=no 16562 need_version=no 16563 soname_spec='$libname$release$shared_ext$major' 16564 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 16565 case $host_os in 16566 irix5* | nonstopux*) 16567 libsuff= shlibsuff= 16568 ;; 16569 *) 16570 case $LD in # libtool.m4 will add one of these switches to LD 16571 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 16572 libsuff= shlibsuff= libmagic=32-bit;; 16573 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 16574 libsuff=32 shlibsuff=N32 libmagic=N32;; 16575 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 16576 libsuff=64 shlibsuff=64 libmagic=64-bit;; 16577 *) libsuff= shlibsuff= libmagic=never-match;; 16578 esac 16579 ;; 16580 esac 16581 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 16582 shlibpath_overrides_runpath=no 16583 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 16584 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 16585 hardcode_into_libs=yes 16586 ;; 16587 16588# No shared lib support for Linux oldld, aout, or coff. 16589linux*oldld* | linux*aout* | linux*coff*) 16590 dynamic_linker=no 16591 ;; 16592 16593linux*android*) 16594 version_type=none # Android doesn't support versioned libraries. 16595 need_lib_prefix=no 16596 need_version=no 16597 library_names_spec='$libname$release$shared_ext' 16598 soname_spec='$libname$release$shared_ext' 16599 finish_cmds= 16600 shlibpath_var=LD_LIBRARY_PATH 16601 shlibpath_overrides_runpath=yes 16602 16603 # This implies no fast_install, which is unacceptable. 16604 # Some rework will be needed to allow for fast_install 16605 # before this can be enabled. 16606 hardcode_into_libs=yes 16607 16608 dynamic_linker='Android linker' 16609 # Don't embed -rpath directories since the linker doesn't support them. 16610 hardcode_libdir_flag_spec_CXX='-L$libdir' 16611 ;; 16612 16613# This must be glibc/ELF. 16614linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 16615 version_type=linux # correct to gnu/linux during the next big refactor 16616 need_lib_prefix=no 16617 need_version=no 16618 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16619 soname_spec='$libname$release$shared_ext$major' 16620 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 16621 shlibpath_var=LD_LIBRARY_PATH 16622 shlibpath_overrides_runpath=no 16623 16624 # Some binutils ld are patched to set DT_RUNPATH 16625 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 16626 $as_echo_n "(cached) " >&6 16627else 16628 lt_cv_shlibpath_overrides_runpath=no 16629 save_LDFLAGS=$LDFLAGS 16630 save_libdir=$libdir 16631 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ 16632 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" 16633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16634/* end confdefs.h. */ 16635 16636int 16637main () 16638{ 16639 16640 ; 16641 return 0; 16642} 16643_ACEOF 16644if ac_fn_cxx_try_link "$LINENO"; then : 16645 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 16646 lt_cv_shlibpath_overrides_runpath=yes 16647fi 16648fi 16649rm -f core conftest.err conftest.$ac_objext \ 16650 conftest$ac_exeext conftest.$ac_ext 16651 LDFLAGS=$save_LDFLAGS 16652 libdir=$save_libdir 16653 16654fi 16655 16656 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 16657 16658 # This implies no fast_install, which is unacceptable. 16659 # Some rework will be needed to allow for fast_install 16660 # before this can be enabled. 16661 hardcode_into_libs=yes 16662 16663 # Add ABI-specific directories to the system library path. 16664 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 16665 16666 # Ideally, we could use ldconfig to report *all* directores which are 16667 # searched for libraries, however this is still not possible. Aside from not 16668 # being certain /sbin/ldconfig is available, command 16669 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 16670 # even though it is searched at run-time. Try to do the best guess by 16671 # appending ld.so.conf contents (and includes) to the search path. 16672 if test -f /etc/ld.so.conf; then 16673 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' ' '` 16674 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 16675 fi 16676 16677 # We used to test for /lib/ld.so.1 and disable shared libraries on 16678 # powerpc, because MkLinux only supported shared libraries with the 16679 # GNU dynamic linker. Since this was broken with cross compilers, 16680 # most powerpc-linux boxes support dynamic linking these days and 16681 # people can always --disable-shared, the test was removed, and we 16682 # assume the GNU/Linux dynamic linker is in use. 16683 dynamic_linker='GNU/Linux ld.so' 16684 ;; 16685 16686netbsd*) 16687 version_type=sunos 16688 need_lib_prefix=no 16689 need_version=no 16690 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 16691 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16692 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 16693 dynamic_linker='NetBSD (a.out) ld.so' 16694 else 16695 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16696 soname_spec='$libname$release$shared_ext$major' 16697 dynamic_linker='NetBSD ld.elf_so' 16698 fi 16699 shlibpath_var=LD_LIBRARY_PATH 16700 shlibpath_overrides_runpath=yes 16701 hardcode_into_libs=yes 16702 ;; 16703 16704newsos6) 16705 version_type=linux # correct to gnu/linux during the next big refactor 16706 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16707 shlibpath_var=LD_LIBRARY_PATH 16708 shlibpath_overrides_runpath=yes 16709 ;; 16710 16711*nto* | *qnx*) 16712 version_type=qnx 16713 need_lib_prefix=no 16714 need_version=no 16715 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16716 soname_spec='$libname$release$shared_ext$major' 16717 shlibpath_var=LD_LIBRARY_PATH 16718 shlibpath_overrides_runpath=no 16719 hardcode_into_libs=yes 16720 dynamic_linker='ldqnx.so' 16721 ;; 16722 16723openbsd* | bitrig*) 16724 version_type=sunos 16725 sys_lib_dlsearch_path_spec=/usr/lib 16726 need_lib_prefix=no 16727 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 16728 need_version=no 16729 else 16730 need_version=yes 16731 fi 16732 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16733 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 16734 shlibpath_var=LD_LIBRARY_PATH 16735 shlibpath_overrides_runpath=yes 16736 ;; 16737 16738os2*) 16739 libname_spec='$name' 16740 version_type=windows 16741 shrext_cmds=.dll 16742 need_version=no 16743 need_lib_prefix=no 16744 # OS/2 can only load a DLL with a base name of 8 characters or less. 16745 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 16746 v=$($ECHO $release$versuffix | tr -d .-); 16747 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 16748 $ECHO $n$v`$shared_ext' 16749 library_names_spec='${libname}_dll.$libext' 16750 dynamic_linker='OS/2 ld.exe' 16751 shlibpath_var=BEGINLIBPATH 16752 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 16753 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16754 postinstall_cmds='base_file=`basename \$file`~ 16755 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 16756 dldir=$destdir/`dirname \$dlpath`~ 16757 test -d \$dldir || mkdir -p \$dldir~ 16758 $install_prog $dir/$dlname \$dldir/$dlname~ 16759 chmod a+x \$dldir/$dlname~ 16760 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 16761 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 16762 fi' 16763 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 16764 dlpath=$dir/\$dldll~ 16765 $RM \$dlpath' 16766 ;; 16767 16768osf3* | osf4* | osf5*) 16769 version_type=osf 16770 need_lib_prefix=no 16771 need_version=no 16772 soname_spec='$libname$release$shared_ext$major' 16773 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16774 shlibpath_var=LD_LIBRARY_PATH 16775 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 16776 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16777 ;; 16778 16779rdos*) 16780 dynamic_linker=no 16781 ;; 16782 16783solaris*) 16784 version_type=linux # correct to gnu/linux during the next big refactor 16785 need_lib_prefix=no 16786 need_version=no 16787 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16788 soname_spec='$libname$release$shared_ext$major' 16789 shlibpath_var=LD_LIBRARY_PATH 16790 shlibpath_overrides_runpath=yes 16791 hardcode_into_libs=yes 16792 # ldd complains unless libraries are executable 16793 postinstall_cmds='chmod +x $lib' 16794 ;; 16795 16796sunos4*) 16797 version_type=sunos 16798 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16799 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 16800 shlibpath_var=LD_LIBRARY_PATH 16801 shlibpath_overrides_runpath=yes 16802 if test yes = "$with_gnu_ld"; then 16803 need_lib_prefix=no 16804 fi 16805 need_version=yes 16806 ;; 16807 16808sysv4 | sysv4.3*) 16809 version_type=linux # correct to gnu/linux during the next big refactor 16810 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16811 soname_spec='$libname$release$shared_ext$major' 16812 shlibpath_var=LD_LIBRARY_PATH 16813 case $host_vendor in 16814 sni) 16815 shlibpath_overrides_runpath=no 16816 need_lib_prefix=no 16817 runpath_var=LD_RUN_PATH 16818 ;; 16819 siemens) 16820 need_lib_prefix=no 16821 ;; 16822 motorola) 16823 need_lib_prefix=no 16824 need_version=no 16825 shlibpath_overrides_runpath=no 16826 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 16827 ;; 16828 esac 16829 ;; 16830 16831sysv4*MP*) 16832 if test -d /usr/nec; then 16833 version_type=linux # correct to gnu/linux during the next big refactor 16834 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 16835 soname_spec='$libname$shared_ext.$major' 16836 shlibpath_var=LD_LIBRARY_PATH 16837 fi 16838 ;; 16839 16840sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 16841 version_type=sco 16842 need_lib_prefix=no 16843 need_version=no 16844 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 16845 soname_spec='$libname$release$shared_ext$major' 16846 shlibpath_var=LD_LIBRARY_PATH 16847 shlibpath_overrides_runpath=yes 16848 hardcode_into_libs=yes 16849 if test yes = "$with_gnu_ld"; then 16850 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 16851 else 16852 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 16853 case $host_os in 16854 sco3.2v5*) 16855 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 16856 ;; 16857 esac 16858 fi 16859 sys_lib_dlsearch_path_spec='/usr/lib' 16860 ;; 16861 16862tpf*) 16863 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 16864 version_type=linux # correct to gnu/linux during the next big refactor 16865 need_lib_prefix=no 16866 need_version=no 16867 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16868 shlibpath_var=LD_LIBRARY_PATH 16869 shlibpath_overrides_runpath=no 16870 hardcode_into_libs=yes 16871 ;; 16872 16873uts4*) 16874 version_type=linux # correct to gnu/linux during the next big refactor 16875 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16876 soname_spec='$libname$release$shared_ext$major' 16877 shlibpath_var=LD_LIBRARY_PATH 16878 ;; 16879 16880*) 16881 dynamic_linker=no 16882 ;; 16883esac 16884{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 16885$as_echo "$dynamic_linker" >&6; } 16886test no = "$dynamic_linker" && can_build_shared=no 16887 16888variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 16889if test yes = "$GCC"; then 16890 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 16891fi 16892 16893if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 16894 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 16895fi 16896 16897if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 16898 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 16899fi 16900 16901# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 16902configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 16903 16904# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 16905func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 16906 16907# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 16908configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 16909 16910 16911 16912 16913 16914 16915 16916 16917 16918 16919 16920 16921 16922 16923 16924 16925 16926 16927 16928 16929 16930 16931 16932 16933 16934 16935 16936 16937 16938 16939 16940 16941 16942 16943 16944 16945 16946 16947 16948 16949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 16950$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 16951hardcode_action_CXX= 16952if test -n "$hardcode_libdir_flag_spec_CXX" || 16953 test -n "$runpath_var_CXX" || 16954 test yes = "$hardcode_automatic_CXX"; then 16955 16956 # We can hardcode non-existent directories. 16957 if test no != "$hardcode_direct_CXX" && 16958 # If the only mechanism to avoid hardcoding is shlibpath_var, we 16959 # have to relink, otherwise we might link with an installed library 16960 # when we should be linking with a yet-to-be-installed one 16961 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" && 16962 test no != "$hardcode_minus_L_CXX"; then 16963 # Linking always hardcodes the temporary library directory. 16964 hardcode_action_CXX=relink 16965 else 16966 # We can link without hardcoding, and we can hardcode nonexisting dirs. 16967 hardcode_action_CXX=immediate 16968 fi 16969else 16970 # We cannot hardcode anything, or else we can only hardcode existing 16971 # directories. 16972 hardcode_action_CXX=unsupported 16973fi 16974{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 16975$as_echo "$hardcode_action_CXX" >&6; } 16976 16977if test relink = "$hardcode_action_CXX" || 16978 test yes = "$inherit_rpath_CXX"; then 16979 # Fast installation is not supported 16980 enable_fast_install=no 16981elif test yes = "$shlibpath_overrides_runpath" || 16982 test no = "$enable_shared"; then 16983 # Fast installation is not necessary 16984 enable_fast_install=needless 16985fi 16986 16987 16988 16989 16990 16991 16992 16993 fi # test -n "$compiler" 16994 16995 CC=$lt_save_CC 16996 CFLAGS=$lt_save_CFLAGS 16997 LDCXX=$LD 16998 LD=$lt_save_LD 16999 GCC=$lt_save_GCC 17000 with_gnu_ld=$lt_save_with_gnu_ld 17001 lt_cv_path_LDCXX=$lt_cv_path_LD 17002 lt_cv_path_LD=$lt_save_path_LD 17003 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld 17004 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld 17005fi # test yes != "$_lt_caught_CXX_error" 17006 17007ac_ext=c 17008ac_cpp='$CPP $CPPFLAGS' 17009ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 17010ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 17011ac_compiler_gnu=$ac_cv_c_compiler_gnu 17012 17013 17014 17015 17016 17017 17018 17019 17020 17021 17022 17023 17024 17025 17026 17027 ac_config_commands="$ac_config_commands libtool" 17028 17029 17030 17031 17032# Only expand once: 17033 17034 17035 17036 17037# Extract the first word of "pkg-config", so it can be a program name with args. 17038set dummy pkg-config; ac_word=$2 17039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17040$as_echo_n "checking for $ac_word... " >&6; } 17041if ${ac_cv_path_PKGCONFIG+:} false; then : 17042 $as_echo_n "(cached) " >&6 17043else 17044 case $PKGCONFIG in 17045 [\\/]* | ?:[\\/]*) 17046 ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path. 17047 ;; 17048 *) 17049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17050for as_dir in $PATH 17051do 17052 IFS=$as_save_IFS 17053 test -z "$as_dir" && as_dir=. 17054 for ac_exec_ext in '' $ac_executable_extensions; do 17055 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17056 ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext" 17057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17058 break 2 17059 fi 17060done 17061 done 17062IFS=$as_save_IFS 17063 17064 ;; 17065esac 17066fi 17067PKGCONFIG=$ac_cv_path_PKGCONFIG 17068if test -n "$PKGCONFIG"; then 17069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5 17070$as_echo "$PKGCONFIG" >&6; } 17071else 17072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17073$as_echo "no" >&6; } 17074fi 17075 17076 17077 17078 17079mkdir_p="$MKDIR_P" 17080case $mkdir_p in 17081 [\\/$]* | ?:[\\/]*) ;; 17082 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 17083esac 17084 17085 17086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 17087$as_echo_n "checking whether NLS is requested... " >&6; } 17088 # Check whether --enable-nls was given. 17089if test "${enable_nls+set}" = set; then : 17090 enableval=$enable_nls; USE_NLS=$enableval 17091else 17092 USE_NLS=yes 17093fi 17094 17095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 17096$as_echo "$USE_NLS" >&6; } 17097 17098 17099 17100 17101 GETTEXT_MACRO_VERSION=0.18 17102 17103 17104 17105 17106# Prepare PATH_SEPARATOR. 17107# The user is always right. 17108if test "${PATH_SEPARATOR+set}" != set; then 17109 echo "#! /bin/sh" >conf$$.sh 17110 echo "exit 0" >>conf$$.sh 17111 chmod +x conf$$.sh 17112 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 17113 PATH_SEPARATOR=';' 17114 else 17115 PATH_SEPARATOR=: 17116 fi 17117 rm -f conf$$.sh 17118fi 17119 17120# Find out how to test for executable files. Don't use a zero-byte file, 17121# as systems may use methods other than mode bits to determine executability. 17122cat >conf$$.file <<_ASEOF 17123#! /bin/sh 17124exit 0 17125_ASEOF 17126chmod +x conf$$.file 17127if test -x conf$$.file >/dev/null 2>&1; then 17128 ac_executable_p="test -x" 17129else 17130 ac_executable_p="test -f" 17131fi 17132rm -f conf$$.file 17133 17134# Extract the first word of "msgfmt", so it can be a program name with args. 17135set dummy msgfmt; ac_word=$2 17136{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17137$as_echo_n "checking for $ac_word... " >&6; } 17138if ${ac_cv_path_MSGFMT+:} false; then : 17139 $as_echo_n "(cached) " >&6 17140else 17141 case "$MSGFMT" in 17142 [\\/]* | ?:[\\/]*) 17143 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 17144 ;; 17145 *) 17146 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 17147 for ac_dir in $PATH; do 17148 IFS="$ac_save_IFS" 17149 test -z "$ac_dir" && ac_dir=. 17150 for ac_exec_ext in '' $ac_executable_extensions; do 17151 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 17152 echo "$as_me: trying $ac_dir/$ac_word..." >&5 17153 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && 17154 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 17155 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" 17156 break 2 17157 fi 17158 fi 17159 done 17160 done 17161 IFS="$ac_save_IFS" 17162 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" 17163 ;; 17164esac 17165fi 17166MSGFMT="$ac_cv_path_MSGFMT" 17167if test "$MSGFMT" != ":"; then 17168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 17169$as_echo "$MSGFMT" >&6; } 17170else 17171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17172$as_echo "no" >&6; } 17173fi 17174 17175 # Extract the first word of "gmsgfmt", so it can be a program name with args. 17176set dummy gmsgfmt; ac_word=$2 17177{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17178$as_echo_n "checking for $ac_word... " >&6; } 17179if ${ac_cv_path_GMSGFMT+:} false; then : 17180 $as_echo_n "(cached) " >&6 17181else 17182 case $GMSGFMT in 17183 [\\/]* | ?:[\\/]*) 17184 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 17185 ;; 17186 *) 17187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17188for as_dir in $PATH 17189do 17190 IFS=$as_save_IFS 17191 test -z "$as_dir" && as_dir=. 17192 for ac_exec_ext in '' $ac_executable_extensions; do 17193 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17194 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 17195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17196 break 2 17197 fi 17198done 17199 done 17200IFS=$as_save_IFS 17201 17202 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 17203 ;; 17204esac 17205fi 17206GMSGFMT=$ac_cv_path_GMSGFMT 17207if test -n "$GMSGFMT"; then 17208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 17209$as_echo "$GMSGFMT" >&6; } 17210else 17211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17212$as_echo "no" >&6; } 17213fi 17214 17215 17216 17217 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 17218 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; 17219 *) MSGFMT_015=$MSGFMT ;; 17220 esac 17221 17222 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 17223 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; 17224 *) GMSGFMT_015=$GMSGFMT ;; 17225 esac 17226 17227 17228 17229# Prepare PATH_SEPARATOR. 17230# The user is always right. 17231if test "${PATH_SEPARATOR+set}" != set; then 17232 echo "#! /bin/sh" >conf$$.sh 17233 echo "exit 0" >>conf$$.sh 17234 chmod +x conf$$.sh 17235 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 17236 PATH_SEPARATOR=';' 17237 else 17238 PATH_SEPARATOR=: 17239 fi 17240 rm -f conf$$.sh 17241fi 17242 17243# Find out how to test for executable files. Don't use a zero-byte file, 17244# as systems may use methods other than mode bits to determine executability. 17245cat >conf$$.file <<_ASEOF 17246#! /bin/sh 17247exit 0 17248_ASEOF 17249chmod +x conf$$.file 17250if test -x conf$$.file >/dev/null 2>&1; then 17251 ac_executable_p="test -x" 17252else 17253 ac_executable_p="test -f" 17254fi 17255rm -f conf$$.file 17256 17257# Extract the first word of "xgettext", so it can be a program name with args. 17258set dummy xgettext; ac_word=$2 17259{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17260$as_echo_n "checking for $ac_word... " >&6; } 17261if ${ac_cv_path_XGETTEXT+:} false; then : 17262 $as_echo_n "(cached) " >&6 17263else 17264 case "$XGETTEXT" in 17265 [\\/]* | ?:[\\/]*) 17266 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 17267 ;; 17268 *) 17269 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 17270 for ac_dir in $PATH; do 17271 IFS="$ac_save_IFS" 17272 test -z "$ac_dir" && ac_dir=. 17273 for ac_exec_ext in '' $ac_executable_extensions; do 17274 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 17275 echo "$as_me: trying $ac_dir/$ac_word..." >&5 17276 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && 17277 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 17278 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" 17279 break 2 17280 fi 17281 fi 17282 done 17283 done 17284 IFS="$ac_save_IFS" 17285 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 17286 ;; 17287esac 17288fi 17289XGETTEXT="$ac_cv_path_XGETTEXT" 17290if test "$XGETTEXT" != ":"; then 17291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 17292$as_echo "$XGETTEXT" >&6; } 17293else 17294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17295$as_echo "no" >&6; } 17296fi 17297 17298 rm -f messages.po 17299 17300 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 17301 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; 17302 *) XGETTEXT_015=$XGETTEXT ;; 17303 esac 17304 17305 17306 17307# Prepare PATH_SEPARATOR. 17308# The user is always right. 17309if test "${PATH_SEPARATOR+set}" != set; then 17310 echo "#! /bin/sh" >conf$$.sh 17311 echo "exit 0" >>conf$$.sh 17312 chmod +x conf$$.sh 17313 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 17314 PATH_SEPARATOR=';' 17315 else 17316 PATH_SEPARATOR=: 17317 fi 17318 rm -f conf$$.sh 17319fi 17320 17321# Find out how to test for executable files. Don't use a zero-byte file, 17322# as systems may use methods other than mode bits to determine executability. 17323cat >conf$$.file <<_ASEOF 17324#! /bin/sh 17325exit 0 17326_ASEOF 17327chmod +x conf$$.file 17328if test -x conf$$.file >/dev/null 2>&1; then 17329 ac_executable_p="test -x" 17330else 17331 ac_executable_p="test -f" 17332fi 17333rm -f conf$$.file 17334 17335# Extract the first word of "msgmerge", so it can be a program name with args. 17336set dummy msgmerge; ac_word=$2 17337{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17338$as_echo_n "checking for $ac_word... " >&6; } 17339if ${ac_cv_path_MSGMERGE+:} false; then : 17340 $as_echo_n "(cached) " >&6 17341else 17342 case "$MSGMERGE" in 17343 [\\/]* | ?:[\\/]*) 17344 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 17345 ;; 17346 *) 17347 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 17348 for ac_dir in $PATH; do 17349 IFS="$ac_save_IFS" 17350 test -z "$ac_dir" && ac_dir=. 17351 for ac_exec_ext in '' $ac_executable_extensions; do 17352 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 17353 echo "$as_me: trying $ac_dir/$ac_word..." >&5 17354 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then 17355 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" 17356 break 2 17357 fi 17358 fi 17359 done 17360 done 17361 IFS="$ac_save_IFS" 17362 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" 17363 ;; 17364esac 17365fi 17366MSGMERGE="$ac_cv_path_MSGMERGE" 17367if test "$MSGMERGE" != ":"; then 17368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 17369$as_echo "$MSGMERGE" >&6; } 17370else 17371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17372$as_echo "no" >&6; } 17373fi 17374 17375 17376 test -n "$localedir" || localedir='${datadir}/locale' 17377 17378 17379 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= 17380 17381 17382 ac_config_commands="$ac_config_commands po-directories" 17383 17384 17385 17386 if test "X$prefix" = "XNONE"; then 17387 acl_final_prefix="$ac_default_prefix" 17388 else 17389 acl_final_prefix="$prefix" 17390 fi 17391 if test "X$exec_prefix" = "XNONE"; then 17392 acl_final_exec_prefix='${prefix}' 17393 else 17394 acl_final_exec_prefix="$exec_prefix" 17395 fi 17396 acl_save_prefix="$prefix" 17397 prefix="$acl_final_prefix" 17398 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" 17399 prefix="$acl_save_prefix" 17400 17401 17402# Check whether --with-gnu-ld was given. 17403if test "${with_gnu_ld+set}" = set; then : 17404 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 17405else 17406 with_gnu_ld=no 17407fi 17408 17409# Prepare PATH_SEPARATOR. 17410# The user is always right. 17411if test "${PATH_SEPARATOR+set}" != set; then 17412 echo "#! /bin/sh" >conf$$.sh 17413 echo "exit 0" >>conf$$.sh 17414 chmod +x conf$$.sh 17415 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 17416 PATH_SEPARATOR=';' 17417 else 17418 PATH_SEPARATOR=: 17419 fi 17420 rm -f conf$$.sh 17421fi 17422ac_prog=ld 17423if test "$GCC" = yes; then 17424 # Check if gcc -print-prog-name=ld gives a path. 17425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 17426$as_echo_n "checking for ld used by GCC... " >&6; } 17427 case $host in 17428 *-*-mingw*) 17429 # gcc leaves a trailing carriage return which upsets mingw 17430 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 17431 *) 17432 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 17433 esac 17434 case $ac_prog in 17435 # Accept absolute paths. 17436 [\\/]* | [A-Za-z]:[\\/]*) 17437 re_direlt='/[^/][^/]*/\.\./' 17438 # Canonicalize the path of ld 17439 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` 17440 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do 17441 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` 17442 done 17443 test -z "$LD" && LD="$ac_prog" 17444 ;; 17445 "") 17446 # If it fails, then pretend we aren't using GCC. 17447 ac_prog=ld 17448 ;; 17449 *) 17450 # If it is relative, then search for the first ld in PATH. 17451 with_gnu_ld=unknown 17452 ;; 17453 esac 17454elif test "$with_gnu_ld" = yes; then 17455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 17456$as_echo_n "checking for GNU ld... " >&6; } 17457else 17458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 17459$as_echo_n "checking for non-GNU ld... " >&6; } 17460fi 17461if ${acl_cv_path_LD+:} false; then : 17462 $as_echo_n "(cached) " >&6 17463else 17464 if test -z "$LD"; then 17465 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 17466 for ac_dir in $PATH; do 17467 test -z "$ac_dir" && ac_dir=. 17468 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 17469 acl_cv_path_LD="$ac_dir/$ac_prog" 17470 # Check to see if the program is GNU ld. I'd rather use --version, 17471 # but apparently some GNU ld's only accept -v. 17472 # Break only if it was the GNU/non-GNU ld that we prefer. 17473 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in 17474 *GNU* | *'with BFD'*) 17475 test "$with_gnu_ld" != no && break ;; 17476 *) 17477 test "$with_gnu_ld" != yes && break ;; 17478 esac 17479 fi 17480 done 17481 IFS="$ac_save_ifs" 17482else 17483 acl_cv_path_LD="$LD" # Let the user override the test with a path. 17484fi 17485fi 17486 17487LD="$acl_cv_path_LD" 17488if test -n "$LD"; then 17489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 17490$as_echo "$LD" >&6; } 17491else 17492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17493$as_echo "no" >&6; } 17494fi 17495test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 17496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 17497$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 17498if ${acl_cv_prog_gnu_ld+:} false; then : 17499 $as_echo_n "(cached) " >&6 17500else 17501 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 17502case `$LD -v 2>&1 </dev/null` in 17503*GNU* | *'with BFD'*) 17504 acl_cv_prog_gnu_ld=yes ;; 17505*) 17506 acl_cv_prog_gnu_ld=no ;; 17507esac 17508fi 17509{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 17510$as_echo "$acl_cv_prog_gnu_ld" >&6; } 17511with_gnu_ld=$acl_cv_prog_gnu_ld 17512 17513 17514 17515 17516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 17517$as_echo_n "checking for shared library run path origin... " >&6; } 17518if ${acl_cv_rpath+:} false; then : 17519 $as_echo_n "(cached) " >&6 17520else 17521 17522 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ 17523 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh 17524 . ./conftest.sh 17525 rm -f ./conftest.sh 17526 acl_cv_rpath=done 17527 17528fi 17529{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 17530$as_echo "$acl_cv_rpath" >&6; } 17531 wl="$acl_cv_wl" 17532 acl_libext="$acl_cv_libext" 17533 acl_shlibext="$acl_cv_shlibext" 17534 acl_libname_spec="$acl_cv_libname_spec" 17535 acl_library_names_spec="$acl_cv_library_names_spec" 17536 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" 17537 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" 17538 acl_hardcode_direct="$acl_cv_hardcode_direct" 17539 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" 17540 # Check whether --enable-rpath was given. 17541if test "${enable_rpath+set}" = set; then : 17542 enableval=$enable_rpath; : 17543else 17544 enable_rpath=yes 17545fi 17546 17547 17548 17549 17550 acl_libdirstem=lib 17551 acl_libdirstem2= 17552 case "$host_os" in 17553 solaris*) 17554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 17555$as_echo_n "checking for 64-bit host... " >&6; } 17556if ${gl_cv_solaris_64bit+:} false; then : 17557 $as_echo_n "(cached) " >&6 17558else 17559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17560/* end confdefs.h. */ 17561 17562#ifdef _LP64 17563sixtyfour bits 17564#endif 17565 17566_ACEOF 17567if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 17568 $EGREP "sixtyfour bits" >/dev/null 2>&1; then : 17569 gl_cv_solaris_64bit=yes 17570else 17571 gl_cv_solaris_64bit=no 17572fi 17573rm -f conftest* 17574 17575 17576fi 17577{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5 17578$as_echo "$gl_cv_solaris_64bit" >&6; } 17579 if test $gl_cv_solaris_64bit = yes; then 17580 acl_libdirstem=lib/64 17581 case "$host_cpu" in 17582 sparc*) acl_libdirstem2=lib/sparcv9 ;; 17583 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; 17584 esac 17585 fi 17586 ;; 17587 *) 17588 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` 17589 if test -n "$searchpath"; then 17590 acl_save_IFS="${IFS= }"; IFS=":" 17591 for searchdir in $searchpath; do 17592 if test -d "$searchdir"; then 17593 case "$searchdir" in 17594 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; 17595 */../ | */.. ) 17596 # Better ignore directories of this form. They are misleading. 17597 ;; 17598 *) searchdir=`cd "$searchdir" && pwd` 17599 case "$searchdir" in 17600 */lib64 ) acl_libdirstem=lib64 ;; 17601 esac ;; 17602 esac 17603 fi 17604 done 17605 IFS="$acl_save_IFS" 17606 fi 17607 ;; 17608 esac 17609 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" 17610 17611 17612 17613 17614 17615 17616 17617 17618 17619 17620 17621 17622 use_additional=yes 17623 17624 acl_save_prefix="$prefix" 17625 prefix="$acl_final_prefix" 17626 acl_save_exec_prefix="$exec_prefix" 17627 exec_prefix="$acl_final_exec_prefix" 17628 17629 eval additional_includedir=\"$includedir\" 17630 eval additional_libdir=\"$libdir\" 17631 17632 exec_prefix="$acl_save_exec_prefix" 17633 prefix="$acl_save_prefix" 17634 17635 17636# Check whether --with-libiconv-prefix was given. 17637if test "${with_libiconv_prefix+set}" = set; then : 17638 withval=$with_libiconv_prefix; 17639 if test "X$withval" = "Xno"; then 17640 use_additional=no 17641 else 17642 if test "X$withval" = "X"; then 17643 17644 acl_save_prefix="$prefix" 17645 prefix="$acl_final_prefix" 17646 acl_save_exec_prefix="$exec_prefix" 17647 exec_prefix="$acl_final_exec_prefix" 17648 17649 eval additional_includedir=\"$includedir\" 17650 eval additional_libdir=\"$libdir\" 17651 17652 exec_prefix="$acl_save_exec_prefix" 17653 prefix="$acl_save_prefix" 17654 17655 else 17656 additional_includedir="$withval/include" 17657 additional_libdir="$withval/$acl_libdirstem" 17658 if test "$acl_libdirstem2" != "$acl_libdirstem" \ 17659 && ! test -d "$withval/$acl_libdirstem"; then 17660 additional_libdir="$withval/$acl_libdirstem2" 17661 fi 17662 fi 17663 fi 17664 17665fi 17666 17667 LIBICONV= 17668 LTLIBICONV= 17669 INCICONV= 17670 LIBICONV_PREFIX= 17671 HAVE_LIBICONV= 17672 rpathdirs= 17673 ltrpathdirs= 17674 names_already_handled= 17675 names_next_round='iconv ' 17676 while test -n "$names_next_round"; do 17677 names_this_round="$names_next_round" 17678 names_next_round= 17679 for name in $names_this_round; do 17680 already_handled= 17681 for n in $names_already_handled; do 17682 if test "$n" = "$name"; then 17683 already_handled=yes 17684 break 17685 fi 17686 done 17687 if test -z "$already_handled"; then 17688 names_already_handled="$names_already_handled $name" 17689 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 17690 eval value=\"\$HAVE_LIB$uppername\" 17691 if test -n "$value"; then 17692 if test "$value" = yes; then 17693 eval value=\"\$LIB$uppername\" 17694 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" 17695 eval value=\"\$LTLIB$uppername\" 17696 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" 17697 else 17698 : 17699 fi 17700 else 17701 found_dir= 17702 found_la= 17703 found_so= 17704 found_a= 17705 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 17706 if test -n "$acl_shlibext"; then 17707 shrext=".$acl_shlibext" # typically: shrext=.so 17708 else 17709 shrext= 17710 fi 17711 if test $use_additional = yes; then 17712 dir="$additional_libdir" 17713 if test -n "$acl_shlibext"; then 17714 if test -f "$dir/$libname$shrext"; then 17715 found_dir="$dir" 17716 found_so="$dir/$libname$shrext" 17717 else 17718 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 17719 ver=`(cd "$dir" && \ 17720 for f in "$libname$shrext".*; do echo "$f"; done \ 17721 | sed -e "s,^$libname$shrext\\\\.,," \ 17722 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 17723 | sed 1q ) 2>/dev/null` 17724 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 17725 found_dir="$dir" 17726 found_so="$dir/$libname$shrext.$ver" 17727 fi 17728 else 17729 eval library_names=\"$acl_library_names_spec\" 17730 for f in $library_names; do 17731 if test -f "$dir/$f"; then 17732 found_dir="$dir" 17733 found_so="$dir/$f" 17734 break 17735 fi 17736 done 17737 fi 17738 fi 17739 fi 17740 if test "X$found_dir" = "X"; then 17741 if test -f "$dir/$libname.$acl_libext"; then 17742 found_dir="$dir" 17743 found_a="$dir/$libname.$acl_libext" 17744 fi 17745 fi 17746 if test "X$found_dir" != "X"; then 17747 if test -f "$dir/$libname.la"; then 17748 found_la="$dir/$libname.la" 17749 fi 17750 fi 17751 fi 17752 if test "X$found_dir" = "X"; then 17753 for x in $LDFLAGS $LTLIBICONV; do 17754 17755 acl_save_prefix="$prefix" 17756 prefix="$acl_final_prefix" 17757 acl_save_exec_prefix="$exec_prefix" 17758 exec_prefix="$acl_final_exec_prefix" 17759 eval x=\"$x\" 17760 exec_prefix="$acl_save_exec_prefix" 17761 prefix="$acl_save_prefix" 17762 17763 case "$x" in 17764 -L*) 17765 dir=`echo "X$x" | sed -e 's/^X-L//'` 17766 if test -n "$acl_shlibext"; then 17767 if test -f "$dir/$libname$shrext"; then 17768 found_dir="$dir" 17769 found_so="$dir/$libname$shrext" 17770 else 17771 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 17772 ver=`(cd "$dir" && \ 17773 for f in "$libname$shrext".*; do echo "$f"; done \ 17774 | sed -e "s,^$libname$shrext\\\\.,," \ 17775 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 17776 | sed 1q ) 2>/dev/null` 17777 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 17778 found_dir="$dir" 17779 found_so="$dir/$libname$shrext.$ver" 17780 fi 17781 else 17782 eval library_names=\"$acl_library_names_spec\" 17783 for f in $library_names; do 17784 if test -f "$dir/$f"; then 17785 found_dir="$dir" 17786 found_so="$dir/$f" 17787 break 17788 fi 17789 done 17790 fi 17791 fi 17792 fi 17793 if test "X$found_dir" = "X"; then 17794 if test -f "$dir/$libname.$acl_libext"; then 17795 found_dir="$dir" 17796 found_a="$dir/$libname.$acl_libext" 17797 fi 17798 fi 17799 if test "X$found_dir" != "X"; then 17800 if test -f "$dir/$libname.la"; then 17801 found_la="$dir/$libname.la" 17802 fi 17803 fi 17804 ;; 17805 esac 17806 if test "X$found_dir" != "X"; then 17807 break 17808 fi 17809 done 17810 fi 17811 if test "X$found_dir" != "X"; then 17812 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" 17813 if test "X$found_so" != "X"; then 17814 if test "$enable_rpath" = no \ 17815 || test "X$found_dir" = "X/usr/$acl_libdirstem" \ 17816 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then 17817 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 17818 else 17819 haveit= 17820 for x in $ltrpathdirs; do 17821 if test "X$x" = "X$found_dir"; then 17822 haveit=yes 17823 break 17824 fi 17825 done 17826 if test -z "$haveit"; then 17827 ltrpathdirs="$ltrpathdirs $found_dir" 17828 fi 17829 if test "$acl_hardcode_direct" = yes; then 17830 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 17831 else 17832 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 17833 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 17834 haveit= 17835 for x in $rpathdirs; do 17836 if test "X$x" = "X$found_dir"; then 17837 haveit=yes 17838 break 17839 fi 17840 done 17841 if test -z "$haveit"; then 17842 rpathdirs="$rpathdirs $found_dir" 17843 fi 17844 else 17845 haveit= 17846 for x in $LDFLAGS $LIBICONV; do 17847 17848 acl_save_prefix="$prefix" 17849 prefix="$acl_final_prefix" 17850 acl_save_exec_prefix="$exec_prefix" 17851 exec_prefix="$acl_final_exec_prefix" 17852 eval x=\"$x\" 17853 exec_prefix="$acl_save_exec_prefix" 17854 prefix="$acl_save_prefix" 17855 17856 if test "X$x" = "X-L$found_dir"; then 17857 haveit=yes 17858 break 17859 fi 17860 done 17861 if test -z "$haveit"; then 17862 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" 17863 fi 17864 if test "$acl_hardcode_minus_L" != no; then 17865 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 17866 else 17867 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 17868 fi 17869 fi 17870 fi 17871 fi 17872 else 17873 if test "X$found_a" != "X"; then 17874 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" 17875 else 17876 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" 17877 fi 17878 fi 17879 additional_includedir= 17880 case "$found_dir" in 17881 */$acl_libdirstem | */$acl_libdirstem/) 17882 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 17883 if test "$name" = 'iconv'; then 17884 LIBICONV_PREFIX="$basedir" 17885 fi 17886 additional_includedir="$basedir/include" 17887 ;; 17888 */$acl_libdirstem2 | */$acl_libdirstem2/) 17889 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` 17890 if test "$name" = 'iconv'; then 17891 LIBICONV_PREFIX="$basedir" 17892 fi 17893 additional_includedir="$basedir/include" 17894 ;; 17895 esac 17896 if test "X$additional_includedir" != "X"; then 17897 if test "X$additional_includedir" != "X/usr/include"; then 17898 haveit= 17899 if test "X$additional_includedir" = "X/usr/local/include"; then 17900 if test -n "$GCC"; then 17901 case $host_os in 17902 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 17903 esac 17904 fi 17905 fi 17906 if test -z "$haveit"; then 17907 for x in $CPPFLAGS $INCICONV; do 17908 17909 acl_save_prefix="$prefix" 17910 prefix="$acl_final_prefix" 17911 acl_save_exec_prefix="$exec_prefix" 17912 exec_prefix="$acl_final_exec_prefix" 17913 eval x=\"$x\" 17914 exec_prefix="$acl_save_exec_prefix" 17915 prefix="$acl_save_prefix" 17916 17917 if test "X$x" = "X-I$additional_includedir"; then 17918 haveit=yes 17919 break 17920 fi 17921 done 17922 if test -z "$haveit"; then 17923 if test -d "$additional_includedir"; then 17924 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" 17925 fi 17926 fi 17927 fi 17928 fi 17929 fi 17930 if test -n "$found_la"; then 17931 save_libdir="$libdir" 17932 case "$found_la" in 17933 */* | *\\*) . "$found_la" ;; 17934 *) . "./$found_la" ;; 17935 esac 17936 libdir="$save_libdir" 17937 for dep in $dependency_libs; do 17938 case "$dep" in 17939 -L*) 17940 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 17941 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ 17942 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then 17943 haveit= 17944 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ 17945 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then 17946 if test -n "$GCC"; then 17947 case $host_os in 17948 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 17949 esac 17950 fi 17951 fi 17952 if test -z "$haveit"; then 17953 haveit= 17954 for x in $LDFLAGS $LIBICONV; do 17955 17956 acl_save_prefix="$prefix" 17957 prefix="$acl_final_prefix" 17958 acl_save_exec_prefix="$exec_prefix" 17959 exec_prefix="$acl_final_exec_prefix" 17960 eval x=\"$x\" 17961 exec_prefix="$acl_save_exec_prefix" 17962 prefix="$acl_save_prefix" 17963 17964 if test "X$x" = "X-L$additional_libdir"; then 17965 haveit=yes 17966 break 17967 fi 17968 done 17969 if test -z "$haveit"; then 17970 if test -d "$additional_libdir"; then 17971 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" 17972 fi 17973 fi 17974 haveit= 17975 for x in $LDFLAGS $LTLIBICONV; do 17976 17977 acl_save_prefix="$prefix" 17978 prefix="$acl_final_prefix" 17979 acl_save_exec_prefix="$exec_prefix" 17980 exec_prefix="$acl_final_exec_prefix" 17981 eval x=\"$x\" 17982 exec_prefix="$acl_save_exec_prefix" 17983 prefix="$acl_save_prefix" 17984 17985 if test "X$x" = "X-L$additional_libdir"; then 17986 haveit=yes 17987 break 17988 fi 17989 done 17990 if test -z "$haveit"; then 17991 if test -d "$additional_libdir"; then 17992 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" 17993 fi 17994 fi 17995 fi 17996 fi 17997 ;; 17998 -R*) 17999 dir=`echo "X$dep" | sed -e 's/^X-R//'` 18000 if test "$enable_rpath" != no; then 18001 haveit= 18002 for x in $rpathdirs; do 18003 if test "X$x" = "X$dir"; then 18004 haveit=yes 18005 break 18006 fi 18007 done 18008 if test -z "$haveit"; then 18009 rpathdirs="$rpathdirs $dir" 18010 fi 18011 haveit= 18012 for x in $ltrpathdirs; do 18013 if test "X$x" = "X$dir"; then 18014 haveit=yes 18015 break 18016 fi 18017 done 18018 if test -z "$haveit"; then 18019 ltrpathdirs="$ltrpathdirs $dir" 18020 fi 18021 fi 18022 ;; 18023 -l*) 18024 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 18025 ;; 18026 *.la) 18027 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 18028 ;; 18029 *) 18030 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" 18031 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" 18032 ;; 18033 esac 18034 done 18035 fi 18036 else 18037 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 18038 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" 18039 fi 18040 fi 18041 fi 18042 done 18043 done 18044 if test "X$rpathdirs" != "X"; then 18045 if test -n "$acl_hardcode_libdir_separator"; then 18046 alldirs= 18047 for found_dir in $rpathdirs; do 18048 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 18049 done 18050 acl_save_libdir="$libdir" 18051 libdir="$alldirs" 18052 eval flag=\"$acl_hardcode_libdir_flag_spec\" 18053 libdir="$acl_save_libdir" 18054 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 18055 else 18056 for found_dir in $rpathdirs; do 18057 acl_save_libdir="$libdir" 18058 libdir="$found_dir" 18059 eval flag=\"$acl_hardcode_libdir_flag_spec\" 18060 libdir="$acl_save_libdir" 18061 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 18062 done 18063 fi 18064 fi 18065 if test "X$ltrpathdirs" != "X"; then 18066 for found_dir in $ltrpathdirs; do 18067 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" 18068 done 18069 fi 18070 18071 18072 18073 18074 18075 18076 18077 18078 18079 18080 18081 18082 18083 18084 18085 18086 18087 18088 18089 18090 18091 18092 18093 18094 18095 18096 18097 18098 18099 18100 18101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 18102$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } 18103if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : 18104 $as_echo_n "(cached) " >&6 18105else 18106 gt_save_LIBS="$LIBS" 18107 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 18108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18109/* end confdefs.h. */ 18110#include <CoreFoundation/CFPreferences.h> 18111int 18112main () 18113{ 18114CFPreferencesCopyAppValue(NULL, NULL) 18115 ; 18116 return 0; 18117} 18118_ACEOF 18119if ac_fn_c_try_link "$LINENO"; then : 18120 gt_cv_func_CFPreferencesCopyAppValue=yes 18121else 18122 gt_cv_func_CFPreferencesCopyAppValue=no 18123fi 18124rm -f core conftest.err conftest.$ac_objext \ 18125 conftest$ac_exeext conftest.$ac_ext 18126 LIBS="$gt_save_LIBS" 18127fi 18128{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 18129$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } 18130 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then 18131 18132$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h 18133 18134 fi 18135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 18136$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } 18137if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : 18138 $as_echo_n "(cached) " >&6 18139else 18140 gt_save_LIBS="$LIBS" 18141 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 18142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18143/* end confdefs.h. */ 18144#include <CoreFoundation/CFLocale.h> 18145int 18146main () 18147{ 18148CFLocaleCopyCurrent(); 18149 ; 18150 return 0; 18151} 18152_ACEOF 18153if ac_fn_c_try_link "$LINENO"; then : 18154 gt_cv_func_CFLocaleCopyCurrent=yes 18155else 18156 gt_cv_func_CFLocaleCopyCurrent=no 18157fi 18158rm -f core conftest.err conftest.$ac_objext \ 18159 conftest$ac_exeext conftest.$ac_ext 18160 LIBS="$gt_save_LIBS" 18161fi 18162{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 18163$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } 18164 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then 18165 18166$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h 18167 18168 fi 18169 INTL_MACOSX_LIBS= 18170 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then 18171 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" 18172 fi 18173 18174 18175 18176 18177 18178 18179 LIBINTL= 18180 LTLIBINTL= 18181 POSUB= 18182 18183 case " $gt_needs " in 18184 *" need-formatstring-macros "*) gt_api_version=3 ;; 18185 *" need-ngettext "*) gt_api_version=2 ;; 18186 *) gt_api_version=1 ;; 18187 esac 18188 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" 18189 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" 18190 18191 if test "$USE_NLS" = "yes"; then 18192 gt_use_preinstalled_gnugettext=no 18193 18194 18195 if test $gt_api_version -ge 3; then 18196 gt_revision_test_code=' 18197#ifndef __GNU_GETTEXT_SUPPORTED_REVISION 18198#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) 18199#endif 18200typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; 18201' 18202 else 18203 gt_revision_test_code= 18204 fi 18205 if test $gt_api_version -ge 2; then 18206 gt_expression_test_code=' + * ngettext ("", "", 0)' 18207 else 18208 gt_expression_test_code= 18209 fi 18210 18211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 18212$as_echo_n "checking for GNU gettext in libc... " >&6; } 18213if eval \${$gt_func_gnugettext_libc+:} false; then : 18214 $as_echo_n "(cached) " >&6 18215else 18216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18217/* end confdefs.h. */ 18218#include <libintl.h> 18219$gt_revision_test_code 18220extern int _nl_msg_cat_cntr; 18221extern int *_nl_domain_bindings; 18222int 18223main () 18224{ 18225bindtextdomain ("", ""); 18226return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings 18227 ; 18228 return 0; 18229} 18230_ACEOF 18231if ac_fn_c_try_link "$LINENO"; then : 18232 eval "$gt_func_gnugettext_libc=yes" 18233else 18234 eval "$gt_func_gnugettext_libc=no" 18235fi 18236rm -f core conftest.err conftest.$ac_objext \ 18237 conftest$ac_exeext conftest.$ac_ext 18238fi 18239eval ac_res=\$$gt_func_gnugettext_libc 18240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 18241$as_echo "$ac_res" >&6; } 18242 18243 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then 18244 18245 18246 18247 18248 18249 am_save_CPPFLAGS="$CPPFLAGS" 18250 18251 for element in $INCICONV; do 18252 haveit= 18253 for x in $CPPFLAGS; do 18254 18255 acl_save_prefix="$prefix" 18256 prefix="$acl_final_prefix" 18257 acl_save_exec_prefix="$exec_prefix" 18258 exec_prefix="$acl_final_exec_prefix" 18259 eval x=\"$x\" 18260 exec_prefix="$acl_save_exec_prefix" 18261 prefix="$acl_save_prefix" 18262 18263 if test "X$x" = "X$element"; then 18264 haveit=yes 18265 break 18266 fi 18267 done 18268 if test -z "$haveit"; then 18269 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 18270 fi 18271 done 18272 18273 18274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 18275$as_echo_n "checking for iconv... " >&6; } 18276if ${am_cv_func_iconv+:} false; then : 18277 $as_echo_n "(cached) " >&6 18278else 18279 18280 am_cv_func_iconv="no, consider installing GNU libiconv" 18281 am_cv_lib_iconv=no 18282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18283/* end confdefs.h. */ 18284#include <stdlib.h> 18285#include <iconv.h> 18286int 18287main () 18288{ 18289iconv_t cd = iconv_open("",""); 18290 iconv(cd,NULL,NULL,NULL,NULL); 18291 iconv_close(cd); 18292 ; 18293 return 0; 18294} 18295_ACEOF 18296if ac_fn_c_try_link "$LINENO"; then : 18297 am_cv_func_iconv=yes 18298fi 18299rm -f core conftest.err conftest.$ac_objext \ 18300 conftest$ac_exeext conftest.$ac_ext 18301 if test "$am_cv_func_iconv" != yes; then 18302 am_save_LIBS="$LIBS" 18303 LIBS="$LIBS $LIBICONV" 18304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18305/* end confdefs.h. */ 18306#include <stdlib.h> 18307#include <iconv.h> 18308int 18309main () 18310{ 18311iconv_t cd = iconv_open("",""); 18312 iconv(cd,NULL,NULL,NULL,NULL); 18313 iconv_close(cd); 18314 ; 18315 return 0; 18316} 18317_ACEOF 18318if ac_fn_c_try_link "$LINENO"; then : 18319 am_cv_lib_iconv=yes 18320 am_cv_func_iconv=yes 18321fi 18322rm -f core conftest.err conftest.$ac_objext \ 18323 conftest$ac_exeext conftest.$ac_ext 18324 LIBS="$am_save_LIBS" 18325 fi 18326 18327fi 18328{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 18329$as_echo "$am_cv_func_iconv" >&6; } 18330 if test "$am_cv_func_iconv" = yes; then 18331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 18332$as_echo_n "checking for working iconv... " >&6; } 18333if ${am_cv_func_iconv_works+:} false; then : 18334 $as_echo_n "(cached) " >&6 18335else 18336 18337 am_save_LIBS="$LIBS" 18338 if test $am_cv_lib_iconv = yes; then 18339 LIBS="$LIBS $LIBICONV" 18340 fi 18341 if test "$cross_compiling" = yes; then : 18342 case "$host_os" in 18343 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; 18344 *) am_cv_func_iconv_works="guessing yes" ;; 18345 esac 18346else 18347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18348/* end confdefs.h. */ 18349 18350#include <iconv.h> 18351#include <string.h> 18352int main () 18353{ 18354 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful 18355 returns. */ 18356 { 18357 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); 18358 if (cd_utf8_to_88591 != (iconv_t)(-1)) 18359 { 18360 static const char input[] = "\342\202\254"; /* EURO SIGN */ 18361 char buf[10]; 18362 const char *inptr = input; 18363 size_t inbytesleft = strlen (input); 18364 char *outptr = buf; 18365 size_t outbytesleft = sizeof (buf); 18366 size_t res = iconv (cd_utf8_to_88591, 18367 (char **) &inptr, &inbytesleft, 18368 &outptr, &outbytesleft); 18369 if (res == 0) 18370 return 1; 18371 } 18372 } 18373 /* Test against Solaris 10 bug: Failures are not distinguishable from 18374 successful returns. */ 18375 { 18376 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); 18377 if (cd_ascii_to_88591 != (iconv_t)(-1)) 18378 { 18379 static const char input[] = "\263"; 18380 char buf[10]; 18381 const char *inptr = input; 18382 size_t inbytesleft = strlen (input); 18383 char *outptr = buf; 18384 size_t outbytesleft = sizeof (buf); 18385 size_t res = iconv (cd_ascii_to_88591, 18386 (char **) &inptr, &inbytesleft, 18387 &outptr, &outbytesleft); 18388 if (res == 0) 18389 return 1; 18390 } 18391 } 18392#if 0 /* This bug could be worked around by the caller. */ 18393 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ 18394 { 18395 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); 18396 if (cd_88591_to_utf8 != (iconv_t)(-1)) 18397 { 18398 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; 18399 char buf[50]; 18400 const char *inptr = input; 18401 size_t inbytesleft = strlen (input); 18402 char *outptr = buf; 18403 size_t outbytesleft = sizeof (buf); 18404 size_t res = iconv (cd_88591_to_utf8, 18405 (char **) &inptr, &inbytesleft, 18406 &outptr, &outbytesleft); 18407 if ((int)res > 0) 18408 return 1; 18409 } 18410 } 18411#endif 18412 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is 18413 provided. */ 18414 if (/* Try standardized names. */ 18415 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) 18416 /* Try IRIX, OSF/1 names. */ 18417 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) 18418 /* Try AIX names. */ 18419 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) 18420 /* Try HP-UX names. */ 18421 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) 18422 return 1; 18423 return 0; 18424} 18425_ACEOF 18426if ac_fn_c_try_run "$LINENO"; then : 18427 am_cv_func_iconv_works=yes 18428else 18429 am_cv_func_iconv_works=no 18430fi 18431rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 18432 conftest.$ac_objext conftest.beam conftest.$ac_ext 18433fi 18434 18435 LIBS="$am_save_LIBS" 18436 18437fi 18438{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 18439$as_echo "$am_cv_func_iconv_works" >&6; } 18440 case "$am_cv_func_iconv_works" in 18441 *no) am_func_iconv=no am_cv_lib_iconv=no ;; 18442 *) am_func_iconv=yes ;; 18443 esac 18444 else 18445 am_func_iconv=no am_cv_lib_iconv=no 18446 fi 18447 if test "$am_func_iconv" = yes; then 18448 18449$as_echo "#define HAVE_ICONV 1" >>confdefs.h 18450 18451 fi 18452 if test "$am_cv_lib_iconv" = yes; then 18453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 18454$as_echo_n "checking how to link with libiconv... " >&6; } 18455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 18456$as_echo "$LIBICONV" >&6; } 18457 else 18458 CPPFLAGS="$am_save_CPPFLAGS" 18459 LIBICONV= 18460 LTLIBICONV= 18461 fi 18462 18463 18464 18465 18466 18467 18468 18469 18470 18471 18472 18473 use_additional=yes 18474 18475 acl_save_prefix="$prefix" 18476 prefix="$acl_final_prefix" 18477 acl_save_exec_prefix="$exec_prefix" 18478 exec_prefix="$acl_final_exec_prefix" 18479 18480 eval additional_includedir=\"$includedir\" 18481 eval additional_libdir=\"$libdir\" 18482 18483 exec_prefix="$acl_save_exec_prefix" 18484 prefix="$acl_save_prefix" 18485 18486 18487# Check whether --with-libintl-prefix was given. 18488if test "${with_libintl_prefix+set}" = set; then : 18489 withval=$with_libintl_prefix; 18490 if test "X$withval" = "Xno"; then 18491 use_additional=no 18492 else 18493 if test "X$withval" = "X"; then 18494 18495 acl_save_prefix="$prefix" 18496 prefix="$acl_final_prefix" 18497 acl_save_exec_prefix="$exec_prefix" 18498 exec_prefix="$acl_final_exec_prefix" 18499 18500 eval additional_includedir=\"$includedir\" 18501 eval additional_libdir=\"$libdir\" 18502 18503 exec_prefix="$acl_save_exec_prefix" 18504 prefix="$acl_save_prefix" 18505 18506 else 18507 additional_includedir="$withval/include" 18508 additional_libdir="$withval/$acl_libdirstem" 18509 if test "$acl_libdirstem2" != "$acl_libdirstem" \ 18510 && ! test -d "$withval/$acl_libdirstem"; then 18511 additional_libdir="$withval/$acl_libdirstem2" 18512 fi 18513 fi 18514 fi 18515 18516fi 18517 18518 LIBINTL= 18519 LTLIBINTL= 18520 INCINTL= 18521 LIBINTL_PREFIX= 18522 HAVE_LIBINTL= 18523 rpathdirs= 18524 ltrpathdirs= 18525 names_already_handled= 18526 names_next_round='intl ' 18527 while test -n "$names_next_round"; do 18528 names_this_round="$names_next_round" 18529 names_next_round= 18530 for name in $names_this_round; do 18531 already_handled= 18532 for n in $names_already_handled; do 18533 if test "$n" = "$name"; then 18534 already_handled=yes 18535 break 18536 fi 18537 done 18538 if test -z "$already_handled"; then 18539 names_already_handled="$names_already_handled $name" 18540 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 18541 eval value=\"\$HAVE_LIB$uppername\" 18542 if test -n "$value"; then 18543 if test "$value" = yes; then 18544 eval value=\"\$LIB$uppername\" 18545 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" 18546 eval value=\"\$LTLIB$uppername\" 18547 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" 18548 else 18549 : 18550 fi 18551 else 18552 found_dir= 18553 found_la= 18554 found_so= 18555 found_a= 18556 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 18557 if test -n "$acl_shlibext"; then 18558 shrext=".$acl_shlibext" # typically: shrext=.so 18559 else 18560 shrext= 18561 fi 18562 if test $use_additional = yes; then 18563 dir="$additional_libdir" 18564 if test -n "$acl_shlibext"; then 18565 if test -f "$dir/$libname$shrext"; then 18566 found_dir="$dir" 18567 found_so="$dir/$libname$shrext" 18568 else 18569 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 18570 ver=`(cd "$dir" && \ 18571 for f in "$libname$shrext".*; do echo "$f"; done \ 18572 | sed -e "s,^$libname$shrext\\\\.,," \ 18573 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 18574 | sed 1q ) 2>/dev/null` 18575 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 18576 found_dir="$dir" 18577 found_so="$dir/$libname$shrext.$ver" 18578 fi 18579 else 18580 eval library_names=\"$acl_library_names_spec\" 18581 for f in $library_names; do 18582 if test -f "$dir/$f"; then 18583 found_dir="$dir" 18584 found_so="$dir/$f" 18585 break 18586 fi 18587 done 18588 fi 18589 fi 18590 fi 18591 if test "X$found_dir" = "X"; then 18592 if test -f "$dir/$libname.$acl_libext"; then 18593 found_dir="$dir" 18594 found_a="$dir/$libname.$acl_libext" 18595 fi 18596 fi 18597 if test "X$found_dir" != "X"; then 18598 if test -f "$dir/$libname.la"; then 18599 found_la="$dir/$libname.la" 18600 fi 18601 fi 18602 fi 18603 if test "X$found_dir" = "X"; then 18604 for x in $LDFLAGS $LTLIBINTL; do 18605 18606 acl_save_prefix="$prefix" 18607 prefix="$acl_final_prefix" 18608 acl_save_exec_prefix="$exec_prefix" 18609 exec_prefix="$acl_final_exec_prefix" 18610 eval x=\"$x\" 18611 exec_prefix="$acl_save_exec_prefix" 18612 prefix="$acl_save_prefix" 18613 18614 case "$x" in 18615 -L*) 18616 dir=`echo "X$x" | sed -e 's/^X-L//'` 18617 if test -n "$acl_shlibext"; then 18618 if test -f "$dir/$libname$shrext"; then 18619 found_dir="$dir" 18620 found_so="$dir/$libname$shrext" 18621 else 18622 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 18623 ver=`(cd "$dir" && \ 18624 for f in "$libname$shrext".*; do echo "$f"; done \ 18625 | sed -e "s,^$libname$shrext\\\\.,," \ 18626 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 18627 | sed 1q ) 2>/dev/null` 18628 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 18629 found_dir="$dir" 18630 found_so="$dir/$libname$shrext.$ver" 18631 fi 18632 else 18633 eval library_names=\"$acl_library_names_spec\" 18634 for f in $library_names; do 18635 if test -f "$dir/$f"; then 18636 found_dir="$dir" 18637 found_so="$dir/$f" 18638 break 18639 fi 18640 done 18641 fi 18642 fi 18643 fi 18644 if test "X$found_dir" = "X"; then 18645 if test -f "$dir/$libname.$acl_libext"; then 18646 found_dir="$dir" 18647 found_a="$dir/$libname.$acl_libext" 18648 fi 18649 fi 18650 if test "X$found_dir" != "X"; then 18651 if test -f "$dir/$libname.la"; then 18652 found_la="$dir/$libname.la" 18653 fi 18654 fi 18655 ;; 18656 esac 18657 if test "X$found_dir" != "X"; then 18658 break 18659 fi 18660 done 18661 fi 18662 if test "X$found_dir" != "X"; then 18663 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" 18664 if test "X$found_so" != "X"; then 18665 if test "$enable_rpath" = no \ 18666 || test "X$found_dir" = "X/usr/$acl_libdirstem" \ 18667 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then 18668 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 18669 else 18670 haveit= 18671 for x in $ltrpathdirs; do 18672 if test "X$x" = "X$found_dir"; then 18673 haveit=yes 18674 break 18675 fi 18676 done 18677 if test -z "$haveit"; then 18678 ltrpathdirs="$ltrpathdirs $found_dir" 18679 fi 18680 if test "$acl_hardcode_direct" = yes; then 18681 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 18682 else 18683 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 18684 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 18685 haveit= 18686 for x in $rpathdirs; do 18687 if test "X$x" = "X$found_dir"; then 18688 haveit=yes 18689 break 18690 fi 18691 done 18692 if test -z "$haveit"; then 18693 rpathdirs="$rpathdirs $found_dir" 18694 fi 18695 else 18696 haveit= 18697 for x in $LDFLAGS $LIBINTL; do 18698 18699 acl_save_prefix="$prefix" 18700 prefix="$acl_final_prefix" 18701 acl_save_exec_prefix="$exec_prefix" 18702 exec_prefix="$acl_final_exec_prefix" 18703 eval x=\"$x\" 18704 exec_prefix="$acl_save_exec_prefix" 18705 prefix="$acl_save_prefix" 18706 18707 if test "X$x" = "X-L$found_dir"; then 18708 haveit=yes 18709 break 18710 fi 18711 done 18712 if test -z "$haveit"; then 18713 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" 18714 fi 18715 if test "$acl_hardcode_minus_L" != no; then 18716 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 18717 else 18718 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 18719 fi 18720 fi 18721 fi 18722 fi 18723 else 18724 if test "X$found_a" != "X"; then 18725 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" 18726 else 18727 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" 18728 fi 18729 fi 18730 additional_includedir= 18731 case "$found_dir" in 18732 */$acl_libdirstem | */$acl_libdirstem/) 18733 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 18734 if test "$name" = 'intl'; then 18735 LIBINTL_PREFIX="$basedir" 18736 fi 18737 additional_includedir="$basedir/include" 18738 ;; 18739 */$acl_libdirstem2 | */$acl_libdirstem2/) 18740 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` 18741 if test "$name" = 'intl'; then 18742 LIBINTL_PREFIX="$basedir" 18743 fi 18744 additional_includedir="$basedir/include" 18745 ;; 18746 esac 18747 if test "X$additional_includedir" != "X"; then 18748 if test "X$additional_includedir" != "X/usr/include"; then 18749 haveit= 18750 if test "X$additional_includedir" = "X/usr/local/include"; then 18751 if test -n "$GCC"; then 18752 case $host_os in 18753 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 18754 esac 18755 fi 18756 fi 18757 if test -z "$haveit"; then 18758 for x in $CPPFLAGS $INCINTL; do 18759 18760 acl_save_prefix="$prefix" 18761 prefix="$acl_final_prefix" 18762 acl_save_exec_prefix="$exec_prefix" 18763 exec_prefix="$acl_final_exec_prefix" 18764 eval x=\"$x\" 18765 exec_prefix="$acl_save_exec_prefix" 18766 prefix="$acl_save_prefix" 18767 18768 if test "X$x" = "X-I$additional_includedir"; then 18769 haveit=yes 18770 break 18771 fi 18772 done 18773 if test -z "$haveit"; then 18774 if test -d "$additional_includedir"; then 18775 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" 18776 fi 18777 fi 18778 fi 18779 fi 18780 fi 18781 if test -n "$found_la"; then 18782 save_libdir="$libdir" 18783 case "$found_la" in 18784 */* | *\\*) . "$found_la" ;; 18785 *) . "./$found_la" ;; 18786 esac 18787 libdir="$save_libdir" 18788 for dep in $dependency_libs; do 18789 case "$dep" in 18790 -L*) 18791 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 18792 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ 18793 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then 18794 haveit= 18795 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ 18796 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then 18797 if test -n "$GCC"; then 18798 case $host_os in 18799 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 18800 esac 18801 fi 18802 fi 18803 if test -z "$haveit"; then 18804 haveit= 18805 for x in $LDFLAGS $LIBINTL; do 18806 18807 acl_save_prefix="$prefix" 18808 prefix="$acl_final_prefix" 18809 acl_save_exec_prefix="$exec_prefix" 18810 exec_prefix="$acl_final_exec_prefix" 18811 eval x=\"$x\" 18812 exec_prefix="$acl_save_exec_prefix" 18813 prefix="$acl_save_prefix" 18814 18815 if test "X$x" = "X-L$additional_libdir"; then 18816 haveit=yes 18817 break 18818 fi 18819 done 18820 if test -z "$haveit"; then 18821 if test -d "$additional_libdir"; then 18822 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" 18823 fi 18824 fi 18825 haveit= 18826 for x in $LDFLAGS $LTLIBINTL; do 18827 18828 acl_save_prefix="$prefix" 18829 prefix="$acl_final_prefix" 18830 acl_save_exec_prefix="$exec_prefix" 18831 exec_prefix="$acl_final_exec_prefix" 18832 eval x=\"$x\" 18833 exec_prefix="$acl_save_exec_prefix" 18834 prefix="$acl_save_prefix" 18835 18836 if test "X$x" = "X-L$additional_libdir"; then 18837 haveit=yes 18838 break 18839 fi 18840 done 18841 if test -z "$haveit"; then 18842 if test -d "$additional_libdir"; then 18843 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" 18844 fi 18845 fi 18846 fi 18847 fi 18848 ;; 18849 -R*) 18850 dir=`echo "X$dep" | sed -e 's/^X-R//'` 18851 if test "$enable_rpath" != no; then 18852 haveit= 18853 for x in $rpathdirs; do 18854 if test "X$x" = "X$dir"; then 18855 haveit=yes 18856 break 18857 fi 18858 done 18859 if test -z "$haveit"; then 18860 rpathdirs="$rpathdirs $dir" 18861 fi 18862 haveit= 18863 for x in $ltrpathdirs; do 18864 if test "X$x" = "X$dir"; then 18865 haveit=yes 18866 break 18867 fi 18868 done 18869 if test -z "$haveit"; then 18870 ltrpathdirs="$ltrpathdirs $dir" 18871 fi 18872 fi 18873 ;; 18874 -l*) 18875 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 18876 ;; 18877 *.la) 18878 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 18879 ;; 18880 *) 18881 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" 18882 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" 18883 ;; 18884 esac 18885 done 18886 fi 18887 else 18888 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 18889 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" 18890 fi 18891 fi 18892 fi 18893 done 18894 done 18895 if test "X$rpathdirs" != "X"; then 18896 if test -n "$acl_hardcode_libdir_separator"; then 18897 alldirs= 18898 for found_dir in $rpathdirs; do 18899 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 18900 done 18901 acl_save_libdir="$libdir" 18902 libdir="$alldirs" 18903 eval flag=\"$acl_hardcode_libdir_flag_spec\" 18904 libdir="$acl_save_libdir" 18905 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 18906 else 18907 for found_dir in $rpathdirs; do 18908 acl_save_libdir="$libdir" 18909 libdir="$found_dir" 18910 eval flag=\"$acl_hardcode_libdir_flag_spec\" 18911 libdir="$acl_save_libdir" 18912 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 18913 done 18914 fi 18915 fi 18916 if test "X$ltrpathdirs" != "X"; then 18917 for found_dir in $ltrpathdirs; do 18918 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" 18919 done 18920 fi 18921 18922 18923 18924 18925 18926 18927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 18928$as_echo_n "checking for GNU gettext in libintl... " >&6; } 18929if eval \${$gt_func_gnugettext_libintl+:} false; then : 18930 $as_echo_n "(cached) " >&6 18931else 18932 gt_save_CPPFLAGS="$CPPFLAGS" 18933 CPPFLAGS="$CPPFLAGS $INCINTL" 18934 gt_save_LIBS="$LIBS" 18935 LIBS="$LIBS $LIBINTL" 18936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18937/* end confdefs.h. */ 18938#include <libintl.h> 18939$gt_revision_test_code 18940extern int _nl_msg_cat_cntr; 18941extern 18942#ifdef __cplusplus 18943"C" 18944#endif 18945const char *_nl_expand_alias (const char *); 18946int 18947main () 18948{ 18949bindtextdomain ("", ""); 18950return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") 18951 ; 18952 return 0; 18953} 18954_ACEOF 18955if ac_fn_c_try_link "$LINENO"; then : 18956 eval "$gt_func_gnugettext_libintl=yes" 18957else 18958 eval "$gt_func_gnugettext_libintl=no" 18959fi 18960rm -f core conftest.err conftest.$ac_objext \ 18961 conftest$ac_exeext conftest.$ac_ext 18962 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then 18963 LIBS="$LIBS $LIBICONV" 18964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18965/* end confdefs.h. */ 18966#include <libintl.h> 18967$gt_revision_test_code 18968extern int _nl_msg_cat_cntr; 18969extern 18970#ifdef __cplusplus 18971"C" 18972#endif 18973const char *_nl_expand_alias (const char *); 18974int 18975main () 18976{ 18977bindtextdomain ("", ""); 18978return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") 18979 ; 18980 return 0; 18981} 18982_ACEOF 18983if ac_fn_c_try_link "$LINENO"; then : 18984 LIBINTL="$LIBINTL $LIBICONV" 18985 LTLIBINTL="$LTLIBINTL $LTLIBICONV" 18986 eval "$gt_func_gnugettext_libintl=yes" 18987 18988fi 18989rm -f core conftest.err conftest.$ac_objext \ 18990 conftest$ac_exeext conftest.$ac_ext 18991 fi 18992 CPPFLAGS="$gt_save_CPPFLAGS" 18993 LIBS="$gt_save_LIBS" 18994fi 18995eval ac_res=\$$gt_func_gnugettext_libintl 18996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 18997$as_echo "$ac_res" >&6; } 18998 fi 18999 19000 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ 19001 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ 19002 && test "$PACKAGE" != gettext-runtime \ 19003 && test "$PACKAGE" != gettext-tools; }; then 19004 gt_use_preinstalled_gnugettext=yes 19005 else 19006 LIBINTL= 19007 LTLIBINTL= 19008 INCINTL= 19009 fi 19010 19011 19012 19013 if test -n "$INTL_MACOSX_LIBS"; then 19014 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 19015 || test "$nls_cv_use_gnu_gettext" = "yes"; then 19016 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" 19017 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" 19018 fi 19019 fi 19020 19021 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 19022 || test "$nls_cv_use_gnu_gettext" = "yes"; then 19023 19024$as_echo "#define ENABLE_NLS 1" >>confdefs.h 19025 19026 else 19027 USE_NLS=no 19028 fi 19029 fi 19030 19031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 19032$as_echo_n "checking whether to use NLS... " >&6; } 19033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 19034$as_echo "$USE_NLS" >&6; } 19035 if test "$USE_NLS" = "yes"; then 19036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 19037$as_echo_n "checking where the gettext function comes from... " >&6; } 19038 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 19039 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 19040 gt_source="external libintl" 19041 else 19042 gt_source="libc" 19043 fi 19044 else 19045 gt_source="included intl directory" 19046 fi 19047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 19048$as_echo "$gt_source" >&6; } 19049 fi 19050 19051 if test "$USE_NLS" = "yes"; then 19052 19053 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 19054 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 19055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 19056$as_echo_n "checking how to link with libintl... " >&6; } 19057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 19058$as_echo "$LIBINTL" >&6; } 19059 19060 for element in $INCINTL; do 19061 haveit= 19062 for x in $CPPFLAGS; do 19063 19064 acl_save_prefix="$prefix" 19065 prefix="$acl_final_prefix" 19066 acl_save_exec_prefix="$exec_prefix" 19067 exec_prefix="$acl_final_exec_prefix" 19068 eval x=\"$x\" 19069 exec_prefix="$acl_save_exec_prefix" 19070 prefix="$acl_save_prefix" 19071 19072 if test "X$x" = "X$element"; then 19073 haveit=yes 19074 break 19075 fi 19076 done 19077 if test -z "$haveit"; then 19078 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 19079 fi 19080 done 19081 19082 fi 19083 19084 19085$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h 19086 19087 19088$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h 19089 19090 fi 19091 19092 POSUB=po 19093 fi 19094 19095 19096 19097 INTLLIBS="$LIBINTL" 19098 19099 19100 19101 19102 19103 19104 19105 19106{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 19107$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 19108if ${ac_cv_c_const+:} false; then : 19109 $as_echo_n "(cached) " >&6 19110else 19111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19112/* end confdefs.h. */ 19113 19114int 19115main () 19116{ 19117 19118#ifndef __cplusplus 19119 /* Ultrix mips cc rejects this sort of thing. */ 19120 typedef int charset[2]; 19121 const charset cs = { 0, 0 }; 19122 /* SunOS 4.1.1 cc rejects this. */ 19123 char const *const *pcpcc; 19124 char **ppc; 19125 /* NEC SVR4.0.2 mips cc rejects this. */ 19126 struct point {int x, y;}; 19127 static struct point const zero = {0,0}; 19128 /* AIX XL C 1.02.0.0 rejects this. 19129 It does not let you subtract one const X* pointer from another in 19130 an arm of an if-expression whose if-part is not a constant 19131 expression */ 19132 const char *g = "string"; 19133 pcpcc = &g + (g ? g-g : 0); 19134 /* HPUX 7.0 cc rejects these. */ 19135 ++pcpcc; 19136 ppc = (char**) pcpcc; 19137 pcpcc = (char const *const *) ppc; 19138 { /* SCO 3.2v4 cc rejects this sort of thing. */ 19139 char tx; 19140 char *t = &tx; 19141 char const *s = 0 ? (char *) 0 : (char const *) 0; 19142 19143 *t++ = 0; 19144 if (s) return 0; 19145 } 19146 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 19147 int x[] = {25, 17}; 19148 const int *foo = &x[0]; 19149 ++foo; 19150 } 19151 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 19152 typedef const int *iptr; 19153 iptr p = 0; 19154 ++p; 19155 } 19156 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 19157 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 19158 struct s { int j; const int *ap[3]; } bx; 19159 struct s *b = &bx; b->j = 5; 19160 } 19161 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 19162 const int foo = 10; 19163 if (!foo) return 0; 19164 } 19165 return !cs[0] && !zero.x; 19166#endif 19167 19168 ; 19169 return 0; 19170} 19171_ACEOF 19172if ac_fn_c_try_compile "$LINENO"; then : 19173 ac_cv_c_const=yes 19174else 19175 ac_cv_c_const=no 19176fi 19177rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19178fi 19179{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 19180$as_echo "$ac_cv_c_const" >&6; } 19181if test $ac_cv_c_const = no; then 19182 19183$as_echo "#define const /**/" >>confdefs.h 19184 19185fi 19186 19187{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5 19188$as_echo_n "checking for working volatile... " >&6; } 19189if ${ac_cv_c_volatile+:} false; then : 19190 $as_echo_n "(cached) " >&6 19191else 19192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19193/* end confdefs.h. */ 19194 19195int 19196main () 19197{ 19198 19199volatile int x; 19200int * volatile y = (int *) 0; 19201return !x && !y; 19202 ; 19203 return 0; 19204} 19205_ACEOF 19206if ac_fn_c_try_compile "$LINENO"; then : 19207 ac_cv_c_volatile=yes 19208else 19209 ac_cv_c_volatile=no 19210fi 19211rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19212fi 19213{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5 19214$as_echo "$ac_cv_c_volatile" >&6; } 19215if test $ac_cv_c_volatile = no; then 19216 19217$as_echo "#define volatile /**/" >>confdefs.h 19218 19219fi 19220 19221 19222# Check whether --enable-largefile was given. 19223if test "${enable_largefile+set}" = set; then : 19224 enableval=$enable_largefile; 19225fi 19226 19227if test "$enable_largefile" != no; then 19228 19229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 19230$as_echo_n "checking for special C compiler options needed for large files... " >&6; } 19231if ${ac_cv_sys_largefile_CC+:} false; then : 19232 $as_echo_n "(cached) " >&6 19233else 19234 ac_cv_sys_largefile_CC=no 19235 if test "$GCC" != yes; then 19236 ac_save_CC=$CC 19237 while :; do 19238 # IRIX 6.2 and later do not support large files by default, 19239 # so use the C compiler's -n32 option if that helps. 19240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19241/* end confdefs.h. */ 19242#include <sys/types.h> 19243 /* Check that off_t can represent 2**63 - 1 correctly. 19244 We can't simply define LARGE_OFF_T to be 9223372036854775807, 19245 since some C++ compilers masquerading as C compilers 19246 incorrectly reject 9223372036854775807. */ 19247#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 19248 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 19249 && LARGE_OFF_T % 2147483647 == 1) 19250 ? 1 : -1]; 19251int 19252main () 19253{ 19254 19255 ; 19256 return 0; 19257} 19258_ACEOF 19259 if ac_fn_c_try_compile "$LINENO"; then : 19260 break 19261fi 19262rm -f core conftest.err conftest.$ac_objext 19263 CC="$CC -n32" 19264 if ac_fn_c_try_compile "$LINENO"; then : 19265 ac_cv_sys_largefile_CC=' -n32'; break 19266fi 19267rm -f core conftest.err conftest.$ac_objext 19268 break 19269 done 19270 CC=$ac_save_CC 19271 rm -f conftest.$ac_ext 19272 fi 19273fi 19274{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 19275$as_echo "$ac_cv_sys_largefile_CC" >&6; } 19276 if test "$ac_cv_sys_largefile_CC" != no; then 19277 CC=$CC$ac_cv_sys_largefile_CC 19278 fi 19279 19280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 19281$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 19282if ${ac_cv_sys_file_offset_bits+:} false; then : 19283 $as_echo_n "(cached) " >&6 19284else 19285 while :; do 19286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19287/* end confdefs.h. */ 19288#include <sys/types.h> 19289 /* Check that off_t can represent 2**63 - 1 correctly. 19290 We can't simply define LARGE_OFF_T to be 9223372036854775807, 19291 since some C++ compilers masquerading as C compilers 19292 incorrectly reject 9223372036854775807. */ 19293#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 19294 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 19295 && LARGE_OFF_T % 2147483647 == 1) 19296 ? 1 : -1]; 19297int 19298main () 19299{ 19300 19301 ; 19302 return 0; 19303} 19304_ACEOF 19305if ac_fn_c_try_compile "$LINENO"; then : 19306 ac_cv_sys_file_offset_bits=no; break 19307fi 19308rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19310/* end confdefs.h. */ 19311#define _FILE_OFFSET_BITS 64 19312#include <sys/types.h> 19313 /* Check that off_t can represent 2**63 - 1 correctly. 19314 We can't simply define LARGE_OFF_T to be 9223372036854775807, 19315 since some C++ compilers masquerading as C compilers 19316 incorrectly reject 9223372036854775807. */ 19317#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 19318 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 19319 && LARGE_OFF_T % 2147483647 == 1) 19320 ? 1 : -1]; 19321int 19322main () 19323{ 19324 19325 ; 19326 return 0; 19327} 19328_ACEOF 19329if ac_fn_c_try_compile "$LINENO"; then : 19330 ac_cv_sys_file_offset_bits=64; break 19331fi 19332rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19333 ac_cv_sys_file_offset_bits=unknown 19334 break 19335done 19336fi 19337{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 19338$as_echo "$ac_cv_sys_file_offset_bits" >&6; } 19339case $ac_cv_sys_file_offset_bits in #( 19340 no | unknown) ;; 19341 *) 19342cat >>confdefs.h <<_ACEOF 19343#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 19344_ACEOF 19345;; 19346esac 19347rm -rf conftest* 19348 if test $ac_cv_sys_file_offset_bits = unknown; then 19349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 19350$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 19351if ${ac_cv_sys_large_files+:} false; then : 19352 $as_echo_n "(cached) " >&6 19353else 19354 while :; do 19355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19356/* end confdefs.h. */ 19357#include <sys/types.h> 19358 /* Check that off_t can represent 2**63 - 1 correctly. 19359 We can't simply define LARGE_OFF_T to be 9223372036854775807, 19360 since some C++ compilers masquerading as C compilers 19361 incorrectly reject 9223372036854775807. */ 19362#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 19363 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 19364 && LARGE_OFF_T % 2147483647 == 1) 19365 ? 1 : -1]; 19366int 19367main () 19368{ 19369 19370 ; 19371 return 0; 19372} 19373_ACEOF 19374if ac_fn_c_try_compile "$LINENO"; then : 19375 ac_cv_sys_large_files=no; break 19376fi 19377rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19379/* end confdefs.h. */ 19380#define _LARGE_FILES 1 19381#include <sys/types.h> 19382 /* Check that off_t can represent 2**63 - 1 correctly. 19383 We can't simply define LARGE_OFF_T to be 9223372036854775807, 19384 since some C++ compilers masquerading as C compilers 19385 incorrectly reject 9223372036854775807. */ 19386#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 19387 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 19388 && LARGE_OFF_T % 2147483647 == 1) 19389 ? 1 : -1]; 19390int 19391main () 19392{ 19393 19394 ; 19395 return 0; 19396} 19397_ACEOF 19398if ac_fn_c_try_compile "$LINENO"; then : 19399 ac_cv_sys_large_files=1; break 19400fi 19401rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19402 ac_cv_sys_large_files=unknown 19403 break 19404done 19405fi 19406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 19407$as_echo "$ac_cv_sys_large_files" >&6; } 19408case $ac_cv_sys_large_files in #( 19409 no | unknown) ;; 19410 *) 19411cat >>confdefs.h <<_ACEOF 19412#define _LARGE_FILES $ac_cv_sys_large_files 19413_ACEOF 19414;; 19415esac 19416rm -rf conftest* 19417 fi 19418 19419 19420fi 19421 19422 19423 19424 19425 # Check whether --enable-shared-libs was given. 19426if test "${enable_shared_libs+set}" = set; then : 19427 enableval=$enable_shared_libs; ac_cv_enable_shared_libs=$enableval 19428else 19429 ac_cv_enable_shared_libs="yes" 19430fi 19431 19432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable disable shared library support" >&5 19433$as_echo_n "checking whether to disable disable shared library support... " >&6; } 19434if ${ac_cv_enable_shared_libs+:} false; then : 19435 $as_echo_n "(cached) " >&6 19436else 19437 ac_cv_enable_shared_libs="yes" 19438fi 19439{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_shared_libs" >&5 19440$as_echo "$ac_cv_enable_shared_libs" >&6; } 19441 19442 19443 19444 19445 # Check whether --enable-static-executables was given. 19446if test "${enable_static_executables+set}" = set; then : 19447 enableval=$enable_static_executables; ac_cv_enable_static_executables=$enableval 19448else 19449 ac_cv_enable_static_executables=no 19450fi 19451 19452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build static executables (binaries)" >&5 19453$as_echo_n "checking whether to enable build static executables (binaries)... " >&6; } 19454if ${ac_cv_enable_static_executables+:} false; then : 19455 $as_echo_n "(cached) " >&6 19456else 19457 ac_cv_enable_static_executables=no 19458fi 19459{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_static_executables" >&5 19460$as_echo "$ac_cv_enable_static_executables" >&6; } 19461 19462 if test "x$ac_cv_enable_static_executables" != xno; then : 19463 STATIC_LDFLAGS="-all-static"; 19464 19465 19466 19467 ac_cv_enable_static_executables=yes 19468 enable_shared=no 19469fi 19470 19471 19472 19473 19474 # Check whether --enable-winapi was given. 19475if test "${enable_winapi+set}" = set; then : 19476 enableval=$enable_winapi; ac_cv_enable_winapi=$enableval 19477else 19478 ac_cv_enable_winapi=auto-detect 19479fi 19480 19481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable WINAPI support for cross-compilation" >&5 19482$as_echo_n "checking whether to enable enable WINAPI support for cross-compilation... " >&6; } 19483if ${ac_cv_enable_winapi+:} false; then : 19484 $as_echo_n "(cached) " >&6 19485else 19486 ac_cv_enable_winapi=auto-detect 19487fi 19488{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_winapi" >&5 19489$as_echo "$ac_cv_enable_winapi" >&6; } 19490 19491 if test "x$ac_cv_enable_winapi" = xauto-detect; then : 19492 ac_common_check_winapi_target_string="$target" 19493 19494 if test "x$ac_common_check_winapi_target_string" = x; then : 19495 ac_common_check_winapi_target_string="$host" 19496fi 19497 19498 case $ac_common_check_winapi_target_string in #( 19499 *mingw*) : 19500 { $as_echo "$as_me:${as_lineno-$LINENO}: detected MinGW enabling WINAPI support for cross-compilation" >&5 19501$as_echo "$as_me: detected MinGW enabling WINAPI support for cross-compilation" >&6;} 19502 ac_cv_enable_winapi=yes ;; #( 19503 *msys*) : 19504 { $as_echo "$as_me:${as_lineno-$LINENO}: detected MSYS enabling WINAPI support for cross-compilation" >&5 19505$as_echo "$as_me: detected MSYS enabling WINAPI support for cross-compilation" >&6;} 19506 ac_cv_enable_winapi=yes ;; #( 19507 *) : 19508 ac_cv_enable_winapi=no ;; #( 19509 *) : 19510 ;; 19511esac 19512 19513fi 19514 19515 19516 19517 19518 # Check whether --enable-wide-character-type was given. 19519if test "${enable_wide_character_type+set}" = set; then : 19520 enableval=$enable_wide_character_type; ac_cv_enable_wide_character_type=$enableval 19521else 19522 ac_cv_enable_wide_character_type=no 19523fi 19524 19525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable wide character type support" >&5 19526$as_echo_n "checking whether to enable enable wide character type support... " >&6; } 19527if ${ac_cv_enable_wide_character_type+:} false; then : 19528 $as_echo_n "(cached) " >&6 19529else 19530 ac_cv_enable_wide_character_type=no 19531fi 19532{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_wide_character_type" >&5 19533$as_echo "$ac_cv_enable_wide_character_type" >&6; } 19534 19535 19536 19537 19538 # Check whether --enable-verbose-output was given. 19539if test "${enable_verbose_output+set}" = set; then : 19540 enableval=$enable_verbose_output; ac_cv_enable_verbose_output=$enableval 19541else 19542 ac_cv_enable_verbose_output=no 19543fi 19544 19545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable verbose output" >&5 19546$as_echo_n "checking whether to enable enable verbose output... " >&6; } 19547if ${ac_cv_enable_verbose_output+:} false; then : 19548 $as_echo_n "(cached) " >&6 19549else 19550 ac_cv_enable_verbose_output=no 19551fi 19552{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_verbose_output" >&5 19553$as_echo "$ac_cv_enable_verbose_output" >&6; } 19554 19555 if test "x$ac_cv_enable_verbose_output" != xno ; then : 19556 19557$as_echo "#define HAVE_VERBOSE_OUTPUT 1" >>confdefs.h 19558 19559 19560 ac_cv_enable_verbose_output=yes 19561fi 19562 19563 19564 19565 19566 # Check whether --enable-debug-output was given. 19567if test "${enable_debug_output+set}" = set; then : 19568 enableval=$enable_debug_output; ac_cv_enable_debug_output=$enableval 19569else 19570 ac_cv_enable_debug_output=no 19571fi 19572 19573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable debug output" >&5 19574$as_echo_n "checking whether to enable enable debug output... " >&6; } 19575if ${ac_cv_enable_debug_output+:} false; then : 19576 $as_echo_n "(cached) " >&6 19577else 19578 ac_cv_enable_debug_output=no 19579fi 19580{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_debug_output" >&5 19581$as_echo "$ac_cv_enable_debug_output" >&6; } 19582 19583 if test "x$ac_cv_enable_debug_output" != xno ; then : 19584 19585$as_echo "#define HAVE_DEBUG_OUTPUT 1" >>confdefs.h 19586 19587 19588 ac_cv_enable_debug_output=yes 19589fi 19590 19591 19592if test "x$ac_cv_enable_winapi" = xyes; then : 19593 ac_cv_enable_wide_character_type=yes 19594fi 19595 19596 if test "x$ac_cv_enable_wide_character_type" = xyes; then : 19597 19598$as_echo "#define HAVE_WIDE_CHARACTER_TYPE 1" >>confdefs.h 19599 19600 HAVE_WIDE_CHARACTER_TYPE=1 19601 19602else 19603 HAVE_WIDE_CHARACTER_TYPE=0 19604 19605 19606fi 19607 19608 for ac_header in sys/types.h inttypes.h stdint.h wchar.h 19609do : 19610 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 19611ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 19612if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 19613 cat >>confdefs.h <<_ACEOF 19614#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 19615_ACEOF 19616 19617fi 19618 19619done 19620 19621 19622 if test "x$ac_cv_header_sys_types_h" = xyes; then : 19623 HAVE_SYS_TYPES_H=1 19624 19625else 19626 HAVE_SYS_TYPES_H=0 19627 19628 19629fi 19630 19631 if test "x$ac_cv_header_inttypes_h" = xyes; then : 19632 HAVE_INTTYPES_H=1 19633 19634else 19635 HAVE_INTTYPES_H=0 19636 19637 19638fi 19639 19640 if test "x$ac_cv_header_stdint_h" = xyes; then : 19641 HAVE_STDINT_H=1 19642 19643else 19644 HAVE_STDINT_H=0 19645 19646 19647fi 19648 19649 if test "x$ac_cv_header_wchar_h" = xyes; then : 19650 HAVE_WCHAR_H=1 19651 19652else 19653 HAVE_WCHAR_H=0 19654 19655 19656fi 19657 19658 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" 19659if test "x$ac_cv_type_mode_t" = xyes; then : 19660 19661else 19662 19663cat >>confdefs.h <<_ACEOF 19664#define mode_t int 19665_ACEOF 19666 19667fi 19668 19669 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" 19670if test "x$ac_cv_type_off_t" = xyes; then : 19671 19672else 19673 19674cat >>confdefs.h <<_ACEOF 19675#define off_t long int 19676_ACEOF 19677 19678fi 19679 19680 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 19681if test "x$ac_cv_type_size_t" = xyes; then : 19682 19683else 19684 19685cat >>confdefs.h <<_ACEOF 19686#define size_t unsigned int 19687_ACEOF 19688 19689fi 19690 19691 19692 ac_fn_c_check_type "$LINENO" "size32_t" "ac_cv_type_size32_t" "$ac_includes_default" 19693if test "x$ac_cv_type_size32_t" = xyes; then : 19694 HAVE_SIZE32_T=1 19695 19696else 19697 HAVE_SIZE32_T=0 19698 19699 19700fi 19701 19702 19703 ac_fn_c_check_type "$LINENO" "ssize32_t" "ac_cv_type_ssize32_t" "$ac_includes_default" 19704if test "x$ac_cv_type_ssize32_t" = xyes; then : 19705 HAVE_SSIZE32_T=1 19706 19707else 19708 HAVE_SSIZE32_T=0 19709 19710 19711fi 19712 19713 19714 ac_fn_c_check_type "$LINENO" "size64_t" "ac_cv_type_size64_t" "$ac_includes_default" 19715if test "x$ac_cv_type_size64_t" = xyes; then : 19716 HAVE_SIZE64_T=1 19717 19718else 19719 HAVE_SIZE64_T=0 19720 19721 19722fi 19723 19724 19725 ac_fn_c_check_type "$LINENO" "ssize64_t" "ac_cv_type_ssize64_t" "$ac_includes_default" 19726if test "x$ac_cv_type_ssize64_t" = xyes; then : 19727 HAVE_SSIZE64_T=1 19728 19729else 19730 HAVE_SSIZE64_T=0 19731 19732 19733fi 19734 19735 19736 ac_fn_c_check_type "$LINENO" "off64_t" "ac_cv_type_off64_t" "$ac_includes_default" 19737if test "x$ac_cv_type_off64_t" = xyes; then : 19738 HAVE_OFF64_T=1 19739 19740else 19741 HAVE_OFF64_T=0 19742 19743 19744fi 19745 19746 19747 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default" 19748if test "x$ac_cv_type_ssize_t" = xyes; then : 19749 19750fi 19751 19752 ac_fn_c_check_type "$LINENO" "u64" "ac_cv_type_u64" "$ac_includes_default" 19753if test "x$ac_cv_type_u64" = xyes; then : 19754 19755fi 19756 19757 19758 # The cast to long int works around a bug in the HP C Compiler 19759# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 19760# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 19761# This bug is HP SR number 8606223364. 19762{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 19763$as_echo_n "checking size of int... " >&6; } 19764if ${ac_cv_sizeof_int+:} false; then : 19765 $as_echo_n "(cached) " >&6 19766else 19767 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 19768 19769else 19770 if test "$ac_cv_type_int" = yes; then 19771 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19772$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19773as_fn_error 77 "cannot compute sizeof (int) 19774See \`config.log' for more details" "$LINENO" 5; } 19775 else 19776 ac_cv_sizeof_int=0 19777 fi 19778fi 19779 19780fi 19781{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 19782$as_echo "$ac_cv_sizeof_int" >&6; } 19783 19784 19785 19786cat >>confdefs.h <<_ACEOF 19787#define SIZEOF_INT $ac_cv_sizeof_int 19788_ACEOF 19789 19790 19791 # The cast to long int works around a bug in the HP C Compiler 19792# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 19793# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 19794# This bug is HP SR number 8606223364. 19795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 19796$as_echo_n "checking size of long... " >&6; } 19797if ${ac_cv_sizeof_long+:} false; then : 19798 $as_echo_n "(cached) " >&6 19799else 19800 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 19801 19802else 19803 if test "$ac_cv_type_long" = yes; then 19804 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19805$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19806as_fn_error 77 "cannot compute sizeof (long) 19807See \`config.log' for more details" "$LINENO" 5; } 19808 else 19809 ac_cv_sizeof_long=0 19810 fi 19811fi 19812 19813fi 19814{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 19815$as_echo "$ac_cv_sizeof_long" >&6; } 19816 19817 19818 19819cat >>confdefs.h <<_ACEOF 19820#define SIZEOF_LONG $ac_cv_sizeof_long 19821_ACEOF 19822 19823 19824 # The cast to long int works around a bug in the HP C Compiler 19825# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 19826# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 19827# This bug is HP SR number 8606223364. 19828{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5 19829$as_echo_n "checking size of off_t... " >&6; } 19830if ${ac_cv_sizeof_off_t+:} false; then : 19831 $as_echo_n "(cached) " >&6 19832else 19833 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "$ac_includes_default"; then : 19834 19835else 19836 if test "$ac_cv_type_off_t" = yes; then 19837 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19838$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19839as_fn_error 77 "cannot compute sizeof (off_t) 19840See \`config.log' for more details" "$LINENO" 5; } 19841 else 19842 ac_cv_sizeof_off_t=0 19843 fi 19844fi 19845 19846fi 19847{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5 19848$as_echo "$ac_cv_sizeof_off_t" >&6; } 19849 19850 19851 19852cat >>confdefs.h <<_ACEOF 19853#define SIZEOF_OFF_T $ac_cv_sizeof_off_t 19854_ACEOF 19855 19856 19857 # The cast to long int works around a bug in the HP C Compiler 19858# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 19859# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 19860# This bug is HP SR number 8606223364. 19861{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5 19862$as_echo_n "checking size of size_t... " >&6; } 19863if ${ac_cv_sizeof_size_t+:} false; then : 19864 $as_echo_n "(cached) " >&6 19865else 19866 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then : 19867 19868else 19869 if test "$ac_cv_type_size_t" = yes; then 19870 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19871$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19872as_fn_error 77 "cannot compute sizeof (size_t) 19873See \`config.log' for more details" "$LINENO" 5; } 19874 else 19875 ac_cv_sizeof_size_t=0 19876 fi 19877fi 19878 19879fi 19880{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5 19881$as_echo "$ac_cv_sizeof_size_t" >&6; } 19882 19883 19884 19885cat >>confdefs.h <<_ACEOF 19886#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t 19887_ACEOF 19888 19889 19890 19891 if test "x$ac_cv_header_wchar_h" = xyes; then : 19892 # The cast to long int works around a bug in the HP C Compiler 19893# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 19894# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 19895# This bug is HP SR number 8606223364. 19896{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5 19897$as_echo_n "checking size of wchar_t... " >&6; } 19898if ${ac_cv_sizeof_wchar_t+:} false; then : 19899 $as_echo_n "(cached) " >&6 19900else 19901 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "$ac_includes_default"; then : 19902 19903else 19904 if test "$ac_cv_type_wchar_t" = yes; then 19905 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19906$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19907as_fn_error 77 "cannot compute sizeof (wchar_t) 19908See \`config.log' for more details" "$LINENO" 5; } 19909 else 19910 ac_cv_sizeof_wchar_t=0 19911 fi 19912fi 19913 19914fi 19915{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5 19916$as_echo "$ac_cv_sizeof_wchar_t" >&6; } 19917 19918 19919 19920cat >>confdefs.h <<_ACEOF 19921#define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t 19922_ACEOF 19923 19924 19925fi 19926 19927 19928 19929 if test "x$ac_cv_enable_winapi" = xyes; then : 19930 for ac_header in windows.h 19931do : 19932 ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default" 19933if test "x$ac_cv_header_windows_h" = xyes; then : 19934 cat >>confdefs.h <<_ACEOF 19935#define HAVE_WINDOWS_H 1 19936_ACEOF 19937 19938fi 19939 19940done 19941 19942 19943 if test "x$ac_cv_header_windows_h" = xno; then : 19944 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19945$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19946as_fn_error 1 "Missing header: windows.h header is required to compile with winapi support 19947See \`config.log' for more details" "$LINENO" 5; } 19948 19949fi 19950 19951fi 19952 19953 if test "x$ac_cv_enable_winapi" = xno; then : 19954 for ac_header in libintl.h 19955do : 19956 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" 19957if test "x$ac_cv_header_libintl_h" = xyes; then : 19958 cat >>confdefs.h <<_ACEOF 19959#define HAVE_LIBINTL_H 1 19960_ACEOF 19961 19962fi 19963 19964done 19965 19966 19967fi 19968 19969 for ac_header in limits.h 19970do : 19971 ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" 19972if test "x$ac_cv_header_limits_h" = xyes; then : 19973 cat >>confdefs.h <<_ACEOF 19974#define HAVE_LIMITS_H 1 19975_ACEOF 19976 19977fi 19978 19979done 19980 19981 19982 for ac_header in stdlib.h string.h 19983do : 19984 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 19985ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 19986if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 19987 cat >>confdefs.h <<_ACEOF 19988#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 19989_ACEOF 19990 19991fi 19992 19993done 19994 19995 19996 for ac_header in wchar.h wctype.h 19997do : 19998 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 19999ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 20000if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 20001 cat >>confdefs.h <<_ACEOF 20002#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 20003_ACEOF 20004 20005fi 20006 20007done 20008 20009 20010 for ac_func in fclose feof fgets fopen fread fseeko fseeko64 fwrite vfprintf 20011do : 20012 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 20013ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 20014if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 20015 cat >>confdefs.h <<_ACEOF 20016#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 20017_ACEOF 20018 20019fi 20020done 20021 20022 20023 if test "x$ac_cv_func_fclose" != xyes; then : 20024 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20025$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20026as_fn_error 1 "Missing function: fclose 20027See \`config.log' for more details" "$LINENO" 5; } 20028 20029fi 20030 20031 if test "x$ac_cv_func_feof" != xyes; then : 20032 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20033$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20034as_fn_error 1 "Missing function: feof 20035See \`config.log' for more details" "$LINENO" 5; } 20036 20037fi 20038 20039 if test "x$ac_cv_func_fgets" != xyes; then : 20040 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20041$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20042as_fn_error 1 "Missing function: fgets 20043See \`config.log' for more details" "$LINENO" 5; } 20044 20045fi 20046 20047 if test "x$ac_cv_func_fopen" != xyes; then : 20048 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20049$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20050as_fn_error 1 "Missing function: fopen 20051See \`config.log' for more details" "$LINENO" 5; } 20052 20053fi 20054 20055 if test "x$ac_cv_func_fread" != xyes; then : 20056 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20057$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20058as_fn_error 1 "Missing function: fread 20059See \`config.log' for more details" "$LINENO" 5; } 20060 20061fi 20062 20063 if test "x$ac_cv_func_fseeko" != xyes && test "x$ac_cv_func_fseeko64" != xyes; then : 20064 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20065$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20066as_fn_error 1 "Missing function: fseeko and fseeko64 20067See \`config.log' for more details" "$LINENO" 5; } 20068 20069fi 20070 20071 if test "x$ac_cv_func_fwrite" != xyes; then : 20072 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20073$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20074as_fn_error 1 "Missing function: fwrite 20075See \`config.log' for more details" "$LINENO" 5; } 20076 20077fi 20078 20079 if test "x$ac_cv_func_vfprintf" != xyes; then : 20080 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20081$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20082as_fn_error 1 "Missing function: vfprintf 20083See \`config.log' for more details" "$LINENO" 5; } 20084 20085fi 20086 20087 if test "x$ac_cv_enable_wide_character_type" != xno; then : 20088 for ac_func in fgetws 20089do : 20090 ac_fn_c_check_func "$LINENO" "fgetws" "ac_cv_func_fgetws" 20091if test "x$ac_cv_func_fgetws" = xyes; then : 20092 cat >>confdefs.h <<_ACEOF 20093#define HAVE_FGETWS 1 20094_ACEOF 20095 20096fi 20097done 20098 20099 20100 if test "x$ac_cv_func_fgetws" != xyes; then : 20101 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20102$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20103as_fn_error 1 "Missing function: fgetws 20104See \`config.log' for more details" "$LINENO" 5; } 20105 20106fi 20107 20108fi 20109 20110 for ac_func in free malloc memcmp memcpy memset realloc 20111do : 20112 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 20113ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 20114if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 20115 cat >>confdefs.h <<_ACEOF 20116#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 20117_ACEOF 20118 20119fi 20120done 20121 20122 20123 if test "x$ac_cv_func_free" != xyes; then : 20124 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20125$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20126as_fn_error 1 "Missing function: free 20127See \`config.log' for more details" "$LINENO" 5; } 20128 20129fi 20130 20131 if test "x$ac_cv_func_malloc" != xyes; then : 20132 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20133$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20134as_fn_error 1 "Missing function: malloc 20135See \`config.log' for more details" "$LINENO" 5; } 20136 20137fi 20138 20139 if test "x$ac_cv_func_memcmp" != xyes; then : 20140 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20141$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20142as_fn_error 1 "Missing function: memcmp 20143See \`config.log' for more details" "$LINENO" 5; } 20144 20145fi 20146 20147 if test "x$ac_cv_func_memcpy" != xyes; then : 20148 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20149$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20150as_fn_error 1 "Missing function: memcpy 20151See \`config.log' for more details" "$LINENO" 5; } 20152 20153fi 20154 20155 if test "x$ac_cv_func_memset" != xyes; then : 20156 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20157$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20158as_fn_error 1 "Missing function: memset 20159See \`config.log' for more details" "$LINENO" 5; } 20160 20161fi 20162 20163 if test "x$ac_cv_func_realloc" != xyes; then : 20164 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20165$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20166as_fn_error 1 "Missing function: realloc 20167See \`config.log' for more details" "$LINENO" 5; } 20168 20169fi 20170 20171 for ac_func in memchr memrchr snprintf sscanf strcasecmp strchr strlen strncasecmp strncmp strncpy strnicmp strrchr strstr vsnprintf 20172do : 20173 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 20174ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 20175if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 20176 cat >>confdefs.h <<_ACEOF 20177#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 20178_ACEOF 20179 20180fi 20181done 20182 20183 20184 if test "x$ac_cv_func_memchr" != xyes && test "x$ac_cv_func_strchr" != xyes; then : 20185 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20186$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20187as_fn_error 1 "Missing functions: memchr and strchr 20188See \`config.log' for more details" "$LINENO" 5; } 20189 20190fi 20191 20192 if test "x$ac_cv_func_memcmp" != xyes && test "x$ac_cv_func_strncmp" != xyes; then : 20193 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20194$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20195as_fn_error 1 "Missing functions: memcmp and strncmp 20196See \`config.log' for more details" "$LINENO" 5; } 20197 20198fi 20199 20200 if test "x$ac_cv_func_memcpy" != xyes && test "x$ac_cv_func_strncpy" != xyes; then : 20201 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20202$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20203as_fn_error 1 "Missing functions: memcpy and strncpy 20204See \`config.log' for more details" "$LINENO" 5; } 20205 20206fi 20207 20208 if test "x$ac_cv_func_memrchr" = xyes; then : 20209 ac_fn_c_check_decl "$LINENO" "memrchr" "ac_cv_have_decl_memrchr" "$ac_includes_default" 20210if test "x$ac_cv_have_decl_memrchr" = xyes; then : 20211 ac_have_decl=1 20212else 20213 ac_have_decl=0 20214fi 20215 20216cat >>confdefs.h <<_ACEOF 20217#define HAVE_DECL_MEMRCHR $ac_have_decl 20218_ACEOF 20219 20220 20221 if test "x$ac_cv_decl_memrchr" != xyes; then : 20222 ac_cv_func_memrchr=no 20223fi 20224 20225fi 20226 20227 if test "x$ac_cv_func_memrchr" != xyes && test "x$ac_cv_func_strrchr" != xyes; then : 20228 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20229$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20230as_fn_error 1 "Missing functions: strrchr and memrchr 20231See \`config.log' for more details" "$LINENO" 5; } 20232 20233fi 20234 20235 if test "x$ac_cv_func_snprintf" != xyes; then : 20236 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20237$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20238as_fn_error 1 "Missing function: snprintf 20239See \`config.log' for more details" "$LINENO" 5; } 20240 20241fi 20242 20243 if test "x$ac_cv_func_sscanf" != xyes; then : 20244 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20245$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20246as_fn_error 1 "Missing function: sscanf 20247See \`config.log' for more details" "$LINENO" 5; } 20248 20249fi 20250 20251 if test "x$ac_cv_func_strlen" != xyes; then : 20252 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20253$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20254as_fn_error 1 "Missing function: strlen 20255See \`config.log' for more details" "$LINENO" 5; } 20256 20257fi 20258 20259 if test "x$ac_cv_func_strcasecmp" != xyes && test "x$ac_cv_func_strncasecmp" != xyes && test "x$ac_cv_func_strnicmp" != xyes; then : 20260 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20261$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20262as_fn_error 1 "Missing functions: strncasecmp, strcasecmp and strnicmp 20263See \`config.log' for more details" "$LINENO" 5; } 20264 20265fi 20266 20267 if test "x$ac_cv_func_strstr" != xyes; then : 20268 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20269$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20270as_fn_error 1 "Missing function: strstr 20271See \`config.log' for more details" "$LINENO" 5; } 20272 20273fi 20274 20275 if test "x$ac_cv_func_vsnprintf" != xyes; then : 20276 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20277$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20278as_fn_error 1 "Missing function: vsnprintf 20279See \`config.log' for more details" "$LINENO" 5; } 20280 20281fi 20282 20283 if test "x$ac_cv_enable_wide_character_type" != xno; then : 20284 for ac_func in swprintf towlower wcscasecmp wcschr wcslen wcsncasecmp wcsncmp wcsncpy wcsnicmp wcsrchr wcsstr wmemchr wmemcmp wmemcpy wmemrchr 20285do : 20286 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 20287ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 20288if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 20289 cat >>confdefs.h <<_ACEOF 20290#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 20291_ACEOF 20292 20293fi 20294done 20295 20296 20297 if test "x$ac_cv_func_swprintf" != xyes; then : 20298 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20299$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20300as_fn_error 1 "Missing function: swprintf 20301See \`config.log' for more details" "$LINENO" 5; } 20302 20303fi 20304 20305 if test "x$ac_cv_func_wmemchr" != xyes && test "x$ac_cv_func_wcschr" != xyes; then : 20306 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20307$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20308as_fn_error 1 "Missing functions: wmemchr and wcschr 20309See \`config.log' for more details" "$LINENO" 5; } 20310 20311fi 20312 20313 if test "x$ac_cv_func_wmemcmp" != xyes && test "x$ac_cv_func_wcsncmp" != xyes; then : 20314 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20315$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20316as_fn_error 1 "Missing functions: wmemcmp and wcsncmp 20317See \`config.log' for more details" "$LINENO" 5; } 20318 20319fi 20320 20321 if test "x$ac_cv_func_wmemcpy" != xyes && test "x$ac_cv_func_wcsncpy" != xyes; then : 20322 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20323$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20324as_fn_error 1 "Missing functions: wmemcpy and wcsncpy 20325See \`config.log' for more details" "$LINENO" 5; } 20326 20327fi 20328 20329 if test "x$ac_cv_func_wmemrchr" != xyes && test "x$ac_cv_func_wcsrchr" != xyes; then : 20330 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20331$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20332as_fn_error 1 "Missing functions: wmemrchr and wcsrchr 20333See \`config.log' for more details" "$LINENO" 5; } 20334 20335fi 20336 20337 if test "x$ac_cv_func_wcslen" != xyes; then : 20338 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20339$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20340as_fn_error 1 "Missing function: wcslen 20341See \`config.log' for more details" "$LINENO" 5; } 20342 20343fi 20344 20345 if test "x$ac_cv_func_wcsncasecmp" != xyes && test "x$ac_cv_func_wcscasecmp" != xyes && test "x$ac_cv_func_wcsnicmp" != xyes && test "x$ac_cv_func_towlower" != xyes; then : 20346 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20347$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20348as_fn_error 1 "Missing functions: wcsncasecmp, wcscasecmp, wcsnicmp and towlower 20349See \`config.log' for more details" "$LINENO" 5; } 20350 20351fi 20352 20353 if test "x$ac_cv_func_wcsstr" != xyes; then : 20354 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20355$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20356as_fn_error 1 "Missing function: wcsstr 20357See \`config.log' for more details" "$LINENO" 5; } 20358 20359fi 20360 20361fi 20362 20363 20364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the conversion specifier \"%jd\"" >&5 20365$as_echo_n "checking whether printf supports the conversion specifier \"%jd\"... " >&6; } 20366 20367 SAVE_CFLAGS="$CFLAGS" 20368 CFLAGS="$CFLAGS -Wall -Werror" 20369 ac_ext=c 20370ac_cpp='$CPP $CPPFLAGS' 20371ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20372ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20373ac_compiler_gnu=$ac_cv_c_compiler_gnu 20374 20375 20376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20377/* end confdefs.h. */ 20378#include <stdio.h> 20379int 20380main () 20381{ 20382printf( "%jd" ); 20383 ; 20384 return 0; 20385} 20386_ACEOF 20387if ac_fn_c_try_link "$LINENO"; then : 20388 ac_cv_cv_have_printf_jd=no 20389else 20390 ac_cv_cv_have_printf_jd=yes 20391fi 20392rm -f core conftest.err conftest.$ac_objext \ 20393 conftest$ac_exeext conftest.$ac_ext 20394 20395 if test "x$ac_cv_cv_have_printf_jd" = xyes; then : 20396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20397/* end confdefs.h. */ 20398#include <sys/types.h> 20399#include <stdio.h> 20400int 20401main () 20402{ 20403printf( "%jd", (off_t) 10 ); 20404 ; 20405 return 0; 20406} 20407_ACEOF 20408if ac_fn_c_try_link "$LINENO"; then : 20409 ac_cv_cv_have_printf_jd=yes 20410else 20411 ac_cv_cv_have_printf_jd=no 20412fi 20413rm -f core conftest.err conftest.$ac_objext \ 20414 conftest$ac_exeext conftest.$ac_ext 20415 20416fi 20417 20418 if test "x$ac_cv_cv_have_printf_jd" = xyes; then : 20419 if test "$cross_compiling" = yes; then : 20420 ac_cv_cv_have_printf_jd=undetermined 20421else 20422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20423/* end confdefs.h. */ 20424#include <sys/types.h> 20425#include <stdio.h> 20426int 20427main () 20428{ 20429char string[ 3 ]; 20430if( snprintf( string, 3, "%jd", (off_t) 10 ) < 0 ) return( 1 ); 20431if( ( string[ 0 ] != '1' ) || ( string[ 1 ] != '0' ) ) return( 1 ); 20432 ; 20433 return 0; 20434} 20435_ACEOF 20436if ac_fn_c_try_run "$LINENO"; then : 20437 ac_cv_cv_have_printf_jd=yes 20438else 20439 ac_cv_cv_have_printf_jd=no 20440fi 20441rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 20442 conftest.$ac_objext conftest.beam conftest.$ac_ext 20443fi 20444 20445 20446fi 20447 20448 ac_ext=c 20449ac_cpp='$CPP $CPPFLAGS' 20450ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20451ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20452ac_compiler_gnu=$ac_cv_c_compiler_gnu 20453 20454 CFLAGS="$SAVE_CFLAGS" 20455 20456 if test "x$ac_cv_cv_have_printf_jd" = xyes; then : 20457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20458$as_echo "yes" >&6; } 20459 20460$as_echo "#define HAVE_PRINTF_JD 1" >>confdefs.h 20461 20462else 20463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cv_have_printf_jd" >&5 20464$as_echo "$ac_cv_cv_have_printf_jd" >&6; } 20465 20466fi 20467 20468 20469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the conversion specifier \"%zd\"" >&5 20470$as_echo_n "checking whether printf supports the conversion specifier \"%zd\"... " >&6; } 20471 20472 SAVE_CFLAGS="$CFLAGS" 20473 CFLAGS="$CFLAGS -Wall -Werror" 20474 ac_ext=c 20475ac_cpp='$CPP $CPPFLAGS' 20476ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20477ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20478ac_compiler_gnu=$ac_cv_c_compiler_gnu 20479 20480 20481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20482/* end confdefs.h. */ 20483#include <stdio.h> 20484int 20485main () 20486{ 20487printf( "%zd" ); 20488 ; 20489 return 0; 20490} 20491_ACEOF 20492if ac_fn_c_try_link "$LINENO"; then : 20493 ac_cv_cv_have_printf_zd=no 20494else 20495 ac_cv_cv_have_printf_zd=yes 20496fi 20497rm -f core conftest.err conftest.$ac_objext \ 20498 conftest$ac_exeext conftest.$ac_ext 20499 20500 if test "x$ac_cv_cv_have_printf_zd" = xyes; then : 20501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20502/* end confdefs.h. */ 20503#include <sys/types.h> 20504#include <stdio.h> 20505int 20506main () 20507{ 20508printf( "%zd", (size_t) 10 ); 20509 ; 20510 return 0; 20511} 20512_ACEOF 20513if ac_fn_c_try_link "$LINENO"; then : 20514 ac_cv_cv_have_printf_zd=yes 20515else 20516 ac_cv_cv_have_printf_zd=no 20517fi 20518rm -f core conftest.err conftest.$ac_objext \ 20519 conftest$ac_exeext conftest.$ac_ext 20520 20521fi 20522 20523 if test "x$ac_cv_cv_have_printf_zd" = xyes; then : 20524 if test "$cross_compiling" = yes; then : 20525 ac_cv_cv_have_printf_zd=undetermined 20526else 20527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20528/* end confdefs.h. */ 20529#include <sys/types.h> 20530#include <stdio.h> 20531int 20532main () 20533{ 20534char string[ 3 ]; 20535if( snprintf( string, 3, "%zd", (size_t) 10 ) < 0 ) return( 1 ); 20536if( ( string[ 0 ] != '1' ) || ( string[ 1 ] != '0' ) ) return( 1 ); 20537 ; 20538 return 0; 20539} 20540_ACEOF 20541if ac_fn_c_try_run "$LINENO"; then : 20542 ac_cv_cv_have_printf_zd=yes 20543else 20544 ac_cv_cv_have_printf_zd=no 20545fi 20546rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 20547 conftest.$ac_objext conftest.beam conftest.$ac_ext 20548fi 20549 20550 20551fi 20552 20553 ac_ext=c 20554ac_cpp='$CPP $CPPFLAGS' 20555ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20556ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20557ac_compiler_gnu=$ac_cv_c_compiler_gnu 20558 20559 CFLAGS="$SAVE_CFLAGS" 20560 20561 if test "x$ac_cv_cv_have_printf_zd" = xyes; then : 20562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20563$as_echo "yes" >&6; } 20564 20565$as_echo "#define HAVE_PRINTF_ZD 1" >>confdefs.h 20566 20567else 20568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cv_have_printf_zd" >&5 20569$as_echo "$ac_cv_cv_have_printf_zd" >&6; } 20570 20571fi 20572 20573 20574 20575 20576 20577 20578 20579 20580 20581 20582if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 20583 if test -n "$ac_tool_prefix"; then 20584 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 20585set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 20586{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 20587$as_echo_n "checking for $ac_word... " >&6; } 20588if ${ac_cv_path_PKG_CONFIG+:} false; then : 20589 $as_echo_n "(cached) " >&6 20590else 20591 case $PKG_CONFIG in 20592 [\\/]* | ?:[\\/]*) 20593 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 20594 ;; 20595 *) 20596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 20597for as_dir in $PATH 20598do 20599 IFS=$as_save_IFS 20600 test -z "$as_dir" && as_dir=. 20601 for ac_exec_ext in '' $ac_executable_extensions; do 20602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 20603 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 20604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 20605 break 2 20606 fi 20607done 20608 done 20609IFS=$as_save_IFS 20610 20611 ;; 20612esac 20613fi 20614PKG_CONFIG=$ac_cv_path_PKG_CONFIG 20615if test -n "$PKG_CONFIG"; then 20616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 20617$as_echo "$PKG_CONFIG" >&6; } 20618else 20619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20620$as_echo "no" >&6; } 20621fi 20622 20623 20624fi 20625if test -z "$ac_cv_path_PKG_CONFIG"; then 20626 ac_pt_PKG_CONFIG=$PKG_CONFIG 20627 # Extract the first word of "pkg-config", so it can be a program name with args. 20628set dummy pkg-config; ac_word=$2 20629{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 20630$as_echo_n "checking for $ac_word... " >&6; } 20631if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 20632 $as_echo_n "(cached) " >&6 20633else 20634 case $ac_pt_PKG_CONFIG in 20635 [\\/]* | ?:[\\/]*) 20636 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 20637 ;; 20638 *) 20639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 20640for as_dir in $PATH 20641do 20642 IFS=$as_save_IFS 20643 test -z "$as_dir" && as_dir=. 20644 for ac_exec_ext in '' $ac_executable_extensions; do 20645 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 20646 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 20647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 20648 break 2 20649 fi 20650done 20651 done 20652IFS=$as_save_IFS 20653 20654 ;; 20655esac 20656fi 20657ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 20658if test -n "$ac_pt_PKG_CONFIG"; then 20659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 20660$as_echo "$ac_pt_PKG_CONFIG" >&6; } 20661else 20662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20663$as_echo "no" >&6; } 20664fi 20665 20666 if test "x$ac_pt_PKG_CONFIG" = x; then 20667 PKG_CONFIG="" 20668 else 20669 case $cross_compiling:$ac_tool_warned in 20670yes:) 20671{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 20672$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 20673ac_tool_warned=yes ;; 20674esac 20675 PKG_CONFIG=$ac_pt_PKG_CONFIG 20676 fi 20677else 20678 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 20679fi 20680 20681fi 20682if test -n "$PKG_CONFIG"; then 20683 _pkg_min_version=0.9.0 20684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 20685$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 20686 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 20687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20688$as_echo "yes" >&6; } 20689 else 20690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20691$as_echo "no" >&6; } 20692 PKG_CONFIG="" 20693 fi 20694fi 20695 20696 20697# Check whether --with-libcerror was given. 20698if test "${with_libcerror+set}" = set; then : 20699 withval=$with_libcerror; ac_cv_with_libcerror=$withval 20700else 20701 ac_cv_with_libcerror=auto-detect 20702fi 20703 20704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use search for libcerror in includedir and libdir or in the specified DIR, or no if to use local version" >&5 20705$as_echo_n "checking whether to use search for libcerror in includedir and libdir or in the specified DIR, or no if to use local version... " >&6; } 20706if ${ac_cv_with_libcerror+:} false; then : 20707 $as_echo_n "(cached) " >&6 20708else 20709 ac_cv_with_libcerror=auto-detect 20710fi 20711{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcerror" >&5 20712$as_echo "$ac_cv_with_libcerror" >&6; } 20713 20714 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcerror" = xno; then : 20715 ac_cv_libcerror=no 20716else 20717 ac_cv_libcerror=check 20718 if test "x$ac_cv_with_libcerror" != x && test "x$ac_cv_with_libcerror" != xauto-detect; then : 20719 if test -d "$ac_cv_with_libcerror"; then : 20720 CFLAGS="$CFLAGS -I${ac_cv_with_libcerror}/include" 20721 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcerror}/lib" 20722else 20723 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20724$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20725as_fn_error 1 "no such directory: $ac_cv_with_libcerror 20726See \`config.log' for more details" "$LINENO" 5; } 20727 20728fi 20729 20730else 20731 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 20732 20733pkg_failed=no 20734{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror" >&5 20735$as_echo_n "checking for libcerror... " >&6; } 20736 20737if test -n "$libcerror_CFLAGS"; then 20738 pkg_cv_libcerror_CFLAGS="$libcerror_CFLAGS" 20739 elif test -n "$PKG_CONFIG"; then 20740 if test -n "$PKG_CONFIG" && \ 20741 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcerror >= 20120425\""; } >&5 20742 ($PKG_CONFIG --exists --print-errors "libcerror >= 20120425") 2>&5 20743 ac_status=$? 20744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20745 test $ac_status = 0; }; then 20746 pkg_cv_libcerror_CFLAGS=`$PKG_CONFIG --cflags "libcerror >= 20120425" 2>/dev/null` 20747 test "x$?" != "x0" && pkg_failed=yes 20748else 20749 pkg_failed=yes 20750fi 20751 else 20752 pkg_failed=untried 20753fi 20754if test -n "$libcerror_LIBS"; then 20755 pkg_cv_libcerror_LIBS="$libcerror_LIBS" 20756 elif test -n "$PKG_CONFIG"; then 20757 if test -n "$PKG_CONFIG" && \ 20758 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcerror >= 20120425\""; } >&5 20759 ($PKG_CONFIG --exists --print-errors "libcerror >= 20120425") 2>&5 20760 ac_status=$? 20761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20762 test $ac_status = 0; }; then 20763 pkg_cv_libcerror_LIBS=`$PKG_CONFIG --libs "libcerror >= 20120425" 2>/dev/null` 20764 test "x$?" != "x0" && pkg_failed=yes 20765else 20766 pkg_failed=yes 20767fi 20768 else 20769 pkg_failed=untried 20770fi 20771 20772 20773 20774if test $pkg_failed = yes; then 20775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20776$as_echo "no" >&6; } 20777 20778if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 20779 _pkg_short_errors_supported=yes 20780else 20781 _pkg_short_errors_supported=no 20782fi 20783 if test $_pkg_short_errors_supported = yes; then 20784 libcerror_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcerror >= 20120425" 2>&1` 20785 else 20786 libcerror_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcerror >= 20120425" 2>&1` 20787 fi 20788 # Put the nasty error message in config.log where it belongs 20789 echo "$libcerror_PKG_ERRORS" >&5 20790 20791 ac_cv_libcerror=check 20792elif test $pkg_failed = untried; then 20793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20794$as_echo "no" >&6; } 20795 ac_cv_libcerror=check 20796else 20797 libcerror_CFLAGS=$pkg_cv_libcerror_CFLAGS 20798 libcerror_LIBS=$pkg_cv_libcerror_LIBS 20799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20800$as_echo "yes" >&6; } 20801 ac_cv_libcerror=yes 20802fi 20803 20804fi 20805 if test "x$ac_cv_libcerror" = xyes; then : 20806 ac_cv_libcerror_CPPFLAGS="$pkg_cv_libcerror_CFLAGS" 20807 ac_cv_libcerror_LIBADD="$pkg_cv_libcerror_LIBS" 20808fi 20809 20810fi 20811 20812 if test "x$ac_cv_libcerror" = xcheck; then : 20813 for ac_header in libcerror.h 20814do : 20815 ac_fn_c_check_header_mongrel "$LINENO" "libcerror.h" "ac_cv_header_libcerror_h" "$ac_includes_default" 20816if test "x$ac_cv_header_libcerror_h" = xyes; then : 20817 cat >>confdefs.h <<_ACEOF 20818#define HAVE_LIBCERROR_H 1 20819_ACEOF 20820 20821fi 20822 20823done 20824 20825 20826 if test "x$ac_cv_header_libcerror_h" = xno; then : 20827 ac_cv_libcerror=no 20828else 20829 ac_cv_libcerror=yes 20830 20831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_get_version in -lcerror" >&5 20832$as_echo_n "checking for libcerror_get_version in -lcerror... " >&6; } 20833if ${ac_cv_lib_cerror_libcerror_get_version+:} false; then : 20834 $as_echo_n "(cached) " >&6 20835else 20836 ac_check_lib_save_LIBS=$LIBS 20837LIBS="-lcerror $LIBS" 20838cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20839/* end confdefs.h. */ 20840 20841/* Override any GCC internal prototype to avoid an error. 20842 Use char because int might match the return type of a GCC 20843 builtin and then its argument prototype would still apply. */ 20844#ifdef __cplusplus 20845extern "C" 20846#endif 20847char libcerror_get_version (); 20848int 20849main () 20850{ 20851return libcerror_get_version (); 20852 ; 20853 return 0; 20854} 20855_ACEOF 20856if ac_fn_c_try_link "$LINENO"; then : 20857 ac_cv_lib_cerror_libcerror_get_version=yes 20858else 20859 ac_cv_lib_cerror_libcerror_get_version=no 20860fi 20861rm -f core conftest.err conftest.$ac_objext \ 20862 conftest$ac_exeext conftest.$ac_ext 20863LIBS=$ac_check_lib_save_LIBS 20864fi 20865{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_get_version" >&5 20866$as_echo "$ac_cv_lib_cerror_libcerror_get_version" >&6; } 20867if test "x$ac_cv_lib_cerror_libcerror_get_version" = xyes; then : 20868 ac_cv_libcerror_dummy=yes 20869else 20870 ac_cv_libcerror=no 20871fi 20872 20873 20874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_free in -lcerror" >&5 20875$as_echo_n "checking for libcerror_error_free in -lcerror... " >&6; } 20876if ${ac_cv_lib_cerror_libcerror_error_free+:} false; then : 20877 $as_echo_n "(cached) " >&6 20878else 20879 ac_check_lib_save_LIBS=$LIBS 20880LIBS="-lcerror $LIBS" 20881cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20882/* end confdefs.h. */ 20883 20884/* Override any GCC internal prototype to avoid an error. 20885 Use char because int might match the return type of a GCC 20886 builtin and then its argument prototype would still apply. */ 20887#ifdef __cplusplus 20888extern "C" 20889#endif 20890char libcerror_error_free (); 20891int 20892main () 20893{ 20894return libcerror_error_free (); 20895 ; 20896 return 0; 20897} 20898_ACEOF 20899if ac_fn_c_try_link "$LINENO"; then : 20900 ac_cv_lib_cerror_libcerror_error_free=yes 20901else 20902 ac_cv_lib_cerror_libcerror_error_free=no 20903fi 20904rm -f core conftest.err conftest.$ac_objext \ 20905 conftest$ac_exeext conftest.$ac_ext 20906LIBS=$ac_check_lib_save_LIBS 20907fi 20908{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_free" >&5 20909$as_echo "$ac_cv_lib_cerror_libcerror_error_free" >&6; } 20910if test "x$ac_cv_lib_cerror_libcerror_error_free" = xyes; then : 20911 ac_cv_libcerror_dummy=yes 20912else 20913 ac_cv_libcerror=no 20914fi 20915 20916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_set in -lcerror" >&5 20917$as_echo_n "checking for libcerror_error_set in -lcerror... " >&6; } 20918if ${ac_cv_lib_cerror_libcerror_error_set+:} false; then : 20919 $as_echo_n "(cached) " >&6 20920else 20921 ac_check_lib_save_LIBS=$LIBS 20922LIBS="-lcerror $LIBS" 20923cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20924/* end confdefs.h. */ 20925 20926/* Override any GCC internal prototype to avoid an error. 20927 Use char because int might match the return type of a GCC 20928 builtin and then its argument prototype would still apply. */ 20929#ifdef __cplusplus 20930extern "C" 20931#endif 20932char libcerror_error_set (); 20933int 20934main () 20935{ 20936return libcerror_error_set (); 20937 ; 20938 return 0; 20939} 20940_ACEOF 20941if ac_fn_c_try_link "$LINENO"; then : 20942 ac_cv_lib_cerror_libcerror_error_set=yes 20943else 20944 ac_cv_lib_cerror_libcerror_error_set=no 20945fi 20946rm -f core conftest.err conftest.$ac_objext \ 20947 conftest$ac_exeext conftest.$ac_ext 20948LIBS=$ac_check_lib_save_LIBS 20949fi 20950{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_set" >&5 20951$as_echo "$ac_cv_lib_cerror_libcerror_error_set" >&6; } 20952if test "x$ac_cv_lib_cerror_libcerror_error_set" = xyes; then : 20953 ac_cv_libcerror_dummy=yes 20954else 20955 ac_cv_libcerror=no 20956fi 20957 20958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_matches in -lcerror" >&5 20959$as_echo_n "checking for libcerror_error_matches in -lcerror... " >&6; } 20960if ${ac_cv_lib_cerror_libcerror_error_matches+:} false; then : 20961 $as_echo_n "(cached) " >&6 20962else 20963 ac_check_lib_save_LIBS=$LIBS 20964LIBS="-lcerror $LIBS" 20965cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20966/* end confdefs.h. */ 20967 20968/* Override any GCC internal prototype to avoid an error. 20969 Use char because int might match the return type of a GCC 20970 builtin and then its argument prototype would still apply. */ 20971#ifdef __cplusplus 20972extern "C" 20973#endif 20974char libcerror_error_matches (); 20975int 20976main () 20977{ 20978return libcerror_error_matches (); 20979 ; 20980 return 0; 20981} 20982_ACEOF 20983if ac_fn_c_try_link "$LINENO"; then : 20984 ac_cv_lib_cerror_libcerror_error_matches=yes 20985else 20986 ac_cv_lib_cerror_libcerror_error_matches=no 20987fi 20988rm -f core conftest.err conftest.$ac_objext \ 20989 conftest$ac_exeext conftest.$ac_ext 20990LIBS=$ac_check_lib_save_LIBS 20991fi 20992{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_matches" >&5 20993$as_echo "$ac_cv_lib_cerror_libcerror_error_matches" >&6; } 20994if test "x$ac_cv_lib_cerror_libcerror_error_matches" = xyes; then : 20995 ac_cv_libcerror_dummy=yes 20996else 20997 ac_cv_libcerror=no 20998fi 20999 21000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_fprint in -lcerror" >&5 21001$as_echo_n "checking for libcerror_error_fprint in -lcerror... " >&6; } 21002if ${ac_cv_lib_cerror_libcerror_error_fprint+:} false; then : 21003 $as_echo_n "(cached) " >&6 21004else 21005 ac_check_lib_save_LIBS=$LIBS 21006LIBS="-lcerror $LIBS" 21007cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21008/* end confdefs.h. */ 21009 21010/* Override any GCC internal prototype to avoid an error. 21011 Use char because int might match the return type of a GCC 21012 builtin and then its argument prototype would still apply. */ 21013#ifdef __cplusplus 21014extern "C" 21015#endif 21016char libcerror_error_fprint (); 21017int 21018main () 21019{ 21020return libcerror_error_fprint (); 21021 ; 21022 return 0; 21023} 21024_ACEOF 21025if ac_fn_c_try_link "$LINENO"; then : 21026 ac_cv_lib_cerror_libcerror_error_fprint=yes 21027else 21028 ac_cv_lib_cerror_libcerror_error_fprint=no 21029fi 21030rm -f core conftest.err conftest.$ac_objext \ 21031 conftest$ac_exeext conftest.$ac_ext 21032LIBS=$ac_check_lib_save_LIBS 21033fi 21034{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_fprint" >&5 21035$as_echo "$ac_cv_lib_cerror_libcerror_error_fprint" >&6; } 21036if test "x$ac_cv_lib_cerror_libcerror_error_fprint" = xyes; then : 21037 ac_cv_libcerror_dummy=yes 21038else 21039 ac_cv_libcerror=no 21040fi 21041 21042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_sprint in -lcerror" >&5 21043$as_echo_n "checking for libcerror_error_sprint in -lcerror... " >&6; } 21044if ${ac_cv_lib_cerror_libcerror_error_sprint+:} false; then : 21045 $as_echo_n "(cached) " >&6 21046else 21047 ac_check_lib_save_LIBS=$LIBS 21048LIBS="-lcerror $LIBS" 21049cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21050/* end confdefs.h. */ 21051 21052/* Override any GCC internal prototype to avoid an error. 21053 Use char because int might match the return type of a GCC 21054 builtin and then its argument prototype would still apply. */ 21055#ifdef __cplusplus 21056extern "C" 21057#endif 21058char libcerror_error_sprint (); 21059int 21060main () 21061{ 21062return libcerror_error_sprint (); 21063 ; 21064 return 0; 21065} 21066_ACEOF 21067if ac_fn_c_try_link "$LINENO"; then : 21068 ac_cv_lib_cerror_libcerror_error_sprint=yes 21069else 21070 ac_cv_lib_cerror_libcerror_error_sprint=no 21071fi 21072rm -f core conftest.err conftest.$ac_objext \ 21073 conftest$ac_exeext conftest.$ac_ext 21074LIBS=$ac_check_lib_save_LIBS 21075fi 21076{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_sprint" >&5 21077$as_echo "$ac_cv_lib_cerror_libcerror_error_sprint" >&6; } 21078if test "x$ac_cv_lib_cerror_libcerror_error_sprint" = xyes; then : 21079 ac_cv_libcerror_dummy=yes 21080else 21081 ac_cv_libcerror=no 21082fi 21083 21084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_backtrace_fprint in -lcerror" >&5 21085$as_echo_n "checking for libcerror_error_backtrace_fprint in -lcerror... " >&6; } 21086if ${ac_cv_lib_cerror_libcerror_error_backtrace_fprint+:} false; then : 21087 $as_echo_n "(cached) " >&6 21088else 21089 ac_check_lib_save_LIBS=$LIBS 21090LIBS="-lcerror $LIBS" 21091cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21092/* end confdefs.h. */ 21093 21094/* Override any GCC internal prototype to avoid an error. 21095 Use char because int might match the return type of a GCC 21096 builtin and then its argument prototype would still apply. */ 21097#ifdef __cplusplus 21098extern "C" 21099#endif 21100char libcerror_error_backtrace_fprint (); 21101int 21102main () 21103{ 21104return libcerror_error_backtrace_fprint (); 21105 ; 21106 return 0; 21107} 21108_ACEOF 21109if ac_fn_c_try_link "$LINENO"; then : 21110 ac_cv_lib_cerror_libcerror_error_backtrace_fprint=yes 21111else 21112 ac_cv_lib_cerror_libcerror_error_backtrace_fprint=no 21113fi 21114rm -f core conftest.err conftest.$ac_objext \ 21115 conftest$ac_exeext conftest.$ac_ext 21116LIBS=$ac_check_lib_save_LIBS 21117fi 21118{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_backtrace_fprint" >&5 21119$as_echo "$ac_cv_lib_cerror_libcerror_error_backtrace_fprint" >&6; } 21120if test "x$ac_cv_lib_cerror_libcerror_error_backtrace_fprint" = xyes; then : 21121 ac_cv_libcerror_dummy=yes 21122else 21123 ac_cv_libcerror=no 21124fi 21125 21126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_backtrace_sprint in -lcerror" >&5 21127$as_echo_n "checking for libcerror_error_backtrace_sprint in -lcerror... " >&6; } 21128if ${ac_cv_lib_cerror_libcerror_error_backtrace_sprint+:} false; then : 21129 $as_echo_n "(cached) " >&6 21130else 21131 ac_check_lib_save_LIBS=$LIBS 21132LIBS="-lcerror $LIBS" 21133cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21134/* end confdefs.h. */ 21135 21136/* Override any GCC internal prototype to avoid an error. 21137 Use char because int might match the return type of a GCC 21138 builtin and then its argument prototype would still apply. */ 21139#ifdef __cplusplus 21140extern "C" 21141#endif 21142char libcerror_error_backtrace_sprint (); 21143int 21144main () 21145{ 21146return libcerror_error_backtrace_sprint (); 21147 ; 21148 return 0; 21149} 21150_ACEOF 21151if ac_fn_c_try_link "$LINENO"; then : 21152 ac_cv_lib_cerror_libcerror_error_backtrace_sprint=yes 21153else 21154 ac_cv_lib_cerror_libcerror_error_backtrace_sprint=no 21155fi 21156rm -f core conftest.err conftest.$ac_objext \ 21157 conftest$ac_exeext conftest.$ac_ext 21158LIBS=$ac_check_lib_save_LIBS 21159fi 21160{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_backtrace_sprint" >&5 21161$as_echo "$ac_cv_lib_cerror_libcerror_error_backtrace_sprint" >&6; } 21162if test "x$ac_cv_lib_cerror_libcerror_error_backtrace_sprint" = xyes; then : 21163 ac_cv_libcerror_dummy=yes 21164else 21165 ac_cv_libcerror=no 21166fi 21167 21168 21169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_system_set_error in -lcerror" >&5 21170$as_echo_n "checking for libcerror_system_set_error in -lcerror... " >&6; } 21171if ${ac_cv_lib_cerror_libcerror_system_set_error+:} false; then : 21172 $as_echo_n "(cached) " >&6 21173else 21174 ac_check_lib_save_LIBS=$LIBS 21175LIBS="-lcerror $LIBS" 21176cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21177/* end confdefs.h. */ 21178 21179/* Override any GCC internal prototype to avoid an error. 21180 Use char because int might match the return type of a GCC 21181 builtin and then its argument prototype would still apply. */ 21182#ifdef __cplusplus 21183extern "C" 21184#endif 21185char libcerror_system_set_error (); 21186int 21187main () 21188{ 21189return libcerror_system_set_error (); 21190 ; 21191 return 0; 21192} 21193_ACEOF 21194if ac_fn_c_try_link "$LINENO"; then : 21195 ac_cv_lib_cerror_libcerror_system_set_error=yes 21196else 21197 ac_cv_lib_cerror_libcerror_system_set_error=no 21198fi 21199rm -f core conftest.err conftest.$ac_objext \ 21200 conftest$ac_exeext conftest.$ac_ext 21201LIBS=$ac_check_lib_save_LIBS 21202fi 21203{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_system_set_error" >&5 21204$as_echo "$ac_cv_lib_cerror_libcerror_system_set_error" >&6; } 21205if test "x$ac_cv_lib_cerror_libcerror_system_set_error" = xyes; then : 21206 ac_cv_libcerror_dummy=yes 21207else 21208 ac_cv_libcerror=no 21209fi 21210 21211 21212 ac_cv_libcerror_LIBADD="-lcerror" 21213fi 21214 21215fi 21216 if test "x$ac_cv_with_libcerror" != x && test "x$ac_cv_with_libcerror" != xauto-detect && test "x$ac_cv_libcerror" != xyes; then : 21217 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21218$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21219as_fn_error 1 "unable to find supported libcerror in directory: $ac_cv_with_libcerror 21220See \`config.log' for more details" "$LINENO" 5; } 21221 21222fi 21223 21224fi 21225 21226 if test "x$ac_cv_libcerror" = xyes; then : 21227 21228$as_echo "#define HAVE_LIBCERROR 1" >>confdefs.h 21229 21230 21231fi 21232 21233 if test "x$ac_cv_libcerror" = xyes; then : 21234 HAVE_LIBCERROR=1 21235 21236else 21237 HAVE_LIBCERROR=0 21238 21239 21240fi 21241 21242 21243 if test "x$ac_cv_libcerror" != xyes; then : 21244 for ac_header in stdarg.h varargs.h 21245do : 21246 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 21247ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 21248if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 21249 cat >>confdefs.h <<_ACEOF 21250#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 21251_ACEOF 21252 21253fi 21254 21255done 21256 21257 21258 if test "x$ac_cv_header_stdarg_h" != xyes && test "x$ac_cv_header_varargs_h" != xyes; then : 21259 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21260$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21261as_fn_error 1 "Missing headers: stdarg.h and varargs.h 21262See \`config.log' for more details" "$LINENO" 5; } 21263 21264fi 21265 21266 if test "x$ac_cv_enable_wide_character_type" != xno; then : 21267 for ac_func in wcstombs 21268do : 21269 ac_fn_c_check_func "$LINENO" "wcstombs" "ac_cv_func_wcstombs" 21270if test "x$ac_cv_func_wcstombs" = xyes; then : 21271 cat >>confdefs.h <<_ACEOF 21272#define HAVE_WCSTOMBS 1 21273_ACEOF 21274 21275fi 21276done 21277 21278 21279 if test "x$ac_cv_func_wcstombs" != xyes; then : 21280 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21281$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21282as_fn_error 1 "Missing function: wcstombs 21283See \`config.log' for more details" "$LINENO" 5; } 21284 21285fi 21286 21287fi 21288 21289 ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default" 21290if test "x$ac_cv_have_decl_strerror_r" = xyes; then : 21291 ac_have_decl=1 21292else 21293 ac_have_decl=0 21294fi 21295 21296cat >>confdefs.h <<_ACEOF 21297#define HAVE_DECL_STRERROR_R $ac_have_decl 21298_ACEOF 21299 21300for ac_func in strerror_r 21301do : 21302 ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r" 21303if test "x$ac_cv_func_strerror_r" = xyes; then : 21304 cat >>confdefs.h <<_ACEOF 21305#define HAVE_STRERROR_R 1 21306_ACEOF 21307 21308fi 21309done 21310 21311{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5 21312$as_echo_n "checking whether strerror_r returns char *... " >&6; } 21313if ${ac_cv_func_strerror_r_char_p+:} false; then : 21314 $as_echo_n "(cached) " >&6 21315else 21316 21317 ac_cv_func_strerror_r_char_p=no 21318 if test $ac_cv_have_decl_strerror_r = yes; then 21319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21320/* end confdefs.h. */ 21321$ac_includes_default 21322int 21323main () 21324{ 21325 21326 char buf[100]; 21327 char x = *strerror_r (0, buf, sizeof buf); 21328 char *p = strerror_r (0, buf, sizeof buf); 21329 return !p || x; 21330 21331 ; 21332 return 0; 21333} 21334_ACEOF 21335if ac_fn_c_try_compile "$LINENO"; then : 21336 ac_cv_func_strerror_r_char_p=yes 21337fi 21338rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21339 else 21340 # strerror_r is not declared. Choose between 21341 # systems that have relatively inaccessible declarations for the 21342 # function. BeOS and DEC UNIX 4.0 fall in this category, but the 21343 # former has a strerror_r that returns char*, while the latter 21344 # has a strerror_r that returns `int'. 21345 # This test should segfault on the DEC system. 21346 if test "$cross_compiling" = yes; then : 21347 : 21348else 21349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21350/* end confdefs.h. */ 21351$ac_includes_default 21352 extern char *strerror_r (); 21353int 21354main () 21355{ 21356char buf[100]; 21357 char x = *strerror_r (0, buf, sizeof buf); 21358 return ! isalpha (x); 21359 ; 21360 return 0; 21361} 21362_ACEOF 21363if ac_fn_c_try_run "$LINENO"; then : 21364 ac_cv_func_strerror_r_char_p=yes 21365fi 21366rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 21367 conftest.$ac_objext conftest.beam conftest.$ac_ext 21368fi 21369 21370 fi 21371 21372fi 21373{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5 21374$as_echo "$ac_cv_func_strerror_r_char_p" >&6; } 21375if test $ac_cv_func_strerror_r_char_p = yes; then 21376 21377$as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h 21378 21379fi 21380 21381 21382 if test "x$ac_cv_have_decl_strerror_r" != xyes; then : 21383 for ac_func in strerror 21384do : 21385 ac_fn_c_check_func "$LINENO" "strerror" "ac_cv_func_strerror" 21386if test "x$ac_cv_func_strerror" = xyes; then : 21387 cat >>confdefs.h <<_ACEOF 21388#define HAVE_STRERROR 1 21389_ACEOF 21390 21391fi 21392done 21393 21394 21395 if test "x$ac_cv_func_strerror" != xyes; then : 21396 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21397$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21398as_fn_error 1 "Missing functions: strerror_r and strerror 21399See \`config.log' for more details" "$LINENO" 5; } 21400 21401fi 21402 21403fi 21404 21405 ac_cv_libcerror_CPPFLAGS="-I../libcerror"; 21406 ac_cv_libcerror_LIBADD="../libcerror/libcerror.la"; 21407 21408 ac_cv_libcerror=local 21409 21410 21411 21412$as_echo "#define HAVE_LOCAL_LIBCERROR 1" >>confdefs.h 21413 21414 HAVE_LOCAL_LIBCERROR=1 21415 21416 21417fi 21418 21419 if test "x$ac_cv_libcerror" = xlocal; then 21420 HAVE_LOCAL_LIBCERROR_TRUE= 21421 HAVE_LOCAL_LIBCERROR_FALSE='#' 21422else 21423 HAVE_LOCAL_LIBCERROR_TRUE='#' 21424 HAVE_LOCAL_LIBCERROR_FALSE= 21425fi 21426 21427 if test "x$ac_cv_libcerror_CPPFLAGS" != "x"; then : 21428 LIBCERROR_CPPFLAGS=$ac_cv_libcerror_CPPFLAGS 21429 21430 21431fi 21432 if test "x$ac_cv_libcerror_LIBADD" != "x"; then : 21433 LIBCERROR_LIBADD=$ac_cv_libcerror_LIBADD 21434 21435 21436fi 21437 21438 if test "x$ac_cv_libcerror" = xyes; then : 21439 ax_libcerror_pc_libs_private=-lcerror 21440 21441 21442fi 21443 21444 if test "x$ac_cv_libcerror" = xyes; then : 21445 ax_libcerror_spec_requires=libcerror 21446 21447 ax_libcerror_spec_build_requires=libcerror-devel 21448 21449 21450fi 21451 21452 21453 21454 # Check whether --enable-multi-threading-support was given. 21455if test "${enable_multi_threading_support+set}" = set; then : 21456 enableval=$enable_multi_threading_support; ac_cv_enable_multi_threading_support=$enableval 21457else 21458 ac_cv_enable_multi_threading_support=yes 21459fi 21460 21461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable multi-threading support" >&5 21462$as_echo_n "checking whether to enable enable multi-threading support... " >&6; } 21463if ${ac_cv_enable_multi_threading_support+:} false; then : 21464 $as_echo_n "(cached) " >&6 21465else 21466 ac_cv_enable_multi_threading_support=yes 21467fi 21468{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_multi_threading_support" >&5 21469$as_echo "$ac_cv_enable_multi_threading_support" >&6; } 21470 21471 21472# Check whether --with-libcthreads was given. 21473if test "${with_libcthreads+set}" = set; then : 21474 withval=$with_libcthreads; ac_cv_with_libcthreads=$withval 21475else 21476 ac_cv_with_libcthreads=auto-detect 21477fi 21478 21479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use search for libcthreads in includedir and libdir or in the specified DIR, or no if to use local version" >&5 21480$as_echo_n "checking whether to use search for libcthreads in includedir and libdir or in the specified DIR, or no if to use local version... " >&6; } 21481if ${ac_cv_with_libcthreads+:} false; then : 21482 $as_echo_n "(cached) " >&6 21483else 21484 ac_cv_with_libcthreads=auto-detect 21485fi 21486{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcthreads" >&5 21487$as_echo "$ac_cv_with_libcthreads" >&6; } 21488 21489 if test "x$ac_cv_enable_multi_threading_support" = xno; then : 21490 ac_cv_libcthreads="no" 21491 ac_cv_libcthreads_multi_threading="no" 21492else 21493 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcthreads" = xno; then : 21494 ac_cv_libcthreads=no 21495else 21496 ac_cv_libcthreads=check 21497 if test "x$ac_cv_with_libcthreads" != x && test "x$ac_cv_with_libcthreads" != xauto-detect; then : 21498 if test -d "$ac_cv_with_libcthreads"; then : 21499 CFLAGS="$CFLAGS -I${ac_cv_with_libcthreads}/include" 21500 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcthreads}/lib" 21501else 21502 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21503$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21504as_fn_error 1 "no such directory: $ac_cv_with_libcthreads 21505See \`config.log' for more details" "$LINENO" 5; } 21506 21507fi 21508 21509else 21510 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 21511 21512pkg_failed=no 21513{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads" >&5 21514$as_echo_n "checking for libcthreads... " >&6; } 21515 21516if test -n "$libcthreads_CFLAGS"; then 21517 pkg_cv_libcthreads_CFLAGS="$libcthreads_CFLAGS" 21518 elif test -n "$PKG_CONFIG"; then 21519 if test -n "$PKG_CONFIG" && \ 21520 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcthreads >= 20160404\""; } >&5 21521 ($PKG_CONFIG --exists --print-errors "libcthreads >= 20160404") 2>&5 21522 ac_status=$? 21523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 21524 test $ac_status = 0; }; then 21525 pkg_cv_libcthreads_CFLAGS=`$PKG_CONFIG --cflags "libcthreads >= 20160404" 2>/dev/null` 21526 test "x$?" != "x0" && pkg_failed=yes 21527else 21528 pkg_failed=yes 21529fi 21530 else 21531 pkg_failed=untried 21532fi 21533if test -n "$libcthreads_LIBS"; then 21534 pkg_cv_libcthreads_LIBS="$libcthreads_LIBS" 21535 elif test -n "$PKG_CONFIG"; then 21536 if test -n "$PKG_CONFIG" && \ 21537 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcthreads >= 20160404\""; } >&5 21538 ($PKG_CONFIG --exists --print-errors "libcthreads >= 20160404") 2>&5 21539 ac_status=$? 21540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 21541 test $ac_status = 0; }; then 21542 pkg_cv_libcthreads_LIBS=`$PKG_CONFIG --libs "libcthreads >= 20160404" 2>/dev/null` 21543 test "x$?" != "x0" && pkg_failed=yes 21544else 21545 pkg_failed=yes 21546fi 21547 else 21548 pkg_failed=untried 21549fi 21550 21551 21552 21553if test $pkg_failed = yes; then 21554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21555$as_echo "no" >&6; } 21556 21557if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 21558 _pkg_short_errors_supported=yes 21559else 21560 _pkg_short_errors_supported=no 21561fi 21562 if test $_pkg_short_errors_supported = yes; then 21563 libcthreads_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcthreads >= 20160404" 2>&1` 21564 else 21565 libcthreads_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcthreads >= 20160404" 2>&1` 21566 fi 21567 # Put the nasty error message in config.log where it belongs 21568 echo "$libcthreads_PKG_ERRORS" >&5 21569 21570 ac_cv_libcthreads=check 21571elif test $pkg_failed = untried; then 21572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21573$as_echo "no" >&6; } 21574 ac_cv_libcthreads=check 21575else 21576 libcthreads_CFLAGS=$pkg_cv_libcthreads_CFLAGS 21577 libcthreads_LIBS=$pkg_cv_libcthreads_LIBS 21578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 21579$as_echo "yes" >&6; } 21580 ac_cv_libcthreads=yes 21581fi 21582 21583fi 21584 if test "x$ac_cv_libcthreads" = xyes; then : 21585 ac_cv_libcthreads_CPPFLAGS="$pkg_cv_libcthreads_CFLAGS" 21586 ac_cv_libcthreads_LIBADD="$pkg_cv_libcthreads_LIBS" 21587fi 21588 21589fi 21590 21591 if test "x$ac_cv_libcthreads" = xcheck; then : 21592 for ac_header in libcthreads.h 21593do : 21594 ac_fn_c_check_header_mongrel "$LINENO" "libcthreads.h" "ac_cv_header_libcthreads_h" "$ac_includes_default" 21595if test "x$ac_cv_header_libcthreads_h" = xyes; then : 21596 cat >>confdefs.h <<_ACEOF 21597#define HAVE_LIBCTHREADS_H 1 21598_ACEOF 21599 21600fi 21601 21602done 21603 21604 21605 if test "x$ac_cv_header_libcthreads_h" = xno; then : 21606 ac_cv_libcthreads=no 21607else 21608 ac_cv_libcthreads=yes 21609 21610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_get_version in -lcthreads" >&5 21611$as_echo_n "checking for libcthreads_get_version in -lcthreads... " >&6; } 21612if ${ac_cv_lib_cthreads_libcthreads_get_version+:} false; then : 21613 $as_echo_n "(cached) " >&6 21614else 21615 ac_check_lib_save_LIBS=$LIBS 21616LIBS="-lcthreads $LIBS" 21617cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21618/* end confdefs.h. */ 21619 21620/* Override any GCC internal prototype to avoid an error. 21621 Use char because int might match the return type of a GCC 21622 builtin and then its argument prototype would still apply. */ 21623#ifdef __cplusplus 21624extern "C" 21625#endif 21626char libcthreads_get_version (); 21627int 21628main () 21629{ 21630return libcthreads_get_version (); 21631 ; 21632 return 0; 21633} 21634_ACEOF 21635if ac_fn_c_try_link "$LINENO"; then : 21636 ac_cv_lib_cthreads_libcthreads_get_version=yes 21637else 21638 ac_cv_lib_cthreads_libcthreads_get_version=no 21639fi 21640rm -f core conftest.err conftest.$ac_objext \ 21641 conftest$ac_exeext conftest.$ac_ext 21642LIBS=$ac_check_lib_save_LIBS 21643fi 21644{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_get_version" >&5 21645$as_echo "$ac_cv_lib_cthreads_libcthreads_get_version" >&6; } 21646if test "x$ac_cv_lib_cthreads_libcthreads_get_version" = xyes; then : 21647 ac_cv_libcthreads_dummy=yes 21648else 21649 ac_cv_libcthreads=no 21650fi 21651 21652 21653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_create in -lcthreads" >&5 21654$as_echo_n "checking for libcthreads_thread_create in -lcthreads... " >&6; } 21655if ${ac_cv_lib_cthreads_libcthreads_thread_create+:} false; then : 21656 $as_echo_n "(cached) " >&6 21657else 21658 ac_check_lib_save_LIBS=$LIBS 21659LIBS="-lcthreads $LIBS" 21660cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21661/* end confdefs.h. */ 21662 21663/* Override any GCC internal prototype to avoid an error. 21664 Use char because int might match the return type of a GCC 21665 builtin and then its argument prototype would still apply. */ 21666#ifdef __cplusplus 21667extern "C" 21668#endif 21669char libcthreads_thread_create (); 21670int 21671main () 21672{ 21673return libcthreads_thread_create (); 21674 ; 21675 return 0; 21676} 21677_ACEOF 21678if ac_fn_c_try_link "$LINENO"; then : 21679 ac_cv_lib_cthreads_libcthreads_thread_create=yes 21680else 21681 ac_cv_lib_cthreads_libcthreads_thread_create=no 21682fi 21683rm -f core conftest.err conftest.$ac_objext \ 21684 conftest$ac_exeext conftest.$ac_ext 21685LIBS=$ac_check_lib_save_LIBS 21686fi 21687{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_create" >&5 21688$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_create" >&6; } 21689if test "x$ac_cv_lib_cthreads_libcthreads_thread_create" = xyes; then : 21690 ac_cv_libcthreads_dummy=yes 21691else 21692 ac_cv_libcthreads=no 21693fi 21694 21695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_join in -lcthreads" >&5 21696$as_echo_n "checking for libcthreads_thread_join in -lcthreads... " >&6; } 21697if ${ac_cv_lib_cthreads_libcthreads_thread_join+:} false; then : 21698 $as_echo_n "(cached) " >&6 21699else 21700 ac_check_lib_save_LIBS=$LIBS 21701LIBS="-lcthreads $LIBS" 21702cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21703/* end confdefs.h. */ 21704 21705/* Override any GCC internal prototype to avoid an error. 21706 Use char because int might match the return type of a GCC 21707 builtin and then its argument prototype would still apply. */ 21708#ifdef __cplusplus 21709extern "C" 21710#endif 21711char libcthreads_thread_join (); 21712int 21713main () 21714{ 21715return libcthreads_thread_join (); 21716 ; 21717 return 0; 21718} 21719_ACEOF 21720if ac_fn_c_try_link "$LINENO"; then : 21721 ac_cv_lib_cthreads_libcthreads_thread_join=yes 21722else 21723 ac_cv_lib_cthreads_libcthreads_thread_join=no 21724fi 21725rm -f core conftest.err conftest.$ac_objext \ 21726 conftest$ac_exeext conftest.$ac_ext 21727LIBS=$ac_check_lib_save_LIBS 21728fi 21729{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_join" >&5 21730$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_join" >&6; } 21731if test "x$ac_cv_lib_cthreads_libcthreads_thread_join" = xyes; then : 21732 ac_cv_libcthreads_dummy=yes 21733else 21734 ac_cv_libcthreads=no 21735fi 21736 21737 21738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_attributes_initialize in -lcthreads" >&5 21739$as_echo_n "checking for libcthreads_thread_attributes_initialize in -lcthreads... " >&6; } 21740if ${ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize+:} false; then : 21741 $as_echo_n "(cached) " >&6 21742else 21743 ac_check_lib_save_LIBS=$LIBS 21744LIBS="-lcthreads $LIBS" 21745cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21746/* end confdefs.h. */ 21747 21748/* Override any GCC internal prototype to avoid an error. 21749 Use char because int might match the return type of a GCC 21750 builtin and then its argument prototype would still apply. */ 21751#ifdef __cplusplus 21752extern "C" 21753#endif 21754char libcthreads_thread_attributes_initialize (); 21755int 21756main () 21757{ 21758return libcthreads_thread_attributes_initialize (); 21759 ; 21760 return 0; 21761} 21762_ACEOF 21763if ac_fn_c_try_link "$LINENO"; then : 21764 ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize=yes 21765else 21766 ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize=no 21767fi 21768rm -f core conftest.err conftest.$ac_objext \ 21769 conftest$ac_exeext conftest.$ac_ext 21770LIBS=$ac_check_lib_save_LIBS 21771fi 21772{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize" >&5 21773$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize" >&6; } 21774if test "x$ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize" = xyes; then : 21775 ac_cv_libcthreads_dummy=yes 21776else 21777 ac_cv_libcthreads=no 21778fi 21779 21780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_attributes_free in -lcthreads" >&5 21781$as_echo_n "checking for libcthreads_thread_attributes_free in -lcthreads... " >&6; } 21782if ${ac_cv_lib_cthreads_libcthreads_thread_attributes_free+:} false; then : 21783 $as_echo_n "(cached) " >&6 21784else 21785 ac_check_lib_save_LIBS=$LIBS 21786LIBS="-lcthreads $LIBS" 21787cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21788/* end confdefs.h. */ 21789 21790/* Override any GCC internal prototype to avoid an error. 21791 Use char because int might match the return type of a GCC 21792 builtin and then its argument prototype would still apply. */ 21793#ifdef __cplusplus 21794extern "C" 21795#endif 21796char libcthreads_thread_attributes_free (); 21797int 21798main () 21799{ 21800return libcthreads_thread_attributes_free (); 21801 ; 21802 return 0; 21803} 21804_ACEOF 21805if ac_fn_c_try_link "$LINENO"; then : 21806 ac_cv_lib_cthreads_libcthreads_thread_attributes_free=yes 21807else 21808 ac_cv_lib_cthreads_libcthreads_thread_attributes_free=no 21809fi 21810rm -f core conftest.err conftest.$ac_objext \ 21811 conftest$ac_exeext conftest.$ac_ext 21812LIBS=$ac_check_lib_save_LIBS 21813fi 21814{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_attributes_free" >&5 21815$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_attributes_free" >&6; } 21816if test "x$ac_cv_lib_cthreads_libcthreads_thread_attributes_free" = xyes; then : 21817 ac_cv_libcthreads_dummy=yes 21818else 21819 ac_cv_libcthreads=no 21820fi 21821 21822 21823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_initialize in -lcthreads" >&5 21824$as_echo_n "checking for libcthreads_condition_initialize in -lcthreads... " >&6; } 21825if ${ac_cv_lib_cthreads_libcthreads_condition_initialize+:} false; then : 21826 $as_echo_n "(cached) " >&6 21827else 21828 ac_check_lib_save_LIBS=$LIBS 21829LIBS="-lcthreads $LIBS" 21830cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21831/* end confdefs.h. */ 21832 21833/* Override any GCC internal prototype to avoid an error. 21834 Use char because int might match the return type of a GCC 21835 builtin and then its argument prototype would still apply. */ 21836#ifdef __cplusplus 21837extern "C" 21838#endif 21839char libcthreads_condition_initialize (); 21840int 21841main () 21842{ 21843return libcthreads_condition_initialize (); 21844 ; 21845 return 0; 21846} 21847_ACEOF 21848if ac_fn_c_try_link "$LINENO"; then : 21849 ac_cv_lib_cthreads_libcthreads_condition_initialize=yes 21850else 21851 ac_cv_lib_cthreads_libcthreads_condition_initialize=no 21852fi 21853rm -f core conftest.err conftest.$ac_objext \ 21854 conftest$ac_exeext conftest.$ac_ext 21855LIBS=$ac_check_lib_save_LIBS 21856fi 21857{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_initialize" >&5 21858$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_initialize" >&6; } 21859if test "x$ac_cv_lib_cthreads_libcthreads_condition_initialize" = xyes; then : 21860 ac_cv_libcthreads_dummy=yes 21861else 21862 ac_cv_libcthreads=no 21863fi 21864 21865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_free in -lcthreads" >&5 21866$as_echo_n "checking for libcthreads_condition_free in -lcthreads... " >&6; } 21867if ${ac_cv_lib_cthreads_libcthreads_condition_free+:} false; then : 21868 $as_echo_n "(cached) " >&6 21869else 21870 ac_check_lib_save_LIBS=$LIBS 21871LIBS="-lcthreads $LIBS" 21872cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21873/* end confdefs.h. */ 21874 21875/* Override any GCC internal prototype to avoid an error. 21876 Use char because int might match the return type of a GCC 21877 builtin and then its argument prototype would still apply. */ 21878#ifdef __cplusplus 21879extern "C" 21880#endif 21881char libcthreads_condition_free (); 21882int 21883main () 21884{ 21885return libcthreads_condition_free (); 21886 ; 21887 return 0; 21888} 21889_ACEOF 21890if ac_fn_c_try_link "$LINENO"; then : 21891 ac_cv_lib_cthreads_libcthreads_condition_free=yes 21892else 21893 ac_cv_lib_cthreads_libcthreads_condition_free=no 21894fi 21895rm -f core conftest.err conftest.$ac_objext \ 21896 conftest$ac_exeext conftest.$ac_ext 21897LIBS=$ac_check_lib_save_LIBS 21898fi 21899{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_free" >&5 21900$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_free" >&6; } 21901if test "x$ac_cv_lib_cthreads_libcthreads_condition_free" = xyes; then : 21902 ac_cv_libcthreads_dummy=yes 21903else 21904 ac_cv_libcthreads=no 21905fi 21906 21907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_broadcast in -lcthreads" >&5 21908$as_echo_n "checking for libcthreads_condition_broadcast in -lcthreads... " >&6; } 21909if ${ac_cv_lib_cthreads_libcthreads_condition_broadcast+:} false; then : 21910 $as_echo_n "(cached) " >&6 21911else 21912 ac_check_lib_save_LIBS=$LIBS 21913LIBS="-lcthreads $LIBS" 21914cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21915/* end confdefs.h. */ 21916 21917/* Override any GCC internal prototype to avoid an error. 21918 Use char because int might match the return type of a GCC 21919 builtin and then its argument prototype would still apply. */ 21920#ifdef __cplusplus 21921extern "C" 21922#endif 21923char libcthreads_condition_broadcast (); 21924int 21925main () 21926{ 21927return libcthreads_condition_broadcast (); 21928 ; 21929 return 0; 21930} 21931_ACEOF 21932if ac_fn_c_try_link "$LINENO"; then : 21933 ac_cv_lib_cthreads_libcthreads_condition_broadcast=yes 21934else 21935 ac_cv_lib_cthreads_libcthreads_condition_broadcast=no 21936fi 21937rm -f core conftest.err conftest.$ac_objext \ 21938 conftest$ac_exeext conftest.$ac_ext 21939LIBS=$ac_check_lib_save_LIBS 21940fi 21941{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_broadcast" >&5 21942$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_broadcast" >&6; } 21943if test "x$ac_cv_lib_cthreads_libcthreads_condition_broadcast" = xyes; then : 21944 ac_cv_libcthreads_dummy=yes 21945else 21946 ac_cv_libcthreads=no 21947fi 21948 21949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_signal in -lcthreads" >&5 21950$as_echo_n "checking for libcthreads_condition_signal in -lcthreads... " >&6; } 21951if ${ac_cv_lib_cthreads_libcthreads_condition_signal+:} false; then : 21952 $as_echo_n "(cached) " >&6 21953else 21954 ac_check_lib_save_LIBS=$LIBS 21955LIBS="-lcthreads $LIBS" 21956cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21957/* end confdefs.h. */ 21958 21959/* Override any GCC internal prototype to avoid an error. 21960 Use char because int might match the return type of a GCC 21961 builtin and then its argument prototype would still apply. */ 21962#ifdef __cplusplus 21963extern "C" 21964#endif 21965char libcthreads_condition_signal (); 21966int 21967main () 21968{ 21969return libcthreads_condition_signal (); 21970 ; 21971 return 0; 21972} 21973_ACEOF 21974if ac_fn_c_try_link "$LINENO"; then : 21975 ac_cv_lib_cthreads_libcthreads_condition_signal=yes 21976else 21977 ac_cv_lib_cthreads_libcthreads_condition_signal=no 21978fi 21979rm -f core conftest.err conftest.$ac_objext \ 21980 conftest$ac_exeext conftest.$ac_ext 21981LIBS=$ac_check_lib_save_LIBS 21982fi 21983{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_signal" >&5 21984$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_signal" >&6; } 21985if test "x$ac_cv_lib_cthreads_libcthreads_condition_signal" = xyes; then : 21986 ac_cv_libcthreads_dummy=yes 21987else 21988 ac_cv_libcthreads=no 21989fi 21990 21991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_wait in -lcthreads" >&5 21992$as_echo_n "checking for libcthreads_condition_wait in -lcthreads... " >&6; } 21993if ${ac_cv_lib_cthreads_libcthreads_condition_wait+:} false; then : 21994 $as_echo_n "(cached) " >&6 21995else 21996 ac_check_lib_save_LIBS=$LIBS 21997LIBS="-lcthreads $LIBS" 21998cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21999/* end confdefs.h. */ 22000 22001/* Override any GCC internal prototype to avoid an error. 22002 Use char because int might match the return type of a GCC 22003 builtin and then its argument prototype would still apply. */ 22004#ifdef __cplusplus 22005extern "C" 22006#endif 22007char libcthreads_condition_wait (); 22008int 22009main () 22010{ 22011return libcthreads_condition_wait (); 22012 ; 22013 return 0; 22014} 22015_ACEOF 22016if ac_fn_c_try_link "$LINENO"; then : 22017 ac_cv_lib_cthreads_libcthreads_condition_wait=yes 22018else 22019 ac_cv_lib_cthreads_libcthreads_condition_wait=no 22020fi 22021rm -f core conftest.err conftest.$ac_objext \ 22022 conftest$ac_exeext conftest.$ac_ext 22023LIBS=$ac_check_lib_save_LIBS 22024fi 22025{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_wait" >&5 22026$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_wait" >&6; } 22027if test "x$ac_cv_lib_cthreads_libcthreads_condition_wait" = xyes; then : 22028 ac_cv_libcthreads_dummy=yes 22029else 22030 ac_cv_libcthreads=no 22031fi 22032 22033 22034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_initialize in -lcthreads" >&5 22035$as_echo_n "checking for libcthreads_lock_initialize in -lcthreads... " >&6; } 22036if ${ac_cv_lib_cthreads_libcthreads_lock_initialize+:} false; then : 22037 $as_echo_n "(cached) " >&6 22038else 22039 ac_check_lib_save_LIBS=$LIBS 22040LIBS="-lcthreads $LIBS" 22041cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22042/* end confdefs.h. */ 22043 22044/* Override any GCC internal prototype to avoid an error. 22045 Use char because int might match the return type of a GCC 22046 builtin and then its argument prototype would still apply. */ 22047#ifdef __cplusplus 22048extern "C" 22049#endif 22050char libcthreads_lock_initialize (); 22051int 22052main () 22053{ 22054return libcthreads_lock_initialize (); 22055 ; 22056 return 0; 22057} 22058_ACEOF 22059if ac_fn_c_try_link "$LINENO"; then : 22060 ac_cv_lib_cthreads_libcthreads_lock_initialize=yes 22061else 22062 ac_cv_lib_cthreads_libcthreads_lock_initialize=no 22063fi 22064rm -f core conftest.err conftest.$ac_objext \ 22065 conftest$ac_exeext conftest.$ac_ext 22066LIBS=$ac_check_lib_save_LIBS 22067fi 22068{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_initialize" >&5 22069$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_initialize" >&6; } 22070if test "x$ac_cv_lib_cthreads_libcthreads_lock_initialize" = xyes; then : 22071 ac_cv_libcthreads_dummy=yes 22072else 22073 ac_cv_libcthreads=no 22074fi 22075 22076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_free in -lcthreads" >&5 22077$as_echo_n "checking for libcthreads_lock_free in -lcthreads... " >&6; } 22078if ${ac_cv_lib_cthreads_libcthreads_lock_free+:} false; then : 22079 $as_echo_n "(cached) " >&6 22080else 22081 ac_check_lib_save_LIBS=$LIBS 22082LIBS="-lcthreads $LIBS" 22083cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22084/* end confdefs.h. */ 22085 22086/* Override any GCC internal prototype to avoid an error. 22087 Use char because int might match the return type of a GCC 22088 builtin and then its argument prototype would still apply. */ 22089#ifdef __cplusplus 22090extern "C" 22091#endif 22092char libcthreads_lock_free (); 22093int 22094main () 22095{ 22096return libcthreads_lock_free (); 22097 ; 22098 return 0; 22099} 22100_ACEOF 22101if ac_fn_c_try_link "$LINENO"; then : 22102 ac_cv_lib_cthreads_libcthreads_lock_free=yes 22103else 22104 ac_cv_lib_cthreads_libcthreads_lock_free=no 22105fi 22106rm -f core conftest.err conftest.$ac_objext \ 22107 conftest$ac_exeext conftest.$ac_ext 22108LIBS=$ac_check_lib_save_LIBS 22109fi 22110{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_free" >&5 22111$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_free" >&6; } 22112if test "x$ac_cv_lib_cthreads_libcthreads_lock_free" = xyes; then : 22113 ac_cv_libcthreads_dummy=yes 22114else 22115 ac_cv_libcthreads=no 22116fi 22117 22118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_grab in -lcthreads" >&5 22119$as_echo_n "checking for libcthreads_lock_grab in -lcthreads... " >&6; } 22120if ${ac_cv_lib_cthreads_libcthreads_lock_grab+:} false; then : 22121 $as_echo_n "(cached) " >&6 22122else 22123 ac_check_lib_save_LIBS=$LIBS 22124LIBS="-lcthreads $LIBS" 22125cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22126/* end confdefs.h. */ 22127 22128/* Override any GCC internal prototype to avoid an error. 22129 Use char because int might match the return type of a GCC 22130 builtin and then its argument prototype would still apply. */ 22131#ifdef __cplusplus 22132extern "C" 22133#endif 22134char libcthreads_lock_grab (); 22135int 22136main () 22137{ 22138return libcthreads_lock_grab (); 22139 ; 22140 return 0; 22141} 22142_ACEOF 22143if ac_fn_c_try_link "$LINENO"; then : 22144 ac_cv_lib_cthreads_libcthreads_lock_grab=yes 22145else 22146 ac_cv_lib_cthreads_libcthreads_lock_grab=no 22147fi 22148rm -f core conftest.err conftest.$ac_objext \ 22149 conftest$ac_exeext conftest.$ac_ext 22150LIBS=$ac_check_lib_save_LIBS 22151fi 22152{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_grab" >&5 22153$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_grab" >&6; } 22154if test "x$ac_cv_lib_cthreads_libcthreads_lock_grab" = xyes; then : 22155 ac_cv_libcthreads_dummy=yes 22156else 22157 ac_cv_libcthreads=no 22158fi 22159 22160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_release in -lcthreads" >&5 22161$as_echo_n "checking for libcthreads_lock_release in -lcthreads... " >&6; } 22162if ${ac_cv_lib_cthreads_libcthreads_lock_release+:} false; then : 22163 $as_echo_n "(cached) " >&6 22164else 22165 ac_check_lib_save_LIBS=$LIBS 22166LIBS="-lcthreads $LIBS" 22167cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22168/* end confdefs.h. */ 22169 22170/* Override any GCC internal prototype to avoid an error. 22171 Use char because int might match the return type of a GCC 22172 builtin and then its argument prototype would still apply. */ 22173#ifdef __cplusplus 22174extern "C" 22175#endif 22176char libcthreads_lock_release (); 22177int 22178main () 22179{ 22180return libcthreads_lock_release (); 22181 ; 22182 return 0; 22183} 22184_ACEOF 22185if ac_fn_c_try_link "$LINENO"; then : 22186 ac_cv_lib_cthreads_libcthreads_lock_release=yes 22187else 22188 ac_cv_lib_cthreads_libcthreads_lock_release=no 22189fi 22190rm -f core conftest.err conftest.$ac_objext \ 22191 conftest$ac_exeext conftest.$ac_ext 22192LIBS=$ac_check_lib_save_LIBS 22193fi 22194{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_release" >&5 22195$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_release" >&6; } 22196if test "x$ac_cv_lib_cthreads_libcthreads_lock_release" = xyes; then : 22197 ac_cv_libcthreads_dummy=yes 22198else 22199 ac_cv_libcthreads=no 22200fi 22201 22202 22203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_initialize in -lcthreads" >&5 22204$as_echo_n "checking for libcthreads_mutex_initialize in -lcthreads... " >&6; } 22205if ${ac_cv_lib_cthreads_libcthreads_mutex_initialize+:} false; then : 22206 $as_echo_n "(cached) " >&6 22207else 22208 ac_check_lib_save_LIBS=$LIBS 22209LIBS="-lcthreads $LIBS" 22210cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22211/* end confdefs.h. */ 22212 22213/* Override any GCC internal prototype to avoid an error. 22214 Use char because int might match the return type of a GCC 22215 builtin and then its argument prototype would still apply. */ 22216#ifdef __cplusplus 22217extern "C" 22218#endif 22219char libcthreads_mutex_initialize (); 22220int 22221main () 22222{ 22223return libcthreads_mutex_initialize (); 22224 ; 22225 return 0; 22226} 22227_ACEOF 22228if ac_fn_c_try_link "$LINENO"; then : 22229 ac_cv_lib_cthreads_libcthreads_mutex_initialize=yes 22230else 22231 ac_cv_lib_cthreads_libcthreads_mutex_initialize=no 22232fi 22233rm -f core conftest.err conftest.$ac_objext \ 22234 conftest$ac_exeext conftest.$ac_ext 22235LIBS=$ac_check_lib_save_LIBS 22236fi 22237{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_initialize" >&5 22238$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_initialize" >&6; } 22239if test "x$ac_cv_lib_cthreads_libcthreads_mutex_initialize" = xyes; then : 22240 ac_cv_libcthreads_dummy=yes 22241else 22242 ac_cv_libcthreads=no 22243fi 22244 22245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_free in -lcthreads" >&5 22246$as_echo_n "checking for libcthreads_mutex_free in -lcthreads... " >&6; } 22247if ${ac_cv_lib_cthreads_libcthreads_mutex_free+:} false; then : 22248 $as_echo_n "(cached) " >&6 22249else 22250 ac_check_lib_save_LIBS=$LIBS 22251LIBS="-lcthreads $LIBS" 22252cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22253/* end confdefs.h. */ 22254 22255/* Override any GCC internal prototype to avoid an error. 22256 Use char because int might match the return type of a GCC 22257 builtin and then its argument prototype would still apply. */ 22258#ifdef __cplusplus 22259extern "C" 22260#endif 22261char libcthreads_mutex_free (); 22262int 22263main () 22264{ 22265return libcthreads_mutex_free (); 22266 ; 22267 return 0; 22268} 22269_ACEOF 22270if ac_fn_c_try_link "$LINENO"; then : 22271 ac_cv_lib_cthreads_libcthreads_mutex_free=yes 22272else 22273 ac_cv_lib_cthreads_libcthreads_mutex_free=no 22274fi 22275rm -f core conftest.err conftest.$ac_objext \ 22276 conftest$ac_exeext conftest.$ac_ext 22277LIBS=$ac_check_lib_save_LIBS 22278fi 22279{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_free" >&5 22280$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_free" >&6; } 22281if test "x$ac_cv_lib_cthreads_libcthreads_mutex_free" = xyes; then : 22282 ac_cv_libcthreads_dummy=yes 22283else 22284 ac_cv_libcthreads=no 22285fi 22286 22287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_grab in -lcthreads" >&5 22288$as_echo_n "checking for libcthreads_mutex_grab in -lcthreads... " >&6; } 22289if ${ac_cv_lib_cthreads_libcthreads_mutex_grab+:} false; then : 22290 $as_echo_n "(cached) " >&6 22291else 22292 ac_check_lib_save_LIBS=$LIBS 22293LIBS="-lcthreads $LIBS" 22294cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22295/* end confdefs.h. */ 22296 22297/* Override any GCC internal prototype to avoid an error. 22298 Use char because int might match the return type of a GCC 22299 builtin and then its argument prototype would still apply. */ 22300#ifdef __cplusplus 22301extern "C" 22302#endif 22303char libcthreads_mutex_grab (); 22304int 22305main () 22306{ 22307return libcthreads_mutex_grab (); 22308 ; 22309 return 0; 22310} 22311_ACEOF 22312if ac_fn_c_try_link "$LINENO"; then : 22313 ac_cv_lib_cthreads_libcthreads_mutex_grab=yes 22314else 22315 ac_cv_lib_cthreads_libcthreads_mutex_grab=no 22316fi 22317rm -f core conftest.err conftest.$ac_objext \ 22318 conftest$ac_exeext conftest.$ac_ext 22319LIBS=$ac_check_lib_save_LIBS 22320fi 22321{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_grab" >&5 22322$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_grab" >&6; } 22323if test "x$ac_cv_lib_cthreads_libcthreads_mutex_grab" = xyes; then : 22324 ac_cv_libcthreads_dummy=yes 22325else 22326 ac_cv_libcthreads=no 22327fi 22328 22329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_try_grab in -lcthreads" >&5 22330$as_echo_n "checking for libcthreads_mutex_try_grab in -lcthreads... " >&6; } 22331if ${ac_cv_lib_cthreads_libcthreads_mutex_try_grab+:} false; then : 22332 $as_echo_n "(cached) " >&6 22333else 22334 ac_check_lib_save_LIBS=$LIBS 22335LIBS="-lcthreads $LIBS" 22336cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22337/* end confdefs.h. */ 22338 22339/* Override any GCC internal prototype to avoid an error. 22340 Use char because int might match the return type of a GCC 22341 builtin and then its argument prototype would still apply. */ 22342#ifdef __cplusplus 22343extern "C" 22344#endif 22345char libcthreads_mutex_try_grab (); 22346int 22347main () 22348{ 22349return libcthreads_mutex_try_grab (); 22350 ; 22351 return 0; 22352} 22353_ACEOF 22354if ac_fn_c_try_link "$LINENO"; then : 22355 ac_cv_lib_cthreads_libcthreads_mutex_try_grab=yes 22356else 22357 ac_cv_lib_cthreads_libcthreads_mutex_try_grab=no 22358fi 22359rm -f core conftest.err conftest.$ac_objext \ 22360 conftest$ac_exeext conftest.$ac_ext 22361LIBS=$ac_check_lib_save_LIBS 22362fi 22363{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_try_grab" >&5 22364$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_try_grab" >&6; } 22365if test "x$ac_cv_lib_cthreads_libcthreads_mutex_try_grab" = xyes; then : 22366 ac_cv_libcthreads_dummy=yes 22367else 22368 ac_cv_libcthreads=no 22369fi 22370 22371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_release in -lcthreads" >&5 22372$as_echo_n "checking for libcthreads_mutex_release in -lcthreads... " >&6; } 22373if ${ac_cv_lib_cthreads_libcthreads_mutex_release+:} false; then : 22374 $as_echo_n "(cached) " >&6 22375else 22376 ac_check_lib_save_LIBS=$LIBS 22377LIBS="-lcthreads $LIBS" 22378cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22379/* end confdefs.h. */ 22380 22381/* Override any GCC internal prototype to avoid an error. 22382 Use char because int might match the return type of a GCC 22383 builtin and then its argument prototype would still apply. */ 22384#ifdef __cplusplus 22385extern "C" 22386#endif 22387char libcthreads_mutex_release (); 22388int 22389main () 22390{ 22391return libcthreads_mutex_release (); 22392 ; 22393 return 0; 22394} 22395_ACEOF 22396if ac_fn_c_try_link "$LINENO"; then : 22397 ac_cv_lib_cthreads_libcthreads_mutex_release=yes 22398else 22399 ac_cv_lib_cthreads_libcthreads_mutex_release=no 22400fi 22401rm -f core conftest.err conftest.$ac_objext \ 22402 conftest$ac_exeext conftest.$ac_ext 22403LIBS=$ac_check_lib_save_LIBS 22404fi 22405{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_release" >&5 22406$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_release" >&6; } 22407if test "x$ac_cv_lib_cthreads_libcthreads_mutex_release" = xyes; then : 22408 ac_cv_libcthreads_dummy=yes 22409else 22410 ac_cv_libcthreads=no 22411fi 22412 22413 22414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_initialize in -lcthreads" >&5 22415$as_echo_n "checking for libcthreads_read_write_lock_initialize in -lcthreads... " >&6; } 22416if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize+:} false; then : 22417 $as_echo_n "(cached) " >&6 22418else 22419 ac_check_lib_save_LIBS=$LIBS 22420LIBS="-lcthreads $LIBS" 22421cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22422/* end confdefs.h. */ 22423 22424/* Override any GCC internal prototype to avoid an error. 22425 Use char because int might match the return type of a GCC 22426 builtin and then its argument prototype would still apply. */ 22427#ifdef __cplusplus 22428extern "C" 22429#endif 22430char libcthreads_read_write_lock_initialize (); 22431int 22432main () 22433{ 22434return libcthreads_read_write_lock_initialize (); 22435 ; 22436 return 0; 22437} 22438_ACEOF 22439if ac_fn_c_try_link "$LINENO"; then : 22440 ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize=yes 22441else 22442 ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize=no 22443fi 22444rm -f core conftest.err conftest.$ac_objext \ 22445 conftest$ac_exeext conftest.$ac_ext 22446LIBS=$ac_check_lib_save_LIBS 22447fi 22448{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize" >&5 22449$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize" >&6; } 22450if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize" = xyes; then : 22451 ac_cv_libcthreads_dummy=yes 22452else 22453 ac_cv_libcthreads=no 22454fi 22455 22456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_free in -lcthreads" >&5 22457$as_echo_n "checking for libcthreads_read_write_lock_free in -lcthreads... " >&6; } 22458if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_free+:} false; then : 22459 $as_echo_n "(cached) " >&6 22460else 22461 ac_check_lib_save_LIBS=$LIBS 22462LIBS="-lcthreads $LIBS" 22463cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22464/* end confdefs.h. */ 22465 22466/* Override any GCC internal prototype to avoid an error. 22467 Use char because int might match the return type of a GCC 22468 builtin and then its argument prototype would still apply. */ 22469#ifdef __cplusplus 22470extern "C" 22471#endif 22472char libcthreads_read_write_lock_free (); 22473int 22474main () 22475{ 22476return libcthreads_read_write_lock_free (); 22477 ; 22478 return 0; 22479} 22480_ACEOF 22481if ac_fn_c_try_link "$LINENO"; then : 22482 ac_cv_lib_cthreads_libcthreads_read_write_lock_free=yes 22483else 22484 ac_cv_lib_cthreads_libcthreads_read_write_lock_free=no 22485fi 22486rm -f core conftest.err conftest.$ac_objext \ 22487 conftest$ac_exeext conftest.$ac_ext 22488LIBS=$ac_check_lib_save_LIBS 22489fi 22490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_free" >&5 22491$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_free" >&6; } 22492if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_free" = xyes; then : 22493 ac_cv_libcthreads_dummy=yes 22494else 22495 ac_cv_libcthreads=no 22496fi 22497 22498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_grab_for_read in -lcthreads" >&5 22499$as_echo_n "checking for libcthreads_read_write_lock_grab_for_read in -lcthreads... " >&6; } 22500if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read+:} false; then : 22501 $as_echo_n "(cached) " >&6 22502else 22503 ac_check_lib_save_LIBS=$LIBS 22504LIBS="-lcthreads $LIBS" 22505cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22506/* end confdefs.h. */ 22507 22508/* Override any GCC internal prototype to avoid an error. 22509 Use char because int might match the return type of a GCC 22510 builtin and then its argument prototype would still apply. */ 22511#ifdef __cplusplus 22512extern "C" 22513#endif 22514char libcthreads_read_write_lock_grab_for_read (); 22515int 22516main () 22517{ 22518return libcthreads_read_write_lock_grab_for_read (); 22519 ; 22520 return 0; 22521} 22522_ACEOF 22523if ac_fn_c_try_link "$LINENO"; then : 22524 ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read=yes 22525else 22526 ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read=no 22527fi 22528rm -f core conftest.err conftest.$ac_objext \ 22529 conftest$ac_exeext conftest.$ac_ext 22530LIBS=$ac_check_lib_save_LIBS 22531fi 22532{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read" >&5 22533$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read" >&6; } 22534if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read" = xyes; then : 22535 ac_cv_libcthreads_dummy=yes 22536else 22537 ac_cv_libcthreads=no 22538fi 22539 22540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_grab_for_write in -lcthreads" >&5 22541$as_echo_n "checking for libcthreads_read_write_lock_grab_for_write in -lcthreads... " >&6; } 22542if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write+:} false; then : 22543 $as_echo_n "(cached) " >&6 22544else 22545 ac_check_lib_save_LIBS=$LIBS 22546LIBS="-lcthreads $LIBS" 22547cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22548/* end confdefs.h. */ 22549 22550/* Override any GCC internal prototype to avoid an error. 22551 Use char because int might match the return type of a GCC 22552 builtin and then its argument prototype would still apply. */ 22553#ifdef __cplusplus 22554extern "C" 22555#endif 22556char libcthreads_read_write_lock_grab_for_write (); 22557int 22558main () 22559{ 22560return libcthreads_read_write_lock_grab_for_write (); 22561 ; 22562 return 0; 22563} 22564_ACEOF 22565if ac_fn_c_try_link "$LINENO"; then : 22566 ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write=yes 22567else 22568 ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write=no 22569fi 22570rm -f core conftest.err conftest.$ac_objext \ 22571 conftest$ac_exeext conftest.$ac_ext 22572LIBS=$ac_check_lib_save_LIBS 22573fi 22574{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write" >&5 22575$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write" >&6; } 22576if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write" = xyes; then : 22577 ac_cv_libcthreads_dummy=yes 22578else 22579 ac_cv_libcthreads=no 22580fi 22581 22582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_release_for_read in -lcthreads" >&5 22583$as_echo_n "checking for libcthreads_read_write_lock_release_for_read in -lcthreads... " >&6; } 22584if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read+:} false; then : 22585 $as_echo_n "(cached) " >&6 22586else 22587 ac_check_lib_save_LIBS=$LIBS 22588LIBS="-lcthreads $LIBS" 22589cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22590/* end confdefs.h. */ 22591 22592/* Override any GCC internal prototype to avoid an error. 22593 Use char because int might match the return type of a GCC 22594 builtin and then its argument prototype would still apply. */ 22595#ifdef __cplusplus 22596extern "C" 22597#endif 22598char libcthreads_read_write_lock_release_for_read (); 22599int 22600main () 22601{ 22602return libcthreads_read_write_lock_release_for_read (); 22603 ; 22604 return 0; 22605} 22606_ACEOF 22607if ac_fn_c_try_link "$LINENO"; then : 22608 ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read=yes 22609else 22610 ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read=no 22611fi 22612rm -f core conftest.err conftest.$ac_objext \ 22613 conftest$ac_exeext conftest.$ac_ext 22614LIBS=$ac_check_lib_save_LIBS 22615fi 22616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read" >&5 22617$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read" >&6; } 22618if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read" = xyes; then : 22619 ac_cv_libcthreads_dummy=yes 22620else 22621 ac_cv_libcthreads=no 22622fi 22623 22624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_release_for_write in -lcthreads" >&5 22625$as_echo_n "checking for libcthreads_read_write_lock_release_for_write in -lcthreads... " >&6; } 22626if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write+:} false; then : 22627 $as_echo_n "(cached) " >&6 22628else 22629 ac_check_lib_save_LIBS=$LIBS 22630LIBS="-lcthreads $LIBS" 22631cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22632/* end confdefs.h. */ 22633 22634/* Override any GCC internal prototype to avoid an error. 22635 Use char because int might match the return type of a GCC 22636 builtin and then its argument prototype would still apply. */ 22637#ifdef __cplusplus 22638extern "C" 22639#endif 22640char libcthreads_read_write_lock_release_for_write (); 22641int 22642main () 22643{ 22644return libcthreads_read_write_lock_release_for_write (); 22645 ; 22646 return 0; 22647} 22648_ACEOF 22649if ac_fn_c_try_link "$LINENO"; then : 22650 ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write=yes 22651else 22652 ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write=no 22653fi 22654rm -f core conftest.err conftest.$ac_objext \ 22655 conftest$ac_exeext conftest.$ac_ext 22656LIBS=$ac_check_lib_save_LIBS 22657fi 22658{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write" >&5 22659$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write" >&6; } 22660if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write" = xyes; then : 22661 ac_cv_libcthreads_dummy=yes 22662else 22663 ac_cv_libcthreads=no 22664fi 22665 22666 22667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_initialize in -lcthreads" >&5 22668$as_echo_n "checking for libcthreads_queue_initialize in -lcthreads... " >&6; } 22669if ${ac_cv_lib_cthreads_libcthreads_queue_initialize+:} false; then : 22670 $as_echo_n "(cached) " >&6 22671else 22672 ac_check_lib_save_LIBS=$LIBS 22673LIBS="-lcthreads $LIBS" 22674cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22675/* end confdefs.h. */ 22676 22677/* Override any GCC internal prototype to avoid an error. 22678 Use char because int might match the return type of a GCC 22679 builtin and then its argument prototype would still apply. */ 22680#ifdef __cplusplus 22681extern "C" 22682#endif 22683char libcthreads_queue_initialize (); 22684int 22685main () 22686{ 22687return libcthreads_queue_initialize (); 22688 ; 22689 return 0; 22690} 22691_ACEOF 22692if ac_fn_c_try_link "$LINENO"; then : 22693 ac_cv_lib_cthreads_libcthreads_queue_initialize=yes 22694else 22695 ac_cv_lib_cthreads_libcthreads_queue_initialize=no 22696fi 22697rm -f core conftest.err conftest.$ac_objext \ 22698 conftest$ac_exeext conftest.$ac_ext 22699LIBS=$ac_check_lib_save_LIBS 22700fi 22701{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_initialize" >&5 22702$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_initialize" >&6; } 22703if test "x$ac_cv_lib_cthreads_libcthreads_queue_initialize" = xyes; then : 22704 ac_cv_libcthreads_dummy=yes 22705else 22706 ac_cv_libcthreads=no 22707fi 22708 22709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_free in -lcthreads" >&5 22710$as_echo_n "checking for libcthreads_queue_free in -lcthreads... " >&6; } 22711if ${ac_cv_lib_cthreads_libcthreads_queue_free+:} false; then : 22712 $as_echo_n "(cached) " >&6 22713else 22714 ac_check_lib_save_LIBS=$LIBS 22715LIBS="-lcthreads $LIBS" 22716cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22717/* end confdefs.h. */ 22718 22719/* Override any GCC internal prototype to avoid an error. 22720 Use char because int might match the return type of a GCC 22721 builtin and then its argument prototype would still apply. */ 22722#ifdef __cplusplus 22723extern "C" 22724#endif 22725char libcthreads_queue_free (); 22726int 22727main () 22728{ 22729return libcthreads_queue_free (); 22730 ; 22731 return 0; 22732} 22733_ACEOF 22734if ac_fn_c_try_link "$LINENO"; then : 22735 ac_cv_lib_cthreads_libcthreads_queue_free=yes 22736else 22737 ac_cv_lib_cthreads_libcthreads_queue_free=no 22738fi 22739rm -f core conftest.err conftest.$ac_objext \ 22740 conftest$ac_exeext conftest.$ac_ext 22741LIBS=$ac_check_lib_save_LIBS 22742fi 22743{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_free" >&5 22744$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_free" >&6; } 22745if test "x$ac_cv_lib_cthreads_libcthreads_queue_free" = xyes; then : 22746 ac_cv_libcthreads_dummy=yes 22747else 22748 ac_cv_libcthreads=no 22749fi 22750 22751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_type_pop in -lcthreads" >&5 22752$as_echo_n "checking for libcthreads_queue_type_pop in -lcthreads... " >&6; } 22753if ${ac_cv_lib_cthreads_libcthreads_queue_type_pop+:} false; then : 22754 $as_echo_n "(cached) " >&6 22755else 22756 ac_check_lib_save_LIBS=$LIBS 22757LIBS="-lcthreads $LIBS" 22758cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22759/* end confdefs.h. */ 22760 22761/* Override any GCC internal prototype to avoid an error. 22762 Use char because int might match the return type of a GCC 22763 builtin and then its argument prototype would still apply. */ 22764#ifdef __cplusplus 22765extern "C" 22766#endif 22767char libcthreads_queue_type_pop (); 22768int 22769main () 22770{ 22771return libcthreads_queue_type_pop (); 22772 ; 22773 return 0; 22774} 22775_ACEOF 22776if ac_fn_c_try_link "$LINENO"; then : 22777 ac_cv_lib_cthreads_libcthreads_queue_type_pop=yes 22778else 22779 ac_cv_lib_cthreads_libcthreads_queue_type_pop=no 22780fi 22781rm -f core conftest.err conftest.$ac_objext \ 22782 conftest$ac_exeext conftest.$ac_ext 22783LIBS=$ac_check_lib_save_LIBS 22784fi 22785{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_type_pop" >&5 22786$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_type_pop" >&6; } 22787if test "x$ac_cv_lib_cthreads_libcthreads_queue_type_pop" = xyes; then : 22788 ac_cv_libcthreads_dummy=yes 22789else 22790 ac_cv_libcthreads=no 22791fi 22792 22793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_pop in -lcthreads" >&5 22794$as_echo_n "checking for libcthreads_queue_pop in -lcthreads... " >&6; } 22795if ${ac_cv_lib_cthreads_libcthreads_queue_pop+:} false; then : 22796 $as_echo_n "(cached) " >&6 22797else 22798 ac_check_lib_save_LIBS=$LIBS 22799LIBS="-lcthreads $LIBS" 22800cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22801/* end confdefs.h. */ 22802 22803/* Override any GCC internal prototype to avoid an error. 22804 Use char because int might match the return type of a GCC 22805 builtin and then its argument prototype would still apply. */ 22806#ifdef __cplusplus 22807extern "C" 22808#endif 22809char libcthreads_queue_pop (); 22810int 22811main () 22812{ 22813return libcthreads_queue_pop (); 22814 ; 22815 return 0; 22816} 22817_ACEOF 22818if ac_fn_c_try_link "$LINENO"; then : 22819 ac_cv_lib_cthreads_libcthreads_queue_pop=yes 22820else 22821 ac_cv_lib_cthreads_libcthreads_queue_pop=no 22822fi 22823rm -f core conftest.err conftest.$ac_objext \ 22824 conftest$ac_exeext conftest.$ac_ext 22825LIBS=$ac_check_lib_save_LIBS 22826fi 22827{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_pop" >&5 22828$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_pop" >&6; } 22829if test "x$ac_cv_lib_cthreads_libcthreads_queue_pop" = xyes; then : 22830 ac_cv_libcthreads_dummy=yes 22831else 22832 ac_cv_libcthreads=no 22833fi 22834 22835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_try_push in -lcthreads" >&5 22836$as_echo_n "checking for libcthreads_queue_try_push in -lcthreads... " >&6; } 22837if ${ac_cv_lib_cthreads_libcthreads_queue_try_push+:} false; then : 22838 $as_echo_n "(cached) " >&6 22839else 22840 ac_check_lib_save_LIBS=$LIBS 22841LIBS="-lcthreads $LIBS" 22842cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22843/* end confdefs.h. */ 22844 22845/* Override any GCC internal prototype to avoid an error. 22846 Use char because int might match the return type of a GCC 22847 builtin and then its argument prototype would still apply. */ 22848#ifdef __cplusplus 22849extern "C" 22850#endif 22851char libcthreads_queue_try_push (); 22852int 22853main () 22854{ 22855return libcthreads_queue_try_push (); 22856 ; 22857 return 0; 22858} 22859_ACEOF 22860if ac_fn_c_try_link "$LINENO"; then : 22861 ac_cv_lib_cthreads_libcthreads_queue_try_push=yes 22862else 22863 ac_cv_lib_cthreads_libcthreads_queue_try_push=no 22864fi 22865rm -f core conftest.err conftest.$ac_objext \ 22866 conftest$ac_exeext conftest.$ac_ext 22867LIBS=$ac_check_lib_save_LIBS 22868fi 22869{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_try_push" >&5 22870$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_try_push" >&6; } 22871if test "x$ac_cv_lib_cthreads_libcthreads_queue_try_push" = xyes; then : 22872 ac_cv_libcthreads_dummy=yes 22873else 22874 ac_cv_libcthreads=no 22875fi 22876 22877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_push in -lcthreads" >&5 22878$as_echo_n "checking for libcthreads_queue_push in -lcthreads... " >&6; } 22879if ${ac_cv_lib_cthreads_libcthreads_queue_push+:} false; then : 22880 $as_echo_n "(cached) " >&6 22881else 22882 ac_check_lib_save_LIBS=$LIBS 22883LIBS="-lcthreads $LIBS" 22884cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22885/* end confdefs.h. */ 22886 22887/* Override any GCC internal prototype to avoid an error. 22888 Use char because int might match the return type of a GCC 22889 builtin and then its argument prototype would still apply. */ 22890#ifdef __cplusplus 22891extern "C" 22892#endif 22893char libcthreads_queue_push (); 22894int 22895main () 22896{ 22897return libcthreads_queue_push (); 22898 ; 22899 return 0; 22900} 22901_ACEOF 22902if ac_fn_c_try_link "$LINENO"; then : 22903 ac_cv_lib_cthreads_libcthreads_queue_push=yes 22904else 22905 ac_cv_lib_cthreads_libcthreads_queue_push=no 22906fi 22907rm -f core conftest.err conftest.$ac_objext \ 22908 conftest$ac_exeext conftest.$ac_ext 22909LIBS=$ac_check_lib_save_LIBS 22910fi 22911{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_push" >&5 22912$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_push" >&6; } 22913if test "x$ac_cv_lib_cthreads_libcthreads_queue_push" = xyes; then : 22914 ac_cv_libcthreads_dummy=yes 22915else 22916 ac_cv_libcthreads=no 22917fi 22918 22919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_push_sorted in -lcthreads" >&5 22920$as_echo_n "checking for libcthreads_queue_push_sorted in -lcthreads... " >&6; } 22921if ${ac_cv_lib_cthreads_libcthreads_queue_push_sorted+:} false; then : 22922 $as_echo_n "(cached) " >&6 22923else 22924 ac_check_lib_save_LIBS=$LIBS 22925LIBS="-lcthreads $LIBS" 22926cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22927/* end confdefs.h. */ 22928 22929/* Override any GCC internal prototype to avoid an error. 22930 Use char because int might match the return type of a GCC 22931 builtin and then its argument prototype would still apply. */ 22932#ifdef __cplusplus 22933extern "C" 22934#endif 22935char libcthreads_queue_push_sorted (); 22936int 22937main () 22938{ 22939return libcthreads_queue_push_sorted (); 22940 ; 22941 return 0; 22942} 22943_ACEOF 22944if ac_fn_c_try_link "$LINENO"; then : 22945 ac_cv_lib_cthreads_libcthreads_queue_push_sorted=yes 22946else 22947 ac_cv_lib_cthreads_libcthreads_queue_push_sorted=no 22948fi 22949rm -f core conftest.err conftest.$ac_objext \ 22950 conftest$ac_exeext conftest.$ac_ext 22951LIBS=$ac_check_lib_save_LIBS 22952fi 22953{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_push_sorted" >&5 22954$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_push_sorted" >&6; } 22955if test "x$ac_cv_lib_cthreads_libcthreads_queue_push_sorted" = xyes; then : 22956 ac_cv_libcthreads_dummy=yes 22957else 22958 ac_cv_libcthreads=no 22959fi 22960 22961 22962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_create in -lcthreads" >&5 22963$as_echo_n "checking for libcthreads_thread_pool_create in -lcthreads... " >&6; } 22964if ${ac_cv_lib_cthreads_libcthreads_thread_pool_create+:} false; then : 22965 $as_echo_n "(cached) " >&6 22966else 22967 ac_check_lib_save_LIBS=$LIBS 22968LIBS="-lcthreads $LIBS" 22969cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22970/* end confdefs.h. */ 22971 22972/* Override any GCC internal prototype to avoid an error. 22973 Use char because int might match the return type of a GCC 22974 builtin and then its argument prototype would still apply. */ 22975#ifdef __cplusplus 22976extern "C" 22977#endif 22978char libcthreads_thread_pool_create (); 22979int 22980main () 22981{ 22982return libcthreads_thread_pool_create (); 22983 ; 22984 return 0; 22985} 22986_ACEOF 22987if ac_fn_c_try_link "$LINENO"; then : 22988 ac_cv_lib_cthreads_libcthreads_thread_pool_create=yes 22989else 22990 ac_cv_lib_cthreads_libcthreads_thread_pool_create=no 22991fi 22992rm -f core conftest.err conftest.$ac_objext \ 22993 conftest$ac_exeext conftest.$ac_ext 22994LIBS=$ac_check_lib_save_LIBS 22995fi 22996{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_create" >&5 22997$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_create" >&6; } 22998if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_create" = xyes; then : 22999 ac_cv_libcthreads_dummy=yes 23000else 23001 ac_cv_libcthreads=no 23002fi 23003 23004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_push in -lcthreads" >&5 23005$as_echo_n "checking for libcthreads_thread_pool_push in -lcthreads... " >&6; } 23006if ${ac_cv_lib_cthreads_libcthreads_thread_pool_push+:} false; then : 23007 $as_echo_n "(cached) " >&6 23008else 23009 ac_check_lib_save_LIBS=$LIBS 23010LIBS="-lcthreads $LIBS" 23011cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23012/* end confdefs.h. */ 23013 23014/* Override any GCC internal prototype to avoid an error. 23015 Use char because int might match the return type of a GCC 23016 builtin and then its argument prototype would still apply. */ 23017#ifdef __cplusplus 23018extern "C" 23019#endif 23020char libcthreads_thread_pool_push (); 23021int 23022main () 23023{ 23024return libcthreads_thread_pool_push (); 23025 ; 23026 return 0; 23027} 23028_ACEOF 23029if ac_fn_c_try_link "$LINENO"; then : 23030 ac_cv_lib_cthreads_libcthreads_thread_pool_push=yes 23031else 23032 ac_cv_lib_cthreads_libcthreads_thread_pool_push=no 23033fi 23034rm -f core conftest.err conftest.$ac_objext \ 23035 conftest$ac_exeext conftest.$ac_ext 23036LIBS=$ac_check_lib_save_LIBS 23037fi 23038{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_push" >&5 23039$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_push" >&6; } 23040if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_push" = xyes; then : 23041 ac_cv_libcthreads_dummy=yes 23042else 23043 ac_cv_libcthreads=no 23044fi 23045 23046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_push_sorted in -lcthreads" >&5 23047$as_echo_n "checking for libcthreads_thread_pool_push_sorted in -lcthreads... " >&6; } 23048if ${ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted+:} false; then : 23049 $as_echo_n "(cached) " >&6 23050else 23051 ac_check_lib_save_LIBS=$LIBS 23052LIBS="-lcthreads $LIBS" 23053cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23054/* end confdefs.h. */ 23055 23056/* Override any GCC internal prototype to avoid an error. 23057 Use char because int might match the return type of a GCC 23058 builtin and then its argument prototype would still apply. */ 23059#ifdef __cplusplus 23060extern "C" 23061#endif 23062char libcthreads_thread_pool_push_sorted (); 23063int 23064main () 23065{ 23066return libcthreads_thread_pool_push_sorted (); 23067 ; 23068 return 0; 23069} 23070_ACEOF 23071if ac_fn_c_try_link "$LINENO"; then : 23072 ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted=yes 23073else 23074 ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted=no 23075fi 23076rm -f core conftest.err conftest.$ac_objext \ 23077 conftest$ac_exeext conftest.$ac_ext 23078LIBS=$ac_check_lib_save_LIBS 23079fi 23080{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted" >&5 23081$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted" >&6; } 23082if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted" = xyes; then : 23083 ac_cv_libcthreads_dummy=yes 23084else 23085 ac_cv_libcthreads=no 23086fi 23087 23088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_join in -lcthreads" >&5 23089$as_echo_n "checking for libcthreads_thread_pool_join in -lcthreads... " >&6; } 23090if ${ac_cv_lib_cthreads_libcthreads_thread_pool_join+:} false; then : 23091 $as_echo_n "(cached) " >&6 23092else 23093 ac_check_lib_save_LIBS=$LIBS 23094LIBS="-lcthreads $LIBS" 23095cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23096/* end confdefs.h. */ 23097 23098/* Override any GCC internal prototype to avoid an error. 23099 Use char because int might match the return type of a GCC 23100 builtin and then its argument prototype would still apply. */ 23101#ifdef __cplusplus 23102extern "C" 23103#endif 23104char libcthreads_thread_pool_join (); 23105int 23106main () 23107{ 23108return libcthreads_thread_pool_join (); 23109 ; 23110 return 0; 23111} 23112_ACEOF 23113if ac_fn_c_try_link "$LINENO"; then : 23114 ac_cv_lib_cthreads_libcthreads_thread_pool_join=yes 23115else 23116 ac_cv_lib_cthreads_libcthreads_thread_pool_join=no 23117fi 23118rm -f core conftest.err conftest.$ac_objext \ 23119 conftest$ac_exeext conftest.$ac_ext 23120LIBS=$ac_check_lib_save_LIBS 23121fi 23122{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_join" >&5 23123$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_join" >&6; } 23124if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_join" = xyes; then : 23125 ac_cv_libcthreads_dummy=yes 23126else 23127 ac_cv_libcthreads=no 23128fi 23129 23130 23131 ac_cv_libcthreads_LIBADD="-lcthreads" 23132fi 23133 23134fi 23135 23136 if test "x$ac_cv_with_libcthreads" != x && test "x$ac_cv_with_libcthreads" != xauto-detect && test "x$ac_cv_libcthreads" != xyes; then : 23137 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 23138$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 23139as_fn_error 1 "unable to find supported libcthreads in directory: $ac_cv_with_libcthreads 23140See \`config.log' for more details" "$LINENO" 5; } 23141 23142fi 23143 23144fi 23145 23146 if test "x$ac_cv_libcthreads" = xyes; then : 23147 23148$as_echo "#define HAVE_LIBCTHREADS 1" >>confdefs.h 23149 23150 23151fi 23152 23153 if test "x$ac_cv_libcthreads" = xyes; then : 23154 ac_cv_libcthreads_multi_threading=libcthreads 23155else 23156 ac_cv_libcthreads_multi_threading=no 23157fi 23158 23159 if test "x$ac_cv_libcthreads" = xyes; then : 23160 HAVE_LIBCTHREADS=1 23161 23162else 23163 HAVE_LIBCTHREADS=0 23164 23165 23166fi 23167 23168 23169 if test "x$ac_cv_libcthreads" != xyes; then : 23170 if test "x$ac_cv_enable_winapi" = xno; then : 23171 23172 23173# Check whether --with-pthread was given. 23174if test "${with_pthread+set}" = set; then : 23175 withval=$with_pthread; ac_cv_with_pthread=$withval 23176else 23177 ac_cv_with_pthread=auto-detect 23178fi 23179 23180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use search for pthread in includedir and libdir or in the specified DIR, or no if not to use pthread" >&5 23181$as_echo_n "checking whether to use search for pthread in includedir and libdir or in the specified DIR, or no if not to use pthread... " >&6; } 23182if ${ac_cv_with_pthread+:} false; then : 23183 $as_echo_n "(cached) " >&6 23184else 23185 ac_cv_with_pthread=auto-detect 23186fi 23187{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pthread" >&5 23188$as_echo "$ac_cv_with_pthread" >&6; } 23189 23190 if test "x$ac_cv_with_pthread" != x && test "x$ac_cv_with_pthread" != xno && test "x$ac_cv_with_pthread" != xauto-detect; then : 23191 if test -d "$ac_cv_with_pthread"; then : 23192 CFLAGS="$CFLAGS -I${ac_cv_with_pthread}/include" 23193 LDFLAGS="$LDFLAGS -L${ac_cv_with_pthread}/lib" 23194else 23195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no such directory: $ac_cv_with_pthread" >&5 23196$as_echo "$as_me: WARNING: no such directory: $ac_cv_with_pthread" >&2;} 23197 23198fi 23199 23200fi 23201 23202 if test "x$ac_cv_with_pthread" = xno; then : 23203 ac_cv_pthread=no 23204else 23205 for ac_header in pthread.h 23206do : 23207 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" 23208if test "x$ac_cv_header_pthread_h" = xyes; then : 23209 cat >>confdefs.h <<_ACEOF 23210#define HAVE_PTHREAD_H 1 23211_ACEOF 23212 23213fi 23214 23215done 23216 23217 23218 if test "x$ac_cv_header_pthread_h" = xno; then : 23219 ac_cv_pthread=no 23220else 23221 ac_cv_pthread=pthread 23222 23223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 23224$as_echo_n "checking for pthread_create in -lpthread... " >&6; } 23225if ${ac_cv_lib_pthread_pthread_create+:} false; then : 23226 $as_echo_n "(cached) " >&6 23227else 23228 ac_check_lib_save_LIBS=$LIBS 23229LIBS="-lpthread $LIBS" 23230cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23231/* end confdefs.h. */ 23232 23233/* Override any GCC internal prototype to avoid an error. 23234 Use char because int might match the return type of a GCC 23235 builtin and then its argument prototype would still apply. */ 23236#ifdef __cplusplus 23237extern "C" 23238#endif 23239char pthread_create (); 23240int 23241main () 23242{ 23243return pthread_create (); 23244 ; 23245 return 0; 23246} 23247_ACEOF 23248if ac_fn_c_try_link "$LINENO"; then : 23249 ac_cv_lib_pthread_pthread_create=yes 23250else 23251 ac_cv_lib_pthread_pthread_create=no 23252fi 23253rm -f core conftest.err conftest.$ac_objext \ 23254 conftest$ac_exeext conftest.$ac_ext 23255LIBS=$ac_check_lib_save_LIBS 23256fi 23257{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 23258$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } 23259if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then : 23260 ac_pthread_dummy=yes 23261else 23262 ac_cv_pthread=no 23263fi 23264 23265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_exit in -lpthread" >&5 23266$as_echo_n "checking for pthread_exit in -lpthread... " >&6; } 23267if ${ac_cv_lib_pthread_pthread_exit+:} false; then : 23268 $as_echo_n "(cached) " >&6 23269else 23270 ac_check_lib_save_LIBS=$LIBS 23271LIBS="-lpthread $LIBS" 23272cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23273/* end confdefs.h. */ 23274 23275/* Override any GCC internal prototype to avoid an error. 23276 Use char because int might match the return type of a GCC 23277 builtin and then its argument prototype would still apply. */ 23278#ifdef __cplusplus 23279extern "C" 23280#endif 23281char pthread_exit (); 23282int 23283main () 23284{ 23285return pthread_exit (); 23286 ; 23287 return 0; 23288} 23289_ACEOF 23290if ac_fn_c_try_link "$LINENO"; then : 23291 ac_cv_lib_pthread_pthread_exit=yes 23292else 23293 ac_cv_lib_pthread_pthread_exit=no 23294fi 23295rm -f core conftest.err conftest.$ac_objext \ 23296 conftest$ac_exeext conftest.$ac_ext 23297LIBS=$ac_check_lib_save_LIBS 23298fi 23299{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_exit" >&5 23300$as_echo "$ac_cv_lib_pthread_pthread_exit" >&6; } 23301if test "x$ac_cv_lib_pthread_pthread_exit" = xyes; then : 23302 ac_pthread_dummy=yes 23303else 23304 ac_cv_pthread=no 23305fi 23306 23307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in -lpthread" >&5 23308$as_echo_n "checking for pthread_join in -lpthread... " >&6; } 23309if ${ac_cv_lib_pthread_pthread_join+:} false; then : 23310 $as_echo_n "(cached) " >&6 23311else 23312 ac_check_lib_save_LIBS=$LIBS 23313LIBS="-lpthread $LIBS" 23314cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23315/* end confdefs.h. */ 23316 23317/* Override any GCC internal prototype to avoid an error. 23318 Use char because int might match the return type of a GCC 23319 builtin and then its argument prototype would still apply. */ 23320#ifdef __cplusplus 23321extern "C" 23322#endif 23323char pthread_join (); 23324int 23325main () 23326{ 23327return pthread_join (); 23328 ; 23329 return 0; 23330} 23331_ACEOF 23332if ac_fn_c_try_link "$LINENO"; then : 23333 ac_cv_lib_pthread_pthread_join=yes 23334else 23335 ac_cv_lib_pthread_pthread_join=no 23336fi 23337rm -f core conftest.err conftest.$ac_objext \ 23338 conftest$ac_exeext conftest.$ac_ext 23339LIBS=$ac_check_lib_save_LIBS 23340fi 23341{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_join" >&5 23342$as_echo "$ac_cv_lib_pthread_pthread_join" >&6; } 23343if test "x$ac_cv_lib_pthread_pthread_join" = xyes; then : 23344 ac_pthread_dummy=yes 23345else 23346 ac_cv_pthread=no 23347fi 23348 23349 23350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_init in -lpthread" >&5 23351$as_echo_n "checking for pthread_cond_init in -lpthread... " >&6; } 23352if ${ac_cv_lib_pthread_pthread_cond_init+:} false; then : 23353 $as_echo_n "(cached) " >&6 23354else 23355 ac_check_lib_save_LIBS=$LIBS 23356LIBS="-lpthread $LIBS" 23357cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23358/* end confdefs.h. */ 23359 23360/* Override any GCC internal prototype to avoid an error. 23361 Use char because int might match the return type of a GCC 23362 builtin and then its argument prototype would still apply. */ 23363#ifdef __cplusplus 23364extern "C" 23365#endif 23366char pthread_cond_init (); 23367int 23368main () 23369{ 23370return pthread_cond_init (); 23371 ; 23372 return 0; 23373} 23374_ACEOF 23375if ac_fn_c_try_link "$LINENO"; then : 23376 ac_cv_lib_pthread_pthread_cond_init=yes 23377else 23378 ac_cv_lib_pthread_pthread_cond_init=no 23379fi 23380rm -f core conftest.err conftest.$ac_objext \ 23381 conftest$ac_exeext conftest.$ac_ext 23382LIBS=$ac_check_lib_save_LIBS 23383fi 23384{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_init" >&5 23385$as_echo "$ac_cv_lib_pthread_pthread_cond_init" >&6; } 23386if test "x$ac_cv_lib_pthread_pthread_cond_init" = xyes; then : 23387 ac_pthread_dummy=yes 23388else 23389 ac_cv_pthread=no 23390fi 23391 23392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_destroy in -lpthread" >&5 23393$as_echo_n "checking for pthread_cond_destroy in -lpthread... " >&6; } 23394if ${ac_cv_lib_pthread_pthread_cond_destroy+:} false; then : 23395 $as_echo_n "(cached) " >&6 23396else 23397 ac_check_lib_save_LIBS=$LIBS 23398LIBS="-lpthread $LIBS" 23399cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23400/* end confdefs.h. */ 23401 23402/* Override any GCC internal prototype to avoid an error. 23403 Use char because int might match the return type of a GCC 23404 builtin and then its argument prototype would still apply. */ 23405#ifdef __cplusplus 23406extern "C" 23407#endif 23408char pthread_cond_destroy (); 23409int 23410main () 23411{ 23412return pthread_cond_destroy (); 23413 ; 23414 return 0; 23415} 23416_ACEOF 23417if ac_fn_c_try_link "$LINENO"; then : 23418 ac_cv_lib_pthread_pthread_cond_destroy=yes 23419else 23420 ac_cv_lib_pthread_pthread_cond_destroy=no 23421fi 23422rm -f core conftest.err conftest.$ac_objext \ 23423 conftest$ac_exeext conftest.$ac_ext 23424LIBS=$ac_check_lib_save_LIBS 23425fi 23426{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_destroy" >&5 23427$as_echo "$ac_cv_lib_pthread_pthread_cond_destroy" >&6; } 23428if test "x$ac_cv_lib_pthread_pthread_cond_destroy" = xyes; then : 23429 ac_pthread_dummy=yes 23430else 23431 ac_cv_pthread=no 23432fi 23433 23434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_broadcast in -lpthread" >&5 23435$as_echo_n "checking for pthread_cond_broadcast in -lpthread... " >&6; } 23436if ${ac_cv_lib_pthread_pthread_cond_broadcast+:} false; then : 23437 $as_echo_n "(cached) " >&6 23438else 23439 ac_check_lib_save_LIBS=$LIBS 23440LIBS="-lpthread $LIBS" 23441cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23442/* end confdefs.h. */ 23443 23444/* Override any GCC internal prototype to avoid an error. 23445 Use char because int might match the return type of a GCC 23446 builtin and then its argument prototype would still apply. */ 23447#ifdef __cplusplus 23448extern "C" 23449#endif 23450char pthread_cond_broadcast (); 23451int 23452main () 23453{ 23454return pthread_cond_broadcast (); 23455 ; 23456 return 0; 23457} 23458_ACEOF 23459if ac_fn_c_try_link "$LINENO"; then : 23460 ac_cv_lib_pthread_pthread_cond_broadcast=yes 23461else 23462 ac_cv_lib_pthread_pthread_cond_broadcast=no 23463fi 23464rm -f core conftest.err conftest.$ac_objext \ 23465 conftest$ac_exeext conftest.$ac_ext 23466LIBS=$ac_check_lib_save_LIBS 23467fi 23468{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_broadcast" >&5 23469$as_echo "$ac_cv_lib_pthread_pthread_cond_broadcast" >&6; } 23470if test "x$ac_cv_lib_pthread_pthread_cond_broadcast" = xyes; then : 23471 ac_pthread_dummy=yes 23472else 23473 ac_cv_pthread=no 23474fi 23475 23476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_signal in -lpthread" >&5 23477$as_echo_n "checking for pthread_cond_signal in -lpthread... " >&6; } 23478if ${ac_cv_lib_pthread_pthread_cond_signal+:} false; then : 23479 $as_echo_n "(cached) " >&6 23480else 23481 ac_check_lib_save_LIBS=$LIBS 23482LIBS="-lpthread $LIBS" 23483cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23484/* end confdefs.h. */ 23485 23486/* Override any GCC internal prototype to avoid an error. 23487 Use char because int might match the return type of a GCC 23488 builtin and then its argument prototype would still apply. */ 23489#ifdef __cplusplus 23490extern "C" 23491#endif 23492char pthread_cond_signal (); 23493int 23494main () 23495{ 23496return pthread_cond_signal (); 23497 ; 23498 return 0; 23499} 23500_ACEOF 23501if ac_fn_c_try_link "$LINENO"; then : 23502 ac_cv_lib_pthread_pthread_cond_signal=yes 23503else 23504 ac_cv_lib_pthread_pthread_cond_signal=no 23505fi 23506rm -f core conftest.err conftest.$ac_objext \ 23507 conftest$ac_exeext conftest.$ac_ext 23508LIBS=$ac_check_lib_save_LIBS 23509fi 23510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_signal" >&5 23511$as_echo "$ac_cv_lib_pthread_pthread_cond_signal" >&6; } 23512if test "x$ac_cv_lib_pthread_pthread_cond_signal" = xyes; then : 23513 ac_pthread_dummy=yes 23514else 23515 ac_cv_pthread=no 23516fi 23517 23518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_wait in -lpthread" >&5 23519$as_echo_n "checking for pthread_cond_wait in -lpthread... " >&6; } 23520if ${ac_cv_lib_pthread_pthread_cond_wait+:} false; then : 23521 $as_echo_n "(cached) " >&6 23522else 23523 ac_check_lib_save_LIBS=$LIBS 23524LIBS="-lpthread $LIBS" 23525cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23526/* end confdefs.h. */ 23527 23528/* Override any GCC internal prototype to avoid an error. 23529 Use char because int might match the return type of a GCC 23530 builtin and then its argument prototype would still apply. */ 23531#ifdef __cplusplus 23532extern "C" 23533#endif 23534char pthread_cond_wait (); 23535int 23536main () 23537{ 23538return pthread_cond_wait (); 23539 ; 23540 return 0; 23541} 23542_ACEOF 23543if ac_fn_c_try_link "$LINENO"; then : 23544 ac_cv_lib_pthread_pthread_cond_wait=yes 23545else 23546 ac_cv_lib_pthread_pthread_cond_wait=no 23547fi 23548rm -f core conftest.err conftest.$ac_objext \ 23549 conftest$ac_exeext conftest.$ac_ext 23550LIBS=$ac_check_lib_save_LIBS 23551fi 23552{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_wait" >&5 23553$as_echo "$ac_cv_lib_pthread_pthread_cond_wait" >&6; } 23554if test "x$ac_cv_lib_pthread_pthread_cond_wait" = xyes; then : 23555 ac_pthread_dummy=yes 23556else 23557 ac_cv_pthread=no 23558fi 23559 23560 23561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lpthread" >&5 23562$as_echo_n "checking for pthread_mutex_init in -lpthread... " >&6; } 23563if ${ac_cv_lib_pthread_pthread_mutex_init+:} false; then : 23564 $as_echo_n "(cached) " >&6 23565else 23566 ac_check_lib_save_LIBS=$LIBS 23567LIBS="-lpthread $LIBS" 23568cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23569/* end confdefs.h. */ 23570 23571/* Override any GCC internal prototype to avoid an error. 23572 Use char because int might match the return type of a GCC 23573 builtin and then its argument prototype would still apply. */ 23574#ifdef __cplusplus 23575extern "C" 23576#endif 23577char pthread_mutex_init (); 23578int 23579main () 23580{ 23581return pthread_mutex_init (); 23582 ; 23583 return 0; 23584} 23585_ACEOF 23586if ac_fn_c_try_link "$LINENO"; then : 23587 ac_cv_lib_pthread_pthread_mutex_init=yes 23588else 23589 ac_cv_lib_pthread_pthread_mutex_init=no 23590fi 23591rm -f core conftest.err conftest.$ac_objext \ 23592 conftest$ac_exeext conftest.$ac_ext 23593LIBS=$ac_check_lib_save_LIBS 23594fi 23595{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5 23596$as_echo "$ac_cv_lib_pthread_pthread_mutex_init" >&6; } 23597if test "x$ac_cv_lib_pthread_pthread_mutex_init" = xyes; then : 23598 ac_pthread_dummy=yes 23599else 23600 ac_cv_pthread=no 23601fi 23602 23603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_destroy in -lpthread" >&5 23604$as_echo_n "checking for pthread_mutex_destroy in -lpthread... " >&6; } 23605if ${ac_cv_lib_pthread_pthread_mutex_destroy+:} false; then : 23606 $as_echo_n "(cached) " >&6 23607else 23608 ac_check_lib_save_LIBS=$LIBS 23609LIBS="-lpthread $LIBS" 23610cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23611/* end confdefs.h. */ 23612 23613/* Override any GCC internal prototype to avoid an error. 23614 Use char because int might match the return type of a GCC 23615 builtin and then its argument prototype would still apply. */ 23616#ifdef __cplusplus 23617extern "C" 23618#endif 23619char pthread_mutex_destroy (); 23620int 23621main () 23622{ 23623return pthread_mutex_destroy (); 23624 ; 23625 return 0; 23626} 23627_ACEOF 23628if ac_fn_c_try_link "$LINENO"; then : 23629 ac_cv_lib_pthread_pthread_mutex_destroy=yes 23630else 23631 ac_cv_lib_pthread_pthread_mutex_destroy=no 23632fi 23633rm -f core conftest.err conftest.$ac_objext \ 23634 conftest$ac_exeext conftest.$ac_ext 23635LIBS=$ac_check_lib_save_LIBS 23636fi 23637{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_destroy" >&5 23638$as_echo "$ac_cv_lib_pthread_pthread_mutex_destroy" >&6; } 23639if test "x$ac_cv_lib_pthread_pthread_mutex_destroy" = xyes; then : 23640 ac_pthread_dummy=yes 23641else 23642 ac_cv_pthread=no 23643fi 23644 23645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_lock in -lpthread" >&5 23646$as_echo_n "checking for pthread_mutex_lock in -lpthread... " >&6; } 23647if ${ac_cv_lib_pthread_pthread_mutex_lock+:} false; then : 23648 $as_echo_n "(cached) " >&6 23649else 23650 ac_check_lib_save_LIBS=$LIBS 23651LIBS="-lpthread $LIBS" 23652cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23653/* end confdefs.h. */ 23654 23655/* Override any GCC internal prototype to avoid an error. 23656 Use char because int might match the return type of a GCC 23657 builtin and then its argument prototype would still apply. */ 23658#ifdef __cplusplus 23659extern "C" 23660#endif 23661char pthread_mutex_lock (); 23662int 23663main () 23664{ 23665return pthread_mutex_lock (); 23666 ; 23667 return 0; 23668} 23669_ACEOF 23670if ac_fn_c_try_link "$LINENO"; then : 23671 ac_cv_lib_pthread_pthread_mutex_lock=yes 23672else 23673 ac_cv_lib_pthread_pthread_mutex_lock=no 23674fi 23675rm -f core conftest.err conftest.$ac_objext \ 23676 conftest$ac_exeext conftest.$ac_ext 23677LIBS=$ac_check_lib_save_LIBS 23678fi 23679{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_lock" >&5 23680$as_echo "$ac_cv_lib_pthread_pthread_mutex_lock" >&6; } 23681if test "x$ac_cv_lib_pthread_pthread_mutex_lock" = xyes; then : 23682 ac_pthread_dummy=yes 23683else 23684 ac_cv_pthread=no 23685fi 23686 23687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_trylock in -lpthread" >&5 23688$as_echo_n "checking for pthread_mutex_trylock in -lpthread... " >&6; } 23689if ${ac_cv_lib_pthread_pthread_mutex_trylock+:} false; then : 23690 $as_echo_n "(cached) " >&6 23691else 23692 ac_check_lib_save_LIBS=$LIBS 23693LIBS="-lpthread $LIBS" 23694cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23695/* end confdefs.h. */ 23696 23697/* Override any GCC internal prototype to avoid an error. 23698 Use char because int might match the return type of a GCC 23699 builtin and then its argument prototype would still apply. */ 23700#ifdef __cplusplus 23701extern "C" 23702#endif 23703char pthread_mutex_trylock (); 23704int 23705main () 23706{ 23707return pthread_mutex_trylock (); 23708 ; 23709 return 0; 23710} 23711_ACEOF 23712if ac_fn_c_try_link "$LINENO"; then : 23713 ac_cv_lib_pthread_pthread_mutex_trylock=yes 23714else 23715 ac_cv_lib_pthread_pthread_mutex_trylock=no 23716fi 23717rm -f core conftest.err conftest.$ac_objext \ 23718 conftest$ac_exeext conftest.$ac_ext 23719LIBS=$ac_check_lib_save_LIBS 23720fi 23721{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_trylock" >&5 23722$as_echo "$ac_cv_lib_pthread_pthread_mutex_trylock" >&6; } 23723if test "x$ac_cv_lib_pthread_pthread_mutex_trylock" = xyes; then : 23724 ac_pthread_dummy=yes 23725else 23726 ac_cv_pthread=no 23727fi 23728 23729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_unlock in -lpthread" >&5 23730$as_echo_n "checking for pthread_mutex_unlock in -lpthread... " >&6; } 23731if ${ac_cv_lib_pthread_pthread_mutex_unlock+:} false; then : 23732 $as_echo_n "(cached) " >&6 23733else 23734 ac_check_lib_save_LIBS=$LIBS 23735LIBS="-lpthread $LIBS" 23736cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23737/* end confdefs.h. */ 23738 23739/* Override any GCC internal prototype to avoid an error. 23740 Use char because int might match the return type of a GCC 23741 builtin and then its argument prototype would still apply. */ 23742#ifdef __cplusplus 23743extern "C" 23744#endif 23745char pthread_mutex_unlock (); 23746int 23747main () 23748{ 23749return pthread_mutex_unlock (); 23750 ; 23751 return 0; 23752} 23753_ACEOF 23754if ac_fn_c_try_link "$LINENO"; then : 23755 ac_cv_lib_pthread_pthread_mutex_unlock=yes 23756else 23757 ac_cv_lib_pthread_pthread_mutex_unlock=no 23758fi 23759rm -f core conftest.err conftest.$ac_objext \ 23760 conftest$ac_exeext conftest.$ac_ext 23761LIBS=$ac_check_lib_save_LIBS 23762fi 23763{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_unlock" >&5 23764$as_echo "$ac_cv_lib_pthread_pthread_mutex_unlock" >&6; } 23765if test "x$ac_cv_lib_pthread_pthread_mutex_unlock" = xyes; then : 23766 ac_pthread_dummy=yes 23767else 23768 ac_cv_pthread=no 23769fi 23770 23771 23772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_init in -lpthread" >&5 23773$as_echo_n "checking for pthread_rwlock_init in -lpthread... " >&6; } 23774if ${ac_cv_lib_pthread_pthread_rwlock_init+:} false; then : 23775 $as_echo_n "(cached) " >&6 23776else 23777 ac_check_lib_save_LIBS=$LIBS 23778LIBS="-lpthread $LIBS" 23779cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23780/* end confdefs.h. */ 23781 23782/* Override any GCC internal prototype to avoid an error. 23783 Use char because int might match the return type of a GCC 23784 builtin and then its argument prototype would still apply. */ 23785#ifdef __cplusplus 23786extern "C" 23787#endif 23788char pthread_rwlock_init (); 23789int 23790main () 23791{ 23792return pthread_rwlock_init (); 23793 ; 23794 return 0; 23795} 23796_ACEOF 23797if ac_fn_c_try_link "$LINENO"; then : 23798 ac_cv_lib_pthread_pthread_rwlock_init=yes 23799else 23800 ac_cv_lib_pthread_pthread_rwlock_init=no 23801fi 23802rm -f core conftest.err conftest.$ac_objext \ 23803 conftest$ac_exeext conftest.$ac_ext 23804LIBS=$ac_check_lib_save_LIBS 23805fi 23806{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_init" >&5 23807$as_echo "$ac_cv_lib_pthread_pthread_rwlock_init" >&6; } 23808if test "x$ac_cv_lib_pthread_pthread_rwlock_init" = xyes; then : 23809 ac_pthread_dummy=yes 23810else 23811 ac_cv_pthread=no 23812fi 23813 23814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_destroy in -lpthread" >&5 23815$as_echo_n "checking for pthread_rwlock_destroy in -lpthread... " >&6; } 23816if ${ac_cv_lib_pthread_pthread_rwlock_destroy+:} false; then : 23817 $as_echo_n "(cached) " >&6 23818else 23819 ac_check_lib_save_LIBS=$LIBS 23820LIBS="-lpthread $LIBS" 23821cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23822/* end confdefs.h. */ 23823 23824/* Override any GCC internal prototype to avoid an error. 23825 Use char because int might match the return type of a GCC 23826 builtin and then its argument prototype would still apply. */ 23827#ifdef __cplusplus 23828extern "C" 23829#endif 23830char pthread_rwlock_destroy (); 23831int 23832main () 23833{ 23834return pthread_rwlock_destroy (); 23835 ; 23836 return 0; 23837} 23838_ACEOF 23839if ac_fn_c_try_link "$LINENO"; then : 23840 ac_cv_lib_pthread_pthread_rwlock_destroy=yes 23841else 23842 ac_cv_lib_pthread_pthread_rwlock_destroy=no 23843fi 23844rm -f core conftest.err conftest.$ac_objext \ 23845 conftest$ac_exeext conftest.$ac_ext 23846LIBS=$ac_check_lib_save_LIBS 23847fi 23848{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_destroy" >&5 23849$as_echo "$ac_cv_lib_pthread_pthread_rwlock_destroy" >&6; } 23850if test "x$ac_cv_lib_pthread_pthread_rwlock_destroy" = xyes; then : 23851 ac_pthread_dummy=yes 23852else 23853 ac_cv_pthread=no 23854fi 23855 23856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_rdlock in -lpthread" >&5 23857$as_echo_n "checking for pthread_rwlock_rdlock in -lpthread... " >&6; } 23858if ${ac_cv_lib_pthread_pthread_rwlock_rdlock+:} false; then : 23859 $as_echo_n "(cached) " >&6 23860else 23861 ac_check_lib_save_LIBS=$LIBS 23862LIBS="-lpthread $LIBS" 23863cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23864/* end confdefs.h. */ 23865 23866/* Override any GCC internal prototype to avoid an error. 23867 Use char because int might match the return type of a GCC 23868 builtin and then its argument prototype would still apply. */ 23869#ifdef __cplusplus 23870extern "C" 23871#endif 23872char pthread_rwlock_rdlock (); 23873int 23874main () 23875{ 23876return pthread_rwlock_rdlock (); 23877 ; 23878 return 0; 23879} 23880_ACEOF 23881if ac_fn_c_try_link "$LINENO"; then : 23882 ac_cv_lib_pthread_pthread_rwlock_rdlock=yes 23883else 23884 ac_cv_lib_pthread_pthread_rwlock_rdlock=no 23885fi 23886rm -f core conftest.err conftest.$ac_objext \ 23887 conftest$ac_exeext conftest.$ac_ext 23888LIBS=$ac_check_lib_save_LIBS 23889fi 23890{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_rdlock" >&5 23891$as_echo "$ac_cv_lib_pthread_pthread_rwlock_rdlock" >&6; } 23892if test "x$ac_cv_lib_pthread_pthread_rwlock_rdlock" = xyes; then : 23893 ac_pthread_dummy=yes 23894else 23895 ac_cv_pthread=no 23896fi 23897 23898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_wrlock in -lpthread" >&5 23899$as_echo_n "checking for pthread_rwlock_wrlock in -lpthread... " >&6; } 23900if ${ac_cv_lib_pthread_pthread_rwlock_wrlock+:} false; then : 23901 $as_echo_n "(cached) " >&6 23902else 23903 ac_check_lib_save_LIBS=$LIBS 23904LIBS="-lpthread $LIBS" 23905cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23906/* end confdefs.h. */ 23907 23908/* Override any GCC internal prototype to avoid an error. 23909 Use char because int might match the return type of a GCC 23910 builtin and then its argument prototype would still apply. */ 23911#ifdef __cplusplus 23912extern "C" 23913#endif 23914char pthread_rwlock_wrlock (); 23915int 23916main () 23917{ 23918return pthread_rwlock_wrlock (); 23919 ; 23920 return 0; 23921} 23922_ACEOF 23923if ac_fn_c_try_link "$LINENO"; then : 23924 ac_cv_lib_pthread_pthread_rwlock_wrlock=yes 23925else 23926 ac_cv_lib_pthread_pthread_rwlock_wrlock=no 23927fi 23928rm -f core conftest.err conftest.$ac_objext \ 23929 conftest$ac_exeext conftest.$ac_ext 23930LIBS=$ac_check_lib_save_LIBS 23931fi 23932{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_wrlock" >&5 23933$as_echo "$ac_cv_lib_pthread_pthread_rwlock_wrlock" >&6; } 23934if test "x$ac_cv_lib_pthread_pthread_rwlock_wrlock" = xyes; then : 23935 ac_pthread_dummy=yes 23936else 23937 ac_cv_pthread=no 23938fi 23939 23940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_unlock in -lpthread" >&5 23941$as_echo_n "checking for pthread_rwlock_unlock in -lpthread... " >&6; } 23942if ${ac_cv_lib_pthread_pthread_rwlock_unlock+:} false; then : 23943 $as_echo_n "(cached) " >&6 23944else 23945 ac_check_lib_save_LIBS=$LIBS 23946LIBS="-lpthread $LIBS" 23947cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23948/* end confdefs.h. */ 23949 23950/* Override any GCC internal prototype to avoid an error. 23951 Use char because int might match the return type of a GCC 23952 builtin and then its argument prototype would still apply. */ 23953#ifdef __cplusplus 23954extern "C" 23955#endif 23956char pthread_rwlock_unlock (); 23957int 23958main () 23959{ 23960return pthread_rwlock_unlock (); 23961 ; 23962 return 0; 23963} 23964_ACEOF 23965if ac_fn_c_try_link "$LINENO"; then : 23966 ac_cv_lib_pthread_pthread_rwlock_unlock=yes 23967else 23968 ac_cv_lib_pthread_pthread_rwlock_unlock=no 23969fi 23970rm -f core conftest.err conftest.$ac_objext \ 23971 conftest$ac_exeext conftest.$ac_ext 23972LIBS=$ac_check_lib_save_LIBS 23973fi 23974{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_unlock" >&5 23975$as_echo "$ac_cv_lib_pthread_pthread_rwlock_unlock" >&6; } 23976if test "x$ac_cv_lib_pthread_pthread_rwlock_unlock" = xyes; then : 23977 ac_pthread_dummy=yes 23978else 23979 ac_cv_pthread=no 23980fi 23981 23982 23983 ac_cv_pthread_LIBADD="-lpthread"; 23984 23985fi 23986 23987fi 23988 23989 if test "x$ac_cv_pthread" = xpthread; then : 23990 23991$as_echo "#define HAVE_PTHREAD 1" >>confdefs.h 23992 23993 23994fi 23995 23996 if test "x$ac_cv_pthread" != xno; then : 23997 HAVE_PTHREAD=1 23998 23999else 24000 HAVE_PTHREAD=0 24001 24002 24003fi 24004 24005 24006 if test "x$ac_cv_pthread_CPPFLAGS" != "x"; then : 24007 PTHREAD_CPPFLAGS=$ac_cv_pthread_CPPFLAGS 24008 24009 24010fi 24011 if test "x$ac_cv_pthread_LIBADD" != "x"; then : 24012 PTHREAD_LIBADD=$ac_cv_pthread_LIBADD 24013 24014 24015fi 24016 24017 if test "x$ac_cv_pthread" = xpthread; then : 24018 ax_pthread_pc_libs_private=-lpthread 24019 24020 24021fi 24022 24023 ac_cv_libcthreads_multi_threading=$ac_cv_pthread 24024else 24025 ac_cv_libcthreads_multi_threading="winapi" 24026fi 24027 24028 if test "x$ac_cv_libcthreads_multi_threading" != xno; then : 24029 ac_cv_libcthreads_CPPFLAGS="-I../libcthreads"; 24030 ac_cv_libcthreads_LIBADD="../libcthreads/libcthreads.la"; 24031 24032 ac_cv_libcthreads=local 24033else 24034 ac_cv_libcthreads=no 24035fi 24036 24037 24038 24039$as_echo "#define HAVE_LOCAL_LIBCTHREADS 1" >>confdefs.h 24040 24041 HAVE_LOCAL_LIBCTHREADS=1 24042 24043 24044fi 24045 24046fi 24047 24048 if test "x$ac_cv_libcthreads" = xlocal; then 24049 HAVE_LOCAL_LIBCTHREADS_TRUE= 24050 HAVE_LOCAL_LIBCTHREADS_FALSE='#' 24051else 24052 HAVE_LOCAL_LIBCTHREADS_TRUE='#' 24053 HAVE_LOCAL_LIBCTHREADS_FALSE= 24054fi 24055 24056 if test "x$ac_cv_libcthreads_CPPFLAGS" != "x"; then : 24057 LIBCTHREADS_CPPFLAGS=$ac_cv_libcthreads_CPPFLAGS 24058 24059 24060fi 24061 if test "x$ac_cv_libcthreads_LIBADD" != "x"; then : 24062 LIBCTHREADS_LIBADD=$ac_cv_libcthreads_LIBADD 24063 24064 24065fi 24066 24067 if test "x$ac_cv_libcthreads" != xno; then : 24068 24069$as_echo "#define HAVE_MULTI_THREAD_SUPPORT 1" >>confdefs.h 24070 24071 HAVE_MULTI_THREAD_SUPPORT=1 24072 24073else 24074 HAVE_MULTI_THREAD_SUPPORT=0 24075 24076 24077fi 24078 24079 if test "x$ac_cv_libcthreads" = xyes; then : 24080 ax_libcthreads_pc_libs_private=-lcthreads 24081 24082 24083fi 24084 24085 if test "x$ac_cv_libcthreads" = xyes; then : 24086 ax_libcthreads_spec_requires=libcthreads 24087 24088 ax_libcthreads_spec_build_requires=libcthreads-devel 24089 24090 24091fi 24092 24093 24094 24095 24096# Check whether --with-libcdata was given. 24097if test "${with_libcdata+set}" = set; then : 24098 withval=$with_libcdata; ac_cv_with_libcdata=$withval 24099else 24100 ac_cv_with_libcdata=auto-detect 24101fi 24102 24103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use search for libcdata in includedir and libdir or in the specified DIR, or no if to use local version" >&5 24104$as_echo_n "checking whether to use search for libcdata in includedir and libdir or in the specified DIR, or no if to use local version... " >&6; } 24105if ${ac_cv_with_libcdata+:} false; then : 24106 $as_echo_n "(cached) " >&6 24107else 24108 ac_cv_with_libcdata=auto-detect 24109fi 24110{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcdata" >&5 24111$as_echo "$ac_cv_with_libcdata" >&6; } 24112 24113 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcdata" = xno; then : 24114 ac_cv_libcdata=no 24115else 24116 ac_cv_libcdata=check 24117 if test "x$ac_cv_with_libcdata" != x && test "x$ac_cv_with_libcdata" != xauto-detect; then : 24118 if test -d "$ac_cv_with_libcdata"; then : 24119 CFLAGS="$CFLAGS -I${ac_cv_with_libcdata}/include" 24120 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcdata}/lib" 24121else 24122 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 24123$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 24124as_fn_error 1 "no such directory: $ac_cv_with_libcdata 24125See \`config.log' for more details" "$LINENO" 5; } 24126 24127fi 24128 24129else 24130 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 24131 24132pkg_failed=no 24133{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata" >&5 24134$as_echo_n "checking for libcdata... " >&6; } 24135 24136if test -n "$libcdata_CFLAGS"; then 24137 pkg_cv_libcdata_CFLAGS="$libcdata_CFLAGS" 24138 elif test -n "$PKG_CONFIG"; then 24139 if test -n "$PKG_CONFIG" && \ 24140 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcdata >= 20190112\""; } >&5 24141 ($PKG_CONFIG --exists --print-errors "libcdata >= 20190112") 2>&5 24142 ac_status=$? 24143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 24144 test $ac_status = 0; }; then 24145 pkg_cv_libcdata_CFLAGS=`$PKG_CONFIG --cflags "libcdata >= 20190112" 2>/dev/null` 24146 test "x$?" != "x0" && pkg_failed=yes 24147else 24148 pkg_failed=yes 24149fi 24150 else 24151 pkg_failed=untried 24152fi 24153if test -n "$libcdata_LIBS"; then 24154 pkg_cv_libcdata_LIBS="$libcdata_LIBS" 24155 elif test -n "$PKG_CONFIG"; then 24156 if test -n "$PKG_CONFIG" && \ 24157 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcdata >= 20190112\""; } >&5 24158 ($PKG_CONFIG --exists --print-errors "libcdata >= 20190112") 2>&5 24159 ac_status=$? 24160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 24161 test $ac_status = 0; }; then 24162 pkg_cv_libcdata_LIBS=`$PKG_CONFIG --libs "libcdata >= 20190112" 2>/dev/null` 24163 test "x$?" != "x0" && pkg_failed=yes 24164else 24165 pkg_failed=yes 24166fi 24167 else 24168 pkg_failed=untried 24169fi 24170 24171 24172 24173if test $pkg_failed = yes; then 24174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24175$as_echo "no" >&6; } 24176 24177if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 24178 _pkg_short_errors_supported=yes 24179else 24180 _pkg_short_errors_supported=no 24181fi 24182 if test $_pkg_short_errors_supported = yes; then 24183 libcdata_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcdata >= 20190112" 2>&1` 24184 else 24185 libcdata_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcdata >= 20190112" 2>&1` 24186 fi 24187 # Put the nasty error message in config.log where it belongs 24188 echo "$libcdata_PKG_ERRORS" >&5 24189 24190 ac_cv_libcdata=check 24191elif test $pkg_failed = untried; then 24192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24193$as_echo "no" >&6; } 24194 ac_cv_libcdata=check 24195else 24196 libcdata_CFLAGS=$pkg_cv_libcdata_CFLAGS 24197 libcdata_LIBS=$pkg_cv_libcdata_LIBS 24198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24199$as_echo "yes" >&6; } 24200 ac_cv_libcdata=yes 24201fi 24202 24203fi 24204 if test "x$ac_cv_libcdata" = xyes; then : 24205 ac_cv_libcdata_CPPFLAGS="$pkg_cv_libcdata_CFLAGS" 24206 ac_cv_libcdata_LIBADD="$pkg_cv_libcdata_LIBS" 24207fi 24208 24209fi 24210 24211 if test "x$ac_cv_libcdata" = xcheck; then : 24212 for ac_header in libcdata.h 24213do : 24214 ac_fn_c_check_header_mongrel "$LINENO" "libcdata.h" "ac_cv_header_libcdata_h" "$ac_includes_default" 24215if test "x$ac_cv_header_libcdata_h" = xyes; then : 24216 cat >>confdefs.h <<_ACEOF 24217#define HAVE_LIBCDATA_H 1 24218_ACEOF 24219 24220fi 24221 24222done 24223 24224 24225 if test "x$ac_cv_header_libcdata_h" = xno; then : 24226 ac_cv_libcdata=no 24227else 24228 ac_cv_libcdata=yes 24229 24230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_get_version in -lcdata" >&5 24231$as_echo_n "checking for libcdata_get_version in -lcdata... " >&6; } 24232if ${ac_cv_lib_cdata_libcdata_get_version+:} false; then : 24233 $as_echo_n "(cached) " >&6 24234else 24235 ac_check_lib_save_LIBS=$LIBS 24236LIBS="-lcdata $LIBS" 24237cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24238/* end confdefs.h. */ 24239 24240/* Override any GCC internal prototype to avoid an error. 24241 Use char because int might match the return type of a GCC 24242 builtin and then its argument prototype would still apply. */ 24243#ifdef __cplusplus 24244extern "C" 24245#endif 24246char libcdata_get_version (); 24247int 24248main () 24249{ 24250return libcdata_get_version (); 24251 ; 24252 return 0; 24253} 24254_ACEOF 24255if ac_fn_c_try_link "$LINENO"; then : 24256 ac_cv_lib_cdata_libcdata_get_version=yes 24257else 24258 ac_cv_lib_cdata_libcdata_get_version=no 24259fi 24260rm -f core conftest.err conftest.$ac_objext \ 24261 conftest$ac_exeext conftest.$ac_ext 24262LIBS=$ac_check_lib_save_LIBS 24263fi 24264{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_get_version" >&5 24265$as_echo "$ac_cv_lib_cdata_libcdata_get_version" >&6; } 24266if test "x$ac_cv_lib_cdata_libcdata_get_version" = xyes; then : 24267 ac_cv_libcdata_dummy=yes 24268else 24269 ac_cv_libcdata=no 24270fi 24271 24272 24273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_initialize in -lcdata" >&5 24274$as_echo_n "checking for libcdata_array_initialize in -lcdata... " >&6; } 24275if ${ac_cv_lib_cdata_libcdata_array_initialize+:} false; then : 24276 $as_echo_n "(cached) " >&6 24277else 24278 ac_check_lib_save_LIBS=$LIBS 24279LIBS="-lcdata $LIBS" 24280cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24281/* end confdefs.h. */ 24282 24283/* Override any GCC internal prototype to avoid an error. 24284 Use char because int might match the return type of a GCC 24285 builtin and then its argument prototype would still apply. */ 24286#ifdef __cplusplus 24287extern "C" 24288#endif 24289char libcdata_array_initialize (); 24290int 24291main () 24292{ 24293return libcdata_array_initialize (); 24294 ; 24295 return 0; 24296} 24297_ACEOF 24298if ac_fn_c_try_link "$LINENO"; then : 24299 ac_cv_lib_cdata_libcdata_array_initialize=yes 24300else 24301 ac_cv_lib_cdata_libcdata_array_initialize=no 24302fi 24303rm -f core conftest.err conftest.$ac_objext \ 24304 conftest$ac_exeext conftest.$ac_ext 24305LIBS=$ac_check_lib_save_LIBS 24306fi 24307{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_initialize" >&5 24308$as_echo "$ac_cv_lib_cdata_libcdata_array_initialize" >&6; } 24309if test "x$ac_cv_lib_cdata_libcdata_array_initialize" = xyes; then : 24310 ac_cv_libcdata_dummy=yes 24311else 24312 ac_cv_libcdata=no 24313fi 24314 24315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_free in -lcdata" >&5 24316$as_echo_n "checking for libcdata_array_free in -lcdata... " >&6; } 24317if ${ac_cv_lib_cdata_libcdata_array_free+:} false; then : 24318 $as_echo_n "(cached) " >&6 24319else 24320 ac_check_lib_save_LIBS=$LIBS 24321LIBS="-lcdata $LIBS" 24322cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24323/* end confdefs.h. */ 24324 24325/* Override any GCC internal prototype to avoid an error. 24326 Use char because int might match the return type of a GCC 24327 builtin and then its argument prototype would still apply. */ 24328#ifdef __cplusplus 24329extern "C" 24330#endif 24331char libcdata_array_free (); 24332int 24333main () 24334{ 24335return libcdata_array_free (); 24336 ; 24337 return 0; 24338} 24339_ACEOF 24340if ac_fn_c_try_link "$LINENO"; then : 24341 ac_cv_lib_cdata_libcdata_array_free=yes 24342else 24343 ac_cv_lib_cdata_libcdata_array_free=no 24344fi 24345rm -f core conftest.err conftest.$ac_objext \ 24346 conftest$ac_exeext conftest.$ac_ext 24347LIBS=$ac_check_lib_save_LIBS 24348fi 24349{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_free" >&5 24350$as_echo "$ac_cv_lib_cdata_libcdata_array_free" >&6; } 24351if test "x$ac_cv_lib_cdata_libcdata_array_free" = xyes; then : 24352 ac_cv_libcdata_dummy=yes 24353else 24354 ac_cv_libcdata=no 24355fi 24356 24357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_empty in -lcdata" >&5 24358$as_echo_n "checking for libcdata_array_empty in -lcdata... " >&6; } 24359if ${ac_cv_lib_cdata_libcdata_array_empty+:} false; then : 24360 $as_echo_n "(cached) " >&6 24361else 24362 ac_check_lib_save_LIBS=$LIBS 24363LIBS="-lcdata $LIBS" 24364cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24365/* end confdefs.h. */ 24366 24367/* Override any GCC internal prototype to avoid an error. 24368 Use char because int might match the return type of a GCC 24369 builtin and then its argument prototype would still apply. */ 24370#ifdef __cplusplus 24371extern "C" 24372#endif 24373char libcdata_array_empty (); 24374int 24375main () 24376{ 24377return libcdata_array_empty (); 24378 ; 24379 return 0; 24380} 24381_ACEOF 24382if ac_fn_c_try_link "$LINENO"; then : 24383 ac_cv_lib_cdata_libcdata_array_empty=yes 24384else 24385 ac_cv_lib_cdata_libcdata_array_empty=no 24386fi 24387rm -f core conftest.err conftest.$ac_objext \ 24388 conftest$ac_exeext conftest.$ac_ext 24389LIBS=$ac_check_lib_save_LIBS 24390fi 24391{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_empty" >&5 24392$as_echo "$ac_cv_lib_cdata_libcdata_array_empty" >&6; } 24393if test "x$ac_cv_lib_cdata_libcdata_array_empty" = xyes; then : 24394 ac_cv_libcdata_dummy=yes 24395else 24396 ac_cv_libcdata=no 24397fi 24398 24399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_clone in -lcdata" >&5 24400$as_echo_n "checking for libcdata_array_clone in -lcdata... " >&6; } 24401if ${ac_cv_lib_cdata_libcdata_array_clone+:} false; then : 24402 $as_echo_n "(cached) " >&6 24403else 24404 ac_check_lib_save_LIBS=$LIBS 24405LIBS="-lcdata $LIBS" 24406cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24407/* end confdefs.h. */ 24408 24409/* Override any GCC internal prototype to avoid an error. 24410 Use char because int might match the return type of a GCC 24411 builtin and then its argument prototype would still apply. */ 24412#ifdef __cplusplus 24413extern "C" 24414#endif 24415char libcdata_array_clone (); 24416int 24417main () 24418{ 24419return libcdata_array_clone (); 24420 ; 24421 return 0; 24422} 24423_ACEOF 24424if ac_fn_c_try_link "$LINENO"; then : 24425 ac_cv_lib_cdata_libcdata_array_clone=yes 24426else 24427 ac_cv_lib_cdata_libcdata_array_clone=no 24428fi 24429rm -f core conftest.err conftest.$ac_objext \ 24430 conftest$ac_exeext conftest.$ac_ext 24431LIBS=$ac_check_lib_save_LIBS 24432fi 24433{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_clone" >&5 24434$as_echo "$ac_cv_lib_cdata_libcdata_array_clone" >&6; } 24435if test "x$ac_cv_lib_cdata_libcdata_array_clone" = xyes; then : 24436 ac_cv_libcdata_dummy=yes 24437else 24438 ac_cv_libcdata=no 24439fi 24440 24441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_resize in -lcdata" >&5 24442$as_echo_n "checking for libcdata_array_resize in -lcdata... " >&6; } 24443if ${ac_cv_lib_cdata_libcdata_array_resize+:} false; then : 24444 $as_echo_n "(cached) " >&6 24445else 24446 ac_check_lib_save_LIBS=$LIBS 24447LIBS="-lcdata $LIBS" 24448cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24449/* end confdefs.h. */ 24450 24451/* Override any GCC internal prototype to avoid an error. 24452 Use char because int might match the return type of a GCC 24453 builtin and then its argument prototype would still apply. */ 24454#ifdef __cplusplus 24455extern "C" 24456#endif 24457char libcdata_array_resize (); 24458int 24459main () 24460{ 24461return libcdata_array_resize (); 24462 ; 24463 return 0; 24464} 24465_ACEOF 24466if ac_fn_c_try_link "$LINENO"; then : 24467 ac_cv_lib_cdata_libcdata_array_resize=yes 24468else 24469 ac_cv_lib_cdata_libcdata_array_resize=no 24470fi 24471rm -f core conftest.err conftest.$ac_objext \ 24472 conftest$ac_exeext conftest.$ac_ext 24473LIBS=$ac_check_lib_save_LIBS 24474fi 24475{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_resize" >&5 24476$as_echo "$ac_cv_lib_cdata_libcdata_array_resize" >&6; } 24477if test "x$ac_cv_lib_cdata_libcdata_array_resize" = xyes; then : 24478 ac_cv_libcdata_dummy=yes 24479else 24480 ac_cv_libcdata=no 24481fi 24482 24483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_reverse in -lcdata" >&5 24484$as_echo_n "checking for libcdata_array_reverse in -lcdata... " >&6; } 24485if ${ac_cv_lib_cdata_libcdata_array_reverse+:} false; then : 24486 $as_echo_n "(cached) " >&6 24487else 24488 ac_check_lib_save_LIBS=$LIBS 24489LIBS="-lcdata $LIBS" 24490cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24491/* end confdefs.h. */ 24492 24493/* Override any GCC internal prototype to avoid an error. 24494 Use char because int might match the return type of a GCC 24495 builtin and then its argument prototype would still apply. */ 24496#ifdef __cplusplus 24497extern "C" 24498#endif 24499char libcdata_array_reverse (); 24500int 24501main () 24502{ 24503return libcdata_array_reverse (); 24504 ; 24505 return 0; 24506} 24507_ACEOF 24508if ac_fn_c_try_link "$LINENO"; then : 24509 ac_cv_lib_cdata_libcdata_array_reverse=yes 24510else 24511 ac_cv_lib_cdata_libcdata_array_reverse=no 24512fi 24513rm -f core conftest.err conftest.$ac_objext \ 24514 conftest$ac_exeext conftest.$ac_ext 24515LIBS=$ac_check_lib_save_LIBS 24516fi 24517{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_reverse" >&5 24518$as_echo "$ac_cv_lib_cdata_libcdata_array_reverse" >&6; } 24519if test "x$ac_cv_lib_cdata_libcdata_array_reverse" = xyes; then : 24520 ac_cv_libcdata_dummy=yes 24521else 24522 ac_cv_libcdata=no 24523fi 24524 24525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_get_number_of_entries in -lcdata" >&5 24526$as_echo_n "checking for libcdata_array_get_number_of_entries in -lcdata... " >&6; } 24527if ${ac_cv_lib_cdata_libcdata_array_get_number_of_entries+:} false; then : 24528 $as_echo_n "(cached) " >&6 24529else 24530 ac_check_lib_save_LIBS=$LIBS 24531LIBS="-lcdata $LIBS" 24532cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24533/* end confdefs.h. */ 24534 24535/* Override any GCC internal prototype to avoid an error. 24536 Use char because int might match the return type of a GCC 24537 builtin and then its argument prototype would still apply. */ 24538#ifdef __cplusplus 24539extern "C" 24540#endif 24541char libcdata_array_get_number_of_entries (); 24542int 24543main () 24544{ 24545return libcdata_array_get_number_of_entries (); 24546 ; 24547 return 0; 24548} 24549_ACEOF 24550if ac_fn_c_try_link "$LINENO"; then : 24551 ac_cv_lib_cdata_libcdata_array_get_number_of_entries=yes 24552else 24553 ac_cv_lib_cdata_libcdata_array_get_number_of_entries=no 24554fi 24555rm -f core conftest.err conftest.$ac_objext \ 24556 conftest$ac_exeext conftest.$ac_ext 24557LIBS=$ac_check_lib_save_LIBS 24558fi 24559{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_get_number_of_entries" >&5 24560$as_echo "$ac_cv_lib_cdata_libcdata_array_get_number_of_entries" >&6; } 24561if test "x$ac_cv_lib_cdata_libcdata_array_get_number_of_entries" = xyes; then : 24562 ac_cv_libcdata_dummy=yes 24563else 24564 ac_cv_libcdata=no 24565fi 24566 24567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_get_entry_by_index in -lcdata" >&5 24568$as_echo_n "checking for libcdata_array_get_entry_by_index in -lcdata... " >&6; } 24569if ${ac_cv_lib_cdata_libcdata_array_get_entry_by_index+:} false; then : 24570 $as_echo_n "(cached) " >&6 24571else 24572 ac_check_lib_save_LIBS=$LIBS 24573LIBS="-lcdata $LIBS" 24574cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24575/* end confdefs.h. */ 24576 24577/* Override any GCC internal prototype to avoid an error. 24578 Use char because int might match the return type of a GCC 24579 builtin and then its argument prototype would still apply. */ 24580#ifdef __cplusplus 24581extern "C" 24582#endif 24583char libcdata_array_get_entry_by_index (); 24584int 24585main () 24586{ 24587return libcdata_array_get_entry_by_index (); 24588 ; 24589 return 0; 24590} 24591_ACEOF 24592if ac_fn_c_try_link "$LINENO"; then : 24593 ac_cv_lib_cdata_libcdata_array_get_entry_by_index=yes 24594else 24595 ac_cv_lib_cdata_libcdata_array_get_entry_by_index=no 24596fi 24597rm -f core conftest.err conftest.$ac_objext \ 24598 conftest$ac_exeext conftest.$ac_ext 24599LIBS=$ac_check_lib_save_LIBS 24600fi 24601{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_get_entry_by_index" >&5 24602$as_echo "$ac_cv_lib_cdata_libcdata_array_get_entry_by_index" >&6; } 24603if test "x$ac_cv_lib_cdata_libcdata_array_get_entry_by_index" = xyes; then : 24604 ac_cv_libcdata_dummy=yes 24605else 24606 ac_cv_libcdata=no 24607fi 24608 24609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_get_entry_by_value in -lcdata" >&5 24610$as_echo_n "checking for libcdata_array_get_entry_by_value in -lcdata... " >&6; } 24611if ${ac_cv_lib_cdata_libcdata_array_get_entry_by_value+:} false; then : 24612 $as_echo_n "(cached) " >&6 24613else 24614 ac_check_lib_save_LIBS=$LIBS 24615LIBS="-lcdata $LIBS" 24616cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24617/* end confdefs.h. */ 24618 24619/* Override any GCC internal prototype to avoid an error. 24620 Use char because int might match the return type of a GCC 24621 builtin and then its argument prototype would still apply. */ 24622#ifdef __cplusplus 24623extern "C" 24624#endif 24625char libcdata_array_get_entry_by_value (); 24626int 24627main () 24628{ 24629return libcdata_array_get_entry_by_value (); 24630 ; 24631 return 0; 24632} 24633_ACEOF 24634if ac_fn_c_try_link "$LINENO"; then : 24635 ac_cv_lib_cdata_libcdata_array_get_entry_by_value=yes 24636else 24637 ac_cv_lib_cdata_libcdata_array_get_entry_by_value=no 24638fi 24639rm -f core conftest.err conftest.$ac_objext \ 24640 conftest$ac_exeext conftest.$ac_ext 24641LIBS=$ac_check_lib_save_LIBS 24642fi 24643{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_get_entry_by_value" >&5 24644$as_echo "$ac_cv_lib_cdata_libcdata_array_get_entry_by_value" >&6; } 24645if test "x$ac_cv_lib_cdata_libcdata_array_get_entry_by_value" = xyes; then : 24646 ac_cv_libcdata_dummy=yes 24647else 24648 ac_cv_libcdata=no 24649fi 24650 24651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_set_entry_by_index in -lcdata" >&5 24652$as_echo_n "checking for libcdata_array_set_entry_by_index in -lcdata... " >&6; } 24653if ${ac_cv_lib_cdata_libcdata_array_set_entry_by_index+:} false; then : 24654 $as_echo_n "(cached) " >&6 24655else 24656 ac_check_lib_save_LIBS=$LIBS 24657LIBS="-lcdata $LIBS" 24658cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24659/* end confdefs.h. */ 24660 24661/* Override any GCC internal prototype to avoid an error. 24662 Use char because int might match the return type of a GCC 24663 builtin and then its argument prototype would still apply. */ 24664#ifdef __cplusplus 24665extern "C" 24666#endif 24667char libcdata_array_set_entry_by_index (); 24668int 24669main () 24670{ 24671return libcdata_array_set_entry_by_index (); 24672 ; 24673 return 0; 24674} 24675_ACEOF 24676if ac_fn_c_try_link "$LINENO"; then : 24677 ac_cv_lib_cdata_libcdata_array_set_entry_by_index=yes 24678else 24679 ac_cv_lib_cdata_libcdata_array_set_entry_by_index=no 24680fi 24681rm -f core conftest.err conftest.$ac_objext \ 24682 conftest$ac_exeext conftest.$ac_ext 24683LIBS=$ac_check_lib_save_LIBS 24684fi 24685{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_set_entry_by_index" >&5 24686$as_echo "$ac_cv_lib_cdata_libcdata_array_set_entry_by_index" >&6; } 24687if test "x$ac_cv_lib_cdata_libcdata_array_set_entry_by_index" = xyes; then : 24688 ac_cv_libcdata_dummy=yes 24689else 24690 ac_cv_libcdata=no 24691fi 24692 24693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_prepend_entry in -lcdata" >&5 24694$as_echo_n "checking for libcdata_array_prepend_entry in -lcdata... " >&6; } 24695if ${ac_cv_lib_cdata_libcdata_array_prepend_entry+:} false; then : 24696 $as_echo_n "(cached) " >&6 24697else 24698 ac_check_lib_save_LIBS=$LIBS 24699LIBS="-lcdata $LIBS" 24700cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24701/* end confdefs.h. */ 24702 24703/* Override any GCC internal prototype to avoid an error. 24704 Use char because int might match the return type of a GCC 24705 builtin and then its argument prototype would still apply. */ 24706#ifdef __cplusplus 24707extern "C" 24708#endif 24709char libcdata_array_prepend_entry (); 24710int 24711main () 24712{ 24713return libcdata_array_prepend_entry (); 24714 ; 24715 return 0; 24716} 24717_ACEOF 24718if ac_fn_c_try_link "$LINENO"; then : 24719 ac_cv_lib_cdata_libcdata_array_prepend_entry=yes 24720else 24721 ac_cv_lib_cdata_libcdata_array_prepend_entry=no 24722fi 24723rm -f core conftest.err conftest.$ac_objext \ 24724 conftest$ac_exeext conftest.$ac_ext 24725LIBS=$ac_check_lib_save_LIBS 24726fi 24727{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_prepend_entry" >&5 24728$as_echo "$ac_cv_lib_cdata_libcdata_array_prepend_entry" >&6; } 24729if test "x$ac_cv_lib_cdata_libcdata_array_prepend_entry" = xyes; then : 24730 ac_cv_libcdata_dummy=yes 24731else 24732 ac_cv_libcdata=no 24733fi 24734 24735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_append_entry in -lcdata" >&5 24736$as_echo_n "checking for libcdata_array_append_entry in -lcdata... " >&6; } 24737if ${ac_cv_lib_cdata_libcdata_array_append_entry+:} false; then : 24738 $as_echo_n "(cached) " >&6 24739else 24740 ac_check_lib_save_LIBS=$LIBS 24741LIBS="-lcdata $LIBS" 24742cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24743/* end confdefs.h. */ 24744 24745/* Override any GCC internal prototype to avoid an error. 24746 Use char because int might match the return type of a GCC 24747 builtin and then its argument prototype would still apply. */ 24748#ifdef __cplusplus 24749extern "C" 24750#endif 24751char libcdata_array_append_entry (); 24752int 24753main () 24754{ 24755return libcdata_array_append_entry (); 24756 ; 24757 return 0; 24758} 24759_ACEOF 24760if ac_fn_c_try_link "$LINENO"; then : 24761 ac_cv_lib_cdata_libcdata_array_append_entry=yes 24762else 24763 ac_cv_lib_cdata_libcdata_array_append_entry=no 24764fi 24765rm -f core conftest.err conftest.$ac_objext \ 24766 conftest$ac_exeext conftest.$ac_ext 24767LIBS=$ac_check_lib_save_LIBS 24768fi 24769{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_append_entry" >&5 24770$as_echo "$ac_cv_lib_cdata_libcdata_array_append_entry" >&6; } 24771if test "x$ac_cv_lib_cdata_libcdata_array_append_entry" = xyes; then : 24772 ac_cv_libcdata_dummy=yes 24773else 24774 ac_cv_libcdata=no 24775fi 24776 24777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_insert_entry in -lcdata" >&5 24778$as_echo_n "checking for libcdata_array_insert_entry in -lcdata... " >&6; } 24779if ${ac_cv_lib_cdata_libcdata_array_insert_entry+:} false; then : 24780 $as_echo_n "(cached) " >&6 24781else 24782 ac_check_lib_save_LIBS=$LIBS 24783LIBS="-lcdata $LIBS" 24784cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24785/* end confdefs.h. */ 24786 24787/* Override any GCC internal prototype to avoid an error. 24788 Use char because int might match the return type of a GCC 24789 builtin and then its argument prototype would still apply. */ 24790#ifdef __cplusplus 24791extern "C" 24792#endif 24793char libcdata_array_insert_entry (); 24794int 24795main () 24796{ 24797return libcdata_array_insert_entry (); 24798 ; 24799 return 0; 24800} 24801_ACEOF 24802if ac_fn_c_try_link "$LINENO"; then : 24803 ac_cv_lib_cdata_libcdata_array_insert_entry=yes 24804else 24805 ac_cv_lib_cdata_libcdata_array_insert_entry=no 24806fi 24807rm -f core conftest.err conftest.$ac_objext \ 24808 conftest$ac_exeext conftest.$ac_ext 24809LIBS=$ac_check_lib_save_LIBS 24810fi 24811{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_insert_entry" >&5 24812$as_echo "$ac_cv_lib_cdata_libcdata_array_insert_entry" >&6; } 24813if test "x$ac_cv_lib_cdata_libcdata_array_insert_entry" = xyes; then : 24814 ac_cv_libcdata_dummy=yes 24815else 24816 ac_cv_libcdata=no 24817fi 24818 24819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_remove_entry in -lcdata" >&5 24820$as_echo_n "checking for libcdata_array_remove_entry in -lcdata... " >&6; } 24821if ${ac_cv_lib_cdata_libcdata_array_remove_entry+:} false; then : 24822 $as_echo_n "(cached) " >&6 24823else 24824 ac_check_lib_save_LIBS=$LIBS 24825LIBS="-lcdata $LIBS" 24826cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24827/* end confdefs.h. */ 24828 24829/* Override any GCC internal prototype to avoid an error. 24830 Use char because int might match the return type of a GCC 24831 builtin and then its argument prototype would still apply. */ 24832#ifdef __cplusplus 24833extern "C" 24834#endif 24835char libcdata_array_remove_entry (); 24836int 24837main () 24838{ 24839return libcdata_array_remove_entry (); 24840 ; 24841 return 0; 24842} 24843_ACEOF 24844if ac_fn_c_try_link "$LINENO"; then : 24845 ac_cv_lib_cdata_libcdata_array_remove_entry=yes 24846else 24847 ac_cv_lib_cdata_libcdata_array_remove_entry=no 24848fi 24849rm -f core conftest.err conftest.$ac_objext \ 24850 conftest$ac_exeext conftest.$ac_ext 24851LIBS=$ac_check_lib_save_LIBS 24852fi 24853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_remove_entry" >&5 24854$as_echo "$ac_cv_lib_cdata_libcdata_array_remove_entry" >&6; } 24855if test "x$ac_cv_lib_cdata_libcdata_array_remove_entry" = xyes; then : 24856 ac_cv_libcdata_dummy=yes 24857else 24858 ac_cv_libcdata=no 24859fi 24860 24861 24862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_btree_initialize in -lcdata" >&5 24863$as_echo_n "checking for libfdata_btree_initialize in -lcdata... " >&6; } 24864if ${ac_cv_lib_cdata_libfdata_btree_initialize+:} false; then : 24865 $as_echo_n "(cached) " >&6 24866else 24867 ac_check_lib_save_LIBS=$LIBS 24868LIBS="-lcdata $LIBS" 24869cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24870/* end confdefs.h. */ 24871 24872/* Override any GCC internal prototype to avoid an error. 24873 Use char because int might match the return type of a GCC 24874 builtin and then its argument prototype would still apply. */ 24875#ifdef __cplusplus 24876extern "C" 24877#endif 24878char libfdata_btree_initialize (); 24879int 24880main () 24881{ 24882return libfdata_btree_initialize (); 24883 ; 24884 return 0; 24885} 24886_ACEOF 24887if ac_fn_c_try_link "$LINENO"; then : 24888 ac_cv_lib_cdata_libfdata_btree_initialize=yes 24889else 24890 ac_cv_lib_cdata_libfdata_btree_initialize=no 24891fi 24892rm -f core conftest.err conftest.$ac_objext \ 24893 conftest$ac_exeext conftest.$ac_ext 24894LIBS=$ac_check_lib_save_LIBS 24895fi 24896{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libfdata_btree_initialize" >&5 24897$as_echo "$ac_cv_lib_cdata_libfdata_btree_initialize" >&6; } 24898if test "x$ac_cv_lib_cdata_libfdata_btree_initialize" = xyes; then : 24899 ac_cv_libcdata_dummy=yes 24900else 24901 ac_cv_libcdata=no 24902fi 24903 24904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_free in -lcdata" >&5 24905$as_echo_n "checking for libcdata_btree_free in -lcdata... " >&6; } 24906if ${ac_cv_lib_cdata_libcdata_btree_free+:} false; then : 24907 $as_echo_n "(cached) " >&6 24908else 24909 ac_check_lib_save_LIBS=$LIBS 24910LIBS="-lcdata $LIBS" 24911cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24912/* end confdefs.h. */ 24913 24914/* Override any GCC internal prototype to avoid an error. 24915 Use char because int might match the return type of a GCC 24916 builtin and then its argument prototype would still apply. */ 24917#ifdef __cplusplus 24918extern "C" 24919#endif 24920char libcdata_btree_free (); 24921int 24922main () 24923{ 24924return libcdata_btree_free (); 24925 ; 24926 return 0; 24927} 24928_ACEOF 24929if ac_fn_c_try_link "$LINENO"; then : 24930 ac_cv_lib_cdata_libcdata_btree_free=yes 24931else 24932 ac_cv_lib_cdata_libcdata_btree_free=no 24933fi 24934rm -f core conftest.err conftest.$ac_objext \ 24935 conftest$ac_exeext conftest.$ac_ext 24936LIBS=$ac_check_lib_save_LIBS 24937fi 24938{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_free" >&5 24939$as_echo "$ac_cv_lib_cdata_libcdata_btree_free" >&6; } 24940if test "x$ac_cv_lib_cdata_libcdata_btree_free" = xyes; then : 24941 ac_cv_libcdata_dummy=yes 24942else 24943 ac_cv_libcdata=no 24944fi 24945 24946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_get_number_of_values in -lcdata" >&5 24947$as_echo_n "checking for libcdata_btree_get_number_of_values in -lcdata... " >&6; } 24948if ${ac_cv_lib_cdata_libcdata_btree_get_number_of_values+:} false; then : 24949 $as_echo_n "(cached) " >&6 24950else 24951 ac_check_lib_save_LIBS=$LIBS 24952LIBS="-lcdata $LIBS" 24953cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24954/* end confdefs.h. */ 24955 24956/* Override any GCC internal prototype to avoid an error. 24957 Use char because int might match the return type of a GCC 24958 builtin and then its argument prototype would still apply. */ 24959#ifdef __cplusplus 24960extern "C" 24961#endif 24962char libcdata_btree_get_number_of_values (); 24963int 24964main () 24965{ 24966return libcdata_btree_get_number_of_values (); 24967 ; 24968 return 0; 24969} 24970_ACEOF 24971if ac_fn_c_try_link "$LINENO"; then : 24972 ac_cv_lib_cdata_libcdata_btree_get_number_of_values=yes 24973else 24974 ac_cv_lib_cdata_libcdata_btree_get_number_of_values=no 24975fi 24976rm -f core conftest.err conftest.$ac_objext \ 24977 conftest$ac_exeext conftest.$ac_ext 24978LIBS=$ac_check_lib_save_LIBS 24979fi 24980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_get_number_of_values" >&5 24981$as_echo "$ac_cv_lib_cdata_libcdata_btree_get_number_of_values" >&6; } 24982if test "x$ac_cv_lib_cdata_libcdata_btree_get_number_of_values" = xyes; then : 24983 ac_cv_libcdata_dummy=yes 24984else 24985 ac_cv_libcdata=no 24986fi 24987 24988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_get_value_by_index in -lcdata" >&5 24989$as_echo_n "checking for libcdata_btree_get_value_by_index in -lcdata... " >&6; } 24990if ${ac_cv_lib_cdata_libcdata_btree_get_value_by_index+:} false; then : 24991 $as_echo_n "(cached) " >&6 24992else 24993 ac_check_lib_save_LIBS=$LIBS 24994LIBS="-lcdata $LIBS" 24995cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24996/* end confdefs.h. */ 24997 24998/* Override any GCC internal prototype to avoid an error. 24999 Use char because int might match the return type of a GCC 25000 builtin and then its argument prototype would still apply. */ 25001#ifdef __cplusplus 25002extern "C" 25003#endif 25004char libcdata_btree_get_value_by_index (); 25005int 25006main () 25007{ 25008return libcdata_btree_get_value_by_index (); 25009 ; 25010 return 0; 25011} 25012_ACEOF 25013if ac_fn_c_try_link "$LINENO"; then : 25014 ac_cv_lib_cdata_libcdata_btree_get_value_by_index=yes 25015else 25016 ac_cv_lib_cdata_libcdata_btree_get_value_by_index=no 25017fi 25018rm -f core conftest.err conftest.$ac_objext \ 25019 conftest$ac_exeext conftest.$ac_ext 25020LIBS=$ac_check_lib_save_LIBS 25021fi 25022{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_get_value_by_index" >&5 25023$as_echo "$ac_cv_lib_cdata_libcdata_btree_get_value_by_index" >&6; } 25024if test "x$ac_cv_lib_cdata_libcdata_btree_get_value_by_index" = xyes; then : 25025 ac_cv_libcdata_dummy=yes 25026else 25027 ac_cv_libcdata=no 25028fi 25029 25030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_get_value_by_value in -lcdata" >&5 25031$as_echo_n "checking for libcdata_btree_get_value_by_value in -lcdata... " >&6; } 25032if ${ac_cv_lib_cdata_libcdata_btree_get_value_by_value+:} false; then : 25033 $as_echo_n "(cached) " >&6 25034else 25035 ac_check_lib_save_LIBS=$LIBS 25036LIBS="-lcdata $LIBS" 25037cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25038/* end confdefs.h. */ 25039 25040/* Override any GCC internal prototype to avoid an error. 25041 Use char because int might match the return type of a GCC 25042 builtin and then its argument prototype would still apply. */ 25043#ifdef __cplusplus 25044extern "C" 25045#endif 25046char libcdata_btree_get_value_by_value (); 25047int 25048main () 25049{ 25050return libcdata_btree_get_value_by_value (); 25051 ; 25052 return 0; 25053} 25054_ACEOF 25055if ac_fn_c_try_link "$LINENO"; then : 25056 ac_cv_lib_cdata_libcdata_btree_get_value_by_value=yes 25057else 25058 ac_cv_lib_cdata_libcdata_btree_get_value_by_value=no 25059fi 25060rm -f core conftest.err conftest.$ac_objext \ 25061 conftest$ac_exeext conftest.$ac_ext 25062LIBS=$ac_check_lib_save_LIBS 25063fi 25064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_get_value_by_value" >&5 25065$as_echo "$ac_cv_lib_cdata_libcdata_btree_get_value_by_value" >&6; } 25066if test "x$ac_cv_lib_cdata_libcdata_btree_get_value_by_value" = xyes; then : 25067 ac_cv_libcdata_dummy=yes 25068else 25069 ac_cv_libcdata=no 25070fi 25071 25072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_insert_value in -lcdata" >&5 25073$as_echo_n "checking for libcdata_btree_insert_value in -lcdata... " >&6; } 25074if ${ac_cv_lib_cdata_libcdata_btree_insert_value+:} false; then : 25075 $as_echo_n "(cached) " >&6 25076else 25077 ac_check_lib_save_LIBS=$LIBS 25078LIBS="-lcdata $LIBS" 25079cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25080/* end confdefs.h. */ 25081 25082/* Override any GCC internal prototype to avoid an error. 25083 Use char because int might match the return type of a GCC 25084 builtin and then its argument prototype would still apply. */ 25085#ifdef __cplusplus 25086extern "C" 25087#endif 25088char libcdata_btree_insert_value (); 25089int 25090main () 25091{ 25092return libcdata_btree_insert_value (); 25093 ; 25094 return 0; 25095} 25096_ACEOF 25097if ac_fn_c_try_link "$LINENO"; then : 25098 ac_cv_lib_cdata_libcdata_btree_insert_value=yes 25099else 25100 ac_cv_lib_cdata_libcdata_btree_insert_value=no 25101fi 25102rm -f core conftest.err conftest.$ac_objext \ 25103 conftest$ac_exeext conftest.$ac_ext 25104LIBS=$ac_check_lib_save_LIBS 25105fi 25106{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_insert_value" >&5 25107$as_echo "$ac_cv_lib_cdata_libcdata_btree_insert_value" >&6; } 25108if test "x$ac_cv_lib_cdata_libcdata_btree_insert_value" = xyes; then : 25109 ac_cv_libcdata_dummy=yes 25110else 25111 ac_cv_libcdata=no 25112fi 25113 25114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_replace_value in -lcdata" >&5 25115$as_echo_n "checking for libcdata_btree_replace_value in -lcdata... " >&6; } 25116if ${ac_cv_lib_cdata_libcdata_btree_replace_value+:} false; then : 25117 $as_echo_n "(cached) " >&6 25118else 25119 ac_check_lib_save_LIBS=$LIBS 25120LIBS="-lcdata $LIBS" 25121cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25122/* end confdefs.h. */ 25123 25124/* Override any GCC internal prototype to avoid an error. 25125 Use char because int might match the return type of a GCC 25126 builtin and then its argument prototype would still apply. */ 25127#ifdef __cplusplus 25128extern "C" 25129#endif 25130char libcdata_btree_replace_value (); 25131int 25132main () 25133{ 25134return libcdata_btree_replace_value (); 25135 ; 25136 return 0; 25137} 25138_ACEOF 25139if ac_fn_c_try_link "$LINENO"; then : 25140 ac_cv_lib_cdata_libcdata_btree_replace_value=yes 25141else 25142 ac_cv_lib_cdata_libcdata_btree_replace_value=no 25143fi 25144rm -f core conftest.err conftest.$ac_objext \ 25145 conftest$ac_exeext conftest.$ac_ext 25146LIBS=$ac_check_lib_save_LIBS 25147fi 25148{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_replace_value" >&5 25149$as_echo "$ac_cv_lib_cdata_libcdata_btree_replace_value" >&6; } 25150if test "x$ac_cv_lib_cdata_libcdata_btree_replace_value" = xyes; then : 25151 ac_cv_libcdata_dummy=yes 25152else 25153 ac_cv_libcdata=no 25154fi 25155 25156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_remove_value in -lcdata" >&5 25157$as_echo_n "checking for libcdata_btree_remove_value in -lcdata... " >&6; } 25158if ${ac_cv_lib_cdata_libcdata_btree_remove_value+:} false; then : 25159 $as_echo_n "(cached) " >&6 25160else 25161 ac_check_lib_save_LIBS=$LIBS 25162LIBS="-lcdata $LIBS" 25163cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25164/* end confdefs.h. */ 25165 25166/* Override any GCC internal prototype to avoid an error. 25167 Use char because int might match the return type of a GCC 25168 builtin and then its argument prototype would still apply. */ 25169#ifdef __cplusplus 25170extern "C" 25171#endif 25172char libcdata_btree_remove_value (); 25173int 25174main () 25175{ 25176return libcdata_btree_remove_value (); 25177 ; 25178 return 0; 25179} 25180_ACEOF 25181if ac_fn_c_try_link "$LINENO"; then : 25182 ac_cv_lib_cdata_libcdata_btree_remove_value=yes 25183else 25184 ac_cv_lib_cdata_libcdata_btree_remove_value=no 25185fi 25186rm -f core conftest.err conftest.$ac_objext \ 25187 conftest$ac_exeext conftest.$ac_ext 25188LIBS=$ac_check_lib_save_LIBS 25189fi 25190{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_remove_value" >&5 25191$as_echo "$ac_cv_lib_cdata_libcdata_btree_remove_value" >&6; } 25192if test "x$ac_cv_lib_cdata_libcdata_btree_remove_value" = xyes; then : 25193 ac_cv_libcdata_dummy=yes 25194else 25195 ac_cv_libcdata=no 25196fi 25197 25198 25199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_initialize in -lcdata" >&5 25200$as_echo_n "checking for libcdata_list_initialize in -lcdata... " >&6; } 25201if ${ac_cv_lib_cdata_libcdata_list_initialize+:} false; then : 25202 $as_echo_n "(cached) " >&6 25203else 25204 ac_check_lib_save_LIBS=$LIBS 25205LIBS="-lcdata $LIBS" 25206cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25207/* end confdefs.h. */ 25208 25209/* Override any GCC internal prototype to avoid an error. 25210 Use char because int might match the return type of a GCC 25211 builtin and then its argument prototype would still apply. */ 25212#ifdef __cplusplus 25213extern "C" 25214#endif 25215char libcdata_list_initialize (); 25216int 25217main () 25218{ 25219return libcdata_list_initialize (); 25220 ; 25221 return 0; 25222} 25223_ACEOF 25224if ac_fn_c_try_link "$LINENO"; then : 25225 ac_cv_lib_cdata_libcdata_list_initialize=yes 25226else 25227 ac_cv_lib_cdata_libcdata_list_initialize=no 25228fi 25229rm -f core conftest.err conftest.$ac_objext \ 25230 conftest$ac_exeext conftest.$ac_ext 25231LIBS=$ac_check_lib_save_LIBS 25232fi 25233{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_initialize" >&5 25234$as_echo "$ac_cv_lib_cdata_libcdata_list_initialize" >&6; } 25235if test "x$ac_cv_lib_cdata_libcdata_list_initialize" = xyes; then : 25236 ac_cv_libcdata_dummy=yes 25237else 25238 ac_cv_libcdata=no 25239fi 25240 25241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_free in -lcdata" >&5 25242$as_echo_n "checking for libcdata_list_free in -lcdata... " >&6; } 25243if ${ac_cv_lib_cdata_libcdata_list_free+:} false; then : 25244 $as_echo_n "(cached) " >&6 25245else 25246 ac_check_lib_save_LIBS=$LIBS 25247LIBS="-lcdata $LIBS" 25248cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25249/* end confdefs.h. */ 25250 25251/* Override any GCC internal prototype to avoid an error. 25252 Use char because int might match the return type of a GCC 25253 builtin and then its argument prototype would still apply. */ 25254#ifdef __cplusplus 25255extern "C" 25256#endif 25257char libcdata_list_free (); 25258int 25259main () 25260{ 25261return libcdata_list_free (); 25262 ; 25263 return 0; 25264} 25265_ACEOF 25266if ac_fn_c_try_link "$LINENO"; then : 25267 ac_cv_lib_cdata_libcdata_list_free=yes 25268else 25269 ac_cv_lib_cdata_libcdata_list_free=no 25270fi 25271rm -f core conftest.err conftest.$ac_objext \ 25272 conftest$ac_exeext conftest.$ac_ext 25273LIBS=$ac_check_lib_save_LIBS 25274fi 25275{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_free" >&5 25276$as_echo "$ac_cv_lib_cdata_libcdata_list_free" >&6; } 25277if test "x$ac_cv_lib_cdata_libcdata_list_free" = xyes; then : 25278 ac_cv_libcdata_dummy=yes 25279else 25280 ac_cv_libcdata=no 25281fi 25282 25283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_empty in -lcdata" >&5 25284$as_echo_n "checking for libcdata_list_empty in -lcdata... " >&6; } 25285if ${ac_cv_lib_cdata_libcdata_list_empty+:} false; then : 25286 $as_echo_n "(cached) " >&6 25287else 25288 ac_check_lib_save_LIBS=$LIBS 25289LIBS="-lcdata $LIBS" 25290cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25291/* end confdefs.h. */ 25292 25293/* Override any GCC internal prototype to avoid an error. 25294 Use char because int might match the return type of a GCC 25295 builtin and then its argument prototype would still apply. */ 25296#ifdef __cplusplus 25297extern "C" 25298#endif 25299char libcdata_list_empty (); 25300int 25301main () 25302{ 25303return libcdata_list_empty (); 25304 ; 25305 return 0; 25306} 25307_ACEOF 25308if ac_fn_c_try_link "$LINENO"; then : 25309 ac_cv_lib_cdata_libcdata_list_empty=yes 25310else 25311 ac_cv_lib_cdata_libcdata_list_empty=no 25312fi 25313rm -f core conftest.err conftest.$ac_objext \ 25314 conftest$ac_exeext conftest.$ac_ext 25315LIBS=$ac_check_lib_save_LIBS 25316fi 25317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_empty" >&5 25318$as_echo "$ac_cv_lib_cdata_libcdata_list_empty" >&6; } 25319if test "x$ac_cv_lib_cdata_libcdata_list_empty" = xyes; then : 25320 ac_cv_libcdata_dummy=yes 25321else 25322 ac_cv_libcdata=no 25323fi 25324 25325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_clone in -lcdata" >&5 25326$as_echo_n "checking for libcdata_list_clone in -lcdata... " >&6; } 25327if ${ac_cv_lib_cdata_libcdata_list_clone+:} false; then : 25328 $as_echo_n "(cached) " >&6 25329else 25330 ac_check_lib_save_LIBS=$LIBS 25331LIBS="-lcdata $LIBS" 25332cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25333/* end confdefs.h. */ 25334 25335/* Override any GCC internal prototype to avoid an error. 25336 Use char because int might match the return type of a GCC 25337 builtin and then its argument prototype would still apply. */ 25338#ifdef __cplusplus 25339extern "C" 25340#endif 25341char libcdata_list_clone (); 25342int 25343main () 25344{ 25345return libcdata_list_clone (); 25346 ; 25347 return 0; 25348} 25349_ACEOF 25350if ac_fn_c_try_link "$LINENO"; then : 25351 ac_cv_lib_cdata_libcdata_list_clone=yes 25352else 25353 ac_cv_lib_cdata_libcdata_list_clone=no 25354fi 25355rm -f core conftest.err conftest.$ac_objext \ 25356 conftest$ac_exeext conftest.$ac_ext 25357LIBS=$ac_check_lib_save_LIBS 25358fi 25359{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_clone" >&5 25360$as_echo "$ac_cv_lib_cdata_libcdata_list_clone" >&6; } 25361if test "x$ac_cv_lib_cdata_libcdata_list_clone" = xyes; then : 25362 ac_cv_libcdata_dummy=yes 25363else 25364 ac_cv_libcdata=no 25365fi 25366 25367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_number_of_elements in -lcdata" >&5 25368$as_echo_n "checking for libcdata_list_get_number_of_elements in -lcdata... " >&6; } 25369if ${ac_cv_lib_cdata_libcdata_list_get_number_of_elements+:} false; then : 25370 $as_echo_n "(cached) " >&6 25371else 25372 ac_check_lib_save_LIBS=$LIBS 25373LIBS="-lcdata $LIBS" 25374cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25375/* end confdefs.h. */ 25376 25377/* Override any GCC internal prototype to avoid an error. 25378 Use char because int might match the return type of a GCC 25379 builtin and then its argument prototype would still apply. */ 25380#ifdef __cplusplus 25381extern "C" 25382#endif 25383char libcdata_list_get_number_of_elements (); 25384int 25385main () 25386{ 25387return libcdata_list_get_number_of_elements (); 25388 ; 25389 return 0; 25390} 25391_ACEOF 25392if ac_fn_c_try_link "$LINENO"; then : 25393 ac_cv_lib_cdata_libcdata_list_get_number_of_elements=yes 25394else 25395 ac_cv_lib_cdata_libcdata_list_get_number_of_elements=no 25396fi 25397rm -f core conftest.err conftest.$ac_objext \ 25398 conftest$ac_exeext conftest.$ac_ext 25399LIBS=$ac_check_lib_save_LIBS 25400fi 25401{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_number_of_elements" >&5 25402$as_echo "$ac_cv_lib_cdata_libcdata_list_get_number_of_elements" >&6; } 25403if test "x$ac_cv_lib_cdata_libcdata_list_get_number_of_elements" = xyes; then : 25404 ac_cv_libcdata_dummy=yes 25405else 25406 ac_cv_libcdata=no 25407fi 25408 25409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_first_element in -lcdata" >&5 25410$as_echo_n "checking for libcdata_list_get_first_element in -lcdata... " >&6; } 25411if ${ac_cv_lib_cdata_libcdata_list_get_first_element+:} false; then : 25412 $as_echo_n "(cached) " >&6 25413else 25414 ac_check_lib_save_LIBS=$LIBS 25415LIBS="-lcdata $LIBS" 25416cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25417/* end confdefs.h. */ 25418 25419/* Override any GCC internal prototype to avoid an error. 25420 Use char because int might match the return type of a GCC 25421 builtin and then its argument prototype would still apply. */ 25422#ifdef __cplusplus 25423extern "C" 25424#endif 25425char libcdata_list_get_first_element (); 25426int 25427main () 25428{ 25429return libcdata_list_get_first_element (); 25430 ; 25431 return 0; 25432} 25433_ACEOF 25434if ac_fn_c_try_link "$LINENO"; then : 25435 ac_cv_lib_cdata_libcdata_list_get_first_element=yes 25436else 25437 ac_cv_lib_cdata_libcdata_list_get_first_element=no 25438fi 25439rm -f core conftest.err conftest.$ac_objext \ 25440 conftest$ac_exeext conftest.$ac_ext 25441LIBS=$ac_check_lib_save_LIBS 25442fi 25443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_first_element" >&5 25444$as_echo "$ac_cv_lib_cdata_libcdata_list_get_first_element" >&6; } 25445if test "x$ac_cv_lib_cdata_libcdata_list_get_first_element" = xyes; then : 25446 ac_cv_libcdata_dummy=yes 25447else 25448 ac_cv_libcdata=no 25449fi 25450 25451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_last_element in -lcdata" >&5 25452$as_echo_n "checking for libcdata_list_get_last_element in -lcdata... " >&6; } 25453if ${ac_cv_lib_cdata_libcdata_list_get_last_element+:} false; then : 25454 $as_echo_n "(cached) " >&6 25455else 25456 ac_check_lib_save_LIBS=$LIBS 25457LIBS="-lcdata $LIBS" 25458cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25459/* end confdefs.h. */ 25460 25461/* Override any GCC internal prototype to avoid an error. 25462 Use char because int might match the return type of a GCC 25463 builtin and then its argument prototype would still apply. */ 25464#ifdef __cplusplus 25465extern "C" 25466#endif 25467char libcdata_list_get_last_element (); 25468int 25469main () 25470{ 25471return libcdata_list_get_last_element (); 25472 ; 25473 return 0; 25474} 25475_ACEOF 25476if ac_fn_c_try_link "$LINENO"; then : 25477 ac_cv_lib_cdata_libcdata_list_get_last_element=yes 25478else 25479 ac_cv_lib_cdata_libcdata_list_get_last_element=no 25480fi 25481rm -f core conftest.err conftest.$ac_objext \ 25482 conftest$ac_exeext conftest.$ac_ext 25483LIBS=$ac_check_lib_save_LIBS 25484fi 25485{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_last_element" >&5 25486$as_echo "$ac_cv_lib_cdata_libcdata_list_get_last_element" >&6; } 25487if test "x$ac_cv_lib_cdata_libcdata_list_get_last_element" = xyes; then : 25488 ac_cv_libcdata_dummy=yes 25489else 25490 ac_cv_libcdata=no 25491fi 25492 25493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_element_by_index in -lcdata" >&5 25494$as_echo_n "checking for libcdata_list_get_element_by_index in -lcdata... " >&6; } 25495if ${ac_cv_lib_cdata_libcdata_list_get_element_by_index+:} false; then : 25496 $as_echo_n "(cached) " >&6 25497else 25498 ac_check_lib_save_LIBS=$LIBS 25499LIBS="-lcdata $LIBS" 25500cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25501/* end confdefs.h. */ 25502 25503/* Override any GCC internal prototype to avoid an error. 25504 Use char because int might match the return type of a GCC 25505 builtin and then its argument prototype would still apply. */ 25506#ifdef __cplusplus 25507extern "C" 25508#endif 25509char libcdata_list_get_element_by_index (); 25510int 25511main () 25512{ 25513return libcdata_list_get_element_by_index (); 25514 ; 25515 return 0; 25516} 25517_ACEOF 25518if ac_fn_c_try_link "$LINENO"; then : 25519 ac_cv_lib_cdata_libcdata_list_get_element_by_index=yes 25520else 25521 ac_cv_lib_cdata_libcdata_list_get_element_by_index=no 25522fi 25523rm -f core conftest.err conftest.$ac_objext \ 25524 conftest$ac_exeext conftest.$ac_ext 25525LIBS=$ac_check_lib_save_LIBS 25526fi 25527{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_element_by_index" >&5 25528$as_echo "$ac_cv_lib_cdata_libcdata_list_get_element_by_index" >&6; } 25529if test "x$ac_cv_lib_cdata_libcdata_list_get_element_by_index" = xyes; then : 25530 ac_cv_libcdata_dummy=yes 25531else 25532 ac_cv_libcdata=no 25533fi 25534 25535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_value_by_index in -lcdata" >&5 25536$as_echo_n "checking for libcdata_list_get_value_by_index in -lcdata... " >&6; } 25537if ${ac_cv_lib_cdata_libcdata_list_get_value_by_index+:} false; then : 25538 $as_echo_n "(cached) " >&6 25539else 25540 ac_check_lib_save_LIBS=$LIBS 25541LIBS="-lcdata $LIBS" 25542cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25543/* end confdefs.h. */ 25544 25545/* Override any GCC internal prototype to avoid an error. 25546 Use char because int might match the return type of a GCC 25547 builtin and then its argument prototype would still apply. */ 25548#ifdef __cplusplus 25549extern "C" 25550#endif 25551char libcdata_list_get_value_by_index (); 25552int 25553main () 25554{ 25555return libcdata_list_get_value_by_index (); 25556 ; 25557 return 0; 25558} 25559_ACEOF 25560if ac_fn_c_try_link "$LINENO"; then : 25561 ac_cv_lib_cdata_libcdata_list_get_value_by_index=yes 25562else 25563 ac_cv_lib_cdata_libcdata_list_get_value_by_index=no 25564fi 25565rm -f core conftest.err conftest.$ac_objext \ 25566 conftest$ac_exeext conftest.$ac_ext 25567LIBS=$ac_check_lib_save_LIBS 25568fi 25569{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_value_by_index" >&5 25570$as_echo "$ac_cv_lib_cdata_libcdata_list_get_value_by_index" >&6; } 25571if test "x$ac_cv_lib_cdata_libcdata_list_get_value_by_index" = xyes; then : 25572 ac_cv_libcdata_dummy=yes 25573else 25574 ac_cv_libcdata=no 25575fi 25576 25577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_prepend_element in -lcdata" >&5 25578$as_echo_n "checking for libcdata_list_prepend_element in -lcdata... " >&6; } 25579if ${ac_cv_lib_cdata_libcdata_list_prepend_element+:} false; then : 25580 $as_echo_n "(cached) " >&6 25581else 25582 ac_check_lib_save_LIBS=$LIBS 25583LIBS="-lcdata $LIBS" 25584cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25585/* end confdefs.h. */ 25586 25587/* Override any GCC internal prototype to avoid an error. 25588 Use char because int might match the return type of a GCC 25589 builtin and then its argument prototype would still apply. */ 25590#ifdef __cplusplus 25591extern "C" 25592#endif 25593char libcdata_list_prepend_element (); 25594int 25595main () 25596{ 25597return libcdata_list_prepend_element (); 25598 ; 25599 return 0; 25600} 25601_ACEOF 25602if ac_fn_c_try_link "$LINENO"; then : 25603 ac_cv_lib_cdata_libcdata_list_prepend_element=yes 25604else 25605 ac_cv_lib_cdata_libcdata_list_prepend_element=no 25606fi 25607rm -f core conftest.err conftest.$ac_objext \ 25608 conftest$ac_exeext conftest.$ac_ext 25609LIBS=$ac_check_lib_save_LIBS 25610fi 25611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_prepend_element" >&5 25612$as_echo "$ac_cv_lib_cdata_libcdata_list_prepend_element" >&6; } 25613if test "x$ac_cv_lib_cdata_libcdata_list_prepend_element" = xyes; then : 25614 ac_cv_libcdata_dummy=yes 25615else 25616 ac_cv_libcdata=no 25617fi 25618 25619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_prepend_value in -lcdata" >&5 25620$as_echo_n "checking for libcdata_list_prepend_value in -lcdata... " >&6; } 25621if ${ac_cv_lib_cdata_libcdata_list_prepend_value+:} false; then : 25622 $as_echo_n "(cached) " >&6 25623else 25624 ac_check_lib_save_LIBS=$LIBS 25625LIBS="-lcdata $LIBS" 25626cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25627/* end confdefs.h. */ 25628 25629/* Override any GCC internal prototype to avoid an error. 25630 Use char because int might match the return type of a GCC 25631 builtin and then its argument prototype would still apply. */ 25632#ifdef __cplusplus 25633extern "C" 25634#endif 25635char libcdata_list_prepend_value (); 25636int 25637main () 25638{ 25639return libcdata_list_prepend_value (); 25640 ; 25641 return 0; 25642} 25643_ACEOF 25644if ac_fn_c_try_link "$LINENO"; then : 25645 ac_cv_lib_cdata_libcdata_list_prepend_value=yes 25646else 25647 ac_cv_lib_cdata_libcdata_list_prepend_value=no 25648fi 25649rm -f core conftest.err conftest.$ac_objext \ 25650 conftest$ac_exeext conftest.$ac_ext 25651LIBS=$ac_check_lib_save_LIBS 25652fi 25653{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_prepend_value" >&5 25654$as_echo "$ac_cv_lib_cdata_libcdata_list_prepend_value" >&6; } 25655if test "x$ac_cv_lib_cdata_libcdata_list_prepend_value" = xyes; then : 25656 ac_cv_libcdata_dummy=yes 25657else 25658 ac_cv_libcdata=no 25659fi 25660 25661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_append_element in -lcdata" >&5 25662$as_echo_n "checking for libcdata_list_append_element in -lcdata... " >&6; } 25663if ${ac_cv_lib_cdata_libcdata_list_append_element+:} false; then : 25664 $as_echo_n "(cached) " >&6 25665else 25666 ac_check_lib_save_LIBS=$LIBS 25667LIBS="-lcdata $LIBS" 25668cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25669/* end confdefs.h. */ 25670 25671/* Override any GCC internal prototype to avoid an error. 25672 Use char because int might match the return type of a GCC 25673 builtin and then its argument prototype would still apply. */ 25674#ifdef __cplusplus 25675extern "C" 25676#endif 25677char libcdata_list_append_element (); 25678int 25679main () 25680{ 25681return libcdata_list_append_element (); 25682 ; 25683 return 0; 25684} 25685_ACEOF 25686if ac_fn_c_try_link "$LINENO"; then : 25687 ac_cv_lib_cdata_libcdata_list_append_element=yes 25688else 25689 ac_cv_lib_cdata_libcdata_list_append_element=no 25690fi 25691rm -f core conftest.err conftest.$ac_objext \ 25692 conftest$ac_exeext conftest.$ac_ext 25693LIBS=$ac_check_lib_save_LIBS 25694fi 25695{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_append_element" >&5 25696$as_echo "$ac_cv_lib_cdata_libcdata_list_append_element" >&6; } 25697if test "x$ac_cv_lib_cdata_libcdata_list_append_element" = xyes; then : 25698 ac_cv_libcdata_dummy=yes 25699else 25700 ac_cv_libcdata=no 25701fi 25702 25703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_append_value in -lcdata" >&5 25704$as_echo_n "checking for libcdata_list_append_value in -lcdata... " >&6; } 25705if ${ac_cv_lib_cdata_libcdata_list_append_value+:} false; then : 25706 $as_echo_n "(cached) " >&6 25707else 25708 ac_check_lib_save_LIBS=$LIBS 25709LIBS="-lcdata $LIBS" 25710cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25711/* end confdefs.h. */ 25712 25713/* Override any GCC internal prototype to avoid an error. 25714 Use char because int might match the return type of a GCC 25715 builtin and then its argument prototype would still apply. */ 25716#ifdef __cplusplus 25717extern "C" 25718#endif 25719char libcdata_list_append_value (); 25720int 25721main () 25722{ 25723return libcdata_list_append_value (); 25724 ; 25725 return 0; 25726} 25727_ACEOF 25728if ac_fn_c_try_link "$LINENO"; then : 25729 ac_cv_lib_cdata_libcdata_list_append_value=yes 25730else 25731 ac_cv_lib_cdata_libcdata_list_append_value=no 25732fi 25733rm -f core conftest.err conftest.$ac_objext \ 25734 conftest$ac_exeext conftest.$ac_ext 25735LIBS=$ac_check_lib_save_LIBS 25736fi 25737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_append_value" >&5 25738$as_echo "$ac_cv_lib_cdata_libcdata_list_append_value" >&6; } 25739if test "x$ac_cv_lib_cdata_libcdata_list_append_value" = xyes; then : 25740 ac_cv_libcdata_dummy=yes 25741else 25742 ac_cv_libcdata=no 25743fi 25744 25745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_insert_element in -lcdata" >&5 25746$as_echo_n "checking for libcdata_list_insert_element in -lcdata... " >&6; } 25747if ${ac_cv_lib_cdata_libcdata_list_insert_element+:} false; then : 25748 $as_echo_n "(cached) " >&6 25749else 25750 ac_check_lib_save_LIBS=$LIBS 25751LIBS="-lcdata $LIBS" 25752cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25753/* end confdefs.h. */ 25754 25755/* Override any GCC internal prototype to avoid an error. 25756 Use char because int might match the return type of a GCC 25757 builtin and then its argument prototype would still apply. */ 25758#ifdef __cplusplus 25759extern "C" 25760#endif 25761char libcdata_list_insert_element (); 25762int 25763main () 25764{ 25765return libcdata_list_insert_element (); 25766 ; 25767 return 0; 25768} 25769_ACEOF 25770if ac_fn_c_try_link "$LINENO"; then : 25771 ac_cv_lib_cdata_libcdata_list_insert_element=yes 25772else 25773 ac_cv_lib_cdata_libcdata_list_insert_element=no 25774fi 25775rm -f core conftest.err conftest.$ac_objext \ 25776 conftest$ac_exeext conftest.$ac_ext 25777LIBS=$ac_check_lib_save_LIBS 25778fi 25779{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_insert_element" >&5 25780$as_echo "$ac_cv_lib_cdata_libcdata_list_insert_element" >&6; } 25781if test "x$ac_cv_lib_cdata_libcdata_list_insert_element" = xyes; then : 25782 ac_cv_libcdata_dummy=yes 25783else 25784 ac_cv_libcdata=no 25785fi 25786 25787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_insert_value in -lcdata" >&5 25788$as_echo_n "checking for libcdata_list_insert_value in -lcdata... " >&6; } 25789if ${ac_cv_lib_cdata_libcdata_list_insert_value+:} false; then : 25790 $as_echo_n "(cached) " >&6 25791else 25792 ac_check_lib_save_LIBS=$LIBS 25793LIBS="-lcdata $LIBS" 25794cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25795/* end confdefs.h. */ 25796 25797/* Override any GCC internal prototype to avoid an error. 25798 Use char because int might match the return type of a GCC 25799 builtin and then its argument prototype would still apply. */ 25800#ifdef __cplusplus 25801extern "C" 25802#endif 25803char libcdata_list_insert_value (); 25804int 25805main () 25806{ 25807return libcdata_list_insert_value (); 25808 ; 25809 return 0; 25810} 25811_ACEOF 25812if ac_fn_c_try_link "$LINENO"; then : 25813 ac_cv_lib_cdata_libcdata_list_insert_value=yes 25814else 25815 ac_cv_lib_cdata_libcdata_list_insert_value=no 25816fi 25817rm -f core conftest.err conftest.$ac_objext \ 25818 conftest$ac_exeext conftest.$ac_ext 25819LIBS=$ac_check_lib_save_LIBS 25820fi 25821{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_insert_value" >&5 25822$as_echo "$ac_cv_lib_cdata_libcdata_list_insert_value" >&6; } 25823if test "x$ac_cv_lib_cdata_libcdata_list_insert_value" = xyes; then : 25824 ac_cv_libcdata_dummy=yes 25825else 25826 ac_cv_libcdata=no 25827fi 25828 25829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_remove_element in -lcdata" >&5 25830$as_echo_n "checking for libcdata_list_remove_element in -lcdata... " >&6; } 25831if ${ac_cv_lib_cdata_libcdata_list_remove_element+:} false; then : 25832 $as_echo_n "(cached) " >&6 25833else 25834 ac_check_lib_save_LIBS=$LIBS 25835LIBS="-lcdata $LIBS" 25836cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25837/* end confdefs.h. */ 25838 25839/* Override any GCC internal prototype to avoid an error. 25840 Use char because int might match the return type of a GCC 25841 builtin and then its argument prototype would still apply. */ 25842#ifdef __cplusplus 25843extern "C" 25844#endif 25845char libcdata_list_remove_element (); 25846int 25847main () 25848{ 25849return libcdata_list_remove_element (); 25850 ; 25851 return 0; 25852} 25853_ACEOF 25854if ac_fn_c_try_link "$LINENO"; then : 25855 ac_cv_lib_cdata_libcdata_list_remove_element=yes 25856else 25857 ac_cv_lib_cdata_libcdata_list_remove_element=no 25858fi 25859rm -f core conftest.err conftest.$ac_objext \ 25860 conftest$ac_exeext conftest.$ac_ext 25861LIBS=$ac_check_lib_save_LIBS 25862fi 25863{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_remove_element" >&5 25864$as_echo "$ac_cv_lib_cdata_libcdata_list_remove_element" >&6; } 25865if test "x$ac_cv_lib_cdata_libcdata_list_remove_element" = xyes; then : 25866 ac_cv_libcdata_dummy=yes 25867else 25868 ac_cv_libcdata=no 25869fi 25870 25871 25872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_initialize in -lcdata" >&5 25873$as_echo_n "checking for libcdata_list_element_initialize in -lcdata... " >&6; } 25874if ${ac_cv_lib_cdata_libcdata_list_element_initialize+:} false; then : 25875 $as_echo_n "(cached) " >&6 25876else 25877 ac_check_lib_save_LIBS=$LIBS 25878LIBS="-lcdata $LIBS" 25879cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25880/* end confdefs.h. */ 25881 25882/* Override any GCC internal prototype to avoid an error. 25883 Use char because int might match the return type of a GCC 25884 builtin and then its argument prototype would still apply. */ 25885#ifdef __cplusplus 25886extern "C" 25887#endif 25888char libcdata_list_element_initialize (); 25889int 25890main () 25891{ 25892return libcdata_list_element_initialize (); 25893 ; 25894 return 0; 25895} 25896_ACEOF 25897if ac_fn_c_try_link "$LINENO"; then : 25898 ac_cv_lib_cdata_libcdata_list_element_initialize=yes 25899else 25900 ac_cv_lib_cdata_libcdata_list_element_initialize=no 25901fi 25902rm -f core conftest.err conftest.$ac_objext \ 25903 conftest$ac_exeext conftest.$ac_ext 25904LIBS=$ac_check_lib_save_LIBS 25905fi 25906{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_initialize" >&5 25907$as_echo "$ac_cv_lib_cdata_libcdata_list_element_initialize" >&6; } 25908if test "x$ac_cv_lib_cdata_libcdata_list_element_initialize" = xyes; then : 25909 ac_cv_libcdata_dummy=yes 25910else 25911 ac_cv_libcdata=no 25912fi 25913 25914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_free in -lcdata" >&5 25915$as_echo_n "checking for libcdata_list_element_free in -lcdata... " >&6; } 25916if ${ac_cv_lib_cdata_libcdata_list_element_free+:} false; then : 25917 $as_echo_n "(cached) " >&6 25918else 25919 ac_check_lib_save_LIBS=$LIBS 25920LIBS="-lcdata $LIBS" 25921cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25922/* end confdefs.h. */ 25923 25924/* Override any GCC internal prototype to avoid an error. 25925 Use char because int might match the return type of a GCC 25926 builtin and then its argument prototype would still apply. */ 25927#ifdef __cplusplus 25928extern "C" 25929#endif 25930char libcdata_list_element_free (); 25931int 25932main () 25933{ 25934return libcdata_list_element_free (); 25935 ; 25936 return 0; 25937} 25938_ACEOF 25939if ac_fn_c_try_link "$LINENO"; then : 25940 ac_cv_lib_cdata_libcdata_list_element_free=yes 25941else 25942 ac_cv_lib_cdata_libcdata_list_element_free=no 25943fi 25944rm -f core conftest.err conftest.$ac_objext \ 25945 conftest$ac_exeext conftest.$ac_ext 25946LIBS=$ac_check_lib_save_LIBS 25947fi 25948{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_free" >&5 25949$as_echo "$ac_cv_lib_cdata_libcdata_list_element_free" >&6; } 25950if test "x$ac_cv_lib_cdata_libcdata_list_element_free" = xyes; then : 25951 ac_cv_libcdata_dummy=yes 25952else 25953 ac_cv_libcdata=no 25954fi 25955 25956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_value in -lcdata" >&5 25957$as_echo_n "checking for libcdata_list_element_get_value in -lcdata... " >&6; } 25958if ${ac_cv_lib_cdata_libcdata_list_element_get_value+:} false; then : 25959 $as_echo_n "(cached) " >&6 25960else 25961 ac_check_lib_save_LIBS=$LIBS 25962LIBS="-lcdata $LIBS" 25963cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25964/* end confdefs.h. */ 25965 25966/* Override any GCC internal prototype to avoid an error. 25967 Use char because int might match the return type of a GCC 25968 builtin and then its argument prototype would still apply. */ 25969#ifdef __cplusplus 25970extern "C" 25971#endif 25972char libcdata_list_element_get_value (); 25973int 25974main () 25975{ 25976return libcdata_list_element_get_value (); 25977 ; 25978 return 0; 25979} 25980_ACEOF 25981if ac_fn_c_try_link "$LINENO"; then : 25982 ac_cv_lib_cdata_libcdata_list_element_get_value=yes 25983else 25984 ac_cv_lib_cdata_libcdata_list_element_get_value=no 25985fi 25986rm -f core conftest.err conftest.$ac_objext \ 25987 conftest$ac_exeext conftest.$ac_ext 25988LIBS=$ac_check_lib_save_LIBS 25989fi 25990{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_value" >&5 25991$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_value" >&6; } 25992if test "x$ac_cv_lib_cdata_libcdata_list_element_get_value" = xyes; then : 25993 ac_cv_libcdata_dummy=yes 25994else 25995 ac_cv_libcdata=no 25996fi 25997 25998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_value in -lcdata" >&5 25999$as_echo_n "checking for libcdata_list_element_set_value in -lcdata... " >&6; } 26000if ${ac_cv_lib_cdata_libcdata_list_element_set_value+:} false; then : 26001 $as_echo_n "(cached) " >&6 26002else 26003 ac_check_lib_save_LIBS=$LIBS 26004LIBS="-lcdata $LIBS" 26005cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26006/* end confdefs.h. */ 26007 26008/* Override any GCC internal prototype to avoid an error. 26009 Use char because int might match the return type of a GCC 26010 builtin and then its argument prototype would still apply. */ 26011#ifdef __cplusplus 26012extern "C" 26013#endif 26014char libcdata_list_element_set_value (); 26015int 26016main () 26017{ 26018return libcdata_list_element_set_value (); 26019 ; 26020 return 0; 26021} 26022_ACEOF 26023if ac_fn_c_try_link "$LINENO"; then : 26024 ac_cv_lib_cdata_libcdata_list_element_set_value=yes 26025else 26026 ac_cv_lib_cdata_libcdata_list_element_set_value=no 26027fi 26028rm -f core conftest.err conftest.$ac_objext \ 26029 conftest$ac_exeext conftest.$ac_ext 26030LIBS=$ac_check_lib_save_LIBS 26031fi 26032{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_value" >&5 26033$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_value" >&6; } 26034if test "x$ac_cv_lib_cdata_libcdata_list_element_set_value" = xyes; then : 26035 ac_cv_libcdata_dummy=yes 26036else 26037 ac_cv_libcdata=no 26038fi 26039 26040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_previous_element in -lcdata" >&5 26041$as_echo_n "checking for libcdata_list_element_get_previous_element in -lcdata... " >&6; } 26042if ${ac_cv_lib_cdata_libcdata_list_element_get_previous_element+:} false; then : 26043 $as_echo_n "(cached) " >&6 26044else 26045 ac_check_lib_save_LIBS=$LIBS 26046LIBS="-lcdata $LIBS" 26047cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26048/* end confdefs.h. */ 26049 26050/* Override any GCC internal prototype to avoid an error. 26051 Use char because int might match the return type of a GCC 26052 builtin and then its argument prototype would still apply. */ 26053#ifdef __cplusplus 26054extern "C" 26055#endif 26056char libcdata_list_element_get_previous_element (); 26057int 26058main () 26059{ 26060return libcdata_list_element_get_previous_element (); 26061 ; 26062 return 0; 26063} 26064_ACEOF 26065if ac_fn_c_try_link "$LINENO"; then : 26066 ac_cv_lib_cdata_libcdata_list_element_get_previous_element=yes 26067else 26068 ac_cv_lib_cdata_libcdata_list_element_get_previous_element=no 26069fi 26070rm -f core conftest.err conftest.$ac_objext \ 26071 conftest$ac_exeext conftest.$ac_ext 26072LIBS=$ac_check_lib_save_LIBS 26073fi 26074{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_previous_element" >&5 26075$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_previous_element" >&6; } 26076if test "x$ac_cv_lib_cdata_libcdata_list_element_get_previous_element" = xyes; then : 26077 ac_cv_libcdata_dummy=yes 26078else 26079 ac_cv_libcdata=no 26080fi 26081 26082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_previous_element in -lcdata" >&5 26083$as_echo_n "checking for libcdata_list_element_set_previous_element in -lcdata... " >&6; } 26084if ${ac_cv_lib_cdata_libcdata_list_element_set_previous_element+:} false; then : 26085 $as_echo_n "(cached) " >&6 26086else 26087 ac_check_lib_save_LIBS=$LIBS 26088LIBS="-lcdata $LIBS" 26089cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26090/* end confdefs.h. */ 26091 26092/* Override any GCC internal prototype to avoid an error. 26093 Use char because int might match the return type of a GCC 26094 builtin and then its argument prototype would still apply. */ 26095#ifdef __cplusplus 26096extern "C" 26097#endif 26098char libcdata_list_element_set_previous_element (); 26099int 26100main () 26101{ 26102return libcdata_list_element_set_previous_element (); 26103 ; 26104 return 0; 26105} 26106_ACEOF 26107if ac_fn_c_try_link "$LINENO"; then : 26108 ac_cv_lib_cdata_libcdata_list_element_set_previous_element=yes 26109else 26110 ac_cv_lib_cdata_libcdata_list_element_set_previous_element=no 26111fi 26112rm -f core conftest.err conftest.$ac_objext \ 26113 conftest$ac_exeext conftest.$ac_ext 26114LIBS=$ac_check_lib_save_LIBS 26115fi 26116{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_previous_element" >&5 26117$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_previous_element" >&6; } 26118if test "x$ac_cv_lib_cdata_libcdata_list_element_set_previous_element" = xyes; then : 26119 ac_cv_libcdata_dummy=yes 26120else 26121 ac_cv_libcdata=no 26122fi 26123 26124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_next_element in -lcdata" >&5 26125$as_echo_n "checking for libcdata_list_element_get_next_element in -lcdata... " >&6; } 26126if ${ac_cv_lib_cdata_libcdata_list_element_get_next_element+:} false; then : 26127 $as_echo_n "(cached) " >&6 26128else 26129 ac_check_lib_save_LIBS=$LIBS 26130LIBS="-lcdata $LIBS" 26131cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26132/* end confdefs.h. */ 26133 26134/* Override any GCC internal prototype to avoid an error. 26135 Use char because int might match the return type of a GCC 26136 builtin and then its argument prototype would still apply. */ 26137#ifdef __cplusplus 26138extern "C" 26139#endif 26140char libcdata_list_element_get_next_element (); 26141int 26142main () 26143{ 26144return libcdata_list_element_get_next_element (); 26145 ; 26146 return 0; 26147} 26148_ACEOF 26149if ac_fn_c_try_link "$LINENO"; then : 26150 ac_cv_lib_cdata_libcdata_list_element_get_next_element=yes 26151else 26152 ac_cv_lib_cdata_libcdata_list_element_get_next_element=no 26153fi 26154rm -f core conftest.err conftest.$ac_objext \ 26155 conftest$ac_exeext conftest.$ac_ext 26156LIBS=$ac_check_lib_save_LIBS 26157fi 26158{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_next_element" >&5 26159$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_next_element" >&6; } 26160if test "x$ac_cv_lib_cdata_libcdata_list_element_get_next_element" = xyes; then : 26161 ac_cv_libcdata_dummy=yes 26162else 26163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_next_element in -lcdata" >&5 26164$as_echo_n "checking for libcdata_list_element_set_next_element in -lcdata... " >&6; } 26165if ${ac_cv_lib_cdata_libcdata_list_element_set_next_element+:} false; then : 26166 $as_echo_n "(cached) " >&6 26167else 26168 ac_check_lib_save_LIBS=$LIBS 26169LIBS="-lcdata $LIBS" 26170cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26171/* end confdefs.h. */ 26172 26173/* Override any GCC internal prototype to avoid an error. 26174 Use char because int might match the return type of a GCC 26175 builtin and then its argument prototype would still apply. */ 26176#ifdef __cplusplus 26177extern "C" 26178#endif 26179char libcdata_list_element_set_next_element (); 26180int 26181main () 26182{ 26183return libcdata_list_element_set_next_element (); 26184 ; 26185 return 0; 26186} 26187_ACEOF 26188if ac_fn_c_try_link "$LINENO"; then : 26189 ac_cv_lib_cdata_libcdata_list_element_set_next_element=yes 26190else 26191 ac_cv_lib_cdata_libcdata_list_element_set_next_element=no 26192fi 26193rm -f core conftest.err conftest.$ac_objext \ 26194 conftest$ac_exeext conftest.$ac_ext 26195LIBS=$ac_check_lib_save_LIBS 26196fi 26197{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_next_element" >&5 26198$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_next_element" >&6; } 26199if test "x$ac_cv_lib_cdata_libcdata_list_element_set_next_element" = xyes; then : 26200 ac_cv_libcdata_dummy=yes 26201else 26202 ac_cv_libcdata=no 26203fi 26204 26205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_elements in -lcdata" >&5 26206$as_echo_n "checking for libcdata_list_element_get_elements in -lcdata... " >&6; } 26207if ${ac_cv_lib_cdata_libcdata_list_element_get_elements+:} false; then : 26208 $as_echo_n "(cached) " >&6 26209else 26210 ac_check_lib_save_LIBS=$LIBS 26211LIBS="-lcdata $LIBS" 26212cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26213/* end confdefs.h. */ 26214 26215/* Override any GCC internal prototype to avoid an error. 26216 Use char because int might match the return type of a GCC 26217 builtin and then its argument prototype would still apply. */ 26218#ifdef __cplusplus 26219extern "C" 26220#endif 26221char libcdata_list_element_get_elements (); 26222int 26223main () 26224{ 26225return libcdata_list_element_get_elements (); 26226 ; 26227 return 0; 26228} 26229_ACEOF 26230if ac_fn_c_try_link "$LINENO"; then : 26231 ac_cv_lib_cdata_libcdata_list_element_get_elements=yes 26232else 26233 ac_cv_lib_cdata_libcdata_list_element_get_elements=no 26234fi 26235rm -f core conftest.err conftest.$ac_objext \ 26236 conftest$ac_exeext conftest.$ac_ext 26237LIBS=$ac_check_lib_save_LIBS 26238fi 26239{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_elements" >&5 26240$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_elements" >&6; } 26241if test "x$ac_cv_lib_cdata_libcdata_list_element_get_elements" = xyes; then : 26242 ac_cv_libcdata_dummy=yes 26243else 26244 ac_cv_libcdata=no 26245fi 26246 26247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_elements in -lcdata" >&5 26248$as_echo_n "checking for libcdata_list_element_set_elements in -lcdata... " >&6; } 26249if ${ac_cv_lib_cdata_libcdata_list_element_set_elements+:} false; then : 26250 $as_echo_n "(cached) " >&6 26251else 26252 ac_check_lib_save_LIBS=$LIBS 26253LIBS="-lcdata $LIBS" 26254cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26255/* end confdefs.h. */ 26256 26257/* Override any GCC internal prototype to avoid an error. 26258 Use char because int might match the return type of a GCC 26259 builtin and then its argument prototype would still apply. */ 26260#ifdef __cplusplus 26261extern "C" 26262#endif 26263char libcdata_list_element_set_elements (); 26264int 26265main () 26266{ 26267return libcdata_list_element_set_elements (); 26268 ; 26269 return 0; 26270} 26271_ACEOF 26272if ac_fn_c_try_link "$LINENO"; then : 26273 ac_cv_lib_cdata_libcdata_list_element_set_elements=yes 26274else 26275 ac_cv_lib_cdata_libcdata_list_element_set_elements=no 26276fi 26277rm -f core conftest.err conftest.$ac_objext \ 26278 conftest$ac_exeext conftest.$ac_ext 26279LIBS=$ac_check_lib_save_LIBS 26280fi 26281{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_elements" >&5 26282$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_elements" >&6; } 26283if test "x$ac_cv_lib_cdata_libcdata_list_element_set_elements" = xyes; then : 26284 ac_cv_libcdata_dummy=yes 26285else 26286 ac_cv_libcdata=no 26287fi 26288 26289 ac_cv_libcdata=no 26290fi 26291 26292 26293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_initialize in -lcdata" >&5 26294$as_echo_n "checking for libcdata_range_list_initialize in -lcdata... " >&6; } 26295if ${ac_cv_lib_cdata_libcdata_range_list_initialize+:} false; then : 26296 $as_echo_n "(cached) " >&6 26297else 26298 ac_check_lib_save_LIBS=$LIBS 26299LIBS="-lcdata $LIBS" 26300cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26301/* end confdefs.h. */ 26302 26303/* Override any GCC internal prototype to avoid an error. 26304 Use char because int might match the return type of a GCC 26305 builtin and then its argument prototype would still apply. */ 26306#ifdef __cplusplus 26307extern "C" 26308#endif 26309char libcdata_range_list_initialize (); 26310int 26311main () 26312{ 26313return libcdata_range_list_initialize (); 26314 ; 26315 return 0; 26316} 26317_ACEOF 26318if ac_fn_c_try_link "$LINENO"; then : 26319 ac_cv_lib_cdata_libcdata_range_list_initialize=yes 26320else 26321 ac_cv_lib_cdata_libcdata_range_list_initialize=no 26322fi 26323rm -f core conftest.err conftest.$ac_objext \ 26324 conftest$ac_exeext conftest.$ac_ext 26325LIBS=$ac_check_lib_save_LIBS 26326fi 26327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_initialize" >&5 26328$as_echo "$ac_cv_lib_cdata_libcdata_range_list_initialize" >&6; } 26329if test "x$ac_cv_lib_cdata_libcdata_range_list_initialize" = xyes; then : 26330 ac_cv_libcdata_dummy=yes 26331else 26332 ac_cv_libcdata=no 26333fi 26334 26335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_free in -lcdata" >&5 26336$as_echo_n "checking for libcdata_range_list_free in -lcdata... " >&6; } 26337if ${ac_cv_lib_cdata_libcdata_range_list_free+:} false; then : 26338 $as_echo_n "(cached) " >&6 26339else 26340 ac_check_lib_save_LIBS=$LIBS 26341LIBS="-lcdata $LIBS" 26342cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26343/* end confdefs.h. */ 26344 26345/* Override any GCC internal prototype to avoid an error. 26346 Use char because int might match the return type of a GCC 26347 builtin and then its argument prototype would still apply. */ 26348#ifdef __cplusplus 26349extern "C" 26350#endif 26351char libcdata_range_list_free (); 26352int 26353main () 26354{ 26355return libcdata_range_list_free (); 26356 ; 26357 return 0; 26358} 26359_ACEOF 26360if ac_fn_c_try_link "$LINENO"; then : 26361 ac_cv_lib_cdata_libcdata_range_list_free=yes 26362else 26363 ac_cv_lib_cdata_libcdata_range_list_free=no 26364fi 26365rm -f core conftest.err conftest.$ac_objext \ 26366 conftest$ac_exeext conftest.$ac_ext 26367LIBS=$ac_check_lib_save_LIBS 26368fi 26369{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_free" >&5 26370$as_echo "$ac_cv_lib_cdata_libcdata_range_list_free" >&6; } 26371if test "x$ac_cv_lib_cdata_libcdata_range_list_free" = xyes; then : 26372 ac_cv_libcdata_dummy=yes 26373else 26374 ac_cv_libcdata=no 26375fi 26376 26377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_empty in -lcdata" >&5 26378$as_echo_n "checking for libcdata_range_list_empty in -lcdata... " >&6; } 26379if ${ac_cv_lib_cdata_libcdata_range_list_empty+:} false; then : 26380 $as_echo_n "(cached) " >&6 26381else 26382 ac_check_lib_save_LIBS=$LIBS 26383LIBS="-lcdata $LIBS" 26384cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26385/* end confdefs.h. */ 26386 26387/* Override any GCC internal prototype to avoid an error. 26388 Use char because int might match the return type of a GCC 26389 builtin and then its argument prototype would still apply. */ 26390#ifdef __cplusplus 26391extern "C" 26392#endif 26393char libcdata_range_list_empty (); 26394int 26395main () 26396{ 26397return libcdata_range_list_empty (); 26398 ; 26399 return 0; 26400} 26401_ACEOF 26402if ac_fn_c_try_link "$LINENO"; then : 26403 ac_cv_lib_cdata_libcdata_range_list_empty=yes 26404else 26405 ac_cv_lib_cdata_libcdata_range_list_empty=no 26406fi 26407rm -f core conftest.err conftest.$ac_objext \ 26408 conftest$ac_exeext conftest.$ac_ext 26409LIBS=$ac_check_lib_save_LIBS 26410fi 26411{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_empty" >&5 26412$as_echo "$ac_cv_lib_cdata_libcdata_range_list_empty" >&6; } 26413if test "x$ac_cv_lib_cdata_libcdata_range_list_empty" = xyes; then : 26414 ac_cv_libcdata_dummy=yes 26415else 26416 ac_cv_libcdata=no 26417fi 26418 26419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_clone in -lcdata" >&5 26420$as_echo_n "checking for libcdata_range_list_clone in -lcdata... " >&6; } 26421if ${ac_cv_lib_cdata_libcdata_range_list_clone+:} false; then : 26422 $as_echo_n "(cached) " >&6 26423else 26424 ac_check_lib_save_LIBS=$LIBS 26425LIBS="-lcdata $LIBS" 26426cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26427/* end confdefs.h. */ 26428 26429/* Override any GCC internal prototype to avoid an error. 26430 Use char because int might match the return type of a GCC 26431 builtin and then its argument prototype would still apply. */ 26432#ifdef __cplusplus 26433extern "C" 26434#endif 26435char libcdata_range_list_clone (); 26436int 26437main () 26438{ 26439return libcdata_range_list_clone (); 26440 ; 26441 return 0; 26442} 26443_ACEOF 26444if ac_fn_c_try_link "$LINENO"; then : 26445 ac_cv_lib_cdata_libcdata_range_list_clone=yes 26446else 26447 ac_cv_lib_cdata_libcdata_range_list_clone=no 26448fi 26449rm -f core conftest.err conftest.$ac_objext \ 26450 conftest$ac_exeext conftest.$ac_ext 26451LIBS=$ac_check_lib_save_LIBS 26452fi 26453{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_clone" >&5 26454$as_echo "$ac_cv_lib_cdata_libcdata_range_list_clone" >&6; } 26455if test "x$ac_cv_lib_cdata_libcdata_range_list_clone" = xyes; then : 26456 ac_cv_libcdata_dummy=yes 26457else 26458 ac_cv_libcdata=no 26459fi 26460 26461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_number_of_elements in -lcdata" >&5 26462$as_echo_n "checking for libcdata_range_list_get_number_of_elements in -lcdata... " >&6; } 26463if ${ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements+:} false; then : 26464 $as_echo_n "(cached) " >&6 26465else 26466 ac_check_lib_save_LIBS=$LIBS 26467LIBS="-lcdata $LIBS" 26468cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26469/* end confdefs.h. */ 26470 26471/* Override any GCC internal prototype to avoid an error. 26472 Use char because int might match the return type of a GCC 26473 builtin and then its argument prototype would still apply. */ 26474#ifdef __cplusplus 26475extern "C" 26476#endif 26477char libcdata_range_list_get_number_of_elements (); 26478int 26479main () 26480{ 26481return libcdata_range_list_get_number_of_elements (); 26482 ; 26483 return 0; 26484} 26485_ACEOF 26486if ac_fn_c_try_link "$LINENO"; then : 26487 ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements=yes 26488else 26489 ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements=no 26490fi 26491rm -f core conftest.err conftest.$ac_objext \ 26492 conftest$ac_exeext conftest.$ac_ext 26493LIBS=$ac_check_lib_save_LIBS 26494fi 26495{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements" >&5 26496$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements" >&6; } 26497if test "x$ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements" = xyes; then : 26498 ac_cv_libcdata_dummy=yes 26499else 26500 ac_cv_libcdata=no 26501fi 26502 26503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_insert_range in -lcdata" >&5 26504$as_echo_n "checking for libcdata_range_list_insert_range in -lcdata... " >&6; } 26505if ${ac_cv_lib_cdata_libcdata_range_list_insert_range+:} false; then : 26506 $as_echo_n "(cached) " >&6 26507else 26508 ac_check_lib_save_LIBS=$LIBS 26509LIBS="-lcdata $LIBS" 26510cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26511/* end confdefs.h. */ 26512 26513/* Override any GCC internal prototype to avoid an error. 26514 Use char because int might match the return type of a GCC 26515 builtin and then its argument prototype would still apply. */ 26516#ifdef __cplusplus 26517extern "C" 26518#endif 26519char libcdata_range_list_insert_range (); 26520int 26521main () 26522{ 26523return libcdata_range_list_insert_range (); 26524 ; 26525 return 0; 26526} 26527_ACEOF 26528if ac_fn_c_try_link "$LINENO"; then : 26529 ac_cv_lib_cdata_libcdata_range_list_insert_range=yes 26530else 26531 ac_cv_lib_cdata_libcdata_range_list_insert_range=no 26532fi 26533rm -f core conftest.err conftest.$ac_objext \ 26534 conftest$ac_exeext conftest.$ac_ext 26535LIBS=$ac_check_lib_save_LIBS 26536fi 26537{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_insert_range" >&5 26538$as_echo "$ac_cv_lib_cdata_libcdata_range_list_insert_range" >&6; } 26539if test "x$ac_cv_lib_cdata_libcdata_range_list_insert_range" = xyes; then : 26540 ac_cv_libcdata_dummy=yes 26541else 26542 ac_cv_libcdata=no 26543fi 26544 26545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_insert_range_list in -lcdata" >&5 26546$as_echo_n "checking for libcdata_range_list_insert_range_list in -lcdata... " >&6; } 26547if ${ac_cv_lib_cdata_libcdata_range_list_insert_range_list+:} false; then : 26548 $as_echo_n "(cached) " >&6 26549else 26550 ac_check_lib_save_LIBS=$LIBS 26551LIBS="-lcdata $LIBS" 26552cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26553/* end confdefs.h. */ 26554 26555/* Override any GCC internal prototype to avoid an error. 26556 Use char because int might match the return type of a GCC 26557 builtin and then its argument prototype would still apply. */ 26558#ifdef __cplusplus 26559extern "C" 26560#endif 26561char libcdata_range_list_insert_range_list (); 26562int 26563main () 26564{ 26565return libcdata_range_list_insert_range_list (); 26566 ; 26567 return 0; 26568} 26569_ACEOF 26570if ac_fn_c_try_link "$LINENO"; then : 26571 ac_cv_lib_cdata_libcdata_range_list_insert_range_list=yes 26572else 26573 ac_cv_lib_cdata_libcdata_range_list_insert_range_list=no 26574fi 26575rm -f core conftest.err conftest.$ac_objext \ 26576 conftest$ac_exeext conftest.$ac_ext 26577LIBS=$ac_check_lib_save_LIBS 26578fi 26579{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_insert_range_list" >&5 26580$as_echo "$ac_cv_lib_cdata_libcdata_range_list_insert_range_list" >&6; } 26581if test "x$ac_cv_lib_cdata_libcdata_range_list_insert_range_list" = xyes; then : 26582 ac_cv_libcdata_dummy=yes 26583else 26584 ac_cv_libcdata=no 26585fi 26586 26587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_remove_range in -lcdata" >&5 26588$as_echo_n "checking for libcdata_range_list_remove_range in -lcdata... " >&6; } 26589if ${ac_cv_lib_cdata_libcdata_range_list_remove_range+:} false; then : 26590 $as_echo_n "(cached) " >&6 26591else 26592 ac_check_lib_save_LIBS=$LIBS 26593LIBS="-lcdata $LIBS" 26594cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26595/* end confdefs.h. */ 26596 26597/* Override any GCC internal prototype to avoid an error. 26598 Use char because int might match the return type of a GCC 26599 builtin and then its argument prototype would still apply. */ 26600#ifdef __cplusplus 26601extern "C" 26602#endif 26603char libcdata_range_list_remove_range (); 26604int 26605main () 26606{ 26607return libcdata_range_list_remove_range (); 26608 ; 26609 return 0; 26610} 26611_ACEOF 26612if ac_fn_c_try_link "$LINENO"; then : 26613 ac_cv_lib_cdata_libcdata_range_list_remove_range=yes 26614else 26615 ac_cv_lib_cdata_libcdata_range_list_remove_range=no 26616fi 26617rm -f core conftest.err conftest.$ac_objext \ 26618 conftest$ac_exeext conftest.$ac_ext 26619LIBS=$ac_check_lib_save_LIBS 26620fi 26621{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_remove_range" >&5 26622$as_echo "$ac_cv_lib_cdata_libcdata_range_list_remove_range" >&6; } 26623if test "x$ac_cv_lib_cdata_libcdata_range_list_remove_range" = xyes; then : 26624 ac_cv_libcdata_dummy=yes 26625else 26626 ac_cv_libcdata=no 26627fi 26628 26629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_range_by_index in -lcdata" >&5 26630$as_echo_n "checking for libcdata_range_list_get_range_by_index in -lcdata... " >&6; } 26631if ${ac_cv_lib_cdata_libcdata_range_list_get_range_by_index+:} false; then : 26632 $as_echo_n "(cached) " >&6 26633else 26634 ac_check_lib_save_LIBS=$LIBS 26635LIBS="-lcdata $LIBS" 26636cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26637/* end confdefs.h. */ 26638 26639/* Override any GCC internal prototype to avoid an error. 26640 Use char because int might match the return type of a GCC 26641 builtin and then its argument prototype would still apply. */ 26642#ifdef __cplusplus 26643extern "C" 26644#endif 26645char libcdata_range_list_get_range_by_index (); 26646int 26647main () 26648{ 26649return libcdata_range_list_get_range_by_index (); 26650 ; 26651 return 0; 26652} 26653_ACEOF 26654if ac_fn_c_try_link "$LINENO"; then : 26655 ac_cv_lib_cdata_libcdata_range_list_get_range_by_index=yes 26656else 26657 ac_cv_lib_cdata_libcdata_range_list_get_range_by_index=no 26658fi 26659rm -f core conftest.err conftest.$ac_objext \ 26660 conftest$ac_exeext conftest.$ac_ext 26661LIBS=$ac_check_lib_save_LIBS 26662fi 26663{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_range_by_index" >&5 26664$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_range_by_index" >&6; } 26665if test "x$ac_cv_lib_cdata_libcdata_range_list_get_range_by_index" = xyes; then : 26666 ac_cv_libcdata_dummy=yes 26667else 26668 ac_cv_libcdata=no 26669fi 26670 26671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_range_at_offset in -lcdata" >&5 26672$as_echo_n "checking for libcdata_range_list_get_range_at_offset in -lcdata... " >&6; } 26673if ${ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset+:} false; then : 26674 $as_echo_n "(cached) " >&6 26675else 26676 ac_check_lib_save_LIBS=$LIBS 26677LIBS="-lcdata $LIBS" 26678cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26679/* end confdefs.h. */ 26680 26681/* Override any GCC internal prototype to avoid an error. 26682 Use char because int might match the return type of a GCC 26683 builtin and then its argument prototype would still apply. */ 26684#ifdef __cplusplus 26685extern "C" 26686#endif 26687char libcdata_range_list_get_range_at_offset (); 26688int 26689main () 26690{ 26691return libcdata_range_list_get_range_at_offset (); 26692 ; 26693 return 0; 26694} 26695_ACEOF 26696if ac_fn_c_try_link "$LINENO"; then : 26697 ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset=yes 26698else 26699 ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset=no 26700fi 26701rm -f core conftest.err conftest.$ac_objext \ 26702 conftest$ac_exeext conftest.$ac_ext 26703LIBS=$ac_check_lib_save_LIBS 26704fi 26705{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset" >&5 26706$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset" >&6; } 26707if test "x$ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset" = xyes; then : 26708 ac_cv_libcdata_dummy=yes 26709else 26710 ac_cv_libcdata=no 26711fi 26712 26713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_range_is_present in -lcdata" >&5 26714$as_echo_n "checking for libcdata_range_list_range_is_present in -lcdata... " >&6; } 26715if ${ac_cv_lib_cdata_libcdata_range_list_range_is_present+:} false; then : 26716 $as_echo_n "(cached) " >&6 26717else 26718 ac_check_lib_save_LIBS=$LIBS 26719LIBS="-lcdata $LIBS" 26720cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26721/* end confdefs.h. */ 26722 26723/* Override any GCC internal prototype to avoid an error. 26724 Use char because int might match the return type of a GCC 26725 builtin and then its argument prototype would still apply. */ 26726#ifdef __cplusplus 26727extern "C" 26728#endif 26729char libcdata_range_list_range_is_present (); 26730int 26731main () 26732{ 26733return libcdata_range_list_range_is_present (); 26734 ; 26735 return 0; 26736} 26737_ACEOF 26738if ac_fn_c_try_link "$LINENO"; then : 26739 ac_cv_lib_cdata_libcdata_range_list_range_is_present=yes 26740else 26741 ac_cv_lib_cdata_libcdata_range_list_range_is_present=no 26742fi 26743rm -f core conftest.err conftest.$ac_objext \ 26744 conftest$ac_exeext conftest.$ac_ext 26745LIBS=$ac_check_lib_save_LIBS 26746fi 26747{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_range_is_present" >&5 26748$as_echo "$ac_cv_lib_cdata_libcdata_range_list_range_is_present" >&6; } 26749if test "x$ac_cv_lib_cdata_libcdata_range_list_range_is_present" = xyes; then : 26750 ac_cv_libcdata_dummy=yes 26751else 26752 ac_cv_libcdata=no 26753fi 26754 26755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_spanning_range in -lcdata" >&5 26756$as_echo_n "checking for libcdata_range_list_get_spanning_range in -lcdata... " >&6; } 26757if ${ac_cv_lib_cdata_libcdata_range_list_get_spanning_range+:} false; then : 26758 $as_echo_n "(cached) " >&6 26759else 26760 ac_check_lib_save_LIBS=$LIBS 26761LIBS="-lcdata $LIBS" 26762cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26763/* end confdefs.h. */ 26764 26765/* Override any GCC internal prototype to avoid an error. 26766 Use char because int might match the return type of a GCC 26767 builtin and then its argument prototype would still apply. */ 26768#ifdef __cplusplus 26769extern "C" 26770#endif 26771char libcdata_range_list_get_spanning_range (); 26772int 26773main () 26774{ 26775return libcdata_range_list_get_spanning_range (); 26776 ; 26777 return 0; 26778} 26779_ACEOF 26780if ac_fn_c_try_link "$LINENO"; then : 26781 ac_cv_lib_cdata_libcdata_range_list_get_spanning_range=yes 26782else 26783 ac_cv_lib_cdata_libcdata_range_list_get_spanning_range=no 26784fi 26785rm -f core conftest.err conftest.$ac_objext \ 26786 conftest$ac_exeext conftest.$ac_ext 26787LIBS=$ac_check_lib_save_LIBS 26788fi 26789{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_spanning_range" >&5 26790$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_spanning_range" >&6; } 26791if test "x$ac_cv_lib_cdata_libcdata_range_list_get_spanning_range" = xyes; then : 26792 ac_cv_libcdata_dummy=yes 26793else 26794 ac_cv_libcdata=no 26795fi 26796 26797 26798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_initialize in -lcdata" >&5 26799$as_echo_n "checking for libcdata_tree_node_initialize in -lcdata... " >&6; } 26800if ${ac_cv_lib_cdata_libcdata_tree_node_initialize+:} false; then : 26801 $as_echo_n "(cached) " >&6 26802else 26803 ac_check_lib_save_LIBS=$LIBS 26804LIBS="-lcdata $LIBS" 26805cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26806/* end confdefs.h. */ 26807 26808/* Override any GCC internal prototype to avoid an error. 26809 Use char because int might match the return type of a GCC 26810 builtin and then its argument prototype would still apply. */ 26811#ifdef __cplusplus 26812extern "C" 26813#endif 26814char libcdata_tree_node_initialize (); 26815int 26816main () 26817{ 26818return libcdata_tree_node_initialize (); 26819 ; 26820 return 0; 26821} 26822_ACEOF 26823if ac_fn_c_try_link "$LINENO"; then : 26824 ac_cv_lib_cdata_libcdata_tree_node_initialize=yes 26825else 26826 ac_cv_lib_cdata_libcdata_tree_node_initialize=no 26827fi 26828rm -f core conftest.err conftest.$ac_objext \ 26829 conftest$ac_exeext conftest.$ac_ext 26830LIBS=$ac_check_lib_save_LIBS 26831fi 26832{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_initialize" >&5 26833$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_initialize" >&6; } 26834if test "x$ac_cv_lib_cdata_libcdata_tree_node_initialize" = xyes; then : 26835 ac_cv_libcdata_dummy=yes 26836else 26837 ac_cv_libcdata=no 26838fi 26839 26840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_free in -lcdata" >&5 26841$as_echo_n "checking for libcdata_tree_node_free in -lcdata... " >&6; } 26842if ${ac_cv_lib_cdata_libcdata_tree_node_free+:} false; then : 26843 $as_echo_n "(cached) " >&6 26844else 26845 ac_check_lib_save_LIBS=$LIBS 26846LIBS="-lcdata $LIBS" 26847cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26848/* end confdefs.h. */ 26849 26850/* Override any GCC internal prototype to avoid an error. 26851 Use char because int might match the return type of a GCC 26852 builtin and then its argument prototype would still apply. */ 26853#ifdef __cplusplus 26854extern "C" 26855#endif 26856char libcdata_tree_node_free (); 26857int 26858main () 26859{ 26860return libcdata_tree_node_free (); 26861 ; 26862 return 0; 26863} 26864_ACEOF 26865if ac_fn_c_try_link "$LINENO"; then : 26866 ac_cv_lib_cdata_libcdata_tree_node_free=yes 26867else 26868 ac_cv_lib_cdata_libcdata_tree_node_free=no 26869fi 26870rm -f core conftest.err conftest.$ac_objext \ 26871 conftest$ac_exeext conftest.$ac_ext 26872LIBS=$ac_check_lib_save_LIBS 26873fi 26874{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_free" >&5 26875$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_free" >&6; } 26876if test "x$ac_cv_lib_cdata_libcdata_tree_node_free" = xyes; then : 26877 ac_cv_libcdata_dummy=yes 26878else 26879 ac_cv_libcdata=no 26880fi 26881 26882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_empty in -lcdata" >&5 26883$as_echo_n "checking for libcdata_tree_node_empty in -lcdata... " >&6; } 26884if ${ac_cv_lib_cdata_libcdata_tree_node_empty+:} false; then : 26885 $as_echo_n "(cached) " >&6 26886else 26887 ac_check_lib_save_LIBS=$LIBS 26888LIBS="-lcdata $LIBS" 26889cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26890/* end confdefs.h. */ 26891 26892/* Override any GCC internal prototype to avoid an error. 26893 Use char because int might match the return type of a GCC 26894 builtin and then its argument prototype would still apply. */ 26895#ifdef __cplusplus 26896extern "C" 26897#endif 26898char libcdata_tree_node_empty (); 26899int 26900main () 26901{ 26902return libcdata_tree_node_empty (); 26903 ; 26904 return 0; 26905} 26906_ACEOF 26907if ac_fn_c_try_link "$LINENO"; then : 26908 ac_cv_lib_cdata_libcdata_tree_node_empty=yes 26909else 26910 ac_cv_lib_cdata_libcdata_tree_node_empty=no 26911fi 26912rm -f core conftest.err conftest.$ac_objext \ 26913 conftest$ac_exeext conftest.$ac_ext 26914LIBS=$ac_check_lib_save_LIBS 26915fi 26916{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_empty" >&5 26917$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_empty" >&6; } 26918if test "x$ac_cv_lib_cdata_libcdata_tree_node_empty" = xyes; then : 26919 ac_cv_libcdata_dummy=yes 26920else 26921 ac_cv_libcdata=no 26922fi 26923 26924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_clone in -lcdata" >&5 26925$as_echo_n "checking for libcdata_tree_node_clone in -lcdata... " >&6; } 26926if ${ac_cv_lib_cdata_libcdata_tree_node_clone+:} false; then : 26927 $as_echo_n "(cached) " >&6 26928else 26929 ac_check_lib_save_LIBS=$LIBS 26930LIBS="-lcdata $LIBS" 26931cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26932/* end confdefs.h. */ 26933 26934/* Override any GCC internal prototype to avoid an error. 26935 Use char because int might match the return type of a GCC 26936 builtin and then its argument prototype would still apply. */ 26937#ifdef __cplusplus 26938extern "C" 26939#endif 26940char libcdata_tree_node_clone (); 26941int 26942main () 26943{ 26944return libcdata_tree_node_clone (); 26945 ; 26946 return 0; 26947} 26948_ACEOF 26949if ac_fn_c_try_link "$LINENO"; then : 26950 ac_cv_lib_cdata_libcdata_tree_node_clone=yes 26951else 26952 ac_cv_lib_cdata_libcdata_tree_node_clone=no 26953fi 26954rm -f core conftest.err conftest.$ac_objext \ 26955 conftest$ac_exeext conftest.$ac_ext 26956LIBS=$ac_check_lib_save_LIBS 26957fi 26958{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_clone" >&5 26959$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_clone" >&6; } 26960if test "x$ac_cv_lib_cdata_libcdata_tree_node_clone" = xyes; then : 26961 ac_cv_libcdata_dummy=yes 26962else 26963 ac_cv_libcdata=no 26964fi 26965 26966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_value in -lcdata" >&5 26967$as_echo_n "checking for libcdata_tree_node_get_value in -lcdata... " >&6; } 26968if ${ac_cv_lib_cdata_libcdata_tree_node_get_value+:} false; then : 26969 $as_echo_n "(cached) " >&6 26970else 26971 ac_check_lib_save_LIBS=$LIBS 26972LIBS="-lcdata $LIBS" 26973cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26974/* end confdefs.h. */ 26975 26976/* Override any GCC internal prototype to avoid an error. 26977 Use char because int might match the return type of a GCC 26978 builtin and then its argument prototype would still apply. */ 26979#ifdef __cplusplus 26980extern "C" 26981#endif 26982char libcdata_tree_node_get_value (); 26983int 26984main () 26985{ 26986return libcdata_tree_node_get_value (); 26987 ; 26988 return 0; 26989} 26990_ACEOF 26991if ac_fn_c_try_link "$LINENO"; then : 26992 ac_cv_lib_cdata_libcdata_tree_node_get_value=yes 26993else 26994 ac_cv_lib_cdata_libcdata_tree_node_get_value=no 26995fi 26996rm -f core conftest.err conftest.$ac_objext \ 26997 conftest$ac_exeext conftest.$ac_ext 26998LIBS=$ac_check_lib_save_LIBS 26999fi 27000{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_value" >&5 27001$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_value" >&6; } 27002if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_value" = xyes; then : 27003 ac_cv_libcdata_dummy=yes 27004else 27005 ac_cv_libcdata=no 27006fi 27007 27008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_value in -lcdata" >&5 27009$as_echo_n "checking for libcdata_tree_node_set_value in -lcdata... " >&6; } 27010if ${ac_cv_lib_cdata_libcdata_tree_node_set_value+:} false; then : 27011 $as_echo_n "(cached) " >&6 27012else 27013 ac_check_lib_save_LIBS=$LIBS 27014LIBS="-lcdata $LIBS" 27015cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27016/* end confdefs.h. */ 27017 27018/* Override any GCC internal prototype to avoid an error. 27019 Use char because int might match the return type of a GCC 27020 builtin and then its argument prototype would still apply. */ 27021#ifdef __cplusplus 27022extern "C" 27023#endif 27024char libcdata_tree_node_set_value (); 27025int 27026main () 27027{ 27028return libcdata_tree_node_set_value (); 27029 ; 27030 return 0; 27031} 27032_ACEOF 27033if ac_fn_c_try_link "$LINENO"; then : 27034 ac_cv_lib_cdata_libcdata_tree_node_set_value=yes 27035else 27036 ac_cv_lib_cdata_libcdata_tree_node_set_value=no 27037fi 27038rm -f core conftest.err conftest.$ac_objext \ 27039 conftest$ac_exeext conftest.$ac_ext 27040LIBS=$ac_check_lib_save_LIBS 27041fi 27042{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_value" >&5 27043$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_value" >&6; } 27044if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_value" = xyes; then : 27045 ac_cv_libcdata_dummy=yes 27046else 27047 ac_cv_libcdata=no 27048fi 27049 27050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_parent_node in -lcdata" >&5 27051$as_echo_n "checking for libcdata_tree_node_get_parent_node in -lcdata... " >&6; } 27052if ${ac_cv_lib_cdata_libcdata_tree_node_get_parent_node+:} false; then : 27053 $as_echo_n "(cached) " >&6 27054else 27055 ac_check_lib_save_LIBS=$LIBS 27056LIBS="-lcdata $LIBS" 27057cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27058/* end confdefs.h. */ 27059 27060/* Override any GCC internal prototype to avoid an error. 27061 Use char because int might match the return type of a GCC 27062 builtin and then its argument prototype would still apply. */ 27063#ifdef __cplusplus 27064extern "C" 27065#endif 27066char libcdata_tree_node_get_parent_node (); 27067int 27068main () 27069{ 27070return libcdata_tree_node_get_parent_node (); 27071 ; 27072 return 0; 27073} 27074_ACEOF 27075if ac_fn_c_try_link "$LINENO"; then : 27076 ac_cv_lib_cdata_libcdata_tree_node_get_parent_node=yes 27077else 27078 ac_cv_lib_cdata_libcdata_tree_node_get_parent_node=no 27079fi 27080rm -f core conftest.err conftest.$ac_objext \ 27081 conftest$ac_exeext conftest.$ac_ext 27082LIBS=$ac_check_lib_save_LIBS 27083fi 27084{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_parent_node" >&5 27085$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_parent_node" >&6; } 27086if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_parent_node" = xyes; then : 27087 ac_cv_libcdata_dummy=yes 27088else 27089 ac_cv_libcdata=no 27090fi 27091 27092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_parent_node in -lcdata" >&5 27093$as_echo_n "checking for libcdata_tree_node_set_parent_node in -lcdata... " >&6; } 27094if ${ac_cv_lib_cdata_libcdata_tree_node_set_parent_node+:} false; then : 27095 $as_echo_n "(cached) " >&6 27096else 27097 ac_check_lib_save_LIBS=$LIBS 27098LIBS="-lcdata $LIBS" 27099cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27100/* end confdefs.h. */ 27101 27102/* Override any GCC internal prototype to avoid an error. 27103 Use char because int might match the return type of a GCC 27104 builtin and then its argument prototype would still apply. */ 27105#ifdef __cplusplus 27106extern "C" 27107#endif 27108char libcdata_tree_node_set_parent_node (); 27109int 27110main () 27111{ 27112return libcdata_tree_node_set_parent_node (); 27113 ; 27114 return 0; 27115} 27116_ACEOF 27117if ac_fn_c_try_link "$LINENO"; then : 27118 ac_cv_lib_cdata_libcdata_tree_node_set_parent_node=yes 27119else 27120 ac_cv_lib_cdata_libcdata_tree_node_set_parent_node=no 27121fi 27122rm -f core conftest.err conftest.$ac_objext \ 27123 conftest$ac_exeext conftest.$ac_ext 27124LIBS=$ac_check_lib_save_LIBS 27125fi 27126{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_parent_node" >&5 27127$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_parent_node" >&6; } 27128if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_parent_node" = xyes; then : 27129 ac_cv_libcdata_dummy=yes 27130else 27131 ac_cv_libcdata=no 27132fi 27133 27134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_previous_node in -lcdata" >&5 27135$as_echo_n "checking for libcdata_tree_node_get_previous_node in -lcdata... " >&6; } 27136if ${ac_cv_lib_cdata_libcdata_tree_node_get_previous_node+:} false; then : 27137 $as_echo_n "(cached) " >&6 27138else 27139 ac_check_lib_save_LIBS=$LIBS 27140LIBS="-lcdata $LIBS" 27141cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27142/* end confdefs.h. */ 27143 27144/* Override any GCC internal prototype to avoid an error. 27145 Use char because int might match the return type of a GCC 27146 builtin and then its argument prototype would still apply. */ 27147#ifdef __cplusplus 27148extern "C" 27149#endif 27150char libcdata_tree_node_get_previous_node (); 27151int 27152main () 27153{ 27154return libcdata_tree_node_get_previous_node (); 27155 ; 27156 return 0; 27157} 27158_ACEOF 27159if ac_fn_c_try_link "$LINENO"; then : 27160 ac_cv_lib_cdata_libcdata_tree_node_get_previous_node=yes 27161else 27162 ac_cv_lib_cdata_libcdata_tree_node_get_previous_node=no 27163fi 27164rm -f core conftest.err conftest.$ac_objext \ 27165 conftest$ac_exeext conftest.$ac_ext 27166LIBS=$ac_check_lib_save_LIBS 27167fi 27168{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_previous_node" >&5 27169$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_previous_node" >&6; } 27170if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_previous_node" = xyes; then : 27171 ac_cv_libcdata_dummy=yes 27172else 27173 ac_cv_libcdata=no 27174fi 27175 27176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_previous_node in -lcdata" >&5 27177$as_echo_n "checking for libcdata_tree_node_set_previous_node in -lcdata... " >&6; } 27178if ${ac_cv_lib_cdata_libcdata_tree_node_set_previous_node+:} false; then : 27179 $as_echo_n "(cached) " >&6 27180else 27181 ac_check_lib_save_LIBS=$LIBS 27182LIBS="-lcdata $LIBS" 27183cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27184/* end confdefs.h. */ 27185 27186/* Override any GCC internal prototype to avoid an error. 27187 Use char because int might match the return type of a GCC 27188 builtin and then its argument prototype would still apply. */ 27189#ifdef __cplusplus 27190extern "C" 27191#endif 27192char libcdata_tree_node_set_previous_node (); 27193int 27194main () 27195{ 27196return libcdata_tree_node_set_previous_node (); 27197 ; 27198 return 0; 27199} 27200_ACEOF 27201if ac_fn_c_try_link "$LINENO"; then : 27202 ac_cv_lib_cdata_libcdata_tree_node_set_previous_node=yes 27203else 27204 ac_cv_lib_cdata_libcdata_tree_node_set_previous_node=no 27205fi 27206rm -f core conftest.err conftest.$ac_objext \ 27207 conftest$ac_exeext conftest.$ac_ext 27208LIBS=$ac_check_lib_save_LIBS 27209fi 27210{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_previous_node" >&5 27211$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_previous_node" >&6; } 27212if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_previous_node" = xyes; then : 27213 ac_cv_libcdata_dummy=yes 27214else 27215 ac_cv_libcdata=no 27216fi 27217 27218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_next_node in -lcdata" >&5 27219$as_echo_n "checking for libcdata_tree_node_get_next_node in -lcdata... " >&6; } 27220if ${ac_cv_lib_cdata_libcdata_tree_node_get_next_node+:} false; then : 27221 $as_echo_n "(cached) " >&6 27222else 27223 ac_check_lib_save_LIBS=$LIBS 27224LIBS="-lcdata $LIBS" 27225cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27226/* end confdefs.h. */ 27227 27228/* Override any GCC internal prototype to avoid an error. 27229 Use char because int might match the return type of a GCC 27230 builtin and then its argument prototype would still apply. */ 27231#ifdef __cplusplus 27232extern "C" 27233#endif 27234char libcdata_tree_node_get_next_node (); 27235int 27236main () 27237{ 27238return libcdata_tree_node_get_next_node (); 27239 ; 27240 return 0; 27241} 27242_ACEOF 27243if ac_fn_c_try_link "$LINENO"; then : 27244 ac_cv_lib_cdata_libcdata_tree_node_get_next_node=yes 27245else 27246 ac_cv_lib_cdata_libcdata_tree_node_get_next_node=no 27247fi 27248rm -f core conftest.err conftest.$ac_objext \ 27249 conftest$ac_exeext conftest.$ac_ext 27250LIBS=$ac_check_lib_save_LIBS 27251fi 27252{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_next_node" >&5 27253$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_next_node" >&6; } 27254if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_next_node" = xyes; then : 27255 ac_cv_libcdata_dummy=yes 27256else 27257 ac_cv_libcdata=no 27258fi 27259 27260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_next_node in -lcdata" >&5 27261$as_echo_n "checking for libcdata_tree_node_set_next_node in -lcdata... " >&6; } 27262if ${ac_cv_lib_cdata_libcdata_tree_node_set_next_node+:} false; then : 27263 $as_echo_n "(cached) " >&6 27264else 27265 ac_check_lib_save_LIBS=$LIBS 27266LIBS="-lcdata $LIBS" 27267cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27268/* end confdefs.h. */ 27269 27270/* Override any GCC internal prototype to avoid an error. 27271 Use char because int might match the return type of a GCC 27272 builtin and then its argument prototype would still apply. */ 27273#ifdef __cplusplus 27274extern "C" 27275#endif 27276char libcdata_tree_node_set_next_node (); 27277int 27278main () 27279{ 27280return libcdata_tree_node_set_next_node (); 27281 ; 27282 return 0; 27283} 27284_ACEOF 27285if ac_fn_c_try_link "$LINENO"; then : 27286 ac_cv_lib_cdata_libcdata_tree_node_set_next_node=yes 27287else 27288 ac_cv_lib_cdata_libcdata_tree_node_set_next_node=no 27289fi 27290rm -f core conftest.err conftest.$ac_objext \ 27291 conftest$ac_exeext conftest.$ac_ext 27292LIBS=$ac_check_lib_save_LIBS 27293fi 27294{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_next_node" >&5 27295$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_next_node" >&6; } 27296if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_next_node" = xyes; then : 27297 ac_cv_libcdata_dummy=yes 27298else 27299 ac_cv_libcdata=no 27300fi 27301 27302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_nodes in -lcdata" >&5 27303$as_echo_n "checking for libcdata_tree_node_get_nodes in -lcdata... " >&6; } 27304if ${ac_cv_lib_cdata_libcdata_tree_node_get_nodes+:} false; then : 27305 $as_echo_n "(cached) " >&6 27306else 27307 ac_check_lib_save_LIBS=$LIBS 27308LIBS="-lcdata $LIBS" 27309cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27310/* end confdefs.h. */ 27311 27312/* Override any GCC internal prototype to avoid an error. 27313 Use char because int might match the return type of a GCC 27314 builtin and then its argument prototype would still apply. */ 27315#ifdef __cplusplus 27316extern "C" 27317#endif 27318char libcdata_tree_node_get_nodes (); 27319int 27320main () 27321{ 27322return libcdata_tree_node_get_nodes (); 27323 ; 27324 return 0; 27325} 27326_ACEOF 27327if ac_fn_c_try_link "$LINENO"; then : 27328 ac_cv_lib_cdata_libcdata_tree_node_get_nodes=yes 27329else 27330 ac_cv_lib_cdata_libcdata_tree_node_get_nodes=no 27331fi 27332rm -f core conftest.err conftest.$ac_objext \ 27333 conftest$ac_exeext conftest.$ac_ext 27334LIBS=$ac_check_lib_save_LIBS 27335fi 27336{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_nodes" >&5 27337$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_nodes" >&6; } 27338if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_nodes" = xyes; then : 27339 ac_cv_libcdata_dummy=yes 27340else 27341 ac_cv_libcdata=no 27342fi 27343 27344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_nodes in -lcdata" >&5 27345$as_echo_n "checking for libcdata_tree_node_set_nodes in -lcdata... " >&6; } 27346if ${ac_cv_lib_cdata_libcdata_tree_node_set_nodes+:} false; then : 27347 $as_echo_n "(cached) " >&6 27348else 27349 ac_check_lib_save_LIBS=$LIBS 27350LIBS="-lcdata $LIBS" 27351cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27352/* end confdefs.h. */ 27353 27354/* Override any GCC internal prototype to avoid an error. 27355 Use char because int might match the return type of a GCC 27356 builtin and then its argument prototype would still apply. */ 27357#ifdef __cplusplus 27358extern "C" 27359#endif 27360char libcdata_tree_node_set_nodes (); 27361int 27362main () 27363{ 27364return libcdata_tree_node_set_nodes (); 27365 ; 27366 return 0; 27367} 27368_ACEOF 27369if ac_fn_c_try_link "$LINENO"; then : 27370 ac_cv_lib_cdata_libcdata_tree_node_set_nodes=yes 27371else 27372 ac_cv_lib_cdata_libcdata_tree_node_set_nodes=no 27373fi 27374rm -f core conftest.err conftest.$ac_objext \ 27375 conftest$ac_exeext conftest.$ac_ext 27376LIBS=$ac_check_lib_save_LIBS 27377fi 27378{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_nodes" >&5 27379$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_nodes" >&6; } 27380if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_nodes" = xyes; then : 27381 ac_cv_libcdata_dummy=yes 27382else 27383 ac_cv_libcdata=no 27384fi 27385 27386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_append_node in -lcdata" >&5 27387$as_echo_n "checking for libcdata_tree_node_append_node in -lcdata... " >&6; } 27388if ${ac_cv_lib_cdata_libcdata_tree_node_append_node+:} false; then : 27389 $as_echo_n "(cached) " >&6 27390else 27391 ac_check_lib_save_LIBS=$LIBS 27392LIBS="-lcdata $LIBS" 27393cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27394/* end confdefs.h. */ 27395 27396/* Override any GCC internal prototype to avoid an error. 27397 Use char because int might match the return type of a GCC 27398 builtin and then its argument prototype would still apply. */ 27399#ifdef __cplusplus 27400extern "C" 27401#endif 27402char libcdata_tree_node_append_node (); 27403int 27404main () 27405{ 27406return libcdata_tree_node_append_node (); 27407 ; 27408 return 0; 27409} 27410_ACEOF 27411if ac_fn_c_try_link "$LINENO"; then : 27412 ac_cv_lib_cdata_libcdata_tree_node_append_node=yes 27413else 27414 ac_cv_lib_cdata_libcdata_tree_node_append_node=no 27415fi 27416rm -f core conftest.err conftest.$ac_objext \ 27417 conftest$ac_exeext conftest.$ac_ext 27418LIBS=$ac_check_lib_save_LIBS 27419fi 27420{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_append_node" >&5 27421$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_append_node" >&6; } 27422if test "x$ac_cv_lib_cdata_libcdata_tree_node_append_node" = xyes; then : 27423 ac_cv_libcdata_dummy=yes 27424else 27425 ac_cv_libcdata=no 27426fi 27427 27428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_append_value in -lcdata" >&5 27429$as_echo_n "checking for libcdata_tree_node_append_value in -lcdata... " >&6; } 27430if ${ac_cv_lib_cdata_libcdata_tree_node_append_value+:} false; then : 27431 $as_echo_n "(cached) " >&6 27432else 27433 ac_check_lib_save_LIBS=$LIBS 27434LIBS="-lcdata $LIBS" 27435cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27436/* end confdefs.h. */ 27437 27438/* Override any GCC internal prototype to avoid an error. 27439 Use char because int might match the return type of a GCC 27440 builtin and then its argument prototype would still apply. */ 27441#ifdef __cplusplus 27442extern "C" 27443#endif 27444char libcdata_tree_node_append_value (); 27445int 27446main () 27447{ 27448return libcdata_tree_node_append_value (); 27449 ; 27450 return 0; 27451} 27452_ACEOF 27453if ac_fn_c_try_link "$LINENO"; then : 27454 ac_cv_lib_cdata_libcdata_tree_node_append_value=yes 27455else 27456 ac_cv_lib_cdata_libcdata_tree_node_append_value=no 27457fi 27458rm -f core conftest.err conftest.$ac_objext \ 27459 conftest$ac_exeext conftest.$ac_ext 27460LIBS=$ac_check_lib_save_LIBS 27461fi 27462{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_append_value" >&5 27463$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_append_value" >&6; } 27464if test "x$ac_cv_lib_cdata_libcdata_tree_node_append_value" = xyes; then : 27465 ac_cv_libcdata_dummy=yes 27466else 27467 ac_cv_libcdata=no 27468fi 27469 27470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_insert_node in -lcdata" >&5 27471$as_echo_n "checking for libcdata_tree_node_insert_node in -lcdata... " >&6; } 27472if ${ac_cv_lib_cdata_libcdata_tree_node_insert_node+:} false; then : 27473 $as_echo_n "(cached) " >&6 27474else 27475 ac_check_lib_save_LIBS=$LIBS 27476LIBS="-lcdata $LIBS" 27477cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27478/* end confdefs.h. */ 27479 27480/* Override any GCC internal prototype to avoid an error. 27481 Use char because int might match the return type of a GCC 27482 builtin and then its argument prototype would still apply. */ 27483#ifdef __cplusplus 27484extern "C" 27485#endif 27486char libcdata_tree_node_insert_node (); 27487int 27488main () 27489{ 27490return libcdata_tree_node_insert_node (); 27491 ; 27492 return 0; 27493} 27494_ACEOF 27495if ac_fn_c_try_link "$LINENO"; then : 27496 ac_cv_lib_cdata_libcdata_tree_node_insert_node=yes 27497else 27498 ac_cv_lib_cdata_libcdata_tree_node_insert_node=no 27499fi 27500rm -f core conftest.err conftest.$ac_objext \ 27501 conftest$ac_exeext conftest.$ac_ext 27502LIBS=$ac_check_lib_save_LIBS 27503fi 27504{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_insert_node" >&5 27505$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_insert_node" >&6; } 27506if test "x$ac_cv_lib_cdata_libcdata_tree_node_insert_node" = xyes; then : 27507 ac_cv_libcdata_dummy=yes 27508else 27509 ac_cv_libcdata=no 27510fi 27511 27512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_insert_value in -lcdata" >&5 27513$as_echo_n "checking for libcdata_tree_node_insert_value in -lcdata... " >&6; } 27514if ${ac_cv_lib_cdata_libcdata_tree_node_insert_value+:} false; then : 27515 $as_echo_n "(cached) " >&6 27516else 27517 ac_check_lib_save_LIBS=$LIBS 27518LIBS="-lcdata $LIBS" 27519cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27520/* end confdefs.h. */ 27521 27522/* Override any GCC internal prototype to avoid an error. 27523 Use char because int might match the return type of a GCC 27524 builtin and then its argument prototype would still apply. */ 27525#ifdef __cplusplus 27526extern "C" 27527#endif 27528char libcdata_tree_node_insert_value (); 27529int 27530main () 27531{ 27532return libcdata_tree_node_insert_value (); 27533 ; 27534 return 0; 27535} 27536_ACEOF 27537if ac_fn_c_try_link "$LINENO"; then : 27538 ac_cv_lib_cdata_libcdata_tree_node_insert_value=yes 27539else 27540 ac_cv_lib_cdata_libcdata_tree_node_insert_value=no 27541fi 27542rm -f core conftest.err conftest.$ac_objext \ 27543 conftest$ac_exeext conftest.$ac_ext 27544LIBS=$ac_check_lib_save_LIBS 27545fi 27546{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_insert_value" >&5 27547$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_insert_value" >&6; } 27548if test "x$ac_cv_lib_cdata_libcdata_tree_node_insert_value" = xyes; then : 27549 ac_cv_libcdata_dummy=yes 27550else 27551 ac_cv_libcdata=no 27552fi 27553 27554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_replace_node in -lcdata" >&5 27555$as_echo_n "checking for libcdata_tree_node_replace_node in -lcdata... " >&6; } 27556if ${ac_cv_lib_cdata_libcdata_tree_node_replace_node+:} false; then : 27557 $as_echo_n "(cached) " >&6 27558else 27559 ac_check_lib_save_LIBS=$LIBS 27560LIBS="-lcdata $LIBS" 27561cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27562/* end confdefs.h. */ 27563 27564/* Override any GCC internal prototype to avoid an error. 27565 Use char because int might match the return type of a GCC 27566 builtin and then its argument prototype would still apply. */ 27567#ifdef __cplusplus 27568extern "C" 27569#endif 27570char libcdata_tree_node_replace_node (); 27571int 27572main () 27573{ 27574return libcdata_tree_node_replace_node (); 27575 ; 27576 return 0; 27577} 27578_ACEOF 27579if ac_fn_c_try_link "$LINENO"; then : 27580 ac_cv_lib_cdata_libcdata_tree_node_replace_node=yes 27581else 27582 ac_cv_lib_cdata_libcdata_tree_node_replace_node=no 27583fi 27584rm -f core conftest.err conftest.$ac_objext \ 27585 conftest$ac_exeext conftest.$ac_ext 27586LIBS=$ac_check_lib_save_LIBS 27587fi 27588{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_replace_node" >&5 27589$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_replace_node" >&6; } 27590if test "x$ac_cv_lib_cdata_libcdata_tree_node_replace_node" = xyes; then : 27591 ac_cv_libcdata_dummy=yes 27592else 27593 ac_cv_libcdata=no 27594fi 27595 27596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_remove_node in -lcdata" >&5 27597$as_echo_n "checking for libcdata_tree_node_remove_node in -lcdata... " >&6; } 27598if ${ac_cv_lib_cdata_libcdata_tree_node_remove_node+:} false; then : 27599 $as_echo_n "(cached) " >&6 27600else 27601 ac_check_lib_save_LIBS=$LIBS 27602LIBS="-lcdata $LIBS" 27603cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27604/* end confdefs.h. */ 27605 27606/* Override any GCC internal prototype to avoid an error. 27607 Use char because int might match the return type of a GCC 27608 builtin and then its argument prototype would still apply. */ 27609#ifdef __cplusplus 27610extern "C" 27611#endif 27612char libcdata_tree_node_remove_node (); 27613int 27614main () 27615{ 27616return libcdata_tree_node_remove_node (); 27617 ; 27618 return 0; 27619} 27620_ACEOF 27621if ac_fn_c_try_link "$LINENO"; then : 27622 ac_cv_lib_cdata_libcdata_tree_node_remove_node=yes 27623else 27624 ac_cv_lib_cdata_libcdata_tree_node_remove_node=no 27625fi 27626rm -f core conftest.err conftest.$ac_objext \ 27627 conftest$ac_exeext conftest.$ac_ext 27628LIBS=$ac_check_lib_save_LIBS 27629fi 27630{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_remove_node" >&5 27631$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_remove_node" >&6; } 27632if test "x$ac_cv_lib_cdata_libcdata_tree_node_remove_node" = xyes; then : 27633 ac_cv_libcdata_dummy=yes 27634else 27635 ac_cv_libcdata=no 27636fi 27637 27638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_number_of_sub_nodes in -lcdata" >&5 27639$as_echo_n "checking for libcdata_tree_node_get_number_of_sub_nodes in -lcdata... " >&6; } 27640if ${ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes+:} false; then : 27641 $as_echo_n "(cached) " >&6 27642else 27643 ac_check_lib_save_LIBS=$LIBS 27644LIBS="-lcdata $LIBS" 27645cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27646/* end confdefs.h. */ 27647 27648/* Override any GCC internal prototype to avoid an error. 27649 Use char because int might match the return type of a GCC 27650 builtin and then its argument prototype would still apply. */ 27651#ifdef __cplusplus 27652extern "C" 27653#endif 27654char libcdata_tree_node_get_number_of_sub_nodes (); 27655int 27656main () 27657{ 27658return libcdata_tree_node_get_number_of_sub_nodes (); 27659 ; 27660 return 0; 27661} 27662_ACEOF 27663if ac_fn_c_try_link "$LINENO"; then : 27664 ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes=yes 27665else 27666 ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes=no 27667fi 27668rm -f core conftest.err conftest.$ac_objext \ 27669 conftest$ac_exeext conftest.$ac_ext 27670LIBS=$ac_check_lib_save_LIBS 27671fi 27672{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes" >&5 27673$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes" >&6; } 27674if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes" = xyes; then : 27675 ac_cv_libcdata_dummy=yes 27676else 27677 ac_cv_libcdata=no 27678fi 27679 27680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_sub_node_by_index in -lcdata" >&5 27681$as_echo_n "checking for libcdata_tree_node_get_sub_node_by_index in -lcdata... " >&6; } 27682if ${ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index+:} false; then : 27683 $as_echo_n "(cached) " >&6 27684else 27685 ac_check_lib_save_LIBS=$LIBS 27686LIBS="-lcdata $LIBS" 27687cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27688/* end confdefs.h. */ 27689 27690/* Override any GCC internal prototype to avoid an error. 27691 Use char because int might match the return type of a GCC 27692 builtin and then its argument prototype would still apply. */ 27693#ifdef __cplusplus 27694extern "C" 27695#endif 27696char libcdata_tree_node_get_sub_node_by_index (); 27697int 27698main () 27699{ 27700return libcdata_tree_node_get_sub_node_by_index (); 27701 ; 27702 return 0; 27703} 27704_ACEOF 27705if ac_fn_c_try_link "$LINENO"; then : 27706 ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index=yes 27707else 27708 ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index=no 27709fi 27710rm -f core conftest.err conftest.$ac_objext \ 27711 conftest$ac_exeext conftest.$ac_ext 27712LIBS=$ac_check_lib_save_LIBS 27713fi 27714{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index" >&5 27715$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index" >&6; } 27716if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index" = xyes; then : 27717 ac_cv_libcdata_dummy=yes 27718else 27719 ac_cv_libcdata=no 27720fi 27721 27722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_leaf_node_list in -lcdata" >&5 27723$as_echo_n "checking for libcdata_tree_node_get_leaf_node_list in -lcdata... " >&6; } 27724if ${ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list+:} false; then : 27725 $as_echo_n "(cached) " >&6 27726else 27727 ac_check_lib_save_LIBS=$LIBS 27728LIBS="-lcdata $LIBS" 27729cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27730/* end confdefs.h. */ 27731 27732/* Override any GCC internal prototype to avoid an error. 27733 Use char because int might match the return type of a GCC 27734 builtin and then its argument prototype would still apply. */ 27735#ifdef __cplusplus 27736extern "C" 27737#endif 27738char libcdata_tree_node_get_leaf_node_list (); 27739int 27740main () 27741{ 27742return libcdata_tree_node_get_leaf_node_list (); 27743 ; 27744 return 0; 27745} 27746_ACEOF 27747if ac_fn_c_try_link "$LINENO"; then : 27748 ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list=yes 27749else 27750 ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list=no 27751fi 27752rm -f core conftest.err conftest.$ac_objext \ 27753 conftest$ac_exeext conftest.$ac_ext 27754LIBS=$ac_check_lib_save_LIBS 27755fi 27756{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list" >&5 27757$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list" >&6; } 27758if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list" = xyes; then : 27759 ac_cv_libcdata_dummy=yes 27760else 27761 ac_cv_libcdata=no 27762fi 27763 27764 27765 ac_cv_libcdata_LIBADD="-lcdata" 27766fi 27767 27768fi 27769 if test "x$ac_cv_with_libcdata" != x && test "x$ac_cv_with_libcdata" != xauto-detect && test "x$ac_cv_libcdata" != xyes; then : 27770 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 27771$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 27772as_fn_error 1 "unable to find supported libcdata in directory: $ac_cv_with_libcdata 27773See \`config.log' for more details" "$LINENO" 5; } 27774 27775fi 27776 27777fi 27778 27779 if test "x$ac_cv_libcdata" = xyes; then : 27780 27781$as_echo "#define HAVE_LIBCDATA 1" >>confdefs.h 27782 27783 27784fi 27785 27786 if test "x$ac_cv_libcdata" = xyes; then : 27787 HAVE_LIBCDATA=1 27788 27789else 27790 HAVE_LIBCDATA=0 27791 27792 27793fi 27794 27795 27796 if test "x$ac_cv_libcdata" != xyes; then : 27797 27798 ac_cv_libcdata_CPPFLAGS="-I../libcdata"; 27799 ac_cv_libcdata_LIBADD="../libcdata/libcdata.la"; 27800 27801 ac_cv_libcdata=local 27802 27803 27804 27805$as_echo "#define HAVE_LOCAL_LIBCDATA 1" >>confdefs.h 27806 27807 HAVE_LOCAL_LIBCDATA=1 27808 27809 27810fi 27811 27812 if test "x$ac_cv_libcdata" = xlocal; then 27813 HAVE_LOCAL_LIBCDATA_TRUE= 27814 HAVE_LOCAL_LIBCDATA_FALSE='#' 27815else 27816 HAVE_LOCAL_LIBCDATA_TRUE='#' 27817 HAVE_LOCAL_LIBCDATA_FALSE= 27818fi 27819 27820 if test "x$ac_cv_libcdata_CPPFLAGS" != "x"; then : 27821 LIBCDATA_CPPFLAGS=$ac_cv_libcdata_CPPFLAGS 27822 27823 27824fi 27825 if test "x$ac_cv_libcdata_LIBADD" != "x"; then : 27826 LIBCDATA_LIBADD=$ac_cv_libcdata_LIBADD 27827 27828 27829fi 27830 27831 if test "x$ac_cv_libcdata" = xyes; then : 27832 ax_libcdata_pc_libs_private=-lcdata 27833 27834 27835fi 27836 27837 if test "x$ac_cv_libcdata" = xyes; then : 27838 ax_libcdata_spec_requires=libcdata 27839 27840 ax_libcdata_spec_build_requires=libcdata-devel 27841 27842 27843fi 27844 27845 27846 27847 27848# Check whether --with-libclocale was given. 27849if test "${with_libclocale+set}" = set; then : 27850 withval=$with_libclocale; ac_cv_with_libclocale=$withval 27851else 27852 ac_cv_with_libclocale=auto-detect 27853fi 27854 27855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use search for libclocale in includedir and libdir or in the specified DIR, or no if to use local version" >&5 27856$as_echo_n "checking whether to use search for libclocale in includedir and libdir or in the specified DIR, or no if to use local version... " >&6; } 27857if ${ac_cv_with_libclocale+:} false; then : 27858 $as_echo_n "(cached) " >&6 27859else 27860 ac_cv_with_libclocale=auto-detect 27861fi 27862{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libclocale" >&5 27863$as_echo "$ac_cv_with_libclocale" >&6; } 27864 27865 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libclocale" = xno; then : 27866 ac_cv_libclocale=no 27867else 27868 ac_cv_libclocale=check 27869 if test "x$ac_cv_with_libclocale" != x && test "x$ac_cv_with_libclocale" != xauto-detect; then : 27870 if test -d "$ac_cv_with_libclocale"; then : 27871 CFLAGS="$CFLAGS -I${ac_cv_with_libclocale}/include" 27872 LDFLAGS="$LDFLAGS -L${ac_cv_with_libclocale}/lib" 27873else 27874 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 27875$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 27876as_fn_error 1 "no such directory: $ac_cv_with_libclocale 27877See \`config.log' for more details" "$LINENO" 5; } 27878 27879fi 27880 27881else 27882 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 27883 27884pkg_failed=no 27885{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale" >&5 27886$as_echo_n "checking for libclocale... " >&6; } 27887 27888if test -n "$libclocale_CFLAGS"; then 27889 pkg_cv_libclocale_CFLAGS="$libclocale_CFLAGS" 27890 elif test -n "$PKG_CONFIG"; then 27891 if test -n "$PKG_CONFIG" && \ 27892 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libclocale >= 20120425\""; } >&5 27893 ($PKG_CONFIG --exists --print-errors "libclocale >= 20120425") 2>&5 27894 ac_status=$? 27895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 27896 test $ac_status = 0; }; then 27897 pkg_cv_libclocale_CFLAGS=`$PKG_CONFIG --cflags "libclocale >= 20120425" 2>/dev/null` 27898 test "x$?" != "x0" && pkg_failed=yes 27899else 27900 pkg_failed=yes 27901fi 27902 else 27903 pkg_failed=untried 27904fi 27905if test -n "$libclocale_LIBS"; then 27906 pkg_cv_libclocale_LIBS="$libclocale_LIBS" 27907 elif test -n "$PKG_CONFIG"; then 27908 if test -n "$PKG_CONFIG" && \ 27909 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libclocale >= 20120425\""; } >&5 27910 ($PKG_CONFIG --exists --print-errors "libclocale >= 20120425") 2>&5 27911 ac_status=$? 27912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 27913 test $ac_status = 0; }; then 27914 pkg_cv_libclocale_LIBS=`$PKG_CONFIG --libs "libclocale >= 20120425" 2>/dev/null` 27915 test "x$?" != "x0" && pkg_failed=yes 27916else 27917 pkg_failed=yes 27918fi 27919 else 27920 pkg_failed=untried 27921fi 27922 27923 27924 27925if test $pkg_failed = yes; then 27926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27927$as_echo "no" >&6; } 27928 27929if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 27930 _pkg_short_errors_supported=yes 27931else 27932 _pkg_short_errors_supported=no 27933fi 27934 if test $_pkg_short_errors_supported = yes; then 27935 libclocale_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libclocale >= 20120425" 2>&1` 27936 else 27937 libclocale_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libclocale >= 20120425" 2>&1` 27938 fi 27939 # Put the nasty error message in config.log where it belongs 27940 echo "$libclocale_PKG_ERRORS" >&5 27941 27942 ac_cv_libclocale=check 27943elif test $pkg_failed = untried; then 27944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27945$as_echo "no" >&6; } 27946 ac_cv_libclocale=check 27947else 27948 libclocale_CFLAGS=$pkg_cv_libclocale_CFLAGS 27949 libclocale_LIBS=$pkg_cv_libclocale_LIBS 27950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27951$as_echo "yes" >&6; } 27952 ac_cv_libclocale=yes 27953fi 27954 27955fi 27956 if test "x$ac_cv_libclocale" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then : 27957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libclocale/features.h defines LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE as 1" >&5 27958$as_echo_n "checking whether libclocale/features.h defines LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; } 27959if ${ac_cv_header_libclocale_features_h_have_wide_character_type+:} false; then : 27960 $as_echo_n "(cached) " >&6 27961else 27962 ac_ext=c 27963ac_cpp='$CPP $CPPFLAGS' 27964ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 27965ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 27966ac_compiler_gnu=$ac_cv_c_compiler_gnu 27967 27968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27969/* end confdefs.h. */ 27970#include <libclocale/features.h> 27971int 27972main () 27973{ 27974#if !defined( LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE != 1 ) 27975#error LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE not defined 27976#endif 27977 ; 27978 return 0; 27979} 27980_ACEOF 27981if ac_fn_c_try_compile "$LINENO"; then : 27982 ac_cv_header_libclocale_features_h_have_wide_character_type=yes 27983else 27984 ac_cv_header_libclocale_features_h_have_wide_character_type=no 27985fi 27986rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 27987 ac_ext=c 27988ac_cpp='$CPP $CPPFLAGS' 27989ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 27990ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 27991ac_compiler_gnu=$ac_cv_c_compiler_gnu 27992 27993fi 27994{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libclocale_features_h_have_wide_character_type" >&5 27995$as_echo "$ac_cv_header_libclocale_features_h_have_wide_character_type" >&6; } 27996 27997 if test "x$ac_cv_header_libclocale_features_h_have_wide_character_type" = xno; then : 27998 ac_cv_libclocale=no 27999fi 28000 28001fi 28002 if test "x$ac_cv_libclocale" = xyes; then : 28003 ac_cv_libclocale_CPPFLAGS="$pkg_cv_libclocale_CFLAGS" 28004 ac_cv_libclocale_LIBADD="$pkg_cv_libclocale_LIBS" 28005fi 28006 28007fi 28008 28009 if test "x$ac_cv_libclocale" = xcheck; then : 28010 for ac_header in libclocale.h 28011do : 28012 ac_fn_c_check_header_mongrel "$LINENO" "libclocale.h" "ac_cv_header_libclocale_h" "$ac_includes_default" 28013if test "x$ac_cv_header_libclocale_h" = xyes; then : 28014 cat >>confdefs.h <<_ACEOF 28015#define HAVE_LIBCLOCALE_H 1 28016_ACEOF 28017 28018fi 28019 28020done 28021 28022 28023 if test "x$ac_cv_header_libclocale_h" = xno; then : 28024 ac_cv_libclocale=no 28025else 28026 ac_cv_libclocale=yes 28027 28028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_get_version in -lclocale" >&5 28029$as_echo_n "checking for libclocale_get_version in -lclocale... " >&6; } 28030if ${ac_cv_lib_clocale_libclocale_get_version+:} false; then : 28031 $as_echo_n "(cached) " >&6 28032else 28033 ac_check_lib_save_LIBS=$LIBS 28034LIBS="-lclocale $LIBS" 28035cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28036/* end confdefs.h. */ 28037 28038/* Override any GCC internal prototype to avoid an error. 28039 Use char because int might match the return type of a GCC 28040 builtin and then its argument prototype would still apply. */ 28041#ifdef __cplusplus 28042extern "C" 28043#endif 28044char libclocale_get_version (); 28045int 28046main () 28047{ 28048return libclocale_get_version (); 28049 ; 28050 return 0; 28051} 28052_ACEOF 28053if ac_fn_c_try_link "$LINENO"; then : 28054 ac_cv_lib_clocale_libclocale_get_version=yes 28055else 28056 ac_cv_lib_clocale_libclocale_get_version=no 28057fi 28058rm -f core conftest.err conftest.$ac_objext \ 28059 conftest$ac_exeext conftest.$ac_ext 28060LIBS=$ac_check_lib_save_LIBS 28061fi 28062{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_get_version" >&5 28063$as_echo "$ac_cv_lib_clocale_libclocale_get_version" >&6; } 28064if test "x$ac_cv_lib_clocale_libclocale_get_version" = xyes; then : 28065 ac_cv_libclocale_dummy=yes 28066else 28067 ac_cv_libclocale=no 28068fi 28069 28070 28071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage in -lclocale" >&5 28072$as_echo_n "checking for libclocale_codepage in -lclocale... " >&6; } 28073if ${ac_cv_lib_clocale_libclocale_codepage+:} false; then : 28074 $as_echo_n "(cached) " >&6 28075else 28076 ac_check_lib_save_LIBS=$LIBS 28077LIBS="-lclocale $LIBS" 28078cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28079/* end confdefs.h. */ 28080 28081/* Override any GCC internal prototype to avoid an error. 28082 Use char because int might match the return type of a GCC 28083 builtin and then its argument prototype would still apply. */ 28084#ifdef __cplusplus 28085extern "C" 28086#endif 28087char libclocale_codepage (); 28088int 28089main () 28090{ 28091return libclocale_codepage (); 28092 ; 28093 return 0; 28094} 28095_ACEOF 28096if ac_fn_c_try_link "$LINENO"; then : 28097 ac_cv_lib_clocale_libclocale_codepage=yes 28098else 28099 ac_cv_lib_clocale_libclocale_codepage=no 28100fi 28101rm -f core conftest.err conftest.$ac_objext \ 28102 conftest$ac_exeext conftest.$ac_ext 28103LIBS=$ac_check_lib_save_LIBS 28104fi 28105{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage" >&5 28106$as_echo "$ac_cv_lib_clocale_libclocale_codepage" >&6; } 28107if test "x$ac_cv_lib_clocale_libclocale_codepage" = xyes; then : 28108 ac_cv_libclocale_dummy=yes 28109else 28110 ac_cv_libclocale=no 28111fi 28112 28113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_get in -lclocale" >&5 28114$as_echo_n "checking for libclocale_codepage_get in -lclocale... " >&6; } 28115if ${ac_cv_lib_clocale_libclocale_codepage_get+:} false; then : 28116 $as_echo_n "(cached) " >&6 28117else 28118 ac_check_lib_save_LIBS=$LIBS 28119LIBS="-lclocale $LIBS" 28120cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28121/* end confdefs.h. */ 28122 28123/* Override any GCC internal prototype to avoid an error. 28124 Use char because int might match the return type of a GCC 28125 builtin and then its argument prototype would still apply. */ 28126#ifdef __cplusplus 28127extern "C" 28128#endif 28129char libclocale_codepage_get (); 28130int 28131main () 28132{ 28133return libclocale_codepage_get (); 28134 ; 28135 return 0; 28136} 28137_ACEOF 28138if ac_fn_c_try_link "$LINENO"; then : 28139 ac_cv_lib_clocale_libclocale_codepage_get=yes 28140else 28141 ac_cv_lib_clocale_libclocale_codepage_get=no 28142fi 28143rm -f core conftest.err conftest.$ac_objext \ 28144 conftest$ac_exeext conftest.$ac_ext 28145LIBS=$ac_check_lib_save_LIBS 28146fi 28147{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_get" >&5 28148$as_echo "$ac_cv_lib_clocale_libclocale_codepage_get" >&6; } 28149if test "x$ac_cv_lib_clocale_libclocale_codepage_get" = xyes; then : 28150 ac_cv_libclocale_dummy=yes 28151else 28152 ac_cv_libclocale=no 28153fi 28154 28155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_set in -lclocale" >&5 28156$as_echo_n "checking for libclocale_codepage_set in -lclocale... " >&6; } 28157if ${ac_cv_lib_clocale_libclocale_codepage_set+:} false; then : 28158 $as_echo_n "(cached) " >&6 28159else 28160 ac_check_lib_save_LIBS=$LIBS 28161LIBS="-lclocale $LIBS" 28162cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28163/* end confdefs.h. */ 28164 28165/* Override any GCC internal prototype to avoid an error. 28166 Use char because int might match the return type of a GCC 28167 builtin and then its argument prototype would still apply. */ 28168#ifdef __cplusplus 28169extern "C" 28170#endif 28171char libclocale_codepage_set (); 28172int 28173main () 28174{ 28175return libclocale_codepage_set (); 28176 ; 28177 return 0; 28178} 28179_ACEOF 28180if ac_fn_c_try_link "$LINENO"; then : 28181 ac_cv_lib_clocale_libclocale_codepage_set=yes 28182else 28183 ac_cv_lib_clocale_libclocale_codepage_set=no 28184fi 28185rm -f core conftest.err conftest.$ac_objext \ 28186 conftest$ac_exeext conftest.$ac_ext 28187LIBS=$ac_check_lib_save_LIBS 28188fi 28189{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_set" >&5 28190$as_echo "$ac_cv_lib_clocale_libclocale_codepage_set" >&6; } 28191if test "x$ac_cv_lib_clocale_libclocale_codepage_set" = xyes; then : 28192 ac_cv_libclocale_dummy=yes 28193else 28194 ac_cv_libclocale=no 28195fi 28196 28197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_copy_from_string in -lclocale" >&5 28198$as_echo_n "checking for libclocale_codepage_copy_from_string in -lclocale... " >&6; } 28199if ${ac_cv_lib_clocale_libclocale_codepage_copy_from_string+:} false; then : 28200 $as_echo_n "(cached) " >&6 28201else 28202 ac_check_lib_save_LIBS=$LIBS 28203LIBS="-lclocale $LIBS" 28204cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28205/* end confdefs.h. */ 28206 28207/* Override any GCC internal prototype to avoid an error. 28208 Use char because int might match the return type of a GCC 28209 builtin and then its argument prototype would still apply. */ 28210#ifdef __cplusplus 28211extern "C" 28212#endif 28213char libclocale_codepage_copy_from_string (); 28214int 28215main () 28216{ 28217return libclocale_codepage_copy_from_string (); 28218 ; 28219 return 0; 28220} 28221_ACEOF 28222if ac_fn_c_try_link "$LINENO"; then : 28223 ac_cv_lib_clocale_libclocale_codepage_copy_from_string=yes 28224else 28225 ac_cv_lib_clocale_libclocale_codepage_copy_from_string=no 28226fi 28227rm -f core conftest.err conftest.$ac_objext \ 28228 conftest$ac_exeext conftest.$ac_ext 28229LIBS=$ac_check_lib_save_LIBS 28230fi 28231{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_copy_from_string" >&5 28232$as_echo "$ac_cv_lib_clocale_libclocale_codepage_copy_from_string" >&6; } 28233if test "x$ac_cv_lib_clocale_libclocale_codepage_copy_from_string" = xyes; then : 28234 ac_cv_libclocale_dummy=yes 28235else 28236 ac_cv_libclocale=no 28237fi 28238 28239 28240 if test "x$ac_cv_enable_wide_character_type" != xno; then : 28241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_copy_from_string_wide in -lclocale" >&5 28242$as_echo_n "checking for libclocale_codepage_copy_from_string_wide in -lclocale... " >&6; } 28243if ${ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide+:} false; then : 28244 $as_echo_n "(cached) " >&6 28245else 28246 ac_check_lib_save_LIBS=$LIBS 28247LIBS="-lclocale $LIBS" 28248cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28249/* end confdefs.h. */ 28250 28251/* Override any GCC internal prototype to avoid an error. 28252 Use char because int might match the return type of a GCC 28253 builtin and then its argument prototype would still apply. */ 28254#ifdef __cplusplus 28255extern "C" 28256#endif 28257char libclocale_codepage_copy_from_string_wide (); 28258int 28259main () 28260{ 28261return libclocale_codepage_copy_from_string_wide (); 28262 ; 28263 return 0; 28264} 28265_ACEOF 28266if ac_fn_c_try_link "$LINENO"; then : 28267 ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide=yes 28268else 28269 ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide=no 28270fi 28271rm -f core conftest.err conftest.$ac_objext \ 28272 conftest$ac_exeext conftest.$ac_ext 28273LIBS=$ac_check_lib_save_LIBS 28274fi 28275{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide" >&5 28276$as_echo "$ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide" >&6; } 28277if test "x$ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide" = xyes; then : 28278 ac_cv_libclocale_dummy=yes 28279else 28280 ac_cv_libclocale=no 28281fi 28282 28283 28284fi 28285 28286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_locale_get_codepage in -lclocale" >&5 28287$as_echo_n "checking for libclocale_locale_get_codepage in -lclocale... " >&6; } 28288if ${ac_cv_lib_clocale_libclocale_locale_get_codepage+:} false; then : 28289 $as_echo_n "(cached) " >&6 28290else 28291 ac_check_lib_save_LIBS=$LIBS 28292LIBS="-lclocale $LIBS" 28293cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28294/* end confdefs.h. */ 28295 28296/* Override any GCC internal prototype to avoid an error. 28297 Use char because int might match the return type of a GCC 28298 builtin and then its argument prototype would still apply. */ 28299#ifdef __cplusplus 28300extern "C" 28301#endif 28302char libclocale_locale_get_codepage (); 28303int 28304main () 28305{ 28306return libclocale_locale_get_codepage (); 28307 ; 28308 return 0; 28309} 28310_ACEOF 28311if ac_fn_c_try_link "$LINENO"; then : 28312 ac_cv_lib_clocale_libclocale_locale_get_codepage=yes 28313else 28314 ac_cv_lib_clocale_libclocale_locale_get_codepage=no 28315fi 28316rm -f core conftest.err conftest.$ac_objext \ 28317 conftest$ac_exeext conftest.$ac_ext 28318LIBS=$ac_check_lib_save_LIBS 28319fi 28320{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_locale_get_codepage" >&5 28321$as_echo "$ac_cv_lib_clocale_libclocale_locale_get_codepage" >&6; } 28322if test "x$ac_cv_lib_clocale_libclocale_locale_get_codepage" = xyes; then : 28323 ac_cv_libclocale_dummy=yes 28324else 28325 ac_cv_libclocale=no 28326fi 28327 28328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_locale_get_decimal_point in -lclocale" >&5 28329$as_echo_n "checking for libclocale_locale_get_decimal_point in -lclocale... " >&6; } 28330if ${ac_cv_lib_clocale_libclocale_locale_get_decimal_point+:} false; then : 28331 $as_echo_n "(cached) " >&6 28332else 28333 ac_check_lib_save_LIBS=$LIBS 28334LIBS="-lclocale $LIBS" 28335cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28336/* end confdefs.h. */ 28337 28338/* Override any GCC internal prototype to avoid an error. 28339 Use char because int might match the return type of a GCC 28340 builtin and then its argument prototype would still apply. */ 28341#ifdef __cplusplus 28342extern "C" 28343#endif 28344char libclocale_locale_get_decimal_point (); 28345int 28346main () 28347{ 28348return libclocale_locale_get_decimal_point (); 28349 ; 28350 return 0; 28351} 28352_ACEOF 28353if ac_fn_c_try_link "$LINENO"; then : 28354 ac_cv_lib_clocale_libclocale_locale_get_decimal_point=yes 28355else 28356 ac_cv_lib_clocale_libclocale_locale_get_decimal_point=no 28357fi 28358rm -f core conftest.err conftest.$ac_objext \ 28359 conftest$ac_exeext conftest.$ac_ext 28360LIBS=$ac_check_lib_save_LIBS 28361fi 28362{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_locale_get_decimal_point" >&5 28363$as_echo "$ac_cv_lib_clocale_libclocale_locale_get_decimal_point" >&6; } 28364if test "x$ac_cv_lib_clocale_libclocale_locale_get_decimal_point" = xyes; then : 28365 ac_cv_libclocale_dummy=yes 28366else 28367 ac_cv_libclocale=no 28368fi 28369 28370 28371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_initialize in -lclocale" >&5 28372$as_echo_n "checking for libclocale_initialize in -lclocale... " >&6; } 28373if ${ac_cv_lib_clocale_libclocale_initialize+:} false; then : 28374 $as_echo_n "(cached) " >&6 28375else 28376 ac_check_lib_save_LIBS=$LIBS 28377LIBS="-lclocale $LIBS" 28378cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28379/* end confdefs.h. */ 28380 28381/* Override any GCC internal prototype to avoid an error. 28382 Use char because int might match the return type of a GCC 28383 builtin and then its argument prototype would still apply. */ 28384#ifdef __cplusplus 28385extern "C" 28386#endif 28387char libclocale_initialize (); 28388int 28389main () 28390{ 28391return libclocale_initialize (); 28392 ; 28393 return 0; 28394} 28395_ACEOF 28396if ac_fn_c_try_link "$LINENO"; then : 28397 ac_cv_lib_clocale_libclocale_initialize=yes 28398else 28399 ac_cv_lib_clocale_libclocale_initialize=no 28400fi 28401rm -f core conftest.err conftest.$ac_objext \ 28402 conftest$ac_exeext conftest.$ac_ext 28403LIBS=$ac_check_lib_save_LIBS 28404fi 28405{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_initialize" >&5 28406$as_echo "$ac_cv_lib_clocale_libclocale_initialize" >&6; } 28407if test "x$ac_cv_lib_clocale_libclocale_initialize" = xyes; then : 28408 ac_cv_libclocale_dummy=yes 28409else 28410 ac_cv_libclocale=no 28411fi 28412 28413 28414 ac_cv_libclocale_LIBADD="-lclocale" 28415fi 28416 28417fi 28418 if test "x$ac_cv_with_libclocale" != x && test "x$ac_cv_with_libclocale" != xauto-detect && test "x$ac_cv_libclocale" != xyes; then : 28419 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 28420$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28421as_fn_error 1 "unable to find supported libclocale in directory: $ac_cv_with_libclocale 28422See \`config.log' for more details" "$LINENO" 5; } 28423 28424fi 28425 28426fi 28427 28428 if test "x$ac_cv_libclocale" = xyes; then : 28429 28430$as_echo "#define HAVE_LIBCLOCALE 1" >>confdefs.h 28431 28432 28433fi 28434 28435 if test "x$ac_cv_libclocale" = xyes; then : 28436 HAVE_LIBCLOCALE=1 28437 28438else 28439 HAVE_LIBCLOCALE=0 28440 28441 28442fi 28443 28444 28445 if test "x$ac_cv_libclocale" != xyes; then : 28446 for ac_header in langinfo.h locale.h 28447do : 28448 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 28449ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 28450if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 28451 cat >>confdefs.h <<_ACEOF 28452#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 28453_ACEOF 28454 28455fi 28456 28457done 28458 28459 28460 for ac_func in getenv 28461do : 28462 ac_fn_c_check_func "$LINENO" "getenv" "ac_cv_func_getenv" 28463if test "x$ac_cv_func_getenv" = xyes; then : 28464 cat >>confdefs.h <<_ACEOF 28465#define HAVE_GETENV 1 28466_ACEOF 28467 28468fi 28469done 28470 28471 28472 if test "x$ac_cv_func_getenv" != xyes; then : 28473 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 28474$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28475as_fn_error 1 "Missing function: getenv 28476See \`config.log' for more details" "$LINENO" 5; } 28477 28478fi 28479 28480 if test "x$ac_cv_enable_winapi" = xno; then : 28481 for ac_func in localeconv 28482do : 28483 ac_fn_c_check_func "$LINENO" "localeconv" "ac_cv_func_localeconv" 28484if test "x$ac_cv_func_localeconv" = xyes; then : 28485 cat >>confdefs.h <<_ACEOF 28486#define HAVE_LOCALECONV 1 28487_ACEOF 28488 28489fi 28490done 28491 28492 28493 if test "x$ac_cv_func_localeconv" != xyes; then : 28494 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 28495$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28496as_fn_error 1 "Missing function: localeconv 28497See \`config.log' for more details" "$LINENO" 5; } 28498 28499fi 28500 28501fi 28502 28503 for ac_func in setlocale 28504do : 28505 ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale" 28506if test "x$ac_cv_func_setlocale" = xyes; then : 28507 cat >>confdefs.h <<_ACEOF 28508#define HAVE_SETLOCALE 1 28509_ACEOF 28510 28511fi 28512done 28513 28514 28515 if test "x$ac_cv_func_setlocale" != xyes; then : 28516 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 28517$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28518as_fn_error 1 "Missing function: setlocale 28519See \`config.log' for more details" "$LINENO" 5; } 28520 28521fi 28522 28523 for ac_func in nl_langinfo 28524do : 28525 ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo" 28526if test "x$ac_cv_func_nl_langinfo" = xyes; then : 28527 cat >>confdefs.h <<_ACEOF 28528#define HAVE_NL_LANGINFO 1 28529_ACEOF 28530 28531fi 28532done 28533 28534 28535 if test "x$ac_cv_func_nl_langinfo" = xyes; then : 28536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo CODESET support" >&5 28537$as_echo_n "checking for nl_langinfo CODESET support... " >&6; } 28538if ${ac_cv_cv_langinfo_codeset+:} false; then : 28539 $as_echo_n "(cached) " >&6 28540else 28541 ac_ext=c 28542ac_cpp='$CPP $CPPFLAGS' 28543ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 28544ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 28545ac_compiler_gnu=$ac_cv_c_compiler_gnu 28546 28547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28548/* end confdefs.h. */ 28549#include <langinfo.h> 28550int 28551main () 28552{ 28553char* charset = nl_langinfo( CODESET ); 28554 ; 28555 return 0; 28556} 28557_ACEOF 28558if ac_fn_c_try_link "$LINENO"; then : 28559 ac_cv_cv_langinfo_codeset=yes 28560else 28561 ac_cv_cv_langinfo_codeset=no 28562fi 28563rm -f core conftest.err conftest.$ac_objext \ 28564 conftest$ac_exeext conftest.$ac_ext 28565 ac_ext=c 28566ac_cpp='$CPP $CPPFLAGS' 28567ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 28568ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 28569ac_compiler_gnu=$ac_cv_c_compiler_gnu 28570 28571fi 28572{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cv_langinfo_codeset" >&5 28573$as_echo "$ac_cv_cv_langinfo_codeset" >&6; } 28574else 28575 ac_cv_cv_langinfo_codeset=no 28576fi 28577 28578 if test "x$ac_cv_cv_langinfo_codeset" = xyes; then : 28579 28580$as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h 28581 28582 28583fi 28584 28585 28586 ac_cv_libclocale_CPPFLAGS="-I../libclocale"; 28587 ac_cv_libclocale_LIBADD="../libclocale/libclocale.la"; 28588 28589 ac_cv_libclocale=local 28590 28591 28592 28593$as_echo "#define HAVE_LOCAL_LIBCLOCALE 1" >>confdefs.h 28594 28595 HAVE_LOCAL_LIBCLOCALE=1 28596 28597 28598fi 28599 28600 if test "x$ac_cv_libclocale" = xlocal; then 28601 HAVE_LOCAL_LIBCLOCALE_TRUE= 28602 HAVE_LOCAL_LIBCLOCALE_FALSE='#' 28603else 28604 HAVE_LOCAL_LIBCLOCALE_TRUE='#' 28605 HAVE_LOCAL_LIBCLOCALE_FALSE= 28606fi 28607 28608 if test "x$ac_cv_libclocale_CPPFLAGS" != "x"; then : 28609 LIBCLOCALE_CPPFLAGS=$ac_cv_libclocale_CPPFLAGS 28610 28611 28612fi 28613 if test "x$ac_cv_libclocale_LIBADD" != "x"; then : 28614 LIBCLOCALE_LIBADD=$ac_cv_libclocale_LIBADD 28615 28616 28617fi 28618 28619 if test "x$ac_cv_libclocale" = xyes; then : 28620 ax_libclocale_pc_libs_private=-lclocale 28621 28622 28623fi 28624 28625 if test "x$ac_cv_libclocale" = xyes; then : 28626 ax_libclocale_spec_requires=libclocale 28627 28628 ax_libclocale_spec_build_requires=libclocale-devel 28629 28630 28631fi 28632 28633 28634 28635 28636# Check whether --with-libcnotify was given. 28637if test "${with_libcnotify+set}" = set; then : 28638 withval=$with_libcnotify; ac_cv_with_libcnotify=$withval 28639else 28640 ac_cv_with_libcnotify=auto-detect 28641fi 28642 28643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use search for libcnotify in includedir and libdir or in the specified DIR, or no if to use local version" >&5 28644$as_echo_n "checking whether to use search for libcnotify in includedir and libdir or in the specified DIR, or no if to use local version... " >&6; } 28645if ${ac_cv_with_libcnotify+:} false; then : 28646 $as_echo_n "(cached) " >&6 28647else 28648 ac_cv_with_libcnotify=auto-detect 28649fi 28650{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcnotify" >&5 28651$as_echo "$ac_cv_with_libcnotify" >&6; } 28652 28653 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcnotify" = xno; then : 28654 ac_cv_libcnotify=no 28655else 28656 ac_cv_libcnotify=check 28657 if test "x$ac_cv_with_libcnotify" != x && test "x$ac_cv_with_libcnotify" != xauto-detect; then : 28658 if test -d "$ac_cv_with_libcnotify"; then : 28659 CFLAGS="$CFLAGS -I${ac_cv_with_libcnotify}/include" 28660 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcnotify}/lib" 28661else 28662 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 28663$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28664as_fn_error 1 "no such directory: $ac_cv_with_libcnotify 28665See \`config.log' for more details" "$LINENO" 5; } 28666 28667fi 28668 28669else 28670 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 28671 28672pkg_failed=no 28673{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify" >&5 28674$as_echo_n "checking for libcnotify... " >&6; } 28675 28676if test -n "$libcnotify_CFLAGS"; then 28677 pkg_cv_libcnotify_CFLAGS="$libcnotify_CFLAGS" 28678 elif test -n "$PKG_CONFIG"; then 28679 if test -n "$PKG_CONFIG" && \ 28680 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcnotify >= 20120425\""; } >&5 28681 ($PKG_CONFIG --exists --print-errors "libcnotify >= 20120425") 2>&5 28682 ac_status=$? 28683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 28684 test $ac_status = 0; }; then 28685 pkg_cv_libcnotify_CFLAGS=`$PKG_CONFIG --cflags "libcnotify >= 20120425" 2>/dev/null` 28686 test "x$?" != "x0" && pkg_failed=yes 28687else 28688 pkg_failed=yes 28689fi 28690 else 28691 pkg_failed=untried 28692fi 28693if test -n "$libcnotify_LIBS"; then 28694 pkg_cv_libcnotify_LIBS="$libcnotify_LIBS" 28695 elif test -n "$PKG_CONFIG"; then 28696 if test -n "$PKG_CONFIG" && \ 28697 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcnotify >= 20120425\""; } >&5 28698 ($PKG_CONFIG --exists --print-errors "libcnotify >= 20120425") 2>&5 28699 ac_status=$? 28700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 28701 test $ac_status = 0; }; then 28702 pkg_cv_libcnotify_LIBS=`$PKG_CONFIG --libs "libcnotify >= 20120425" 2>/dev/null` 28703 test "x$?" != "x0" && pkg_failed=yes 28704else 28705 pkg_failed=yes 28706fi 28707 else 28708 pkg_failed=untried 28709fi 28710 28711 28712 28713if test $pkg_failed = yes; then 28714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28715$as_echo "no" >&6; } 28716 28717if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 28718 _pkg_short_errors_supported=yes 28719else 28720 _pkg_short_errors_supported=no 28721fi 28722 if test $_pkg_short_errors_supported = yes; then 28723 libcnotify_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcnotify >= 20120425" 2>&1` 28724 else 28725 libcnotify_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcnotify >= 20120425" 2>&1` 28726 fi 28727 # Put the nasty error message in config.log where it belongs 28728 echo "$libcnotify_PKG_ERRORS" >&5 28729 28730 ac_cv_libcnotify=check 28731elif test $pkg_failed = untried; then 28732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28733$as_echo "no" >&6; } 28734 ac_cv_libcnotify=check 28735else 28736 libcnotify_CFLAGS=$pkg_cv_libcnotify_CFLAGS 28737 libcnotify_LIBS=$pkg_cv_libcnotify_LIBS 28738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 28739$as_echo "yes" >&6; } 28740 ac_cv_libcnotify=yes 28741fi 28742 28743fi 28744 if test "x$ac_cv_libcnotify" = xyes; then : 28745 ac_cv_libcnotify_CPPFLAGS="$pkg_cv_libcnotify_CFLAGS" 28746 ac_cv_libcnotify_LIBADD="$pkg_cv_libcnotify_LIBS" 28747fi 28748 28749fi 28750 28751 if test "x$ac_cv_libcnotify" = xcheck; then : 28752 for ac_header in libcnotify.h 28753do : 28754 ac_fn_c_check_header_mongrel "$LINENO" "libcnotify.h" "ac_cv_header_libcnotify_h" "$ac_includes_default" 28755if test "x$ac_cv_header_libcnotify_h" = xyes; then : 28756 cat >>confdefs.h <<_ACEOF 28757#define HAVE_LIBCNOTIFY_H 1 28758_ACEOF 28759 28760fi 28761 28762done 28763 28764 28765 if test "x$ac_cv_header_libcnotify_h" = xno; then : 28766 ac_cv_libcnotify=no 28767else 28768 ac_cv_libcnotify=yes 28769 28770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_get_version in -lcnotify" >&5 28771$as_echo_n "checking for libcnotify_get_version in -lcnotify... " >&6; } 28772if ${ac_cv_lib_cnotify_libcnotify_get_version+:} false; then : 28773 $as_echo_n "(cached) " >&6 28774else 28775 ac_check_lib_save_LIBS=$LIBS 28776LIBS="-lcnotify $LIBS" 28777cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28778/* end confdefs.h. */ 28779 28780/* Override any GCC internal prototype to avoid an error. 28781 Use char because int might match the return type of a GCC 28782 builtin and then its argument prototype would still apply. */ 28783#ifdef __cplusplus 28784extern "C" 28785#endif 28786char libcnotify_get_version (); 28787int 28788main () 28789{ 28790return libcnotify_get_version (); 28791 ; 28792 return 0; 28793} 28794_ACEOF 28795if ac_fn_c_try_link "$LINENO"; then : 28796 ac_cv_lib_cnotify_libcnotify_get_version=yes 28797else 28798 ac_cv_lib_cnotify_libcnotify_get_version=no 28799fi 28800rm -f core conftest.err conftest.$ac_objext \ 28801 conftest$ac_exeext conftest.$ac_ext 28802LIBS=$ac_check_lib_save_LIBS 28803fi 28804{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_get_version" >&5 28805$as_echo "$ac_cv_lib_cnotify_libcnotify_get_version" >&6; } 28806if test "x$ac_cv_lib_cnotify_libcnotify_get_version" = xyes; then : 28807 ac_cv_libcnotify_dummy=yes 28808else 28809 ac_cv_libcnotify=no 28810fi 28811 28812 28813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_printf in -lcnotify" >&5 28814$as_echo_n "checking for libcnotify_printf in -lcnotify... " >&6; } 28815if ${ac_cv_lib_cnotify_libcnotify_printf+:} false; then : 28816 $as_echo_n "(cached) " >&6 28817else 28818 ac_check_lib_save_LIBS=$LIBS 28819LIBS="-lcnotify $LIBS" 28820cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28821/* end confdefs.h. */ 28822 28823/* Override any GCC internal prototype to avoid an error. 28824 Use char because int might match the return type of a GCC 28825 builtin and then its argument prototype would still apply. */ 28826#ifdef __cplusplus 28827extern "C" 28828#endif 28829char libcnotify_printf (); 28830int 28831main () 28832{ 28833return libcnotify_printf (); 28834 ; 28835 return 0; 28836} 28837_ACEOF 28838if ac_fn_c_try_link "$LINENO"; then : 28839 ac_cv_lib_cnotify_libcnotify_printf=yes 28840else 28841 ac_cv_lib_cnotify_libcnotify_printf=no 28842fi 28843rm -f core conftest.err conftest.$ac_objext \ 28844 conftest$ac_exeext conftest.$ac_ext 28845LIBS=$ac_check_lib_save_LIBS 28846fi 28847{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_printf" >&5 28848$as_echo "$ac_cv_lib_cnotify_libcnotify_printf" >&6; } 28849if test "x$ac_cv_lib_cnotify_libcnotify_printf" = xyes; then : 28850 ac_cv_libcnotify_dummy=yes 28851else 28852 ac_cv_libcnotify=no 28853fi 28854 28855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_print_data in -lcnotify" >&5 28856$as_echo_n "checking for libcnotify_print_data in -lcnotify... " >&6; } 28857if ${ac_cv_lib_cnotify_libcnotify_print_data+:} false; then : 28858 $as_echo_n "(cached) " >&6 28859else 28860 ac_check_lib_save_LIBS=$LIBS 28861LIBS="-lcnotify $LIBS" 28862cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28863/* end confdefs.h. */ 28864 28865/* Override any GCC internal prototype to avoid an error. 28866 Use char because int might match the return type of a GCC 28867 builtin and then its argument prototype would still apply. */ 28868#ifdef __cplusplus 28869extern "C" 28870#endif 28871char libcnotify_print_data (); 28872int 28873main () 28874{ 28875return libcnotify_print_data (); 28876 ; 28877 return 0; 28878} 28879_ACEOF 28880if ac_fn_c_try_link "$LINENO"; then : 28881 ac_cv_lib_cnotify_libcnotify_print_data=yes 28882else 28883 ac_cv_lib_cnotify_libcnotify_print_data=no 28884fi 28885rm -f core conftest.err conftest.$ac_objext \ 28886 conftest$ac_exeext conftest.$ac_ext 28887LIBS=$ac_check_lib_save_LIBS 28888fi 28889{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_print_data" >&5 28890$as_echo "$ac_cv_lib_cnotify_libcnotify_print_data" >&6; } 28891if test "x$ac_cv_lib_cnotify_libcnotify_print_data" = xyes; then : 28892 ac_cv_libcnotify_dummy=yes 28893else 28894 ac_cv_libcnotify=no 28895fi 28896 28897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_print_error_backtrace in -lcnotify" >&5 28898$as_echo_n "checking for libcnotify_print_error_backtrace in -lcnotify... " >&6; } 28899if ${ac_cv_lib_cnotify_libcnotify_print_error_backtrace+:} false; then : 28900 $as_echo_n "(cached) " >&6 28901else 28902 ac_check_lib_save_LIBS=$LIBS 28903LIBS="-lcnotify $LIBS" 28904cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28905/* end confdefs.h. */ 28906 28907/* Override any GCC internal prototype to avoid an error. 28908 Use char because int might match the return type of a GCC 28909 builtin and then its argument prototype would still apply. */ 28910#ifdef __cplusplus 28911extern "C" 28912#endif 28913char libcnotify_print_error_backtrace (); 28914int 28915main () 28916{ 28917return libcnotify_print_error_backtrace (); 28918 ; 28919 return 0; 28920} 28921_ACEOF 28922if ac_fn_c_try_link "$LINENO"; then : 28923 ac_cv_lib_cnotify_libcnotify_print_error_backtrace=yes 28924else 28925 ac_cv_lib_cnotify_libcnotify_print_error_backtrace=no 28926fi 28927rm -f core conftest.err conftest.$ac_objext \ 28928 conftest$ac_exeext conftest.$ac_ext 28929LIBS=$ac_check_lib_save_LIBS 28930fi 28931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_print_error_backtrace" >&5 28932$as_echo "$ac_cv_lib_cnotify_libcnotify_print_error_backtrace" >&6; } 28933if test "x$ac_cv_lib_cnotify_libcnotify_print_error_backtrace" = xyes; then : 28934 ac_cv_libcnotify_dummy=yes 28935else 28936 ac_cv_libcnotify=no 28937fi 28938 28939 28940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_stream_set in -lcnotify" >&5 28941$as_echo_n "checking for libcnotify_stream_set in -lcnotify... " >&6; } 28942if ${ac_cv_lib_cnotify_libcnotify_stream_set+:} false; then : 28943 $as_echo_n "(cached) " >&6 28944else 28945 ac_check_lib_save_LIBS=$LIBS 28946LIBS="-lcnotify $LIBS" 28947cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28948/* end confdefs.h. */ 28949 28950/* Override any GCC internal prototype to avoid an error. 28951 Use char because int might match the return type of a GCC 28952 builtin and then its argument prototype would still apply. */ 28953#ifdef __cplusplus 28954extern "C" 28955#endif 28956char libcnotify_stream_set (); 28957int 28958main () 28959{ 28960return libcnotify_stream_set (); 28961 ; 28962 return 0; 28963} 28964_ACEOF 28965if ac_fn_c_try_link "$LINENO"; then : 28966 ac_cv_lib_cnotify_libcnotify_stream_set=yes 28967else 28968 ac_cv_lib_cnotify_libcnotify_stream_set=no 28969fi 28970rm -f core conftest.err conftest.$ac_objext \ 28971 conftest$ac_exeext conftest.$ac_ext 28972LIBS=$ac_check_lib_save_LIBS 28973fi 28974{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_stream_set" >&5 28975$as_echo "$ac_cv_lib_cnotify_libcnotify_stream_set" >&6; } 28976if test "x$ac_cv_lib_cnotify_libcnotify_stream_set" = xyes; then : 28977 ac_cv_libcnotify_dummy=yes 28978else 28979 ac_cv_libcnotify=no 28980fi 28981 28982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_stream_open in -lcnotify" >&5 28983$as_echo_n "checking for libcnotify_stream_open in -lcnotify... " >&6; } 28984if ${ac_cv_lib_cnotify_libcnotify_stream_open+:} false; then : 28985 $as_echo_n "(cached) " >&6 28986else 28987 ac_check_lib_save_LIBS=$LIBS 28988LIBS="-lcnotify $LIBS" 28989cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28990/* end confdefs.h. */ 28991 28992/* Override any GCC internal prototype to avoid an error. 28993 Use char because int might match the return type of a GCC 28994 builtin and then its argument prototype would still apply. */ 28995#ifdef __cplusplus 28996extern "C" 28997#endif 28998char libcnotify_stream_open (); 28999int 29000main () 29001{ 29002return libcnotify_stream_open (); 29003 ; 29004 return 0; 29005} 29006_ACEOF 29007if ac_fn_c_try_link "$LINENO"; then : 29008 ac_cv_lib_cnotify_libcnotify_stream_open=yes 29009else 29010 ac_cv_lib_cnotify_libcnotify_stream_open=no 29011fi 29012rm -f core conftest.err conftest.$ac_objext \ 29013 conftest$ac_exeext conftest.$ac_ext 29014LIBS=$ac_check_lib_save_LIBS 29015fi 29016{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_stream_open" >&5 29017$as_echo "$ac_cv_lib_cnotify_libcnotify_stream_open" >&6; } 29018if test "x$ac_cv_lib_cnotify_libcnotify_stream_open" = xyes; then : 29019 ac_cv_libcnotify_dummy=yes 29020else 29021 ac_cv_libcnotify=no 29022fi 29023 29024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_stream_close in -lcnotify" >&5 29025$as_echo_n "checking for libcnotify_stream_close in -lcnotify... " >&6; } 29026if ${ac_cv_lib_cnotify_libcnotify_stream_close+:} false; then : 29027 $as_echo_n "(cached) " >&6 29028else 29029 ac_check_lib_save_LIBS=$LIBS 29030LIBS="-lcnotify $LIBS" 29031cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29032/* end confdefs.h. */ 29033 29034/* Override any GCC internal prototype to avoid an error. 29035 Use char because int might match the return type of a GCC 29036 builtin and then its argument prototype would still apply. */ 29037#ifdef __cplusplus 29038extern "C" 29039#endif 29040char libcnotify_stream_close (); 29041int 29042main () 29043{ 29044return libcnotify_stream_close (); 29045 ; 29046 return 0; 29047} 29048_ACEOF 29049if ac_fn_c_try_link "$LINENO"; then : 29050 ac_cv_lib_cnotify_libcnotify_stream_close=yes 29051else 29052 ac_cv_lib_cnotify_libcnotify_stream_close=no 29053fi 29054rm -f core conftest.err conftest.$ac_objext \ 29055 conftest$ac_exeext conftest.$ac_ext 29056LIBS=$ac_check_lib_save_LIBS 29057fi 29058{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_stream_close" >&5 29059$as_echo "$ac_cv_lib_cnotify_libcnotify_stream_close" >&6; } 29060if test "x$ac_cv_lib_cnotify_libcnotify_stream_close" = xyes; then : 29061 ac_cv_libcnotify_dummy=yes 29062else 29063 ac_cv_libcnotify=no 29064fi 29065 29066 29067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_verbose_set in -lcnotify" >&5 29068$as_echo_n "checking for libcnotify_verbose_set in -lcnotify... " >&6; } 29069if ${ac_cv_lib_cnotify_libcnotify_verbose_set+:} false; then : 29070 $as_echo_n "(cached) " >&6 29071else 29072 ac_check_lib_save_LIBS=$LIBS 29073LIBS="-lcnotify $LIBS" 29074cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29075/* end confdefs.h. */ 29076 29077/* Override any GCC internal prototype to avoid an error. 29078 Use char because int might match the return type of a GCC 29079 builtin and then its argument prototype would still apply. */ 29080#ifdef __cplusplus 29081extern "C" 29082#endif 29083char libcnotify_verbose_set (); 29084int 29085main () 29086{ 29087return libcnotify_verbose_set (); 29088 ; 29089 return 0; 29090} 29091_ACEOF 29092if ac_fn_c_try_link "$LINENO"; then : 29093 ac_cv_lib_cnotify_libcnotify_verbose_set=yes 29094else 29095 ac_cv_lib_cnotify_libcnotify_verbose_set=no 29096fi 29097rm -f core conftest.err conftest.$ac_objext \ 29098 conftest$ac_exeext conftest.$ac_ext 29099LIBS=$ac_check_lib_save_LIBS 29100fi 29101{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_verbose_set" >&5 29102$as_echo "$ac_cv_lib_cnotify_libcnotify_verbose_set" >&6; } 29103if test "x$ac_cv_lib_cnotify_libcnotify_verbose_set" = xyes; then : 29104 ac_cv_libcnotify_dummy=yes 29105else 29106 ac_cv_libcnotify=no 29107fi 29108 29109 29110 ac_cv_libcnotify_LIBADD="-lcnotify" 29111fi 29112 29113fi 29114 if test "x$ac_cv_with_libcnotify" != x && test "x$ac_cv_with_libcnotify" != xauto-detect && test "x$ac_cv_libcnotify" != xyes; then : 29115 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 29116$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29117as_fn_error 1 "unable to find supported libcnotify in directory: $ac_cv_with_libcnotify 29118See \`config.log' for more details" "$LINENO" 5; } 29119 29120fi 29121 29122fi 29123 29124 if test "x$ac_cv_libcnotify" = xyes; then : 29125 29126$as_echo "#define HAVE_LIBCNOTIFY 1" >>confdefs.h 29127 29128 29129fi 29130 29131 if test "x$ac_cv_libcnotify" = xyes; then : 29132 HAVE_LIBCNOTIFY=1 29133 29134else 29135 HAVE_LIBCNOTIFY=0 29136 29137 29138fi 29139 29140 29141 if test "x$ac_cv_libcnotify" != xyes; then : 29142 for ac_header in stdarg.h varargs.h 29143do : 29144 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 29145ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 29146if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 29147 cat >>confdefs.h <<_ACEOF 29148#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 29149_ACEOF 29150 29151fi 29152 29153done 29154 29155 29156 if test "x$ac_cv_header_stdarg_h" != xyes && test "x$ac_cv_header_varargs_h" != xyes; then : 29157 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 29158$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29159as_fn_error 1 "Missing headers: stdarg.h and varargs.h 29160See \`config.log' for more details" "$LINENO" 5; } 29161 29162fi 29163 29164 for ac_header in errno.h 29165do : 29166 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 29167if test "x$ac_cv_header_errno_h" = xyes; then : 29168 cat >>confdefs.h <<_ACEOF 29169#define HAVE_ERRNO_H 1 29170_ACEOF 29171 29172fi 29173 29174done 29175 29176 29177 ac_cv_libcnotify_CPPFLAGS="-I../libcnotify"; 29178 ac_cv_libcnotify_LIBADD="../libcnotify/libcnotify.la"; 29179 29180 ac_cv_libcnotify=local 29181 29182 29183 29184$as_echo "#define HAVE_LOCAL_LIBCNOTIFY 1" >>confdefs.h 29185 29186 HAVE_LOCAL_LIBCNOTIFY=1 29187 29188 29189fi 29190 29191 if test "x$ac_cv_libcnotify" = xlocal; then 29192 HAVE_LOCAL_LIBCNOTIFY_TRUE= 29193 HAVE_LOCAL_LIBCNOTIFY_FALSE='#' 29194else 29195 HAVE_LOCAL_LIBCNOTIFY_TRUE='#' 29196 HAVE_LOCAL_LIBCNOTIFY_FALSE= 29197fi 29198 29199 if test "x$ac_cv_libcnotify_CPPFLAGS" != "x"; then : 29200 LIBCNOTIFY_CPPFLAGS=$ac_cv_libcnotify_CPPFLAGS 29201 29202 29203fi 29204 if test "x$ac_cv_libcnotify_LIBADD" != "x"; then : 29205 LIBCNOTIFY_LIBADD=$ac_cv_libcnotify_LIBADD 29206 29207 29208fi 29209 29210 if test "x$ac_cv_libcnotify" = xyes; then : 29211 ax_libcnotify_pc_libs_private=-lcnotify 29212 29213 29214fi 29215 29216 if test "x$ac_cv_libcnotify" = xyes; then : 29217 ax_libcnotify_spec_requires=libcnotify 29218 29219 ax_libcnotify_spec_build_requires=libcnotify-devel 29220 29221 29222fi 29223 29224 29225 29226 29227# Check whether --with-libcsplit was given. 29228if test "${with_libcsplit+set}" = set; then : 29229 withval=$with_libcsplit; ac_cv_with_libcsplit=$withval 29230else 29231 ac_cv_with_libcsplit=auto-detect 29232fi 29233 29234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use search for libcsplit in includedir and libdir or in the specified DIR, or no if to use local version" >&5 29235$as_echo_n "checking whether to use search for libcsplit in includedir and libdir or in the specified DIR, or no if to use local version... " >&6; } 29236if ${ac_cv_with_libcsplit+:} false; then : 29237 $as_echo_n "(cached) " >&6 29238else 29239 ac_cv_with_libcsplit=auto-detect 29240fi 29241{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcsplit" >&5 29242$as_echo "$ac_cv_with_libcsplit" >&6; } 29243 29244 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcsplit" = xno; then : 29245 ac_cv_libcsplit=no 29246else 29247 ac_cv_libcsplit=check 29248 if test "x$ac_cv_with_libcsplit" != x && test "x$ac_cv_with_libcsplit" != xauto-detect; then : 29249 if test -d "$ac_cv_with_libcsplit"; then : 29250 CFLAGS="$CFLAGS -I${ac_cv_with_libcsplit}/include" 29251 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcsplit}/lib" 29252else 29253 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 29254$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29255as_fn_error 1 "no such directory: $ac_cv_with_libcsplit 29256See \`config.log' for more details" "$LINENO" 5; } 29257 29258fi 29259 29260else 29261 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 29262 29263pkg_failed=no 29264{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit" >&5 29265$as_echo_n "checking for libcsplit... " >&6; } 29266 29267if test -n "$libcsplit_CFLAGS"; then 29268 pkg_cv_libcsplit_CFLAGS="$libcsplit_CFLAGS" 29269 elif test -n "$PKG_CONFIG"; then 29270 if test -n "$PKG_CONFIG" && \ 29271 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcsplit >= 20120701\""; } >&5 29272 ($PKG_CONFIG --exists --print-errors "libcsplit >= 20120701") 2>&5 29273 ac_status=$? 29274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 29275 test $ac_status = 0; }; then 29276 pkg_cv_libcsplit_CFLAGS=`$PKG_CONFIG --cflags "libcsplit >= 20120701" 2>/dev/null` 29277 test "x$?" != "x0" && pkg_failed=yes 29278else 29279 pkg_failed=yes 29280fi 29281 else 29282 pkg_failed=untried 29283fi 29284if test -n "$libcsplit_LIBS"; then 29285 pkg_cv_libcsplit_LIBS="$libcsplit_LIBS" 29286 elif test -n "$PKG_CONFIG"; then 29287 if test -n "$PKG_CONFIG" && \ 29288 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcsplit >= 20120701\""; } >&5 29289 ($PKG_CONFIG --exists --print-errors "libcsplit >= 20120701") 2>&5 29290 ac_status=$? 29291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 29292 test $ac_status = 0; }; then 29293 pkg_cv_libcsplit_LIBS=`$PKG_CONFIG --libs "libcsplit >= 20120701" 2>/dev/null` 29294 test "x$?" != "x0" && pkg_failed=yes 29295else 29296 pkg_failed=yes 29297fi 29298 else 29299 pkg_failed=untried 29300fi 29301 29302 29303 29304if test $pkg_failed = yes; then 29305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 29306$as_echo "no" >&6; } 29307 29308if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 29309 _pkg_short_errors_supported=yes 29310else 29311 _pkg_short_errors_supported=no 29312fi 29313 if test $_pkg_short_errors_supported = yes; then 29314 libcsplit_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcsplit >= 20120701" 2>&1` 29315 else 29316 libcsplit_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcsplit >= 20120701" 2>&1` 29317 fi 29318 # Put the nasty error message in config.log where it belongs 29319 echo "$libcsplit_PKG_ERRORS" >&5 29320 29321 ac_cv_libcsplit=check 29322elif test $pkg_failed = untried; then 29323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 29324$as_echo "no" >&6; } 29325 ac_cv_libcsplit=check 29326else 29327 libcsplit_CFLAGS=$pkg_cv_libcsplit_CFLAGS 29328 libcsplit_LIBS=$pkg_cv_libcsplit_LIBS 29329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 29330$as_echo "yes" >&6; } 29331 ac_cv_libcsplit=yes 29332fi 29333 29334fi 29335 if test "x$ac_cv_libcsplit" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then : 29336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcsplit/features.h defines LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE as 1" >&5 29337$as_echo_n "checking whether libcsplit/features.h defines LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; } 29338if ${ac_cv_header_libcsplit_features_h_have_wide_character_type+:} false; then : 29339 $as_echo_n "(cached) " >&6 29340else 29341 ac_ext=c 29342ac_cpp='$CPP $CPPFLAGS' 29343ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 29344ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 29345ac_compiler_gnu=$ac_cv_c_compiler_gnu 29346 29347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29348/* end confdefs.h. */ 29349#include <libcsplit/features.h> 29350int 29351main () 29352{ 29353#if !defined( LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE != 1 ) 29354#error LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE not defined 29355#endif 29356 ; 29357 return 0; 29358} 29359_ACEOF 29360if ac_fn_c_try_compile "$LINENO"; then : 29361 ac_cv_header_libcsplit_features_h_have_wide_character_type=yes 29362else 29363 ac_cv_header_libcsplit_features_h_have_wide_character_type=no 29364fi 29365rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 29366 ac_ext=c 29367ac_cpp='$CPP $CPPFLAGS' 29368ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 29369ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 29370ac_compiler_gnu=$ac_cv_c_compiler_gnu 29371 29372fi 29373{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libcsplit_features_h_have_wide_character_type" >&5 29374$as_echo "$ac_cv_header_libcsplit_features_h_have_wide_character_type" >&6; } 29375 29376 if test "x$ac_cv_header_libcsplit_features_h_have_wide_character_type" = xno; then : 29377 ac_cv_libcsplit=no 29378fi 29379 29380fi 29381 if test "x$ac_cv_libcsplit" = xyes; then : 29382 ac_cv_libcsplit_CPPFLAGS="$pkg_cv_libcsplit_CFLAGS" 29383 ac_cv_libcsplit_LIBADD="$pkg_cv_libcsplit_LIBS" 29384fi 29385 29386fi 29387 29388 if test "x$ac_cv_libcsplit" = xcheck; then : 29389 for ac_header in libcsplit.h 29390do : 29391 ac_fn_c_check_header_mongrel "$LINENO" "libcsplit.h" "ac_cv_header_libcsplit_h" "$ac_includes_default" 29392if test "x$ac_cv_header_libcsplit_h" = xyes; then : 29393 cat >>confdefs.h <<_ACEOF 29394#define HAVE_LIBCSPLIT_H 1 29395_ACEOF 29396 29397fi 29398 29399done 29400 29401 29402 if test "x$ac_cv_header_libcsplit_h" = xno; then : 29403 ac_cv_libcsplit=no 29404else 29405 ac_cv_libcsplit=yes 29406 29407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_get_version in -lcsplit" >&5 29408$as_echo_n "checking for libcsplit_get_version in -lcsplit... " >&6; } 29409if ${ac_cv_lib_csplit_libcsplit_get_version+:} false; then : 29410 $as_echo_n "(cached) " >&6 29411else 29412 ac_check_lib_save_LIBS=$LIBS 29413LIBS="-lcsplit $LIBS" 29414cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29415/* end confdefs.h. */ 29416 29417/* Override any GCC internal prototype to avoid an error. 29418 Use char because int might match the return type of a GCC 29419 builtin and then its argument prototype would still apply. */ 29420#ifdef __cplusplus 29421extern "C" 29422#endif 29423char libcsplit_get_version (); 29424int 29425main () 29426{ 29427return libcsplit_get_version (); 29428 ; 29429 return 0; 29430} 29431_ACEOF 29432if ac_fn_c_try_link "$LINENO"; then : 29433 ac_cv_lib_csplit_libcsplit_get_version=yes 29434else 29435 ac_cv_lib_csplit_libcsplit_get_version=no 29436fi 29437rm -f core conftest.err conftest.$ac_objext \ 29438 conftest$ac_exeext conftest.$ac_ext 29439LIBS=$ac_check_lib_save_LIBS 29440fi 29441{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_get_version" >&5 29442$as_echo "$ac_cv_lib_csplit_libcsplit_get_version" >&6; } 29443if test "x$ac_cv_lib_csplit_libcsplit_get_version" = xyes; then : 29444 ac_cv_libcsplit_dummy=yes 29445else 29446 ac_cv_libcsplit=no 29447fi 29448 29449 29450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_string_split in -lcsplit" >&5 29451$as_echo_n "checking for libcsplit_narrow_string_split in -lcsplit... " >&6; } 29452if ${ac_cv_lib_csplit_libcsplit_narrow_string_split+:} false; then : 29453 $as_echo_n "(cached) " >&6 29454else 29455 ac_check_lib_save_LIBS=$LIBS 29456LIBS="-lcsplit $LIBS" 29457cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29458/* end confdefs.h. */ 29459 29460/* Override any GCC internal prototype to avoid an error. 29461 Use char because int might match the return type of a GCC 29462 builtin and then its argument prototype would still apply. */ 29463#ifdef __cplusplus 29464extern "C" 29465#endif 29466char libcsplit_narrow_string_split (); 29467int 29468main () 29469{ 29470return libcsplit_narrow_string_split (); 29471 ; 29472 return 0; 29473} 29474_ACEOF 29475if ac_fn_c_try_link "$LINENO"; then : 29476 ac_cv_lib_csplit_libcsplit_narrow_string_split=yes 29477else 29478 ac_cv_lib_csplit_libcsplit_narrow_string_split=no 29479fi 29480rm -f core conftest.err conftest.$ac_objext \ 29481 conftest$ac_exeext conftest.$ac_ext 29482LIBS=$ac_check_lib_save_LIBS 29483fi 29484{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_string_split" >&5 29485$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_string_split" >&6; } 29486if test "x$ac_cv_lib_csplit_libcsplit_narrow_string_split" = xyes; then : 29487 ac_cv_libcsplit_dummy=yes 29488else 29489 ac_cv_libcsplit=no 29490fi 29491 29492 29493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_free in -lcsplit" >&5 29494$as_echo_n "checking for libcsplit_narrow_split_string_free in -lcsplit... " >&6; } 29495if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_free+:} false; then : 29496 $as_echo_n "(cached) " >&6 29497else 29498 ac_check_lib_save_LIBS=$LIBS 29499LIBS="-lcsplit $LIBS" 29500cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29501/* end confdefs.h. */ 29502 29503/* Override any GCC internal prototype to avoid an error. 29504 Use char because int might match the return type of a GCC 29505 builtin and then its argument prototype would still apply. */ 29506#ifdef __cplusplus 29507extern "C" 29508#endif 29509char libcsplit_narrow_split_string_free (); 29510int 29511main () 29512{ 29513return libcsplit_narrow_split_string_free (); 29514 ; 29515 return 0; 29516} 29517_ACEOF 29518if ac_fn_c_try_link "$LINENO"; then : 29519 ac_cv_lib_csplit_libcsplit_narrow_split_string_free=yes 29520else 29521 ac_cv_lib_csplit_libcsplit_narrow_split_string_free=no 29522fi 29523rm -f core conftest.err conftest.$ac_objext \ 29524 conftest$ac_exeext conftest.$ac_ext 29525LIBS=$ac_check_lib_save_LIBS 29526fi 29527{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_free" >&5 29528$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_free" >&6; } 29529if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_free" = xyes; then : 29530 ac_cv_libcsplit_dummy=yes 29531else 29532 ac_cv_libcsplit=no 29533fi 29534 29535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_get_string in -lcsplit" >&5 29536$as_echo_n "checking for libcsplit_narrow_split_string_get_string in -lcsplit... " >&6; } 29537if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string+:} false; then : 29538 $as_echo_n "(cached) " >&6 29539else 29540 ac_check_lib_save_LIBS=$LIBS 29541LIBS="-lcsplit $LIBS" 29542cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29543/* end confdefs.h. */ 29544 29545/* Override any GCC internal prototype to avoid an error. 29546 Use char because int might match the return type of a GCC 29547 builtin and then its argument prototype would still apply. */ 29548#ifdef __cplusplus 29549extern "C" 29550#endif 29551char libcsplit_narrow_split_string_get_string (); 29552int 29553main () 29554{ 29555return libcsplit_narrow_split_string_get_string (); 29556 ; 29557 return 0; 29558} 29559_ACEOF 29560if ac_fn_c_try_link "$LINENO"; then : 29561 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string=yes 29562else 29563 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string=no 29564fi 29565rm -f core conftest.err conftest.$ac_objext \ 29566 conftest$ac_exeext conftest.$ac_ext 29567LIBS=$ac_check_lib_save_LIBS 29568fi 29569{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string" >&5 29570$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string" >&6; } 29571if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string" = xyes; then : 29572 ac_cv_libcsplit_dummy=yes 29573else 29574 ac_cv_libcsplit=no 29575fi 29576 29577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_get_number_of_segments in -lcsplit" >&5 29578$as_echo_n "checking for libcsplit_narrow_split_string_get_number_of_segments in -lcsplit... " >&6; } 29579if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments+:} false; then : 29580 $as_echo_n "(cached) " >&6 29581else 29582 ac_check_lib_save_LIBS=$LIBS 29583LIBS="-lcsplit $LIBS" 29584cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29585/* end confdefs.h. */ 29586 29587/* Override any GCC internal prototype to avoid an error. 29588 Use char because int might match the return type of a GCC 29589 builtin and then its argument prototype would still apply. */ 29590#ifdef __cplusplus 29591extern "C" 29592#endif 29593char libcsplit_narrow_split_string_get_number_of_segments (); 29594int 29595main () 29596{ 29597return libcsplit_narrow_split_string_get_number_of_segments (); 29598 ; 29599 return 0; 29600} 29601_ACEOF 29602if ac_fn_c_try_link "$LINENO"; then : 29603 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments=yes 29604else 29605 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments=no 29606fi 29607rm -f core conftest.err conftest.$ac_objext \ 29608 conftest$ac_exeext conftest.$ac_ext 29609LIBS=$ac_check_lib_save_LIBS 29610fi 29611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments" >&5 29612$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments" >&6; } 29613if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments" = xyes; then : 29614 ac_cv_libcsplit_dummy=yes 29615else 29616 ac_cv_libcsplit=no 29617fi 29618 29619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_get_segment_by_index in -lcsplit" >&5 29620$as_echo_n "checking for libcsplit_narrow_split_string_get_segment_by_index in -lcsplit... " >&6; } 29621if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index+:} false; then : 29622 $as_echo_n "(cached) " >&6 29623else 29624 ac_check_lib_save_LIBS=$LIBS 29625LIBS="-lcsplit $LIBS" 29626cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29627/* end confdefs.h. */ 29628 29629/* Override any GCC internal prototype to avoid an error. 29630 Use char because int might match the return type of a GCC 29631 builtin and then its argument prototype would still apply. */ 29632#ifdef __cplusplus 29633extern "C" 29634#endif 29635char libcsplit_narrow_split_string_get_segment_by_index (); 29636int 29637main () 29638{ 29639return libcsplit_narrow_split_string_get_segment_by_index (); 29640 ; 29641 return 0; 29642} 29643_ACEOF 29644if ac_fn_c_try_link "$LINENO"; then : 29645 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index=yes 29646else 29647 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index=no 29648fi 29649rm -f core conftest.err conftest.$ac_objext \ 29650 conftest$ac_exeext conftest.$ac_ext 29651LIBS=$ac_check_lib_save_LIBS 29652fi 29653{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index" >&5 29654$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index" >&6; } 29655if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index" = xyes; then : 29656 ac_cv_libcsplit_dummy=yes 29657else 29658 ac_cv_libcsplit=no 29659fi 29660 29661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_set_segment_by_index in -lcsplit" >&5 29662$as_echo_n "checking for libcsplit_narrow_split_string_set_segment_by_index in -lcsplit... " >&6; } 29663if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index+:} false; then : 29664 $as_echo_n "(cached) " >&6 29665else 29666 ac_check_lib_save_LIBS=$LIBS 29667LIBS="-lcsplit $LIBS" 29668cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29669/* end confdefs.h. */ 29670 29671/* Override any GCC internal prototype to avoid an error. 29672 Use char because int might match the return type of a GCC 29673 builtin and then its argument prototype would still apply. */ 29674#ifdef __cplusplus 29675extern "C" 29676#endif 29677char libcsplit_narrow_split_string_set_segment_by_index (); 29678int 29679main () 29680{ 29681return libcsplit_narrow_split_string_set_segment_by_index (); 29682 ; 29683 return 0; 29684} 29685_ACEOF 29686if ac_fn_c_try_link "$LINENO"; then : 29687 ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index=yes 29688else 29689 ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index=no 29690fi 29691rm -f core conftest.err conftest.$ac_objext \ 29692 conftest$ac_exeext conftest.$ac_ext 29693LIBS=$ac_check_lib_save_LIBS 29694fi 29695{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index" >&5 29696$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index" >&6; } 29697if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index" = xyes; then : 29698 ac_cv_libcsplit_dummy=yes 29699else 29700 ac_cv_libcsplit=no 29701fi 29702 29703 29704 if test "x$ac_cv_enable_wide_character_type" != xno; then : 29705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_string_split in -lcsplit" >&5 29706$as_echo_n "checking for libcsplit_wide_string_split in -lcsplit... " >&6; } 29707if ${ac_cv_lib_csplit_libcsplit_wide_string_split+:} false; then : 29708 $as_echo_n "(cached) " >&6 29709else 29710 ac_check_lib_save_LIBS=$LIBS 29711LIBS="-lcsplit $LIBS" 29712cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29713/* end confdefs.h. */ 29714 29715/* Override any GCC internal prototype to avoid an error. 29716 Use char because int might match the return type of a GCC 29717 builtin and then its argument prototype would still apply. */ 29718#ifdef __cplusplus 29719extern "C" 29720#endif 29721char libcsplit_wide_string_split (); 29722int 29723main () 29724{ 29725return libcsplit_wide_string_split (); 29726 ; 29727 return 0; 29728} 29729_ACEOF 29730if ac_fn_c_try_link "$LINENO"; then : 29731 ac_cv_lib_csplit_libcsplit_wide_string_split=yes 29732else 29733 ac_cv_lib_csplit_libcsplit_wide_string_split=no 29734fi 29735rm -f core conftest.err conftest.$ac_objext \ 29736 conftest$ac_exeext conftest.$ac_ext 29737LIBS=$ac_check_lib_save_LIBS 29738fi 29739{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_string_split" >&5 29740$as_echo "$ac_cv_lib_csplit_libcsplit_wide_string_split" >&6; } 29741if test "x$ac_cv_lib_csplit_libcsplit_wide_string_split" = xyes; then : 29742 ac_cv_libcsplit_dummy=yes 29743else 29744 ac_cv_libcsplit=no 29745fi 29746 29747 29748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_free in -lcsplit" >&5 29749$as_echo_n "checking for libcsplit_wide_split_string_free in -lcsplit... " >&6; } 29750if ${ac_cv_lib_csplit_libcsplit_wide_split_string_free+:} false; then : 29751 $as_echo_n "(cached) " >&6 29752else 29753 ac_check_lib_save_LIBS=$LIBS 29754LIBS="-lcsplit $LIBS" 29755cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29756/* end confdefs.h. */ 29757 29758/* Override any GCC internal prototype to avoid an error. 29759 Use char because int might match the return type of a GCC 29760 builtin and then its argument prototype would still apply. */ 29761#ifdef __cplusplus 29762extern "C" 29763#endif 29764char libcsplit_wide_split_string_free (); 29765int 29766main () 29767{ 29768return libcsplit_wide_split_string_free (); 29769 ; 29770 return 0; 29771} 29772_ACEOF 29773if ac_fn_c_try_link "$LINENO"; then : 29774 ac_cv_lib_csplit_libcsplit_wide_split_string_free=yes 29775else 29776 ac_cv_lib_csplit_libcsplit_wide_split_string_free=no 29777fi 29778rm -f core conftest.err conftest.$ac_objext \ 29779 conftest$ac_exeext conftest.$ac_ext 29780LIBS=$ac_check_lib_save_LIBS 29781fi 29782{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_free" >&5 29783$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_free" >&6; } 29784if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_free" = xyes; then : 29785 ac_cv_libcsplit_dummy=yes 29786else 29787 ac_cv_libcsplit=no 29788fi 29789 29790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_get_string in -lcsplit" >&5 29791$as_echo_n "checking for libcsplit_wide_split_string_get_string in -lcsplit... " >&6; } 29792if ${ac_cv_lib_csplit_libcsplit_wide_split_string_get_string+:} false; then : 29793 $as_echo_n "(cached) " >&6 29794else 29795 ac_check_lib_save_LIBS=$LIBS 29796LIBS="-lcsplit $LIBS" 29797cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29798/* end confdefs.h. */ 29799 29800/* Override any GCC internal prototype to avoid an error. 29801 Use char because int might match the return type of a GCC 29802 builtin and then its argument prototype would still apply. */ 29803#ifdef __cplusplus 29804extern "C" 29805#endif 29806char libcsplit_wide_split_string_get_string (); 29807int 29808main () 29809{ 29810return libcsplit_wide_split_string_get_string (); 29811 ; 29812 return 0; 29813} 29814_ACEOF 29815if ac_fn_c_try_link "$LINENO"; then : 29816 ac_cv_lib_csplit_libcsplit_wide_split_string_get_string=yes 29817else 29818 ac_cv_lib_csplit_libcsplit_wide_split_string_get_string=no 29819fi 29820rm -f core conftest.err conftest.$ac_objext \ 29821 conftest$ac_exeext conftest.$ac_ext 29822LIBS=$ac_check_lib_save_LIBS 29823fi 29824{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_get_string" >&5 29825$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_get_string" >&6; } 29826if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_get_string" = xyes; then : 29827 ac_cv_libcsplit_dummy=yes 29828else 29829 ac_cv_libcsplit=no 29830fi 29831 29832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_get_number_of_segments in -lcsplit" >&5 29833$as_echo_n "checking for libcsplit_wide_split_string_get_number_of_segments in -lcsplit... " >&6; } 29834if ${ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments+:} false; then : 29835 $as_echo_n "(cached) " >&6 29836else 29837 ac_check_lib_save_LIBS=$LIBS 29838LIBS="-lcsplit $LIBS" 29839cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29840/* end confdefs.h. */ 29841 29842/* Override any GCC internal prototype to avoid an error. 29843 Use char because int might match the return type of a GCC 29844 builtin and then its argument prototype would still apply. */ 29845#ifdef __cplusplus 29846extern "C" 29847#endif 29848char libcsplit_wide_split_string_get_number_of_segments (); 29849int 29850main () 29851{ 29852return libcsplit_wide_split_string_get_number_of_segments (); 29853 ; 29854 return 0; 29855} 29856_ACEOF 29857if ac_fn_c_try_link "$LINENO"; then : 29858 ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments=yes 29859else 29860 ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments=no 29861fi 29862rm -f core conftest.err conftest.$ac_objext \ 29863 conftest$ac_exeext conftest.$ac_ext 29864LIBS=$ac_check_lib_save_LIBS 29865fi 29866{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments" >&5 29867$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments" >&6; } 29868if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments" = xyes; then : 29869 ac_cv_libcsplit_dummy=yes 29870else 29871 ac_cv_libcsplit=no 29872fi 29873 29874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_get_segment_by_index in -lcsplit" >&5 29875$as_echo_n "checking for libcsplit_wide_split_string_get_segment_by_index in -lcsplit... " >&6; } 29876if ${ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index+:} false; then : 29877 $as_echo_n "(cached) " >&6 29878else 29879 ac_check_lib_save_LIBS=$LIBS 29880LIBS="-lcsplit $LIBS" 29881cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29882/* end confdefs.h. */ 29883 29884/* Override any GCC internal prototype to avoid an error. 29885 Use char because int might match the return type of a GCC 29886 builtin and then its argument prototype would still apply. */ 29887#ifdef __cplusplus 29888extern "C" 29889#endif 29890char libcsplit_wide_split_string_get_segment_by_index (); 29891int 29892main () 29893{ 29894return libcsplit_wide_split_string_get_segment_by_index (); 29895 ; 29896 return 0; 29897} 29898_ACEOF 29899if ac_fn_c_try_link "$LINENO"; then : 29900 ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index=yes 29901else 29902 ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index=no 29903fi 29904rm -f core conftest.err conftest.$ac_objext \ 29905 conftest$ac_exeext conftest.$ac_ext 29906LIBS=$ac_check_lib_save_LIBS 29907fi 29908{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index" >&5 29909$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index" >&6; } 29910if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index" = xyes; then : 29911 ac_cv_libcsplit_dummy=yes 29912else 29913 ac_cv_libcsplit=no 29914fi 29915 29916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_set_segment_by_index in -lcsplit" >&5 29917$as_echo_n "checking for libcsplit_wide_split_string_set_segment_by_index in -lcsplit... " >&6; } 29918if ${ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index+:} false; then : 29919 $as_echo_n "(cached) " >&6 29920else 29921 ac_check_lib_save_LIBS=$LIBS 29922LIBS="-lcsplit $LIBS" 29923cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29924/* end confdefs.h. */ 29925 29926/* Override any GCC internal prototype to avoid an error. 29927 Use char because int might match the return type of a GCC 29928 builtin and then its argument prototype would still apply. */ 29929#ifdef __cplusplus 29930extern "C" 29931#endif 29932char libcsplit_wide_split_string_set_segment_by_index (); 29933int 29934main () 29935{ 29936return libcsplit_wide_split_string_set_segment_by_index (); 29937 ; 29938 return 0; 29939} 29940_ACEOF 29941if ac_fn_c_try_link "$LINENO"; then : 29942 ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index=yes 29943else 29944 ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index=no 29945fi 29946rm -f core conftest.err conftest.$ac_objext \ 29947 conftest$ac_exeext conftest.$ac_ext 29948LIBS=$ac_check_lib_save_LIBS 29949fi 29950{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index" >&5 29951$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index" >&6; } 29952if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index" = xyes; then : 29953 ac_cv_libcsplit_dummy=yes 29954else 29955 ac_cv_libcsplit=no 29956fi 29957 29958 29959fi 29960 29961 ac_cv_libcsplit_LIBADD="-lcsplit" 29962fi 29963 29964fi 29965 if test "x$ac_cv_with_libcsplit" != x && test "x$ac_cv_with_libcsplit" != xauto-detect && test "x$ac_cv_libcsplit" != xyes; then : 29966 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 29967$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29968as_fn_error 1 "unable to find supported libcsplit in directory: $ac_cv_with_libcsplit 29969See \`config.log' for more details" "$LINENO" 5; } 29970 29971fi 29972 29973fi 29974 29975 if test "x$ac_cv_libcsplit" = xyes; then : 29976 29977$as_echo "#define HAVE_LIBCSPLIT 1" >>confdefs.h 29978 29979 29980fi 29981 29982 if test "x$ac_cv_libcsplit" = xyes; then : 29983 HAVE_LIBCSPLIT=1 29984 29985else 29986 HAVE_LIBCSPLIT=0 29987 29988 29989fi 29990 29991 29992 if test "x$ac_cv_libcsplit" != xyes; then : 29993 29994 ac_cv_libcsplit_CPPFLAGS="-I../libcsplit"; 29995 ac_cv_libcsplit_LIBADD="../libcsplit/libcsplit.la"; 29996 29997 ac_cv_libcsplit=local 29998 29999 30000 30001$as_echo "#define HAVE_LOCAL_LIBCSPLIT 1" >>confdefs.h 30002 30003 HAVE_LOCAL_LIBCSPLIT=1 30004 30005 30006fi 30007 30008 if test "x$ac_cv_libcsplit" = xlocal; then 30009 HAVE_LOCAL_LIBCSPLIT_TRUE= 30010 HAVE_LOCAL_LIBCSPLIT_FALSE='#' 30011else 30012 HAVE_LOCAL_LIBCSPLIT_TRUE='#' 30013 HAVE_LOCAL_LIBCSPLIT_FALSE= 30014fi 30015 30016 if test "x$ac_cv_libcsplit_CPPFLAGS" != "x"; then : 30017 LIBCSPLIT_CPPFLAGS=$ac_cv_libcsplit_CPPFLAGS 30018 30019 30020fi 30021 if test "x$ac_cv_libcsplit_LIBADD" != "x"; then : 30022 LIBCSPLIT_LIBADD=$ac_cv_libcsplit_LIBADD 30023 30024 30025fi 30026 30027 if test "x$ac_cv_libcsplit" = xyes; then : 30028 ax_libcsplit_pc_libs_private=-lcsplit 30029 30030 30031fi 30032 30033 if test "x$ac_cv_libcsplit" = xyes; then : 30034 ax_libcsplit_spec_requires=libcsplit 30035 30036 ax_libcsplit_spec_build_requires=libcsplit-devel 30037 30038 30039fi 30040 30041 30042 30043 30044# Check whether --with-libuna was given. 30045if test "${with_libuna+set}" = set; then : 30046 withval=$with_libuna; ac_cv_with_libuna=$withval 30047else 30048 ac_cv_with_libuna=auto-detect 30049fi 30050 30051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use search for libuna in includedir and libdir or in the specified DIR, or no if to use local version" >&5 30052$as_echo_n "checking whether to use search for libuna in includedir and libdir or in the specified DIR, or no if to use local version... " >&6; } 30053if ${ac_cv_with_libuna+:} false; then : 30054 $as_echo_n "(cached) " >&6 30055else 30056 ac_cv_with_libuna=auto-detect 30057fi 30058{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libuna" >&5 30059$as_echo "$ac_cv_with_libuna" >&6; } 30060 30061 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libuna" = xno; then : 30062 ac_cv_libuna=no 30063else 30064 ac_cv_libuna=check 30065 if test "x$ac_cv_with_libuna" != x && test "x$ac_cv_with_libuna" != xauto-detect; then : 30066 if test -d "$ac_cv_with_libuna"; then : 30067 CFLAGS="$CFLAGS -I${ac_cv_with_libuna}/include" 30068 LDFLAGS="$LDFLAGS -L${ac_cv_with_libuna}/lib" 30069else 30070 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 30071$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 30072as_fn_error 1 "no such directory: $ac_cv_with_libuna 30073See \`config.log' for more details" "$LINENO" 5; } 30074 30075fi 30076 30077else 30078 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 30079 30080pkg_failed=no 30081{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna" >&5 30082$as_echo_n "checking for libuna... " >&6; } 30083 30084if test -n "$libuna_CFLAGS"; then 30085 pkg_cv_libuna_CFLAGS="$libuna_CFLAGS" 30086 elif test -n "$PKG_CONFIG"; then 30087 if test -n "$PKG_CONFIG" && \ 30088 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuna >= 20200711\""; } >&5 30089 ($PKG_CONFIG --exists --print-errors "libuna >= 20200711") 2>&5 30090 ac_status=$? 30091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 30092 test $ac_status = 0; }; then 30093 pkg_cv_libuna_CFLAGS=`$PKG_CONFIG --cflags "libuna >= 20200711" 2>/dev/null` 30094 test "x$?" != "x0" && pkg_failed=yes 30095else 30096 pkg_failed=yes 30097fi 30098 else 30099 pkg_failed=untried 30100fi 30101if test -n "$libuna_LIBS"; then 30102 pkg_cv_libuna_LIBS="$libuna_LIBS" 30103 elif test -n "$PKG_CONFIG"; then 30104 if test -n "$PKG_CONFIG" && \ 30105 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuna >= 20200711\""; } >&5 30106 ($PKG_CONFIG --exists --print-errors "libuna >= 20200711") 2>&5 30107 ac_status=$? 30108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 30109 test $ac_status = 0; }; then 30110 pkg_cv_libuna_LIBS=`$PKG_CONFIG --libs "libuna >= 20200711" 2>/dev/null` 30111 test "x$?" != "x0" && pkg_failed=yes 30112else 30113 pkg_failed=yes 30114fi 30115 else 30116 pkg_failed=untried 30117fi 30118 30119 30120 30121if test $pkg_failed = yes; then 30122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 30123$as_echo "no" >&6; } 30124 30125if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 30126 _pkg_short_errors_supported=yes 30127else 30128 _pkg_short_errors_supported=no 30129fi 30130 if test $_pkg_short_errors_supported = yes; then 30131 libuna_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libuna >= 20200711" 2>&1` 30132 else 30133 libuna_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libuna >= 20200711" 2>&1` 30134 fi 30135 # Put the nasty error message in config.log where it belongs 30136 echo "$libuna_PKG_ERRORS" >&5 30137 30138 ac_cv_libuna=check 30139elif test $pkg_failed = untried; then 30140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 30141$as_echo "no" >&6; } 30142 ac_cv_libuna=check 30143else 30144 libuna_CFLAGS=$pkg_cv_libuna_CFLAGS 30145 libuna_LIBS=$pkg_cv_libuna_LIBS 30146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 30147$as_echo "yes" >&6; } 30148 ac_cv_libuna=yes 30149fi 30150 30151fi 30152 if test "x$ac_cv_libuna" = xyes; then : 30153 ac_cv_libuna_CPPFLAGS="$pkg_cv_libuna_CFLAGS" 30154 ac_cv_libuna_LIBADD="$pkg_cv_libuna_LIBS" 30155fi 30156 30157fi 30158 30159 if test "x$ac_cv_libuna" = xcheck; then : 30160 for ac_header in libuna.h 30161do : 30162 ac_fn_c_check_header_mongrel "$LINENO" "libuna.h" "ac_cv_header_libuna_h" "$ac_includes_default" 30163if test "x$ac_cv_header_libuna_h" = xyes; then : 30164 cat >>confdefs.h <<_ACEOF 30165#define HAVE_LIBUNA_H 1 30166_ACEOF 30167 30168fi 30169 30170done 30171 30172 30173 if test "x$ac_cv_header_libuna_h" = xno; then : 30174 ac_cv_libuna=no 30175else 30176 ac_cv_libuna=yes 30177 30178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_get_version in -luna" >&5 30179$as_echo_n "checking for libuna_get_version in -luna... " >&6; } 30180if ${ac_cv_lib_una_libuna_get_version+:} false; then : 30181 $as_echo_n "(cached) " >&6 30182else 30183 ac_check_lib_save_LIBS=$LIBS 30184LIBS="-luna $LIBS" 30185cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30186/* end confdefs.h. */ 30187 30188/* Override any GCC internal prototype to avoid an error. 30189 Use char because int might match the return type of a GCC 30190 builtin and then its argument prototype would still apply. */ 30191#ifdef __cplusplus 30192extern "C" 30193#endif 30194char libuna_get_version (); 30195int 30196main () 30197{ 30198return libuna_get_version (); 30199 ; 30200 return 0; 30201} 30202_ACEOF 30203if ac_fn_c_try_link "$LINENO"; then : 30204 ac_cv_lib_una_libuna_get_version=yes 30205else 30206 ac_cv_lib_una_libuna_get_version=no 30207fi 30208rm -f core conftest.err conftest.$ac_objext \ 30209 conftest$ac_exeext conftest.$ac_ext 30210LIBS=$ac_check_lib_save_LIBS 30211fi 30212{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_get_version" >&5 30213$as_echo "$ac_cv_lib_una_libuna_get_version" >&6; } 30214if test "x$ac_cv_lib_una_libuna_get_version" = xyes; then : 30215 ac_cv_libuna_dummy=yes 30216else 30217 ac_cv_libuna=no 30218fi 30219 30220 30221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_size_to_byte_stream in -luna" >&5 30222$as_echo_n "checking for libuna_base16_stream_size_to_byte_stream in -luna... " >&6; } 30223if ${ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream+:} false; then : 30224 $as_echo_n "(cached) " >&6 30225else 30226 ac_check_lib_save_LIBS=$LIBS 30227LIBS="-luna $LIBS" 30228cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30229/* end confdefs.h. */ 30230 30231/* Override any GCC internal prototype to avoid an error. 30232 Use char because int might match the return type of a GCC 30233 builtin and then its argument prototype would still apply. */ 30234#ifdef __cplusplus 30235extern "C" 30236#endif 30237char libuna_base16_stream_size_to_byte_stream (); 30238int 30239main () 30240{ 30241return libuna_base16_stream_size_to_byte_stream (); 30242 ; 30243 return 0; 30244} 30245_ACEOF 30246if ac_fn_c_try_link "$LINENO"; then : 30247 ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream=yes 30248else 30249 ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream=no 30250fi 30251rm -f core conftest.err conftest.$ac_objext \ 30252 conftest$ac_exeext conftest.$ac_ext 30253LIBS=$ac_check_lib_save_LIBS 30254fi 30255{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream" >&5 30256$as_echo "$ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream" >&6; } 30257if test "x$ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream" = xyes; then : 30258 ac_cv_libuna_dummy=yes 30259else 30260 ac_cv_libuna=no 30261fi 30262 30263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_copy_to_byte_stream in -luna" >&5 30264$as_echo_n "checking for libuna_base16_stream_copy_to_byte_stream in -luna... " >&6; } 30265if ${ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream+:} false; then : 30266 $as_echo_n "(cached) " >&6 30267else 30268 ac_check_lib_save_LIBS=$LIBS 30269LIBS="-luna $LIBS" 30270cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30271/* end confdefs.h. */ 30272 30273/* Override any GCC internal prototype to avoid an error. 30274 Use char because int might match the return type of a GCC 30275 builtin and then its argument prototype would still apply. */ 30276#ifdef __cplusplus 30277extern "C" 30278#endif 30279char libuna_base16_stream_copy_to_byte_stream (); 30280int 30281main () 30282{ 30283return libuna_base16_stream_copy_to_byte_stream (); 30284 ; 30285 return 0; 30286} 30287_ACEOF 30288if ac_fn_c_try_link "$LINENO"; then : 30289 ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream=yes 30290else 30291 ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream=no 30292fi 30293rm -f core conftest.err conftest.$ac_objext \ 30294 conftest$ac_exeext conftest.$ac_ext 30295LIBS=$ac_check_lib_save_LIBS 30296fi 30297{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream" >&5 30298$as_echo "$ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream" >&6; } 30299if test "x$ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream" = xyes; then : 30300 ac_cv_libuna_dummy=yes 30301else 30302 ac_cv_libuna=no 30303fi 30304 30305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_size_from_byte_stream in -luna" >&5 30306$as_echo_n "checking for libuna_base16_stream_size_from_byte_stream in -luna... " >&6; } 30307if ${ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream+:} false; then : 30308 $as_echo_n "(cached) " >&6 30309else 30310 ac_check_lib_save_LIBS=$LIBS 30311LIBS="-luna $LIBS" 30312cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30313/* end confdefs.h. */ 30314 30315/* Override any GCC internal prototype to avoid an error. 30316 Use char because int might match the return type of a GCC 30317 builtin and then its argument prototype would still apply. */ 30318#ifdef __cplusplus 30319extern "C" 30320#endif 30321char libuna_base16_stream_size_from_byte_stream (); 30322int 30323main () 30324{ 30325return libuna_base16_stream_size_from_byte_stream (); 30326 ; 30327 return 0; 30328} 30329_ACEOF 30330if ac_fn_c_try_link "$LINENO"; then : 30331 ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream=yes 30332else 30333 ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream=no 30334fi 30335rm -f core conftest.err conftest.$ac_objext \ 30336 conftest$ac_exeext conftest.$ac_ext 30337LIBS=$ac_check_lib_save_LIBS 30338fi 30339{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream" >&5 30340$as_echo "$ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream" >&6; } 30341if test "x$ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream" = xyes; then : 30342 ac_cv_libuna_dummy=yes 30343else 30344 ac_cv_libuna=no 30345fi 30346 30347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_copy_from_byte_stream in -luna" >&5 30348$as_echo_n "checking for libuna_base16_stream_copy_from_byte_stream in -luna... " >&6; } 30349if ${ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream+:} false; then : 30350 $as_echo_n "(cached) " >&6 30351else 30352 ac_check_lib_save_LIBS=$LIBS 30353LIBS="-luna $LIBS" 30354cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30355/* end confdefs.h. */ 30356 30357/* Override any GCC internal prototype to avoid an error. 30358 Use char because int might match the return type of a GCC 30359 builtin and then its argument prototype would still apply. */ 30360#ifdef __cplusplus 30361extern "C" 30362#endif 30363char libuna_base16_stream_copy_from_byte_stream (); 30364int 30365main () 30366{ 30367return libuna_base16_stream_copy_from_byte_stream (); 30368 ; 30369 return 0; 30370} 30371_ACEOF 30372if ac_fn_c_try_link "$LINENO"; then : 30373 ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream=yes 30374else 30375 ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream=no 30376fi 30377rm -f core conftest.err conftest.$ac_objext \ 30378 conftest$ac_exeext conftest.$ac_ext 30379LIBS=$ac_check_lib_save_LIBS 30380fi 30381{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream" >&5 30382$as_echo "$ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream" >&6; } 30383if test "x$ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream" = xyes; then : 30384 ac_cv_libuna_dummy=yes 30385else 30386 ac_cv_libuna=no 30387fi 30388 30389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_with_index_copy_from_byte_stream in -luna" >&5 30390$as_echo_n "checking for libuna_base16_stream_with_index_copy_from_byte_stream in -luna... " >&6; } 30391if ${ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream+:} false; then : 30392 $as_echo_n "(cached) " >&6 30393else 30394 ac_check_lib_save_LIBS=$LIBS 30395LIBS="-luna $LIBS" 30396cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30397/* end confdefs.h. */ 30398 30399/* Override any GCC internal prototype to avoid an error. 30400 Use char because int might match the return type of a GCC 30401 builtin and then its argument prototype would still apply. */ 30402#ifdef __cplusplus 30403extern "C" 30404#endif 30405char libuna_base16_stream_with_index_copy_from_byte_stream (); 30406int 30407main () 30408{ 30409return libuna_base16_stream_with_index_copy_from_byte_stream (); 30410 ; 30411 return 0; 30412} 30413_ACEOF 30414if ac_fn_c_try_link "$LINENO"; then : 30415 ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream=yes 30416else 30417 ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream=no 30418fi 30419rm -f core conftest.err conftest.$ac_objext \ 30420 conftest$ac_exeext conftest.$ac_ext 30421LIBS=$ac_check_lib_save_LIBS 30422fi 30423{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream" >&5 30424$as_echo "$ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream" >&6; } 30425if test "x$ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream" = xyes; then : 30426 ac_cv_libuna_dummy=yes 30427else 30428 ac_cv_libuna=no 30429fi 30430 30431 30432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_from_base32_stream in -luna" >&5 30433$as_echo_n "checking for libuna_base32_quintuplet_copy_from_base32_stream in -luna... " >&6; } 30434if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream+:} false; then : 30435 $as_echo_n "(cached) " >&6 30436else 30437 ac_check_lib_save_LIBS=$LIBS 30438LIBS="-luna $LIBS" 30439cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30440/* end confdefs.h. */ 30441 30442/* Override any GCC internal prototype to avoid an error. 30443 Use char because int might match the return type of a GCC 30444 builtin and then its argument prototype would still apply. */ 30445#ifdef __cplusplus 30446extern "C" 30447#endif 30448char libuna_base32_quintuplet_copy_from_base32_stream (); 30449int 30450main () 30451{ 30452return libuna_base32_quintuplet_copy_from_base32_stream (); 30453 ; 30454 return 0; 30455} 30456_ACEOF 30457if ac_fn_c_try_link "$LINENO"; then : 30458 ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream=yes 30459else 30460 ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream=no 30461fi 30462rm -f core conftest.err conftest.$ac_objext \ 30463 conftest$ac_exeext conftest.$ac_ext 30464LIBS=$ac_check_lib_save_LIBS 30465fi 30466{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream" >&5 30467$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream" >&6; } 30468if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream" = xyes; then : 30469 ac_cv_libuna_dummy=yes 30470else 30471 ac_cv_libuna=no 30472fi 30473 30474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_to_base32_stream in -luna" >&5 30475$as_echo_n "checking for libuna_base32_quintuplet_copy_to_base32_stream in -luna... " >&6; } 30476if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream+:} false; then : 30477 $as_echo_n "(cached) " >&6 30478else 30479 ac_check_lib_save_LIBS=$LIBS 30480LIBS="-luna $LIBS" 30481cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30482/* end confdefs.h. */ 30483 30484/* Override any GCC internal prototype to avoid an error. 30485 Use char because int might match the return type of a GCC 30486 builtin and then its argument prototype would still apply. */ 30487#ifdef __cplusplus 30488extern "C" 30489#endif 30490char libuna_base32_quintuplet_copy_to_base32_stream (); 30491int 30492main () 30493{ 30494return libuna_base32_quintuplet_copy_to_base32_stream (); 30495 ; 30496 return 0; 30497} 30498_ACEOF 30499if ac_fn_c_try_link "$LINENO"; then : 30500 ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream=yes 30501else 30502 ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream=no 30503fi 30504rm -f core conftest.err conftest.$ac_objext \ 30505 conftest$ac_exeext conftest.$ac_ext 30506LIBS=$ac_check_lib_save_LIBS 30507fi 30508{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream" >&5 30509$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream" >&6; } 30510if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream" = xyes; then : 30511 ac_cv_libuna_dummy=yes 30512else 30513 ac_cv_libuna=no 30514fi 30515 30516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_from_byte_stream in -luna" >&5 30517$as_echo_n "checking for libuna_base32_quintuplet_copy_from_byte_stream in -luna... " >&6; } 30518if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream+:} false; then : 30519 $as_echo_n "(cached) " >&6 30520else 30521 ac_check_lib_save_LIBS=$LIBS 30522LIBS="-luna $LIBS" 30523cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30524/* end confdefs.h. */ 30525 30526/* Override any GCC internal prototype to avoid an error. 30527 Use char because int might match the return type of a GCC 30528 builtin and then its argument prototype would still apply. */ 30529#ifdef __cplusplus 30530extern "C" 30531#endif 30532char libuna_base32_quintuplet_copy_from_byte_stream (); 30533int 30534main () 30535{ 30536return libuna_base32_quintuplet_copy_from_byte_stream (); 30537 ; 30538 return 0; 30539} 30540_ACEOF 30541if ac_fn_c_try_link "$LINENO"; then : 30542 ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream=yes 30543else 30544 ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream=no 30545fi 30546rm -f core conftest.err conftest.$ac_objext \ 30547 conftest$ac_exeext conftest.$ac_ext 30548LIBS=$ac_check_lib_save_LIBS 30549fi 30550{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream" >&5 30551$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream" >&6; } 30552if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream" = xyes; then : 30553 ac_cv_libuna_dummy=yes 30554else 30555 ac_cv_libuna=no 30556fi 30557 30558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_to_byte_stream in -luna" >&5 30559$as_echo_n "checking for libuna_base32_quintuplet_copy_to_byte_stream in -luna... " >&6; } 30560if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream+:} false; then : 30561 $as_echo_n "(cached) " >&6 30562else 30563 ac_check_lib_save_LIBS=$LIBS 30564LIBS="-luna $LIBS" 30565cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30566/* end confdefs.h. */ 30567 30568/* Override any GCC internal prototype to avoid an error. 30569 Use char because int might match the return type of a GCC 30570 builtin and then its argument prototype would still apply. */ 30571#ifdef __cplusplus 30572extern "C" 30573#endif 30574char libuna_base32_quintuplet_copy_to_byte_stream (); 30575int 30576main () 30577{ 30578return libuna_base32_quintuplet_copy_to_byte_stream (); 30579 ; 30580 return 0; 30581} 30582_ACEOF 30583if ac_fn_c_try_link "$LINENO"; then : 30584 ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream=yes 30585else 30586 ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream=no 30587fi 30588rm -f core conftest.err conftest.$ac_objext \ 30589 conftest$ac_exeext conftest.$ac_ext 30590LIBS=$ac_check_lib_save_LIBS 30591fi 30592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream" >&5 30593$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream" >&6; } 30594if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream" = xyes; then : 30595 ac_cv_libuna_dummy=yes 30596else 30597 ac_cv_libuna=no 30598fi 30599 30600 30601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_size_to_byte_stream in -luna" >&5 30602$as_echo_n "checking for libuna_base32_stream_size_to_byte_stream in -luna... " >&6; } 30603if ${ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream+:} false; then : 30604 $as_echo_n "(cached) " >&6 30605else 30606 ac_check_lib_save_LIBS=$LIBS 30607LIBS="-luna $LIBS" 30608cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30609/* end confdefs.h. */ 30610 30611/* Override any GCC internal prototype to avoid an error. 30612 Use char because int might match the return type of a GCC 30613 builtin and then its argument prototype would still apply. */ 30614#ifdef __cplusplus 30615extern "C" 30616#endif 30617char libuna_base32_stream_size_to_byte_stream (); 30618int 30619main () 30620{ 30621return libuna_base32_stream_size_to_byte_stream (); 30622 ; 30623 return 0; 30624} 30625_ACEOF 30626if ac_fn_c_try_link "$LINENO"; then : 30627 ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream=yes 30628else 30629 ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream=no 30630fi 30631rm -f core conftest.err conftest.$ac_objext \ 30632 conftest$ac_exeext conftest.$ac_ext 30633LIBS=$ac_check_lib_save_LIBS 30634fi 30635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream" >&5 30636$as_echo "$ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream" >&6; } 30637if test "x$ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream" = xyes; then : 30638 ac_cv_libuna_dummy=yes 30639else 30640 ac_cv_libuna=no 30641fi 30642 30643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_copy_to_byte_stream in -luna" >&5 30644$as_echo_n "checking for libuna_base32_stream_copy_to_byte_stream in -luna... " >&6; } 30645if ${ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream+:} false; then : 30646 $as_echo_n "(cached) " >&6 30647else 30648 ac_check_lib_save_LIBS=$LIBS 30649LIBS="-luna $LIBS" 30650cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30651/* end confdefs.h. */ 30652 30653/* Override any GCC internal prototype to avoid an error. 30654 Use char because int might match the return type of a GCC 30655 builtin and then its argument prototype would still apply. */ 30656#ifdef __cplusplus 30657extern "C" 30658#endif 30659char libuna_base32_stream_copy_to_byte_stream (); 30660int 30661main () 30662{ 30663return libuna_base32_stream_copy_to_byte_stream (); 30664 ; 30665 return 0; 30666} 30667_ACEOF 30668if ac_fn_c_try_link "$LINENO"; then : 30669 ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream=yes 30670else 30671 ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream=no 30672fi 30673rm -f core conftest.err conftest.$ac_objext \ 30674 conftest$ac_exeext conftest.$ac_ext 30675LIBS=$ac_check_lib_save_LIBS 30676fi 30677{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream" >&5 30678$as_echo "$ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream" >&6; } 30679if test "x$ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream" = xyes; then : 30680 ac_cv_libuna_dummy=yes 30681else 30682 ac_cv_libuna=no 30683fi 30684 30685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_size_from_byte_stream in -luna" >&5 30686$as_echo_n "checking for libuna_base32_stream_size_from_byte_stream in -luna... " >&6; } 30687if ${ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream+:} false; then : 30688 $as_echo_n "(cached) " >&6 30689else 30690 ac_check_lib_save_LIBS=$LIBS 30691LIBS="-luna $LIBS" 30692cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30693/* end confdefs.h. */ 30694 30695/* Override any GCC internal prototype to avoid an error. 30696 Use char because int might match the return type of a GCC 30697 builtin and then its argument prototype would still apply. */ 30698#ifdef __cplusplus 30699extern "C" 30700#endif 30701char libuna_base32_stream_size_from_byte_stream (); 30702int 30703main () 30704{ 30705return libuna_base32_stream_size_from_byte_stream (); 30706 ; 30707 return 0; 30708} 30709_ACEOF 30710if ac_fn_c_try_link "$LINENO"; then : 30711 ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream=yes 30712else 30713 ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream=no 30714fi 30715rm -f core conftest.err conftest.$ac_objext \ 30716 conftest$ac_exeext conftest.$ac_ext 30717LIBS=$ac_check_lib_save_LIBS 30718fi 30719{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream" >&5 30720$as_echo "$ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream" >&6; } 30721if test "x$ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream" = xyes; then : 30722 ac_cv_libuna_dummy=yes 30723else 30724 ac_cv_libuna=no 30725fi 30726 30727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_copy_from_byte_stream in -luna" >&5 30728$as_echo_n "checking for libuna_base32_stream_copy_from_byte_stream in -luna... " >&6; } 30729if ${ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream+:} false; then : 30730 $as_echo_n "(cached) " >&6 30731else 30732 ac_check_lib_save_LIBS=$LIBS 30733LIBS="-luna $LIBS" 30734cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30735/* end confdefs.h. */ 30736 30737/* Override any GCC internal prototype to avoid an error. 30738 Use char because int might match the return type of a GCC 30739 builtin and then its argument prototype would still apply. */ 30740#ifdef __cplusplus 30741extern "C" 30742#endif 30743char libuna_base32_stream_copy_from_byte_stream (); 30744int 30745main () 30746{ 30747return libuna_base32_stream_copy_from_byte_stream (); 30748 ; 30749 return 0; 30750} 30751_ACEOF 30752if ac_fn_c_try_link "$LINENO"; then : 30753 ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream=yes 30754else 30755 ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream=no 30756fi 30757rm -f core conftest.err conftest.$ac_objext \ 30758 conftest$ac_exeext conftest.$ac_ext 30759LIBS=$ac_check_lib_save_LIBS 30760fi 30761{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream" >&5 30762$as_echo "$ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream" >&6; } 30763if test "x$ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream" = xyes; then : 30764 ac_cv_libuna_dummy=yes 30765else 30766 ac_cv_libuna=no 30767fi 30768 30769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_with_index_copy_from_byte_stream in -luna" >&5 30770$as_echo_n "checking for libuna_base32_stream_with_index_copy_from_byte_stream in -luna... " >&6; } 30771if ${ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream+:} false; then : 30772 $as_echo_n "(cached) " >&6 30773else 30774 ac_check_lib_save_LIBS=$LIBS 30775LIBS="-luna $LIBS" 30776cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30777/* end confdefs.h. */ 30778 30779/* Override any GCC internal prototype to avoid an error. 30780 Use char because int might match the return type of a GCC 30781 builtin and then its argument prototype would still apply. */ 30782#ifdef __cplusplus 30783extern "C" 30784#endif 30785char libuna_base32_stream_with_index_copy_from_byte_stream (); 30786int 30787main () 30788{ 30789return libuna_base32_stream_with_index_copy_from_byte_stream (); 30790 ; 30791 return 0; 30792} 30793_ACEOF 30794if ac_fn_c_try_link "$LINENO"; then : 30795 ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream=yes 30796else 30797 ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream=no 30798fi 30799rm -f core conftest.err conftest.$ac_objext \ 30800 conftest$ac_exeext conftest.$ac_ext 30801LIBS=$ac_check_lib_save_LIBS 30802fi 30803{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream" >&5 30804$as_echo "$ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream" >&6; } 30805if test "x$ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream" = xyes; then : 30806 ac_cv_libuna_dummy=yes 30807else 30808 ac_cv_libuna=no 30809fi 30810 30811 30812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_from_base64_stream in -luna" >&5 30813$as_echo_n "checking for libuna_base64_triplet_copy_from_base64_stream in -luna... " >&6; } 30814if ${ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream+:} false; then : 30815 $as_echo_n "(cached) " >&6 30816else 30817 ac_check_lib_save_LIBS=$LIBS 30818LIBS="-luna $LIBS" 30819cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30820/* end confdefs.h. */ 30821 30822/* Override any GCC internal prototype to avoid an error. 30823 Use char because int might match the return type of a GCC 30824 builtin and then its argument prototype would still apply. */ 30825#ifdef __cplusplus 30826extern "C" 30827#endif 30828char libuna_base64_triplet_copy_from_base64_stream (); 30829int 30830main () 30831{ 30832return libuna_base64_triplet_copy_from_base64_stream (); 30833 ; 30834 return 0; 30835} 30836_ACEOF 30837if ac_fn_c_try_link "$LINENO"; then : 30838 ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream=yes 30839else 30840 ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream=no 30841fi 30842rm -f core conftest.err conftest.$ac_objext \ 30843 conftest$ac_exeext conftest.$ac_ext 30844LIBS=$ac_check_lib_save_LIBS 30845fi 30846{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream" >&5 30847$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream" >&6; } 30848if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream" = xyes; then : 30849 ac_cv_libuna_dummy=yes 30850else 30851 ac_cv_libuna=no 30852fi 30853 30854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_to_base64_stream in -luna" >&5 30855$as_echo_n "checking for libuna_base64_triplet_copy_to_base64_stream in -luna... " >&6; } 30856if ${ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream+:} false; then : 30857 $as_echo_n "(cached) " >&6 30858else 30859 ac_check_lib_save_LIBS=$LIBS 30860LIBS="-luna $LIBS" 30861cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30862/* end confdefs.h. */ 30863 30864/* Override any GCC internal prototype to avoid an error. 30865 Use char because int might match the return type of a GCC 30866 builtin and then its argument prototype would still apply. */ 30867#ifdef __cplusplus 30868extern "C" 30869#endif 30870char libuna_base64_triplet_copy_to_base64_stream (); 30871int 30872main () 30873{ 30874return libuna_base64_triplet_copy_to_base64_stream (); 30875 ; 30876 return 0; 30877} 30878_ACEOF 30879if ac_fn_c_try_link "$LINENO"; then : 30880 ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream=yes 30881else 30882 ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream=no 30883fi 30884rm -f core conftest.err conftest.$ac_objext \ 30885 conftest$ac_exeext conftest.$ac_ext 30886LIBS=$ac_check_lib_save_LIBS 30887fi 30888{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream" >&5 30889$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream" >&6; } 30890if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream" = xyes; then : 30891 ac_cv_libuna_dummy=yes 30892else 30893 ac_cv_libuna=no 30894fi 30895 30896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_from_byte_stream in -luna" >&5 30897$as_echo_n "checking for libuna_base64_triplet_copy_from_byte_stream in -luna... " >&6; } 30898if ${ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream+:} false; then : 30899 $as_echo_n "(cached) " >&6 30900else 30901 ac_check_lib_save_LIBS=$LIBS 30902LIBS="-luna $LIBS" 30903cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30904/* end confdefs.h. */ 30905 30906/* Override any GCC internal prototype to avoid an error. 30907 Use char because int might match the return type of a GCC 30908 builtin and then its argument prototype would still apply. */ 30909#ifdef __cplusplus 30910extern "C" 30911#endif 30912char libuna_base64_triplet_copy_from_byte_stream (); 30913int 30914main () 30915{ 30916return libuna_base64_triplet_copy_from_byte_stream (); 30917 ; 30918 return 0; 30919} 30920_ACEOF 30921if ac_fn_c_try_link "$LINENO"; then : 30922 ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream=yes 30923else 30924 ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream=no 30925fi 30926rm -f core conftest.err conftest.$ac_objext \ 30927 conftest$ac_exeext conftest.$ac_ext 30928LIBS=$ac_check_lib_save_LIBS 30929fi 30930{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream" >&5 30931$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream" >&6; } 30932if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream" = xyes; then : 30933 ac_cv_libuna_dummy=yes 30934else 30935 ac_cv_libuna=no 30936fi 30937 30938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_to_byte_stream in -luna" >&5 30939$as_echo_n "checking for libuna_base64_triplet_copy_to_byte_stream in -luna... " >&6; } 30940if ${ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream+:} false; then : 30941 $as_echo_n "(cached) " >&6 30942else 30943 ac_check_lib_save_LIBS=$LIBS 30944LIBS="-luna $LIBS" 30945cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30946/* end confdefs.h. */ 30947 30948/* Override any GCC internal prototype to avoid an error. 30949 Use char because int might match the return type of a GCC 30950 builtin and then its argument prototype would still apply. */ 30951#ifdef __cplusplus 30952extern "C" 30953#endif 30954char libuna_base64_triplet_copy_to_byte_stream (); 30955int 30956main () 30957{ 30958return libuna_base64_triplet_copy_to_byte_stream (); 30959 ; 30960 return 0; 30961} 30962_ACEOF 30963if ac_fn_c_try_link "$LINENO"; then : 30964 ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream=yes 30965else 30966 ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream=no 30967fi 30968rm -f core conftest.err conftest.$ac_objext \ 30969 conftest$ac_exeext conftest.$ac_ext 30970LIBS=$ac_check_lib_save_LIBS 30971fi 30972{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream" >&5 30973$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream" >&6; } 30974if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream" = xyes; then : 30975 ac_cv_libuna_dummy=yes 30976else 30977 ac_cv_libuna=no 30978fi 30979 30980 30981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_size_to_byte_stream in -luna" >&5 30982$as_echo_n "checking for libuna_base64_stream_size_to_byte_stream in -luna... " >&6; } 30983if ${ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream+:} false; then : 30984 $as_echo_n "(cached) " >&6 30985else 30986 ac_check_lib_save_LIBS=$LIBS 30987LIBS="-luna $LIBS" 30988cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30989/* end confdefs.h. */ 30990 30991/* Override any GCC internal prototype to avoid an error. 30992 Use char because int might match the return type of a GCC 30993 builtin and then its argument prototype would still apply. */ 30994#ifdef __cplusplus 30995extern "C" 30996#endif 30997char libuna_base64_stream_size_to_byte_stream (); 30998int 30999main () 31000{ 31001return libuna_base64_stream_size_to_byte_stream (); 31002 ; 31003 return 0; 31004} 31005_ACEOF 31006if ac_fn_c_try_link "$LINENO"; then : 31007 ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream=yes 31008else 31009 ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream=no 31010fi 31011rm -f core conftest.err conftest.$ac_objext \ 31012 conftest$ac_exeext conftest.$ac_ext 31013LIBS=$ac_check_lib_save_LIBS 31014fi 31015{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream" >&5 31016$as_echo "$ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream" >&6; } 31017if test "x$ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream" = xyes; then : 31018 ac_cv_libuna_dummy=yes 31019else 31020 ac_cv_libuna=no 31021fi 31022 31023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_copy_to_byte_stream in -luna" >&5 31024$as_echo_n "checking for libuna_base64_stream_copy_to_byte_stream in -luna... " >&6; } 31025if ${ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream+:} false; then : 31026 $as_echo_n "(cached) " >&6 31027else 31028 ac_check_lib_save_LIBS=$LIBS 31029LIBS="-luna $LIBS" 31030cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31031/* end confdefs.h. */ 31032 31033/* Override any GCC internal prototype to avoid an error. 31034 Use char because int might match the return type of a GCC 31035 builtin and then its argument prototype would still apply. */ 31036#ifdef __cplusplus 31037extern "C" 31038#endif 31039char libuna_base64_stream_copy_to_byte_stream (); 31040int 31041main () 31042{ 31043return libuna_base64_stream_copy_to_byte_stream (); 31044 ; 31045 return 0; 31046} 31047_ACEOF 31048if ac_fn_c_try_link "$LINENO"; then : 31049 ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream=yes 31050else 31051 ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream=no 31052fi 31053rm -f core conftest.err conftest.$ac_objext \ 31054 conftest$ac_exeext conftest.$ac_ext 31055LIBS=$ac_check_lib_save_LIBS 31056fi 31057{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream" >&5 31058$as_echo "$ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream" >&6; } 31059if test "x$ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream" = xyes; then : 31060 ac_cv_libuna_dummy=yes 31061else 31062 ac_cv_libuna=no 31063fi 31064 31065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_size_from_byte_stream in -luna" >&5 31066$as_echo_n "checking for libuna_base64_stream_size_from_byte_stream in -luna... " >&6; } 31067if ${ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream+:} false; then : 31068 $as_echo_n "(cached) " >&6 31069else 31070 ac_check_lib_save_LIBS=$LIBS 31071LIBS="-luna $LIBS" 31072cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31073/* end confdefs.h. */ 31074 31075/* Override any GCC internal prototype to avoid an error. 31076 Use char because int might match the return type of a GCC 31077 builtin and then its argument prototype would still apply. */ 31078#ifdef __cplusplus 31079extern "C" 31080#endif 31081char libuna_base64_stream_size_from_byte_stream (); 31082int 31083main () 31084{ 31085return libuna_base64_stream_size_from_byte_stream (); 31086 ; 31087 return 0; 31088} 31089_ACEOF 31090if ac_fn_c_try_link "$LINENO"; then : 31091 ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream=yes 31092else 31093 ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream=no 31094fi 31095rm -f core conftest.err conftest.$ac_objext \ 31096 conftest$ac_exeext conftest.$ac_ext 31097LIBS=$ac_check_lib_save_LIBS 31098fi 31099{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream" >&5 31100$as_echo "$ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream" >&6; } 31101if test "x$ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream" = xyes; then : 31102 ac_cv_libuna_dummy=yes 31103else 31104 ac_cv_libuna=no 31105fi 31106 31107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_copy_from_byte_stream in -luna" >&5 31108$as_echo_n "checking for libuna_base64_stream_copy_from_byte_stream in -luna... " >&6; } 31109if ${ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream+:} false; then : 31110 $as_echo_n "(cached) " >&6 31111else 31112 ac_check_lib_save_LIBS=$LIBS 31113LIBS="-luna $LIBS" 31114cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31115/* end confdefs.h. */ 31116 31117/* Override any GCC internal prototype to avoid an error. 31118 Use char because int might match the return type of a GCC 31119 builtin and then its argument prototype would still apply. */ 31120#ifdef __cplusplus 31121extern "C" 31122#endif 31123char libuna_base64_stream_copy_from_byte_stream (); 31124int 31125main () 31126{ 31127return libuna_base64_stream_copy_from_byte_stream (); 31128 ; 31129 return 0; 31130} 31131_ACEOF 31132if ac_fn_c_try_link "$LINENO"; then : 31133 ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream=yes 31134else 31135 ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream=no 31136fi 31137rm -f core conftest.err conftest.$ac_objext \ 31138 conftest$ac_exeext conftest.$ac_ext 31139LIBS=$ac_check_lib_save_LIBS 31140fi 31141{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream" >&5 31142$as_echo "$ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream" >&6; } 31143if test "x$ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream" = xyes; then : 31144 ac_cv_libuna_dummy=yes 31145else 31146 ac_cv_libuna=no 31147fi 31148 31149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_with_index_copy_from_byte_stream in -luna" >&5 31150$as_echo_n "checking for libuna_base64_stream_with_index_copy_from_byte_stream in -luna... " >&6; } 31151if ${ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream+:} false; then : 31152 $as_echo_n "(cached) " >&6 31153else 31154 ac_check_lib_save_LIBS=$LIBS 31155LIBS="-luna $LIBS" 31156cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31157/* end confdefs.h. */ 31158 31159/* Override any GCC internal prototype to avoid an error. 31160 Use char because int might match the return type of a GCC 31161 builtin and then its argument prototype would still apply. */ 31162#ifdef __cplusplus 31163extern "C" 31164#endif 31165char libuna_base64_stream_with_index_copy_from_byte_stream (); 31166int 31167main () 31168{ 31169return libuna_base64_stream_with_index_copy_from_byte_stream (); 31170 ; 31171 return 0; 31172} 31173_ACEOF 31174if ac_fn_c_try_link "$LINENO"; then : 31175 ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream=yes 31176else 31177 ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream=no 31178fi 31179rm -f core conftest.err conftest.$ac_objext \ 31180 conftest$ac_exeext conftest.$ac_ext 31181LIBS=$ac_check_lib_save_LIBS 31182fi 31183{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream" >&5 31184$as_echo "$ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream" >&6; } 31185if test "x$ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream" = xyes; then : 31186 ac_cv_libuna_dummy=yes 31187else 31188 ac_cv_libuna=no 31189fi 31190 31191 31192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_size_from_utf8 in -luna" >&5 31193$as_echo_n "checking for libuna_byte_stream_size_from_utf8 in -luna... " >&6; } 31194if ${ac_cv_lib_una_libuna_byte_stream_size_from_utf8+:} false; then : 31195 $as_echo_n "(cached) " >&6 31196else 31197 ac_check_lib_save_LIBS=$LIBS 31198LIBS="-luna $LIBS" 31199cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31200/* end confdefs.h. */ 31201 31202/* Override any GCC internal prototype to avoid an error. 31203 Use char because int might match the return type of a GCC 31204 builtin and then its argument prototype would still apply. */ 31205#ifdef __cplusplus 31206extern "C" 31207#endif 31208char libuna_byte_stream_size_from_utf8 (); 31209int 31210main () 31211{ 31212return libuna_byte_stream_size_from_utf8 (); 31213 ; 31214 return 0; 31215} 31216_ACEOF 31217if ac_fn_c_try_link "$LINENO"; then : 31218 ac_cv_lib_una_libuna_byte_stream_size_from_utf8=yes 31219else 31220 ac_cv_lib_una_libuna_byte_stream_size_from_utf8=no 31221fi 31222rm -f core conftest.err conftest.$ac_objext \ 31223 conftest$ac_exeext conftest.$ac_ext 31224LIBS=$ac_check_lib_save_LIBS 31225fi 31226{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_size_from_utf8" >&5 31227$as_echo "$ac_cv_lib_una_libuna_byte_stream_size_from_utf8" >&6; } 31228if test "x$ac_cv_lib_una_libuna_byte_stream_size_from_utf8" = xyes; then : 31229 ac_cv_libuna_dummy=yes 31230else 31231 ac_cv_libuna=no 31232fi 31233 31234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_copy_from_utf8 in -luna" >&5 31235$as_echo_n "checking for libuna_byte_stream_copy_from_utf8 in -luna... " >&6; } 31236if ${ac_cv_lib_una_libuna_byte_stream_copy_from_utf8+:} false; then : 31237 $as_echo_n "(cached) " >&6 31238else 31239 ac_check_lib_save_LIBS=$LIBS 31240LIBS="-luna $LIBS" 31241cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31242/* end confdefs.h. */ 31243 31244/* Override any GCC internal prototype to avoid an error. 31245 Use char because int might match the return type of a GCC 31246 builtin and then its argument prototype would still apply. */ 31247#ifdef __cplusplus 31248extern "C" 31249#endif 31250char libuna_byte_stream_copy_from_utf8 (); 31251int 31252main () 31253{ 31254return libuna_byte_stream_copy_from_utf8 (); 31255 ; 31256 return 0; 31257} 31258_ACEOF 31259if ac_fn_c_try_link "$LINENO"; then : 31260 ac_cv_lib_una_libuna_byte_stream_copy_from_utf8=yes 31261else 31262 ac_cv_lib_una_libuna_byte_stream_copy_from_utf8=no 31263fi 31264rm -f core conftest.err conftest.$ac_objext \ 31265 conftest$ac_exeext conftest.$ac_ext 31266LIBS=$ac_check_lib_save_LIBS 31267fi 31268{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_copy_from_utf8" >&5 31269$as_echo "$ac_cv_lib_una_libuna_byte_stream_copy_from_utf8" >&6; } 31270if test "x$ac_cv_lib_una_libuna_byte_stream_copy_from_utf8" = xyes; then : 31271 ac_cv_libuna_dummy=yes 31272else 31273 ac_cv_libuna=no 31274fi 31275 31276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_size_from_utf16 in -luna" >&5 31277$as_echo_n "checking for libuna_byte_stream_size_from_utf16 in -luna... " >&6; } 31278if ${ac_cv_lib_una_libuna_byte_stream_size_from_utf16+:} false; then : 31279 $as_echo_n "(cached) " >&6 31280else 31281 ac_check_lib_save_LIBS=$LIBS 31282LIBS="-luna $LIBS" 31283cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31284/* end confdefs.h. */ 31285 31286/* Override any GCC internal prototype to avoid an error. 31287 Use char because int might match the return type of a GCC 31288 builtin and then its argument prototype would still apply. */ 31289#ifdef __cplusplus 31290extern "C" 31291#endif 31292char libuna_byte_stream_size_from_utf16 (); 31293int 31294main () 31295{ 31296return libuna_byte_stream_size_from_utf16 (); 31297 ; 31298 return 0; 31299} 31300_ACEOF 31301if ac_fn_c_try_link "$LINENO"; then : 31302 ac_cv_lib_una_libuna_byte_stream_size_from_utf16=yes 31303else 31304 ac_cv_lib_una_libuna_byte_stream_size_from_utf16=no 31305fi 31306rm -f core conftest.err conftest.$ac_objext \ 31307 conftest$ac_exeext conftest.$ac_ext 31308LIBS=$ac_check_lib_save_LIBS 31309fi 31310{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_size_from_utf16" >&5 31311$as_echo "$ac_cv_lib_una_libuna_byte_stream_size_from_utf16" >&6; } 31312if test "x$ac_cv_lib_una_libuna_byte_stream_size_from_utf16" = xyes; then : 31313 ac_cv_libuna_dummy=yes 31314else 31315 ac_cv_libuna=no 31316fi 31317 31318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_copy_from_utf16 in -luna" >&5 31319$as_echo_n "checking for libuna_byte_stream_copy_from_utf16 in -luna... " >&6; } 31320if ${ac_cv_lib_una_libuna_byte_stream_copy_from_utf16+:} false; then : 31321 $as_echo_n "(cached) " >&6 31322else 31323 ac_check_lib_save_LIBS=$LIBS 31324LIBS="-luna $LIBS" 31325cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31326/* end confdefs.h. */ 31327 31328/* Override any GCC internal prototype to avoid an error. 31329 Use char because int might match the return type of a GCC 31330 builtin and then its argument prototype would still apply. */ 31331#ifdef __cplusplus 31332extern "C" 31333#endif 31334char libuna_byte_stream_copy_from_utf16 (); 31335int 31336main () 31337{ 31338return libuna_byte_stream_copy_from_utf16 (); 31339 ; 31340 return 0; 31341} 31342_ACEOF 31343if ac_fn_c_try_link "$LINENO"; then : 31344 ac_cv_lib_una_libuna_byte_stream_copy_from_utf16=yes 31345else 31346 ac_cv_lib_una_libuna_byte_stream_copy_from_utf16=no 31347fi 31348rm -f core conftest.err conftest.$ac_objext \ 31349 conftest$ac_exeext conftest.$ac_ext 31350LIBS=$ac_check_lib_save_LIBS 31351fi 31352{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_copy_from_utf16" >&5 31353$as_echo "$ac_cv_lib_una_libuna_byte_stream_copy_from_utf16" >&6; } 31354if test "x$ac_cv_lib_una_libuna_byte_stream_copy_from_utf16" = xyes; then : 31355 ac_cv_libuna_dummy=yes 31356else 31357 ac_cv_libuna=no 31358fi 31359 31360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_size_from_utf32 in -luna" >&5 31361$as_echo_n "checking for libuna_byte_stream_size_from_utf32 in -luna... " >&6; } 31362if ${ac_cv_lib_una_libuna_byte_stream_size_from_utf32+:} false; then : 31363 $as_echo_n "(cached) " >&6 31364else 31365 ac_check_lib_save_LIBS=$LIBS 31366LIBS="-luna $LIBS" 31367cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31368/* end confdefs.h. */ 31369 31370/* Override any GCC internal prototype to avoid an error. 31371 Use char because int might match the return type of a GCC 31372 builtin and then its argument prototype would still apply. */ 31373#ifdef __cplusplus 31374extern "C" 31375#endif 31376char libuna_byte_stream_size_from_utf32 (); 31377int 31378main () 31379{ 31380return libuna_byte_stream_size_from_utf32 (); 31381 ; 31382 return 0; 31383} 31384_ACEOF 31385if ac_fn_c_try_link "$LINENO"; then : 31386 ac_cv_lib_una_libuna_byte_stream_size_from_utf32=yes 31387else 31388 ac_cv_lib_una_libuna_byte_stream_size_from_utf32=no 31389fi 31390rm -f core conftest.err conftest.$ac_objext \ 31391 conftest$ac_exeext conftest.$ac_ext 31392LIBS=$ac_check_lib_save_LIBS 31393fi 31394{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_size_from_utf32" >&5 31395$as_echo "$ac_cv_lib_una_libuna_byte_stream_size_from_utf32" >&6; } 31396if test "x$ac_cv_lib_una_libuna_byte_stream_size_from_utf32" = xyes; then : 31397 ac_cv_libuna_dummy=yes 31398else 31399 ac_cv_libuna=no 31400fi 31401 31402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_copy_from_utf32 in -luna" >&5 31403$as_echo_n "checking for libuna_byte_stream_copy_from_utf32 in -luna... " >&6; } 31404if ${ac_cv_lib_una_libuna_byte_stream_copy_from_utf32+:} false; then : 31405 $as_echo_n "(cached) " >&6 31406else 31407 ac_check_lib_save_LIBS=$LIBS 31408LIBS="-luna $LIBS" 31409cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31410/* end confdefs.h. */ 31411 31412/* Override any GCC internal prototype to avoid an error. 31413 Use char because int might match the return type of a GCC 31414 builtin and then its argument prototype would still apply. */ 31415#ifdef __cplusplus 31416extern "C" 31417#endif 31418char libuna_byte_stream_copy_from_utf32 (); 31419int 31420main () 31421{ 31422return libuna_byte_stream_copy_from_utf32 (); 31423 ; 31424 return 0; 31425} 31426_ACEOF 31427if ac_fn_c_try_link "$LINENO"; then : 31428 ac_cv_lib_una_libuna_byte_stream_copy_from_utf32=yes 31429else 31430 ac_cv_lib_una_libuna_byte_stream_copy_from_utf32=no 31431fi 31432rm -f core conftest.err conftest.$ac_objext \ 31433 conftest$ac_exeext conftest.$ac_ext 31434LIBS=$ac_check_lib_save_LIBS 31435fi 31436{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_copy_from_utf32" >&5 31437$as_echo "$ac_cv_lib_una_libuna_byte_stream_copy_from_utf32" >&6; } 31438if test "x$ac_cv_lib_una_libuna_byte_stream_copy_from_utf32" = xyes; then : 31439 ac_cv_libuna_dummy=yes 31440else 31441 ac_cv_libuna=no 31442fi 31443 31444 31445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_size_from_utf8 in -luna" >&5 31446$as_echo_n "checking for libuna_utf8_stream_size_from_utf8 in -luna... " >&6; } 31447if ${ac_cv_lib_una_libuna_utf8_stream_size_from_utf8+:} false; then : 31448 $as_echo_n "(cached) " >&6 31449else 31450 ac_check_lib_save_LIBS=$LIBS 31451LIBS="-luna $LIBS" 31452cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31453/* end confdefs.h. */ 31454 31455/* Override any GCC internal prototype to avoid an error. 31456 Use char because int might match the return type of a GCC 31457 builtin and then its argument prototype would still apply. */ 31458#ifdef __cplusplus 31459extern "C" 31460#endif 31461char libuna_utf8_stream_size_from_utf8 (); 31462int 31463main () 31464{ 31465return libuna_utf8_stream_size_from_utf8 (); 31466 ; 31467 return 0; 31468} 31469_ACEOF 31470if ac_fn_c_try_link "$LINENO"; then : 31471 ac_cv_lib_una_libuna_utf8_stream_size_from_utf8=yes 31472else 31473 ac_cv_lib_una_libuna_utf8_stream_size_from_utf8=no 31474fi 31475rm -f core conftest.err conftest.$ac_objext \ 31476 conftest$ac_exeext conftest.$ac_ext 31477LIBS=$ac_check_lib_save_LIBS 31478fi 31479{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_size_from_utf8" >&5 31480$as_echo "$ac_cv_lib_una_libuna_utf8_stream_size_from_utf8" >&6; } 31481if test "x$ac_cv_lib_una_libuna_utf8_stream_size_from_utf8" = xyes; then : 31482 ac_cv_libuna_dummy=yes 31483else 31484 ac_cv_libuna=no 31485fi 31486 31487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_copy_from_utf8 in -luna" >&5 31488$as_echo_n "checking for libuna_utf8_stream_copy_from_utf8 in -luna... " >&6; } 31489if ${ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8+:} false; then : 31490 $as_echo_n "(cached) " >&6 31491else 31492 ac_check_lib_save_LIBS=$LIBS 31493LIBS="-luna $LIBS" 31494cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31495/* end confdefs.h. */ 31496 31497/* Override any GCC internal prototype to avoid an error. 31498 Use char because int might match the return type of a GCC 31499 builtin and then its argument prototype would still apply. */ 31500#ifdef __cplusplus 31501extern "C" 31502#endif 31503char libuna_utf8_stream_copy_from_utf8 (); 31504int 31505main () 31506{ 31507return libuna_utf8_stream_copy_from_utf8 (); 31508 ; 31509 return 0; 31510} 31511_ACEOF 31512if ac_fn_c_try_link "$LINENO"; then : 31513 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8=yes 31514else 31515 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8=no 31516fi 31517rm -f core conftest.err conftest.$ac_objext \ 31518 conftest$ac_exeext conftest.$ac_ext 31519LIBS=$ac_check_lib_save_LIBS 31520fi 31521{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8" >&5 31522$as_echo "$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8" >&6; } 31523if test "x$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8" = xyes; then : 31524 ac_cv_libuna_dummy=yes 31525else 31526 ac_cv_libuna=no 31527fi 31528 31529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_size_from_utf16 in -luna" >&5 31530$as_echo_n "checking for libuna_utf8_stream_size_from_utf16 in -luna... " >&6; } 31531if ${ac_cv_lib_una_libuna_utf8_stream_size_from_utf16+:} false; then : 31532 $as_echo_n "(cached) " >&6 31533else 31534 ac_check_lib_save_LIBS=$LIBS 31535LIBS="-luna $LIBS" 31536cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31537/* end confdefs.h. */ 31538 31539/* Override any GCC internal prototype to avoid an error. 31540 Use char because int might match the return type of a GCC 31541 builtin and then its argument prototype would still apply. */ 31542#ifdef __cplusplus 31543extern "C" 31544#endif 31545char libuna_utf8_stream_size_from_utf16 (); 31546int 31547main () 31548{ 31549return libuna_utf8_stream_size_from_utf16 (); 31550 ; 31551 return 0; 31552} 31553_ACEOF 31554if ac_fn_c_try_link "$LINENO"; then : 31555 ac_cv_lib_una_libuna_utf8_stream_size_from_utf16=yes 31556else 31557 ac_cv_lib_una_libuna_utf8_stream_size_from_utf16=no 31558fi 31559rm -f core conftest.err conftest.$ac_objext \ 31560 conftest$ac_exeext conftest.$ac_ext 31561LIBS=$ac_check_lib_save_LIBS 31562fi 31563{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_size_from_utf16" >&5 31564$as_echo "$ac_cv_lib_una_libuna_utf8_stream_size_from_utf16" >&6; } 31565if test "x$ac_cv_lib_una_libuna_utf8_stream_size_from_utf16" = xyes; then : 31566 ac_cv_libuna_dummy=yes 31567else 31568 ac_cv_libuna=no 31569fi 31570 31571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_copy_from_utf16 in -luna" >&5 31572$as_echo_n "checking for libuna_utf8_stream_copy_from_utf16 in -luna... " >&6; } 31573if ${ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16+:} false; then : 31574 $as_echo_n "(cached) " >&6 31575else 31576 ac_check_lib_save_LIBS=$LIBS 31577LIBS="-luna $LIBS" 31578cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31579/* end confdefs.h. */ 31580 31581/* Override any GCC internal prototype to avoid an error. 31582 Use char because int might match the return type of a GCC 31583 builtin and then its argument prototype would still apply. */ 31584#ifdef __cplusplus 31585extern "C" 31586#endif 31587char libuna_utf8_stream_copy_from_utf16 (); 31588int 31589main () 31590{ 31591return libuna_utf8_stream_copy_from_utf16 (); 31592 ; 31593 return 0; 31594} 31595_ACEOF 31596if ac_fn_c_try_link "$LINENO"; then : 31597 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16=yes 31598else 31599 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16=no 31600fi 31601rm -f core conftest.err conftest.$ac_objext \ 31602 conftest$ac_exeext conftest.$ac_ext 31603LIBS=$ac_check_lib_save_LIBS 31604fi 31605{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16" >&5 31606$as_echo "$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16" >&6; } 31607if test "x$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16" = xyes; then : 31608 ac_cv_libuna_dummy=yes 31609else 31610 ac_cv_libuna=no 31611fi 31612 31613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_size_from_utf32 in -luna" >&5 31614$as_echo_n "checking for libuna_utf8_stream_size_from_utf32 in -luna... " >&6; } 31615if ${ac_cv_lib_una_libuna_utf8_stream_size_from_utf32+:} false; then : 31616 $as_echo_n "(cached) " >&6 31617else 31618 ac_check_lib_save_LIBS=$LIBS 31619LIBS="-luna $LIBS" 31620cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31621/* end confdefs.h. */ 31622 31623/* Override any GCC internal prototype to avoid an error. 31624 Use char because int might match the return type of a GCC 31625 builtin and then its argument prototype would still apply. */ 31626#ifdef __cplusplus 31627extern "C" 31628#endif 31629char libuna_utf8_stream_size_from_utf32 (); 31630int 31631main () 31632{ 31633return libuna_utf8_stream_size_from_utf32 (); 31634 ; 31635 return 0; 31636} 31637_ACEOF 31638if ac_fn_c_try_link "$LINENO"; then : 31639 ac_cv_lib_una_libuna_utf8_stream_size_from_utf32=yes 31640else 31641 ac_cv_lib_una_libuna_utf8_stream_size_from_utf32=no 31642fi 31643rm -f core conftest.err conftest.$ac_objext \ 31644 conftest$ac_exeext conftest.$ac_ext 31645LIBS=$ac_check_lib_save_LIBS 31646fi 31647{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_size_from_utf32" >&5 31648$as_echo "$ac_cv_lib_una_libuna_utf8_stream_size_from_utf32" >&6; } 31649if test "x$ac_cv_lib_una_libuna_utf8_stream_size_from_utf32" = xyes; then : 31650 ac_cv_libuna_dummy=yes 31651else 31652 ac_cv_libuna=no 31653fi 31654 31655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_copy_from_utf32 in -luna" >&5 31656$as_echo_n "checking for libuna_utf8_stream_copy_from_utf32 in -luna... " >&6; } 31657if ${ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32+:} false; then : 31658 $as_echo_n "(cached) " >&6 31659else 31660 ac_check_lib_save_LIBS=$LIBS 31661LIBS="-luna $LIBS" 31662cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31663/* end confdefs.h. */ 31664 31665/* Override any GCC internal prototype to avoid an error. 31666 Use char because int might match the return type of a GCC 31667 builtin and then its argument prototype would still apply. */ 31668#ifdef __cplusplus 31669extern "C" 31670#endif 31671char libuna_utf8_stream_copy_from_utf32 (); 31672int 31673main () 31674{ 31675return libuna_utf8_stream_copy_from_utf32 (); 31676 ; 31677 return 0; 31678} 31679_ACEOF 31680if ac_fn_c_try_link "$LINENO"; then : 31681 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32=yes 31682else 31683 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32=no 31684fi 31685rm -f core conftest.err conftest.$ac_objext \ 31686 conftest$ac_exeext conftest.$ac_ext 31687LIBS=$ac_check_lib_save_LIBS 31688fi 31689{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32" >&5 31690$as_echo "$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32" >&6; } 31691if test "x$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32" = xyes; then : 31692 ac_cv_libuna_dummy=yes 31693else 31694 ac_cv_libuna=no 31695fi 31696 31697 31698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_size_from_utf8 in -luna" >&5 31699$as_echo_n "checking for libuna_utf16_stream_size_from_utf8 in -luna... " >&6; } 31700if ${ac_cv_lib_una_libuna_utf16_stream_size_from_utf8+:} false; then : 31701 $as_echo_n "(cached) " >&6 31702else 31703 ac_check_lib_save_LIBS=$LIBS 31704LIBS="-luna $LIBS" 31705cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31706/* end confdefs.h. */ 31707 31708/* Override any GCC internal prototype to avoid an error. 31709 Use char because int might match the return type of a GCC 31710 builtin and then its argument prototype would still apply. */ 31711#ifdef __cplusplus 31712extern "C" 31713#endif 31714char libuna_utf16_stream_size_from_utf8 (); 31715int 31716main () 31717{ 31718return libuna_utf16_stream_size_from_utf8 (); 31719 ; 31720 return 0; 31721} 31722_ACEOF 31723if ac_fn_c_try_link "$LINENO"; then : 31724 ac_cv_lib_una_libuna_utf16_stream_size_from_utf8=yes 31725else 31726 ac_cv_lib_una_libuna_utf16_stream_size_from_utf8=no 31727fi 31728rm -f core conftest.err conftest.$ac_objext \ 31729 conftest$ac_exeext conftest.$ac_ext 31730LIBS=$ac_check_lib_save_LIBS 31731fi 31732{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_size_from_utf8" >&5 31733$as_echo "$ac_cv_lib_una_libuna_utf16_stream_size_from_utf8" >&6; } 31734if test "x$ac_cv_lib_una_libuna_utf16_stream_size_from_utf8" = xyes; then : 31735 ac_cv_libuna_dummy=yes 31736else 31737 ac_cv_libuna=no 31738fi 31739 31740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_copy_from_utf8 in -luna" >&5 31741$as_echo_n "checking for libuna_utf16_stream_copy_from_utf8 in -luna... " >&6; } 31742if ${ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8+:} false; then : 31743 $as_echo_n "(cached) " >&6 31744else 31745 ac_check_lib_save_LIBS=$LIBS 31746LIBS="-luna $LIBS" 31747cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31748/* end confdefs.h. */ 31749 31750/* Override any GCC internal prototype to avoid an error. 31751 Use char because int might match the return type of a GCC 31752 builtin and then its argument prototype would still apply. */ 31753#ifdef __cplusplus 31754extern "C" 31755#endif 31756char libuna_utf16_stream_copy_from_utf8 (); 31757int 31758main () 31759{ 31760return libuna_utf16_stream_copy_from_utf8 (); 31761 ; 31762 return 0; 31763} 31764_ACEOF 31765if ac_fn_c_try_link "$LINENO"; then : 31766 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8=yes 31767else 31768 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8=no 31769fi 31770rm -f core conftest.err conftest.$ac_objext \ 31771 conftest$ac_exeext conftest.$ac_ext 31772LIBS=$ac_check_lib_save_LIBS 31773fi 31774{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8" >&5 31775$as_echo "$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8" >&6; } 31776if test "x$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8" = xyes; then : 31777 ac_cv_libuna_dummy=yes 31778else 31779 ac_cv_libuna=no 31780fi 31781 31782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_size_from_utf16 in -luna" >&5 31783$as_echo_n "checking for libuna_utf16_stream_size_from_utf16 in -luna... " >&6; } 31784if ${ac_cv_lib_una_libuna_utf16_stream_size_from_utf16+:} false; then : 31785 $as_echo_n "(cached) " >&6 31786else 31787 ac_check_lib_save_LIBS=$LIBS 31788LIBS="-luna $LIBS" 31789cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31790/* end confdefs.h. */ 31791 31792/* Override any GCC internal prototype to avoid an error. 31793 Use char because int might match the return type of a GCC 31794 builtin and then its argument prototype would still apply. */ 31795#ifdef __cplusplus 31796extern "C" 31797#endif 31798char libuna_utf16_stream_size_from_utf16 (); 31799int 31800main () 31801{ 31802return libuna_utf16_stream_size_from_utf16 (); 31803 ; 31804 return 0; 31805} 31806_ACEOF 31807if ac_fn_c_try_link "$LINENO"; then : 31808 ac_cv_lib_una_libuna_utf16_stream_size_from_utf16=yes 31809else 31810 ac_cv_lib_una_libuna_utf16_stream_size_from_utf16=no 31811fi 31812rm -f core conftest.err conftest.$ac_objext \ 31813 conftest$ac_exeext conftest.$ac_ext 31814LIBS=$ac_check_lib_save_LIBS 31815fi 31816{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_size_from_utf16" >&5 31817$as_echo "$ac_cv_lib_una_libuna_utf16_stream_size_from_utf16" >&6; } 31818if test "x$ac_cv_lib_una_libuna_utf16_stream_size_from_utf16" = xyes; then : 31819 ac_cv_libuna_dummy=yes 31820else 31821 ac_cv_libuna=no 31822fi 31823 31824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_copy_from_utf16 in -luna" >&5 31825$as_echo_n "checking for libuna_utf16_stream_copy_from_utf16 in -luna... " >&6; } 31826if ${ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16+:} false; then : 31827 $as_echo_n "(cached) " >&6 31828else 31829 ac_check_lib_save_LIBS=$LIBS 31830LIBS="-luna $LIBS" 31831cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31832/* end confdefs.h. */ 31833 31834/* Override any GCC internal prototype to avoid an error. 31835 Use char because int might match the return type of a GCC 31836 builtin and then its argument prototype would still apply. */ 31837#ifdef __cplusplus 31838extern "C" 31839#endif 31840char libuna_utf16_stream_copy_from_utf16 (); 31841int 31842main () 31843{ 31844return libuna_utf16_stream_copy_from_utf16 (); 31845 ; 31846 return 0; 31847} 31848_ACEOF 31849if ac_fn_c_try_link "$LINENO"; then : 31850 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16=yes 31851else 31852 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16=no 31853fi 31854rm -f core conftest.err conftest.$ac_objext \ 31855 conftest$ac_exeext conftest.$ac_ext 31856LIBS=$ac_check_lib_save_LIBS 31857fi 31858{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16" >&5 31859$as_echo "$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16" >&6; } 31860if test "x$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16" = xyes; then : 31861 ac_cv_libuna_dummy=yes 31862else 31863 ac_cv_libuna=no 31864fi 31865 31866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_size_from_utf32 in -luna" >&5 31867$as_echo_n "checking for libuna_utf16_stream_size_from_utf32 in -luna... " >&6; } 31868if ${ac_cv_lib_una_libuna_utf16_stream_size_from_utf32+:} false; then : 31869 $as_echo_n "(cached) " >&6 31870else 31871 ac_check_lib_save_LIBS=$LIBS 31872LIBS="-luna $LIBS" 31873cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31874/* end confdefs.h. */ 31875 31876/* Override any GCC internal prototype to avoid an error. 31877 Use char because int might match the return type of a GCC 31878 builtin and then its argument prototype would still apply. */ 31879#ifdef __cplusplus 31880extern "C" 31881#endif 31882char libuna_utf16_stream_size_from_utf32 (); 31883int 31884main () 31885{ 31886return libuna_utf16_stream_size_from_utf32 (); 31887 ; 31888 return 0; 31889} 31890_ACEOF 31891if ac_fn_c_try_link "$LINENO"; then : 31892 ac_cv_lib_una_libuna_utf16_stream_size_from_utf32=yes 31893else 31894 ac_cv_lib_una_libuna_utf16_stream_size_from_utf32=no 31895fi 31896rm -f core conftest.err conftest.$ac_objext \ 31897 conftest$ac_exeext conftest.$ac_ext 31898LIBS=$ac_check_lib_save_LIBS 31899fi 31900{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_size_from_utf32" >&5 31901$as_echo "$ac_cv_lib_una_libuna_utf16_stream_size_from_utf32" >&6; } 31902if test "x$ac_cv_lib_una_libuna_utf16_stream_size_from_utf32" = xyes; then : 31903 ac_cv_libuna_dummy=yes 31904else 31905 ac_cv_libuna=no 31906fi 31907 31908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_copy_from_utf32 in -luna" >&5 31909$as_echo_n "checking for libuna_utf16_stream_copy_from_utf32 in -luna... " >&6; } 31910if ${ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32+:} false; then : 31911 $as_echo_n "(cached) " >&6 31912else 31913 ac_check_lib_save_LIBS=$LIBS 31914LIBS="-luna $LIBS" 31915cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31916/* end confdefs.h. */ 31917 31918/* Override any GCC internal prototype to avoid an error. 31919 Use char because int might match the return type of a GCC 31920 builtin and then its argument prototype would still apply. */ 31921#ifdef __cplusplus 31922extern "C" 31923#endif 31924char libuna_utf16_stream_copy_from_utf32 (); 31925int 31926main () 31927{ 31928return libuna_utf16_stream_copy_from_utf32 (); 31929 ; 31930 return 0; 31931} 31932_ACEOF 31933if ac_fn_c_try_link "$LINENO"; then : 31934 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32=yes 31935else 31936 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32=no 31937fi 31938rm -f core conftest.err conftest.$ac_objext \ 31939 conftest$ac_exeext conftest.$ac_ext 31940LIBS=$ac_check_lib_save_LIBS 31941fi 31942{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32" >&5 31943$as_echo "$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32" >&6; } 31944if test "x$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32" = xyes; then : 31945 ac_cv_libuna_dummy=yes 31946else 31947 ac_cv_libuna=no 31948fi 31949 31950 31951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_size_from_utf8 in -luna" >&5 31952$as_echo_n "checking for libuna_utf32_stream_size_from_utf8 in -luna... " >&6; } 31953if ${ac_cv_lib_una_libuna_utf32_stream_size_from_utf8+:} false; then : 31954 $as_echo_n "(cached) " >&6 31955else 31956 ac_check_lib_save_LIBS=$LIBS 31957LIBS="-luna $LIBS" 31958cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31959/* end confdefs.h. */ 31960 31961/* Override any GCC internal prototype to avoid an error. 31962 Use char because int might match the return type of a GCC 31963 builtin and then its argument prototype would still apply. */ 31964#ifdef __cplusplus 31965extern "C" 31966#endif 31967char libuna_utf32_stream_size_from_utf8 (); 31968int 31969main () 31970{ 31971return libuna_utf32_stream_size_from_utf8 (); 31972 ; 31973 return 0; 31974} 31975_ACEOF 31976if ac_fn_c_try_link "$LINENO"; then : 31977 ac_cv_lib_una_libuna_utf32_stream_size_from_utf8=yes 31978else 31979 ac_cv_lib_una_libuna_utf32_stream_size_from_utf8=no 31980fi 31981rm -f core conftest.err conftest.$ac_objext \ 31982 conftest$ac_exeext conftest.$ac_ext 31983LIBS=$ac_check_lib_save_LIBS 31984fi 31985{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_size_from_utf8" >&5 31986$as_echo "$ac_cv_lib_una_libuna_utf32_stream_size_from_utf8" >&6; } 31987if test "x$ac_cv_lib_una_libuna_utf32_stream_size_from_utf8" = xyes; then : 31988 ac_cv_libuna_dummy=yes 31989else 31990 ac_cv_libuna=no 31991fi 31992 31993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_copy_from_utf8 in -luna" >&5 31994$as_echo_n "checking for libuna_utf32_stream_copy_from_utf8 in -luna... " >&6; } 31995if ${ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8+:} false; then : 31996 $as_echo_n "(cached) " >&6 31997else 31998 ac_check_lib_save_LIBS=$LIBS 31999LIBS="-luna $LIBS" 32000cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32001/* end confdefs.h. */ 32002 32003/* Override any GCC internal prototype to avoid an error. 32004 Use char because int might match the return type of a GCC 32005 builtin and then its argument prototype would still apply. */ 32006#ifdef __cplusplus 32007extern "C" 32008#endif 32009char libuna_utf32_stream_copy_from_utf8 (); 32010int 32011main () 32012{ 32013return libuna_utf32_stream_copy_from_utf8 (); 32014 ; 32015 return 0; 32016} 32017_ACEOF 32018if ac_fn_c_try_link "$LINENO"; then : 32019 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8=yes 32020else 32021 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8=no 32022fi 32023rm -f core conftest.err conftest.$ac_objext \ 32024 conftest$ac_exeext conftest.$ac_ext 32025LIBS=$ac_check_lib_save_LIBS 32026fi 32027{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8" >&5 32028$as_echo "$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8" >&6; } 32029if test "x$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8" = xyes; then : 32030 ac_cv_libuna_dummy=yes 32031else 32032 ac_cv_libuna=no 32033fi 32034 32035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_size_from_utf16 in -luna" >&5 32036$as_echo_n "checking for libuna_utf32_stream_size_from_utf16 in -luna... " >&6; } 32037if ${ac_cv_lib_una_libuna_utf32_stream_size_from_utf16+:} false; then : 32038 $as_echo_n "(cached) " >&6 32039else 32040 ac_check_lib_save_LIBS=$LIBS 32041LIBS="-luna $LIBS" 32042cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32043/* end confdefs.h. */ 32044 32045/* Override any GCC internal prototype to avoid an error. 32046 Use char because int might match the return type of a GCC 32047 builtin and then its argument prototype would still apply. */ 32048#ifdef __cplusplus 32049extern "C" 32050#endif 32051char libuna_utf32_stream_size_from_utf16 (); 32052int 32053main () 32054{ 32055return libuna_utf32_stream_size_from_utf16 (); 32056 ; 32057 return 0; 32058} 32059_ACEOF 32060if ac_fn_c_try_link "$LINENO"; then : 32061 ac_cv_lib_una_libuna_utf32_stream_size_from_utf16=yes 32062else 32063 ac_cv_lib_una_libuna_utf32_stream_size_from_utf16=no 32064fi 32065rm -f core conftest.err conftest.$ac_objext \ 32066 conftest$ac_exeext conftest.$ac_ext 32067LIBS=$ac_check_lib_save_LIBS 32068fi 32069{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_size_from_utf16" >&5 32070$as_echo "$ac_cv_lib_una_libuna_utf32_stream_size_from_utf16" >&6; } 32071if test "x$ac_cv_lib_una_libuna_utf32_stream_size_from_utf16" = xyes; then : 32072 ac_cv_libuna_dummy=yes 32073else 32074 ac_cv_libuna=no 32075fi 32076 32077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_copy_from_utf16 in -luna" >&5 32078$as_echo_n "checking for libuna_utf32_stream_copy_from_utf16 in -luna... " >&6; } 32079if ${ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16+:} false; then : 32080 $as_echo_n "(cached) " >&6 32081else 32082 ac_check_lib_save_LIBS=$LIBS 32083LIBS="-luna $LIBS" 32084cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32085/* end confdefs.h. */ 32086 32087/* Override any GCC internal prototype to avoid an error. 32088 Use char because int might match the return type of a GCC 32089 builtin and then its argument prototype would still apply. */ 32090#ifdef __cplusplus 32091extern "C" 32092#endif 32093char libuna_utf32_stream_copy_from_utf16 (); 32094int 32095main () 32096{ 32097return libuna_utf32_stream_copy_from_utf16 (); 32098 ; 32099 return 0; 32100} 32101_ACEOF 32102if ac_fn_c_try_link "$LINENO"; then : 32103 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16=yes 32104else 32105 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16=no 32106fi 32107rm -f core conftest.err conftest.$ac_objext \ 32108 conftest$ac_exeext conftest.$ac_ext 32109LIBS=$ac_check_lib_save_LIBS 32110fi 32111{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16" >&5 32112$as_echo "$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16" >&6; } 32113if test "x$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16" = xyes; then : 32114 ac_cv_libuna_dummy=yes 32115else 32116 ac_cv_libuna=no 32117fi 32118 32119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_size_from_utf32 in -luna" >&5 32120$as_echo_n "checking for libuna_utf32_stream_size_from_utf32 in -luna... " >&6; } 32121if ${ac_cv_lib_una_libuna_utf32_stream_size_from_utf32+:} false; then : 32122 $as_echo_n "(cached) " >&6 32123else 32124 ac_check_lib_save_LIBS=$LIBS 32125LIBS="-luna $LIBS" 32126cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32127/* end confdefs.h. */ 32128 32129/* Override any GCC internal prototype to avoid an error. 32130 Use char because int might match the return type of a GCC 32131 builtin and then its argument prototype would still apply. */ 32132#ifdef __cplusplus 32133extern "C" 32134#endif 32135char libuna_utf32_stream_size_from_utf32 (); 32136int 32137main () 32138{ 32139return libuna_utf32_stream_size_from_utf32 (); 32140 ; 32141 return 0; 32142} 32143_ACEOF 32144if ac_fn_c_try_link "$LINENO"; then : 32145 ac_cv_lib_una_libuna_utf32_stream_size_from_utf32=yes 32146else 32147 ac_cv_lib_una_libuna_utf32_stream_size_from_utf32=no 32148fi 32149rm -f core conftest.err conftest.$ac_objext \ 32150 conftest$ac_exeext conftest.$ac_ext 32151LIBS=$ac_check_lib_save_LIBS 32152fi 32153{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_size_from_utf32" >&5 32154$as_echo "$ac_cv_lib_una_libuna_utf32_stream_size_from_utf32" >&6; } 32155if test "x$ac_cv_lib_una_libuna_utf32_stream_size_from_utf32" = xyes; then : 32156 ac_cv_libuna_dummy=yes 32157else 32158 ac_cv_libuna=no 32159fi 32160 32161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_copy_from_utf32 in -luna" >&5 32162$as_echo_n "checking for libuna_utf32_stream_copy_from_utf32 in -luna... " >&6; } 32163if ${ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32+:} false; then : 32164 $as_echo_n "(cached) " >&6 32165else 32166 ac_check_lib_save_LIBS=$LIBS 32167LIBS="-luna $LIBS" 32168cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32169/* end confdefs.h. */ 32170 32171/* Override any GCC internal prototype to avoid an error. 32172 Use char because int might match the return type of a GCC 32173 builtin and then its argument prototype would still apply. */ 32174#ifdef __cplusplus 32175extern "C" 32176#endif 32177char libuna_utf32_stream_copy_from_utf32 (); 32178int 32179main () 32180{ 32181return libuna_utf32_stream_copy_from_utf32 (); 32182 ; 32183 return 0; 32184} 32185_ACEOF 32186if ac_fn_c_try_link "$LINENO"; then : 32187 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32=yes 32188else 32189 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32=no 32190fi 32191rm -f core conftest.err conftest.$ac_objext \ 32192 conftest$ac_exeext conftest.$ac_ext 32193LIBS=$ac_check_lib_save_LIBS 32194fi 32195{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32" >&5 32196$as_echo "$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32" >&6; } 32197if test "x$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32" = xyes; then : 32198 ac_cv_libuna_dummy=yes 32199else 32200 ac_cv_libuna=no 32201fi 32202 32203 32204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_byte_stream in -luna" >&5 32205$as_echo_n "checking for libuna_utf8_string_size_from_byte_stream in -luna... " >&6; } 32206if ${ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream+:} false; then : 32207 $as_echo_n "(cached) " >&6 32208else 32209 ac_check_lib_save_LIBS=$LIBS 32210LIBS="-luna $LIBS" 32211cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32212/* end confdefs.h. */ 32213 32214/* Override any GCC internal prototype to avoid an error. 32215 Use char because int might match the return type of a GCC 32216 builtin and then its argument prototype would still apply. */ 32217#ifdef __cplusplus 32218extern "C" 32219#endif 32220char libuna_utf8_string_size_from_byte_stream (); 32221int 32222main () 32223{ 32224return libuna_utf8_string_size_from_byte_stream (); 32225 ; 32226 return 0; 32227} 32228_ACEOF 32229if ac_fn_c_try_link "$LINENO"; then : 32230 ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream=yes 32231else 32232 ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream=no 32233fi 32234rm -f core conftest.err conftest.$ac_objext \ 32235 conftest$ac_exeext conftest.$ac_ext 32236LIBS=$ac_check_lib_save_LIBS 32237fi 32238{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream" >&5 32239$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream" >&6; } 32240if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream" = xyes; then : 32241 ac_cv_libuna_dummy=yes 32242else 32243 ac_cv_libuna=no 32244fi 32245 32246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_byte_stream in -luna" >&5 32247$as_echo_n "checking for libuna_utf8_string_copy_from_byte_stream in -luna... " >&6; } 32248if ${ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream+:} false; then : 32249 $as_echo_n "(cached) " >&6 32250else 32251 ac_check_lib_save_LIBS=$LIBS 32252LIBS="-luna $LIBS" 32253cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32254/* end confdefs.h. */ 32255 32256/* Override any GCC internal prototype to avoid an error. 32257 Use char because int might match the return type of a GCC 32258 builtin and then its argument prototype would still apply. */ 32259#ifdef __cplusplus 32260extern "C" 32261#endif 32262char libuna_utf8_string_copy_from_byte_stream (); 32263int 32264main () 32265{ 32266return libuna_utf8_string_copy_from_byte_stream (); 32267 ; 32268 return 0; 32269} 32270_ACEOF 32271if ac_fn_c_try_link "$LINENO"; then : 32272 ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream=yes 32273else 32274 ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream=no 32275fi 32276rm -f core conftest.err conftest.$ac_objext \ 32277 conftest$ac_exeext conftest.$ac_ext 32278LIBS=$ac_check_lib_save_LIBS 32279fi 32280{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream" >&5 32281$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream" >&6; } 32282if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream" = xyes; then : 32283 ac_cv_libuna_dummy=yes 32284else 32285 ac_cv_libuna=no 32286fi 32287 32288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_byte_stream in -luna" >&5 32289$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_byte_stream in -luna... " >&6; } 32290if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream+:} false; then : 32291 $as_echo_n "(cached) " >&6 32292else 32293 ac_check_lib_save_LIBS=$LIBS 32294LIBS="-luna $LIBS" 32295cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32296/* end confdefs.h. */ 32297 32298/* Override any GCC internal prototype to avoid an error. 32299 Use char because int might match the return type of a GCC 32300 builtin and then its argument prototype would still apply. */ 32301#ifdef __cplusplus 32302extern "C" 32303#endif 32304char libuna_utf8_string_with_index_copy_from_byte_stream (); 32305int 32306main () 32307{ 32308return libuna_utf8_string_with_index_copy_from_byte_stream (); 32309 ; 32310 return 0; 32311} 32312_ACEOF 32313if ac_fn_c_try_link "$LINENO"; then : 32314 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream=yes 32315else 32316 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream=no 32317fi 32318rm -f core conftest.err conftest.$ac_objext \ 32319 conftest$ac_exeext conftest.$ac_ext 32320LIBS=$ac_check_lib_save_LIBS 32321fi 32322{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream" >&5 32323$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream" >&6; } 32324if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream" = xyes; then : 32325 ac_cv_libuna_dummy=yes 32326else 32327 ac_cv_libuna=no 32328fi 32329 32330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf7_stream in -luna" >&5 32331$as_echo_n "checking for libuna_utf8_string_size_from_utf7_stream in -luna... " >&6; } 32332if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream+:} false; then : 32333 $as_echo_n "(cached) " >&6 32334else 32335 ac_check_lib_save_LIBS=$LIBS 32336LIBS="-luna $LIBS" 32337cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32338/* end confdefs.h. */ 32339 32340/* Override any GCC internal prototype to avoid an error. 32341 Use char because int might match the return type of a GCC 32342 builtin and then its argument prototype would still apply. */ 32343#ifdef __cplusplus 32344extern "C" 32345#endif 32346char libuna_utf8_string_size_from_utf7_stream (); 32347int 32348main () 32349{ 32350return libuna_utf8_string_size_from_utf7_stream (); 32351 ; 32352 return 0; 32353} 32354_ACEOF 32355if ac_fn_c_try_link "$LINENO"; then : 32356 ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream=yes 32357else 32358 ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream=no 32359fi 32360rm -f core conftest.err conftest.$ac_objext \ 32361 conftest$ac_exeext conftest.$ac_ext 32362LIBS=$ac_check_lib_save_LIBS 32363fi 32364{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream" >&5 32365$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream" >&6; } 32366if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream" = xyes; then : 32367 ac_cv_libuna_dummy=yes 32368else 32369 ac_cv_libuna=no 32370fi 32371 32372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf7_stream in -luna" >&5 32373$as_echo_n "checking for libuna_utf8_string_copy_from_utf7_stream in -luna... " >&6; } 32374if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream+:} false; then : 32375 $as_echo_n "(cached) " >&6 32376else 32377 ac_check_lib_save_LIBS=$LIBS 32378LIBS="-luna $LIBS" 32379cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32380/* end confdefs.h. */ 32381 32382/* Override any GCC internal prototype to avoid an error. 32383 Use char because int might match the return type of a GCC 32384 builtin and then its argument prototype would still apply. */ 32385#ifdef __cplusplus 32386extern "C" 32387#endif 32388char libuna_utf8_string_copy_from_utf7_stream (); 32389int 32390main () 32391{ 32392return libuna_utf8_string_copy_from_utf7_stream (); 32393 ; 32394 return 0; 32395} 32396_ACEOF 32397if ac_fn_c_try_link "$LINENO"; then : 32398 ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream=yes 32399else 32400 ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream=no 32401fi 32402rm -f core conftest.err conftest.$ac_objext \ 32403 conftest$ac_exeext conftest.$ac_ext 32404LIBS=$ac_check_lib_save_LIBS 32405fi 32406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream" >&5 32407$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream" >&6; } 32408if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream" = xyes; then : 32409 ac_cv_libuna_dummy=yes 32410else 32411 ac_cv_libuna=no 32412fi 32413 32414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf7_stream in -luna" >&5 32415$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf7_stream in -luna... " >&6; } 32416if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream+:} false; then : 32417 $as_echo_n "(cached) " >&6 32418else 32419 ac_check_lib_save_LIBS=$LIBS 32420LIBS="-luna $LIBS" 32421cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32422/* end confdefs.h. */ 32423 32424/* Override any GCC internal prototype to avoid an error. 32425 Use char because int might match the return type of a GCC 32426 builtin and then its argument prototype would still apply. */ 32427#ifdef __cplusplus 32428extern "C" 32429#endif 32430char libuna_utf8_string_with_index_copy_from_utf7_stream (); 32431int 32432main () 32433{ 32434return libuna_utf8_string_with_index_copy_from_utf7_stream (); 32435 ; 32436 return 0; 32437} 32438_ACEOF 32439if ac_fn_c_try_link "$LINENO"; then : 32440 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream=yes 32441else 32442 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream=no 32443fi 32444rm -f core conftest.err conftest.$ac_objext \ 32445 conftest$ac_exeext conftest.$ac_ext 32446LIBS=$ac_check_lib_save_LIBS 32447fi 32448{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream" >&5 32449$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream" >&6; } 32450if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream" = xyes; then : 32451 ac_cv_libuna_dummy=yes 32452else 32453 ac_cv_libuna=no 32454fi 32455 32456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf8_stream in -luna" >&5 32457$as_echo_n "checking for libuna_utf8_string_size_from_utf8_stream in -luna... " >&6; } 32458if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream+:} false; then : 32459 $as_echo_n "(cached) " >&6 32460else 32461 ac_check_lib_save_LIBS=$LIBS 32462LIBS="-luna $LIBS" 32463cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32464/* end confdefs.h. */ 32465 32466/* Override any GCC internal prototype to avoid an error. 32467 Use char because int might match the return type of a GCC 32468 builtin and then its argument prototype would still apply. */ 32469#ifdef __cplusplus 32470extern "C" 32471#endif 32472char libuna_utf8_string_size_from_utf8_stream (); 32473int 32474main () 32475{ 32476return libuna_utf8_string_size_from_utf8_stream (); 32477 ; 32478 return 0; 32479} 32480_ACEOF 32481if ac_fn_c_try_link "$LINENO"; then : 32482 ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream=yes 32483else 32484 ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream=no 32485fi 32486rm -f core conftest.err conftest.$ac_objext \ 32487 conftest$ac_exeext conftest.$ac_ext 32488LIBS=$ac_check_lib_save_LIBS 32489fi 32490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream" >&5 32491$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream" >&6; } 32492if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream" = xyes; then : 32493 ac_cv_libuna_dummy=yes 32494else 32495 ac_cv_libuna=no 32496fi 32497 32498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf8_stream in -luna" >&5 32499$as_echo_n "checking for libuna_utf8_string_copy_from_utf8_stream in -luna... " >&6; } 32500if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream+:} false; then : 32501 $as_echo_n "(cached) " >&6 32502else 32503 ac_check_lib_save_LIBS=$LIBS 32504LIBS="-luna $LIBS" 32505cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32506/* end confdefs.h. */ 32507 32508/* Override any GCC internal prototype to avoid an error. 32509 Use char because int might match the return type of a GCC 32510 builtin and then its argument prototype would still apply. */ 32511#ifdef __cplusplus 32512extern "C" 32513#endif 32514char libuna_utf8_string_copy_from_utf8_stream (); 32515int 32516main () 32517{ 32518return libuna_utf8_string_copy_from_utf8_stream (); 32519 ; 32520 return 0; 32521} 32522_ACEOF 32523if ac_fn_c_try_link "$LINENO"; then : 32524 ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream=yes 32525else 32526 ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream=no 32527fi 32528rm -f core conftest.err conftest.$ac_objext \ 32529 conftest$ac_exeext conftest.$ac_ext 32530LIBS=$ac_check_lib_save_LIBS 32531fi 32532{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream" >&5 32533$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream" >&6; } 32534if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream" = xyes; then : 32535 ac_cv_libuna_dummy=yes 32536else 32537 ac_cv_libuna=no 32538fi 32539 32540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf8_stream in -luna" >&5 32541$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf8_stream in -luna... " >&6; } 32542if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream+:} false; then : 32543 $as_echo_n "(cached) " >&6 32544else 32545 ac_check_lib_save_LIBS=$LIBS 32546LIBS="-luna $LIBS" 32547cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32548/* end confdefs.h. */ 32549 32550/* Override any GCC internal prototype to avoid an error. 32551 Use char because int might match the return type of a GCC 32552 builtin and then its argument prototype would still apply. */ 32553#ifdef __cplusplus 32554extern "C" 32555#endif 32556char libuna_utf8_string_with_index_copy_from_utf8_stream (); 32557int 32558main () 32559{ 32560return libuna_utf8_string_with_index_copy_from_utf8_stream (); 32561 ; 32562 return 0; 32563} 32564_ACEOF 32565if ac_fn_c_try_link "$LINENO"; then : 32566 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream=yes 32567else 32568 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream=no 32569fi 32570rm -f core conftest.err conftest.$ac_objext \ 32571 conftest$ac_exeext conftest.$ac_ext 32572LIBS=$ac_check_lib_save_LIBS 32573fi 32574{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream" >&5 32575$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream" >&6; } 32576if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream" = xyes; then : 32577 ac_cv_libuna_dummy=yes 32578else 32579 ac_cv_libuna=no 32580fi 32581 32582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf16_stream in -luna" >&5 32583$as_echo_n "checking for libuna_utf8_string_size_from_utf16_stream in -luna... " >&6; } 32584if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream+:} false; then : 32585 $as_echo_n "(cached) " >&6 32586else 32587 ac_check_lib_save_LIBS=$LIBS 32588LIBS="-luna $LIBS" 32589cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32590/* end confdefs.h. */ 32591 32592/* Override any GCC internal prototype to avoid an error. 32593 Use char because int might match the return type of a GCC 32594 builtin and then its argument prototype would still apply. */ 32595#ifdef __cplusplus 32596extern "C" 32597#endif 32598char libuna_utf8_string_size_from_utf16_stream (); 32599int 32600main () 32601{ 32602return libuna_utf8_string_size_from_utf16_stream (); 32603 ; 32604 return 0; 32605} 32606_ACEOF 32607if ac_fn_c_try_link "$LINENO"; then : 32608 ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream=yes 32609else 32610 ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream=no 32611fi 32612rm -f core conftest.err conftest.$ac_objext \ 32613 conftest$ac_exeext conftest.$ac_ext 32614LIBS=$ac_check_lib_save_LIBS 32615fi 32616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream" >&5 32617$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream" >&6; } 32618if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream" = xyes; then : 32619 ac_cv_libuna_dummy=yes 32620else 32621 ac_cv_libuna=no 32622fi 32623 32624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf16_stream in -luna" >&5 32625$as_echo_n "checking for libuna_utf8_string_copy_from_utf16_stream in -luna... " >&6; } 32626if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream+:} false; then : 32627 $as_echo_n "(cached) " >&6 32628else 32629 ac_check_lib_save_LIBS=$LIBS 32630LIBS="-luna $LIBS" 32631cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32632/* end confdefs.h. */ 32633 32634/* Override any GCC internal prototype to avoid an error. 32635 Use char because int might match the return type of a GCC 32636 builtin and then its argument prototype would still apply. */ 32637#ifdef __cplusplus 32638extern "C" 32639#endif 32640char libuna_utf8_string_copy_from_utf16_stream (); 32641int 32642main () 32643{ 32644return libuna_utf8_string_copy_from_utf16_stream (); 32645 ; 32646 return 0; 32647} 32648_ACEOF 32649if ac_fn_c_try_link "$LINENO"; then : 32650 ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream=yes 32651else 32652 ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream=no 32653fi 32654rm -f core conftest.err conftest.$ac_objext \ 32655 conftest$ac_exeext conftest.$ac_ext 32656LIBS=$ac_check_lib_save_LIBS 32657fi 32658{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream" >&5 32659$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream" >&6; } 32660if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream" = xyes; then : 32661 ac_cv_libuna_dummy=yes 32662else 32663 ac_cv_libuna=no 32664fi 32665 32666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf16_stream in -luna" >&5 32667$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf16_stream in -luna... " >&6; } 32668if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream+:} false; then : 32669 $as_echo_n "(cached) " >&6 32670else 32671 ac_check_lib_save_LIBS=$LIBS 32672LIBS="-luna $LIBS" 32673cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32674/* end confdefs.h. */ 32675 32676/* Override any GCC internal prototype to avoid an error. 32677 Use char because int might match the return type of a GCC 32678 builtin and then its argument prototype would still apply. */ 32679#ifdef __cplusplus 32680extern "C" 32681#endif 32682char libuna_utf8_string_with_index_copy_from_utf16_stream (); 32683int 32684main () 32685{ 32686return libuna_utf8_string_with_index_copy_from_utf16_stream (); 32687 ; 32688 return 0; 32689} 32690_ACEOF 32691if ac_fn_c_try_link "$LINENO"; then : 32692 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream=yes 32693else 32694 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream=no 32695fi 32696rm -f core conftest.err conftest.$ac_objext \ 32697 conftest$ac_exeext conftest.$ac_ext 32698LIBS=$ac_check_lib_save_LIBS 32699fi 32700{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream" >&5 32701$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream" >&6; } 32702if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream" = xyes; then : 32703 ac_cv_libuna_dummy=yes 32704else 32705 ac_cv_libuna=no 32706fi 32707 32708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf32_stream in -luna" >&5 32709$as_echo_n "checking for libuna_utf8_string_size_from_utf32_stream in -luna... " >&6; } 32710if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream+:} false; then : 32711 $as_echo_n "(cached) " >&6 32712else 32713 ac_check_lib_save_LIBS=$LIBS 32714LIBS="-luna $LIBS" 32715cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32716/* end confdefs.h. */ 32717 32718/* Override any GCC internal prototype to avoid an error. 32719 Use char because int might match the return type of a GCC 32720 builtin and then its argument prototype would still apply. */ 32721#ifdef __cplusplus 32722extern "C" 32723#endif 32724char libuna_utf8_string_size_from_utf32_stream (); 32725int 32726main () 32727{ 32728return libuna_utf8_string_size_from_utf32_stream (); 32729 ; 32730 return 0; 32731} 32732_ACEOF 32733if ac_fn_c_try_link "$LINENO"; then : 32734 ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream=yes 32735else 32736 ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream=no 32737fi 32738rm -f core conftest.err conftest.$ac_objext \ 32739 conftest$ac_exeext conftest.$ac_ext 32740LIBS=$ac_check_lib_save_LIBS 32741fi 32742{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream" >&5 32743$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream" >&6; } 32744if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream" = xyes; then : 32745 ac_cv_libuna_dummy=yes 32746else 32747 ac_cv_libuna=no 32748fi 32749 32750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf32_stream in -luna" >&5 32751$as_echo_n "checking for libuna_utf8_string_copy_from_utf32_stream in -luna... " >&6; } 32752if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream+:} false; then : 32753 $as_echo_n "(cached) " >&6 32754else 32755 ac_check_lib_save_LIBS=$LIBS 32756LIBS="-luna $LIBS" 32757cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32758/* end confdefs.h. */ 32759 32760/* Override any GCC internal prototype to avoid an error. 32761 Use char because int might match the return type of a GCC 32762 builtin and then its argument prototype would still apply. */ 32763#ifdef __cplusplus 32764extern "C" 32765#endif 32766char libuna_utf8_string_copy_from_utf32_stream (); 32767int 32768main () 32769{ 32770return libuna_utf8_string_copy_from_utf32_stream (); 32771 ; 32772 return 0; 32773} 32774_ACEOF 32775if ac_fn_c_try_link "$LINENO"; then : 32776 ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream=yes 32777else 32778 ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream=no 32779fi 32780rm -f core conftest.err conftest.$ac_objext \ 32781 conftest$ac_exeext conftest.$ac_ext 32782LIBS=$ac_check_lib_save_LIBS 32783fi 32784{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream" >&5 32785$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream" >&6; } 32786if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream" = xyes; then : 32787 ac_cv_libuna_dummy=yes 32788else 32789 ac_cv_libuna=no 32790fi 32791 32792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf32_stream in -luna" >&5 32793$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf32_stream in -luna... " >&6; } 32794if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream+:} false; then : 32795 $as_echo_n "(cached) " >&6 32796else 32797 ac_check_lib_save_LIBS=$LIBS 32798LIBS="-luna $LIBS" 32799cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32800/* end confdefs.h. */ 32801 32802/* Override any GCC internal prototype to avoid an error. 32803 Use char because int might match the return type of a GCC 32804 builtin and then its argument prototype would still apply. */ 32805#ifdef __cplusplus 32806extern "C" 32807#endif 32808char libuna_utf8_string_with_index_copy_from_utf32_stream (); 32809int 32810main () 32811{ 32812return libuna_utf8_string_with_index_copy_from_utf32_stream (); 32813 ; 32814 return 0; 32815} 32816_ACEOF 32817if ac_fn_c_try_link "$LINENO"; then : 32818 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream=yes 32819else 32820 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream=no 32821fi 32822rm -f core conftest.err conftest.$ac_objext \ 32823 conftest$ac_exeext conftest.$ac_ext 32824LIBS=$ac_check_lib_save_LIBS 32825fi 32826{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream" >&5 32827$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream" >&6; } 32828if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream" = xyes; then : 32829 ac_cv_libuna_dummy=yes 32830else 32831 ac_cv_libuna=no 32832fi 32833 32834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf16 in -luna" >&5 32835$as_echo_n "checking for libuna_utf8_string_size_from_utf16 in -luna... " >&6; } 32836if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf16+:} false; then : 32837 $as_echo_n "(cached) " >&6 32838else 32839 ac_check_lib_save_LIBS=$LIBS 32840LIBS="-luna $LIBS" 32841cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32842/* end confdefs.h. */ 32843 32844/* Override any GCC internal prototype to avoid an error. 32845 Use char because int might match the return type of a GCC 32846 builtin and then its argument prototype would still apply. */ 32847#ifdef __cplusplus 32848extern "C" 32849#endif 32850char libuna_utf8_string_size_from_utf16 (); 32851int 32852main () 32853{ 32854return libuna_utf8_string_size_from_utf16 (); 32855 ; 32856 return 0; 32857} 32858_ACEOF 32859if ac_fn_c_try_link "$LINENO"; then : 32860 ac_cv_lib_una_libuna_utf8_string_size_from_utf16=yes 32861else 32862 ac_cv_lib_una_libuna_utf8_string_size_from_utf16=no 32863fi 32864rm -f core conftest.err conftest.$ac_objext \ 32865 conftest$ac_exeext conftest.$ac_ext 32866LIBS=$ac_check_lib_save_LIBS 32867fi 32868{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf16" >&5 32869$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf16" >&6; } 32870if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf16" = xyes; then : 32871 ac_cv_libuna_dummy=yes 32872else 32873 ac_cv_libuna=no 32874fi 32875 32876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf16 in -luna" >&5 32877$as_echo_n "checking for libuna_utf8_string_copy_from_utf16 in -luna... " >&6; } 32878if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf16+:} false; then : 32879 $as_echo_n "(cached) " >&6 32880else 32881 ac_check_lib_save_LIBS=$LIBS 32882LIBS="-luna $LIBS" 32883cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32884/* end confdefs.h. */ 32885 32886/* Override any GCC internal prototype to avoid an error. 32887 Use char because int might match the return type of a GCC 32888 builtin and then its argument prototype would still apply. */ 32889#ifdef __cplusplus 32890extern "C" 32891#endif 32892char libuna_utf8_string_copy_from_utf16 (); 32893int 32894main () 32895{ 32896return libuna_utf8_string_copy_from_utf16 (); 32897 ; 32898 return 0; 32899} 32900_ACEOF 32901if ac_fn_c_try_link "$LINENO"; then : 32902 ac_cv_lib_una_libuna_utf8_string_copy_from_utf16=yes 32903else 32904 ac_cv_lib_una_libuna_utf8_string_copy_from_utf16=no 32905fi 32906rm -f core conftest.err conftest.$ac_objext \ 32907 conftest$ac_exeext conftest.$ac_ext 32908LIBS=$ac_check_lib_save_LIBS 32909fi 32910{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf16" >&5 32911$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16" >&6; } 32912if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16" = xyes; then : 32913 ac_cv_libuna_dummy=yes 32914else 32915 ac_cv_libuna=no 32916fi 32917 32918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf16 in -luna" >&5 32919$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf16 in -luna... " >&6; } 32920if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16+:} false; then : 32921 $as_echo_n "(cached) " >&6 32922else 32923 ac_check_lib_save_LIBS=$LIBS 32924LIBS="-luna $LIBS" 32925cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32926/* end confdefs.h. */ 32927 32928/* Override any GCC internal prototype to avoid an error. 32929 Use char because int might match the return type of a GCC 32930 builtin and then its argument prototype would still apply. */ 32931#ifdef __cplusplus 32932extern "C" 32933#endif 32934char libuna_utf8_string_with_index_copy_from_utf16 (); 32935int 32936main () 32937{ 32938return libuna_utf8_string_with_index_copy_from_utf16 (); 32939 ; 32940 return 0; 32941} 32942_ACEOF 32943if ac_fn_c_try_link "$LINENO"; then : 32944 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16=yes 32945else 32946 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16=no 32947fi 32948rm -f core conftest.err conftest.$ac_objext \ 32949 conftest$ac_exeext conftest.$ac_ext 32950LIBS=$ac_check_lib_save_LIBS 32951fi 32952{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16" >&5 32953$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16" >&6; } 32954if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16" = xyes; then : 32955 ac_cv_libuna_dummy=yes 32956else 32957 ac_cv_libuna=no 32958fi 32959 32960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf32 in -luna" >&5 32961$as_echo_n "checking for libuna_utf8_string_size_from_utf32 in -luna... " >&6; } 32962if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf32+:} false; then : 32963 $as_echo_n "(cached) " >&6 32964else 32965 ac_check_lib_save_LIBS=$LIBS 32966LIBS="-luna $LIBS" 32967cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32968/* end confdefs.h. */ 32969 32970/* Override any GCC internal prototype to avoid an error. 32971 Use char because int might match the return type of a GCC 32972 builtin and then its argument prototype would still apply. */ 32973#ifdef __cplusplus 32974extern "C" 32975#endif 32976char libuna_utf8_string_size_from_utf32 (); 32977int 32978main () 32979{ 32980return libuna_utf8_string_size_from_utf32 (); 32981 ; 32982 return 0; 32983} 32984_ACEOF 32985if ac_fn_c_try_link "$LINENO"; then : 32986 ac_cv_lib_una_libuna_utf8_string_size_from_utf32=yes 32987else 32988 ac_cv_lib_una_libuna_utf8_string_size_from_utf32=no 32989fi 32990rm -f core conftest.err conftest.$ac_objext \ 32991 conftest$ac_exeext conftest.$ac_ext 32992LIBS=$ac_check_lib_save_LIBS 32993fi 32994{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf32" >&5 32995$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf32" >&6; } 32996if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf32" = xyes; then : 32997 ac_cv_libuna_dummy=yes 32998else 32999 ac_cv_libuna=no 33000fi 33001 33002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf32 in -luna" >&5 33003$as_echo_n "checking for libuna_utf8_string_copy_from_utf32 in -luna... " >&6; } 33004if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf32+:} false; then : 33005 $as_echo_n "(cached) " >&6 33006else 33007 ac_check_lib_save_LIBS=$LIBS 33008LIBS="-luna $LIBS" 33009cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33010/* end confdefs.h. */ 33011 33012/* Override any GCC internal prototype to avoid an error. 33013 Use char because int might match the return type of a GCC 33014 builtin and then its argument prototype would still apply. */ 33015#ifdef __cplusplus 33016extern "C" 33017#endif 33018char libuna_utf8_string_copy_from_utf32 (); 33019int 33020main () 33021{ 33022return libuna_utf8_string_copy_from_utf32 (); 33023 ; 33024 return 0; 33025} 33026_ACEOF 33027if ac_fn_c_try_link "$LINENO"; then : 33028 ac_cv_lib_una_libuna_utf8_string_copy_from_utf32=yes 33029else 33030 ac_cv_lib_una_libuna_utf8_string_copy_from_utf32=no 33031fi 33032rm -f core conftest.err conftest.$ac_objext \ 33033 conftest$ac_exeext conftest.$ac_ext 33034LIBS=$ac_check_lib_save_LIBS 33035fi 33036{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf32" >&5 33037$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32" >&6; } 33038if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32" = xyes; then : 33039 ac_cv_libuna_dummy=yes 33040else 33041 ac_cv_libuna=no 33042fi 33043 33044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf32 in -luna" >&5 33045$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf32 in -luna... " >&6; } 33046if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32+:} false; then : 33047 $as_echo_n "(cached) " >&6 33048else 33049 ac_check_lib_save_LIBS=$LIBS 33050LIBS="-luna $LIBS" 33051cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33052/* end confdefs.h. */ 33053 33054/* Override any GCC internal prototype to avoid an error. 33055 Use char because int might match the return type of a GCC 33056 builtin and then its argument prototype would still apply. */ 33057#ifdef __cplusplus 33058extern "C" 33059#endif 33060char libuna_utf8_string_with_index_copy_from_utf32 (); 33061int 33062main () 33063{ 33064return libuna_utf8_string_with_index_copy_from_utf32 (); 33065 ; 33066 return 0; 33067} 33068_ACEOF 33069if ac_fn_c_try_link "$LINENO"; then : 33070 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32=yes 33071else 33072 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32=no 33073fi 33074rm -f core conftest.err conftest.$ac_objext \ 33075 conftest$ac_exeext conftest.$ac_ext 33076LIBS=$ac_check_lib_save_LIBS 33077fi 33078{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32" >&5 33079$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32" >&6; } 33080if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32" = xyes; then : 33081 ac_cv_libuna_dummy=yes 33082else 33083 ac_cv_libuna=no 33084fi 33085 33086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_scsu_stream in -luna" >&5 33087$as_echo_n "checking for libuna_utf8_string_size_from_scsu_stream in -luna... " >&6; } 33088if ${ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream+:} false; then : 33089 $as_echo_n "(cached) " >&6 33090else 33091 ac_check_lib_save_LIBS=$LIBS 33092LIBS="-luna $LIBS" 33093cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33094/* end confdefs.h. */ 33095 33096/* Override any GCC internal prototype to avoid an error. 33097 Use char because int might match the return type of a GCC 33098 builtin and then its argument prototype would still apply. */ 33099#ifdef __cplusplus 33100extern "C" 33101#endif 33102char libuna_utf8_string_size_from_scsu_stream (); 33103int 33104main () 33105{ 33106return libuna_utf8_string_size_from_scsu_stream (); 33107 ; 33108 return 0; 33109} 33110_ACEOF 33111if ac_fn_c_try_link "$LINENO"; then : 33112 ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream=yes 33113else 33114 ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream=no 33115fi 33116rm -f core conftest.err conftest.$ac_objext \ 33117 conftest$ac_exeext conftest.$ac_ext 33118LIBS=$ac_check_lib_save_LIBS 33119fi 33120{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream" >&5 33121$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream" >&6; } 33122if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream" = xyes; then : 33123 ac_cv_libuna_dummy=yes 33124else 33125 ac_cv_libuna=no 33126fi 33127 33128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_scsu_stream in -luna" >&5 33129$as_echo_n "checking for libuna_utf8_string_copy_from_scsu_stream in -luna... " >&6; } 33130if ${ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream+:} false; then : 33131 $as_echo_n "(cached) " >&6 33132else 33133 ac_check_lib_save_LIBS=$LIBS 33134LIBS="-luna $LIBS" 33135cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33136/* end confdefs.h. */ 33137 33138/* Override any GCC internal prototype to avoid an error. 33139 Use char because int might match the return type of a GCC 33140 builtin and then its argument prototype would still apply. */ 33141#ifdef __cplusplus 33142extern "C" 33143#endif 33144char libuna_utf8_string_copy_from_scsu_stream (); 33145int 33146main () 33147{ 33148return libuna_utf8_string_copy_from_scsu_stream (); 33149 ; 33150 return 0; 33151} 33152_ACEOF 33153if ac_fn_c_try_link "$LINENO"; then : 33154 ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream=yes 33155else 33156 ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream=no 33157fi 33158rm -f core conftest.err conftest.$ac_objext \ 33159 conftest$ac_exeext conftest.$ac_ext 33160LIBS=$ac_check_lib_save_LIBS 33161fi 33162{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream" >&5 33163$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream" >&6; } 33164if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream" = xyes; then : 33165 ac_cv_libuna_dummy=yes 33166else 33167 ac_cv_libuna=no 33168fi 33169 33170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_scsu_stream in -luna" >&5 33171$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_scsu_stream in -luna... " >&6; } 33172if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream+:} false; then : 33173 $as_echo_n "(cached) " >&6 33174else 33175 ac_check_lib_save_LIBS=$LIBS 33176LIBS="-luna $LIBS" 33177cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33178/* end confdefs.h. */ 33179 33180/* Override any GCC internal prototype to avoid an error. 33181 Use char because int might match the return type of a GCC 33182 builtin and then its argument prototype would still apply. */ 33183#ifdef __cplusplus 33184extern "C" 33185#endif 33186char libuna_utf8_string_with_index_copy_from_scsu_stream (); 33187int 33188main () 33189{ 33190return libuna_utf8_string_with_index_copy_from_scsu_stream (); 33191 ; 33192 return 0; 33193} 33194_ACEOF 33195if ac_fn_c_try_link "$LINENO"; then : 33196 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream=yes 33197else 33198 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream=no 33199fi 33200rm -f core conftest.err conftest.$ac_objext \ 33201 conftest$ac_exeext conftest.$ac_ext 33202LIBS=$ac_check_lib_save_LIBS 33203fi 33204{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream" >&5 33205$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream" >&6; } 33206if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream" = xyes; then : 33207 ac_cv_libuna_dummy=yes 33208else 33209 ac_cv_libuna=no 33210fi 33211 33212 33213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_byte_stream in -luna" >&5 33214$as_echo_n "checking for libuna_utf16_string_size_from_byte_stream in -luna... " >&6; } 33215if ${ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream+:} false; then : 33216 $as_echo_n "(cached) " >&6 33217else 33218 ac_check_lib_save_LIBS=$LIBS 33219LIBS="-luna $LIBS" 33220cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33221/* end confdefs.h. */ 33222 33223/* Override any GCC internal prototype to avoid an error. 33224 Use char because int might match the return type of a GCC 33225 builtin and then its argument prototype would still apply. */ 33226#ifdef __cplusplus 33227extern "C" 33228#endif 33229char libuna_utf16_string_size_from_byte_stream (); 33230int 33231main () 33232{ 33233return libuna_utf16_string_size_from_byte_stream (); 33234 ; 33235 return 0; 33236} 33237_ACEOF 33238if ac_fn_c_try_link "$LINENO"; then : 33239 ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream=yes 33240else 33241 ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream=no 33242fi 33243rm -f core conftest.err conftest.$ac_objext \ 33244 conftest$ac_exeext conftest.$ac_ext 33245LIBS=$ac_check_lib_save_LIBS 33246fi 33247{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream" >&5 33248$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream" >&6; } 33249if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream" = xyes; then : 33250 ac_cv_libuna_dummy=yes 33251else 33252 ac_cv_libuna=no 33253fi 33254 33255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_byte_stream in -luna" >&5 33256$as_echo_n "checking for libuna_utf16_string_copy_from_byte_stream in -luna... " >&6; } 33257if ${ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream+:} false; then : 33258 $as_echo_n "(cached) " >&6 33259else 33260 ac_check_lib_save_LIBS=$LIBS 33261LIBS="-luna $LIBS" 33262cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33263/* end confdefs.h. */ 33264 33265/* Override any GCC internal prototype to avoid an error. 33266 Use char because int might match the return type of a GCC 33267 builtin and then its argument prototype would still apply. */ 33268#ifdef __cplusplus 33269extern "C" 33270#endif 33271char libuna_utf16_string_copy_from_byte_stream (); 33272int 33273main () 33274{ 33275return libuna_utf16_string_copy_from_byte_stream (); 33276 ; 33277 return 0; 33278} 33279_ACEOF 33280if ac_fn_c_try_link "$LINENO"; then : 33281 ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream=yes 33282else 33283 ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream=no 33284fi 33285rm -f core conftest.err conftest.$ac_objext \ 33286 conftest$ac_exeext conftest.$ac_ext 33287LIBS=$ac_check_lib_save_LIBS 33288fi 33289{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream" >&5 33290$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream" >&6; } 33291if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream" = xyes; then : 33292 ac_cv_libuna_dummy=yes 33293else 33294 ac_cv_libuna=no 33295fi 33296 33297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_byte_stream in -luna" >&5 33298$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_byte_stream in -luna... " >&6; } 33299if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream+:} false; then : 33300 $as_echo_n "(cached) " >&6 33301else 33302 ac_check_lib_save_LIBS=$LIBS 33303LIBS="-luna $LIBS" 33304cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33305/* end confdefs.h. */ 33306 33307/* Override any GCC internal prototype to avoid an error. 33308 Use char because int might match the return type of a GCC 33309 builtin and then its argument prototype would still apply. */ 33310#ifdef __cplusplus 33311extern "C" 33312#endif 33313char libuna_utf16_string_with_index_copy_from_byte_stream (); 33314int 33315main () 33316{ 33317return libuna_utf16_string_with_index_copy_from_byte_stream (); 33318 ; 33319 return 0; 33320} 33321_ACEOF 33322if ac_fn_c_try_link "$LINENO"; then : 33323 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream=yes 33324else 33325 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream=no 33326fi 33327rm -f core conftest.err conftest.$ac_objext \ 33328 conftest$ac_exeext conftest.$ac_ext 33329LIBS=$ac_check_lib_save_LIBS 33330fi 33331{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream" >&5 33332$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream" >&6; } 33333if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream" = xyes; then : 33334 ac_cv_libuna_dummy=yes 33335else 33336 ac_cv_libuna=no 33337fi 33338 33339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf7_stream in -luna" >&5 33340$as_echo_n "checking for libuna_utf16_string_size_from_utf7_stream in -luna... " >&6; } 33341if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream+:} false; then : 33342 $as_echo_n "(cached) " >&6 33343else 33344 ac_check_lib_save_LIBS=$LIBS 33345LIBS="-luna $LIBS" 33346cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33347/* end confdefs.h. */ 33348 33349/* Override any GCC internal prototype to avoid an error. 33350 Use char because int might match the return type of a GCC 33351 builtin and then its argument prototype would still apply. */ 33352#ifdef __cplusplus 33353extern "C" 33354#endif 33355char libuna_utf16_string_size_from_utf7_stream (); 33356int 33357main () 33358{ 33359return libuna_utf16_string_size_from_utf7_stream (); 33360 ; 33361 return 0; 33362} 33363_ACEOF 33364if ac_fn_c_try_link "$LINENO"; then : 33365 ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream=yes 33366else 33367 ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream=no 33368fi 33369rm -f core conftest.err conftest.$ac_objext \ 33370 conftest$ac_exeext conftest.$ac_ext 33371LIBS=$ac_check_lib_save_LIBS 33372fi 33373{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream" >&5 33374$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream" >&6; } 33375if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream" = xyes; then : 33376 ac_cv_libuna_dummy=yes 33377else 33378 ac_cv_libuna=no 33379fi 33380 33381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf7_stream in -luna" >&5 33382$as_echo_n "checking for libuna_utf16_string_copy_from_utf7_stream in -luna... " >&6; } 33383if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream+:} false; then : 33384 $as_echo_n "(cached) " >&6 33385else 33386 ac_check_lib_save_LIBS=$LIBS 33387LIBS="-luna $LIBS" 33388cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33389/* end confdefs.h. */ 33390 33391/* Override any GCC internal prototype to avoid an error. 33392 Use char because int might match the return type of a GCC 33393 builtin and then its argument prototype would still apply. */ 33394#ifdef __cplusplus 33395extern "C" 33396#endif 33397char libuna_utf16_string_copy_from_utf7_stream (); 33398int 33399main () 33400{ 33401return libuna_utf16_string_copy_from_utf7_stream (); 33402 ; 33403 return 0; 33404} 33405_ACEOF 33406if ac_fn_c_try_link "$LINENO"; then : 33407 ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream=yes 33408else 33409 ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream=no 33410fi 33411rm -f core conftest.err conftest.$ac_objext \ 33412 conftest$ac_exeext conftest.$ac_ext 33413LIBS=$ac_check_lib_save_LIBS 33414fi 33415{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream" >&5 33416$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream" >&6; } 33417if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream" = xyes; then : 33418 ac_cv_libuna_dummy=yes 33419else 33420 ac_cv_libuna=no 33421fi 33422 33423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf7_stream in -luna" >&5 33424$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf7_stream in -luna... " >&6; } 33425if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream+:} false; then : 33426 $as_echo_n "(cached) " >&6 33427else 33428 ac_check_lib_save_LIBS=$LIBS 33429LIBS="-luna $LIBS" 33430cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33431/* end confdefs.h. */ 33432 33433/* Override any GCC internal prototype to avoid an error. 33434 Use char because int might match the return type of a GCC 33435 builtin and then its argument prototype would still apply. */ 33436#ifdef __cplusplus 33437extern "C" 33438#endif 33439char libuna_utf16_string_with_index_copy_from_utf7_stream (); 33440int 33441main () 33442{ 33443return libuna_utf16_string_with_index_copy_from_utf7_stream (); 33444 ; 33445 return 0; 33446} 33447_ACEOF 33448if ac_fn_c_try_link "$LINENO"; then : 33449 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream=yes 33450else 33451 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream=no 33452fi 33453rm -f core conftest.err conftest.$ac_objext \ 33454 conftest$ac_exeext conftest.$ac_ext 33455LIBS=$ac_check_lib_save_LIBS 33456fi 33457{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream" >&5 33458$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream" >&6; } 33459if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream" = xyes; then : 33460 ac_cv_libuna_dummy=yes 33461else 33462 ac_cv_libuna=no 33463fi 33464 33465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf8_stream in -luna" >&5 33466$as_echo_n "checking for libuna_utf16_string_size_from_utf8_stream in -luna... " >&6; } 33467if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream+:} false; then : 33468 $as_echo_n "(cached) " >&6 33469else 33470 ac_check_lib_save_LIBS=$LIBS 33471LIBS="-luna $LIBS" 33472cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33473/* end confdefs.h. */ 33474 33475/* Override any GCC internal prototype to avoid an error. 33476 Use char because int might match the return type of a GCC 33477 builtin and then its argument prototype would still apply. */ 33478#ifdef __cplusplus 33479extern "C" 33480#endif 33481char libuna_utf16_string_size_from_utf8_stream (); 33482int 33483main () 33484{ 33485return libuna_utf16_string_size_from_utf8_stream (); 33486 ; 33487 return 0; 33488} 33489_ACEOF 33490if ac_fn_c_try_link "$LINENO"; then : 33491 ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream=yes 33492else 33493 ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream=no 33494fi 33495rm -f core conftest.err conftest.$ac_objext \ 33496 conftest$ac_exeext conftest.$ac_ext 33497LIBS=$ac_check_lib_save_LIBS 33498fi 33499{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream" >&5 33500$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream" >&6; } 33501if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream" = xyes; then : 33502 ac_cv_libuna_dummy=yes 33503else 33504 ac_cv_libuna=no 33505fi 33506 33507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf8_stream in -luna" >&5 33508$as_echo_n "checking for libuna_utf16_string_copy_from_utf8_stream in -luna... " >&6; } 33509if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream+:} false; then : 33510 $as_echo_n "(cached) " >&6 33511else 33512 ac_check_lib_save_LIBS=$LIBS 33513LIBS="-luna $LIBS" 33514cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33515/* end confdefs.h. */ 33516 33517/* Override any GCC internal prototype to avoid an error. 33518 Use char because int might match the return type of a GCC 33519 builtin and then its argument prototype would still apply. */ 33520#ifdef __cplusplus 33521extern "C" 33522#endif 33523char libuna_utf16_string_copy_from_utf8_stream (); 33524int 33525main () 33526{ 33527return libuna_utf16_string_copy_from_utf8_stream (); 33528 ; 33529 return 0; 33530} 33531_ACEOF 33532if ac_fn_c_try_link "$LINENO"; then : 33533 ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream=yes 33534else 33535 ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream=no 33536fi 33537rm -f core conftest.err conftest.$ac_objext \ 33538 conftest$ac_exeext conftest.$ac_ext 33539LIBS=$ac_check_lib_save_LIBS 33540fi 33541{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream" >&5 33542$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream" >&6; } 33543if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream" = xyes; then : 33544 ac_cv_libuna_dummy=yes 33545else 33546 ac_cv_libuna=no 33547fi 33548 33549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf8_stream in -luna" >&5 33550$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf8_stream in -luna... " >&6; } 33551if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream+:} false; then : 33552 $as_echo_n "(cached) " >&6 33553else 33554 ac_check_lib_save_LIBS=$LIBS 33555LIBS="-luna $LIBS" 33556cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33557/* end confdefs.h. */ 33558 33559/* Override any GCC internal prototype to avoid an error. 33560 Use char because int might match the return type of a GCC 33561 builtin and then its argument prototype would still apply. */ 33562#ifdef __cplusplus 33563extern "C" 33564#endif 33565char libuna_utf16_string_with_index_copy_from_utf8_stream (); 33566int 33567main () 33568{ 33569return libuna_utf16_string_with_index_copy_from_utf8_stream (); 33570 ; 33571 return 0; 33572} 33573_ACEOF 33574if ac_fn_c_try_link "$LINENO"; then : 33575 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream=yes 33576else 33577 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream=no 33578fi 33579rm -f core conftest.err conftest.$ac_objext \ 33580 conftest$ac_exeext conftest.$ac_ext 33581LIBS=$ac_check_lib_save_LIBS 33582fi 33583{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream" >&5 33584$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream" >&6; } 33585if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream" = xyes; then : 33586 ac_cv_libuna_dummy=yes 33587else 33588 ac_cv_libuna=no 33589fi 33590 33591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf16_stream in -luna" >&5 33592$as_echo_n "checking for libuna_utf16_string_size_from_utf16_stream in -luna... " >&6; } 33593if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream+:} false; then : 33594 $as_echo_n "(cached) " >&6 33595else 33596 ac_check_lib_save_LIBS=$LIBS 33597LIBS="-luna $LIBS" 33598cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33599/* end confdefs.h. */ 33600 33601/* Override any GCC internal prototype to avoid an error. 33602 Use char because int might match the return type of a GCC 33603 builtin and then its argument prototype would still apply. */ 33604#ifdef __cplusplus 33605extern "C" 33606#endif 33607char libuna_utf16_string_size_from_utf16_stream (); 33608int 33609main () 33610{ 33611return libuna_utf16_string_size_from_utf16_stream (); 33612 ; 33613 return 0; 33614} 33615_ACEOF 33616if ac_fn_c_try_link "$LINENO"; then : 33617 ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream=yes 33618else 33619 ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream=no 33620fi 33621rm -f core conftest.err conftest.$ac_objext \ 33622 conftest$ac_exeext conftest.$ac_ext 33623LIBS=$ac_check_lib_save_LIBS 33624fi 33625{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream" >&5 33626$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream" >&6; } 33627if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream" = xyes; then : 33628 ac_cv_libuna_dummy=yes 33629else 33630 ac_cv_libuna=no 33631fi 33632 33633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf16_stream in -luna" >&5 33634$as_echo_n "checking for libuna_utf16_string_copy_from_utf16_stream in -luna... " >&6; } 33635if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream+:} false; then : 33636 $as_echo_n "(cached) " >&6 33637else 33638 ac_check_lib_save_LIBS=$LIBS 33639LIBS="-luna $LIBS" 33640cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33641/* end confdefs.h. */ 33642 33643/* Override any GCC internal prototype to avoid an error. 33644 Use char because int might match the return type of a GCC 33645 builtin and then its argument prototype would still apply. */ 33646#ifdef __cplusplus 33647extern "C" 33648#endif 33649char libuna_utf16_string_copy_from_utf16_stream (); 33650int 33651main () 33652{ 33653return libuna_utf16_string_copy_from_utf16_stream (); 33654 ; 33655 return 0; 33656} 33657_ACEOF 33658if ac_fn_c_try_link "$LINENO"; then : 33659 ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream=yes 33660else 33661 ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream=no 33662fi 33663rm -f core conftest.err conftest.$ac_objext \ 33664 conftest$ac_exeext conftest.$ac_ext 33665LIBS=$ac_check_lib_save_LIBS 33666fi 33667{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream" >&5 33668$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream" >&6; } 33669if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream" = xyes; then : 33670 ac_cv_libuna_dummy=yes 33671else 33672 ac_cv_libuna=no 33673fi 33674 33675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf16_stream in -luna" >&5 33676$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf16_stream in -luna... " >&6; } 33677if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream+:} false; then : 33678 $as_echo_n "(cached) " >&6 33679else 33680 ac_check_lib_save_LIBS=$LIBS 33681LIBS="-luna $LIBS" 33682cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33683/* end confdefs.h. */ 33684 33685/* Override any GCC internal prototype to avoid an error. 33686 Use char because int might match the return type of a GCC 33687 builtin and then its argument prototype would still apply. */ 33688#ifdef __cplusplus 33689extern "C" 33690#endif 33691char libuna_utf16_string_with_index_copy_from_utf16_stream (); 33692int 33693main () 33694{ 33695return libuna_utf16_string_with_index_copy_from_utf16_stream (); 33696 ; 33697 return 0; 33698} 33699_ACEOF 33700if ac_fn_c_try_link "$LINENO"; then : 33701 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream=yes 33702else 33703 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream=no 33704fi 33705rm -f core conftest.err conftest.$ac_objext \ 33706 conftest$ac_exeext conftest.$ac_ext 33707LIBS=$ac_check_lib_save_LIBS 33708fi 33709{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream" >&5 33710$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream" >&6; } 33711if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream" = xyes; then : 33712 ac_cv_libuna_dummy=yes 33713else 33714 ac_cv_libuna=no 33715fi 33716 33717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf32_stream in -luna" >&5 33718$as_echo_n "checking for libuna_utf16_string_size_from_utf32_stream in -luna... " >&6; } 33719if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream+:} false; then : 33720 $as_echo_n "(cached) " >&6 33721else 33722 ac_check_lib_save_LIBS=$LIBS 33723LIBS="-luna $LIBS" 33724cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33725/* end confdefs.h. */ 33726 33727/* Override any GCC internal prototype to avoid an error. 33728 Use char because int might match the return type of a GCC 33729 builtin and then its argument prototype would still apply. */ 33730#ifdef __cplusplus 33731extern "C" 33732#endif 33733char libuna_utf16_string_size_from_utf32_stream (); 33734int 33735main () 33736{ 33737return libuna_utf16_string_size_from_utf32_stream (); 33738 ; 33739 return 0; 33740} 33741_ACEOF 33742if ac_fn_c_try_link "$LINENO"; then : 33743 ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream=yes 33744else 33745 ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream=no 33746fi 33747rm -f core conftest.err conftest.$ac_objext \ 33748 conftest$ac_exeext conftest.$ac_ext 33749LIBS=$ac_check_lib_save_LIBS 33750fi 33751{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream" >&5 33752$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream" >&6; } 33753if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream" = xyes; then : 33754 ac_cv_libuna_dummy=yes 33755else 33756 ac_cv_libuna=no 33757fi 33758 33759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf32_stream in -luna" >&5 33760$as_echo_n "checking for libuna_utf16_string_copy_from_utf32_stream in -luna... " >&6; } 33761if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream+:} false; then : 33762 $as_echo_n "(cached) " >&6 33763else 33764 ac_check_lib_save_LIBS=$LIBS 33765LIBS="-luna $LIBS" 33766cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33767/* end confdefs.h. */ 33768 33769/* Override any GCC internal prototype to avoid an error. 33770 Use char because int might match the return type of a GCC 33771 builtin and then its argument prototype would still apply. */ 33772#ifdef __cplusplus 33773extern "C" 33774#endif 33775char libuna_utf16_string_copy_from_utf32_stream (); 33776int 33777main () 33778{ 33779return libuna_utf16_string_copy_from_utf32_stream (); 33780 ; 33781 return 0; 33782} 33783_ACEOF 33784if ac_fn_c_try_link "$LINENO"; then : 33785 ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream=yes 33786else 33787 ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream=no 33788fi 33789rm -f core conftest.err conftest.$ac_objext \ 33790 conftest$ac_exeext conftest.$ac_ext 33791LIBS=$ac_check_lib_save_LIBS 33792fi 33793{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream" >&5 33794$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream" >&6; } 33795if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream" = xyes; then : 33796 ac_cv_libuna_dummy=yes 33797else 33798 ac_cv_libuna=no 33799fi 33800 33801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf32_stream in -luna" >&5 33802$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf32_stream in -luna... " >&6; } 33803if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream+:} false; then : 33804 $as_echo_n "(cached) " >&6 33805else 33806 ac_check_lib_save_LIBS=$LIBS 33807LIBS="-luna $LIBS" 33808cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33809/* end confdefs.h. */ 33810 33811/* Override any GCC internal prototype to avoid an error. 33812 Use char because int might match the return type of a GCC 33813 builtin and then its argument prototype would still apply. */ 33814#ifdef __cplusplus 33815extern "C" 33816#endif 33817char libuna_utf16_string_with_index_copy_from_utf32_stream (); 33818int 33819main () 33820{ 33821return libuna_utf16_string_with_index_copy_from_utf32_stream (); 33822 ; 33823 return 0; 33824} 33825_ACEOF 33826if ac_fn_c_try_link "$LINENO"; then : 33827 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream=yes 33828else 33829 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream=no 33830fi 33831rm -f core conftest.err conftest.$ac_objext \ 33832 conftest$ac_exeext conftest.$ac_ext 33833LIBS=$ac_check_lib_save_LIBS 33834fi 33835{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream" >&5 33836$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream" >&6; } 33837if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream" = xyes; then : 33838 ac_cv_libuna_dummy=yes 33839else 33840 ac_cv_libuna=no 33841fi 33842 33843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf8 in -luna" >&5 33844$as_echo_n "checking for libuna_utf16_string_size_from_utf8 in -luna... " >&6; } 33845if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf8+:} false; then : 33846 $as_echo_n "(cached) " >&6 33847else 33848 ac_check_lib_save_LIBS=$LIBS 33849LIBS="-luna $LIBS" 33850cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33851/* end confdefs.h. */ 33852 33853/* Override any GCC internal prototype to avoid an error. 33854 Use char because int might match the return type of a GCC 33855 builtin and then its argument prototype would still apply. */ 33856#ifdef __cplusplus 33857extern "C" 33858#endif 33859char libuna_utf16_string_size_from_utf8 (); 33860int 33861main () 33862{ 33863return libuna_utf16_string_size_from_utf8 (); 33864 ; 33865 return 0; 33866} 33867_ACEOF 33868if ac_fn_c_try_link "$LINENO"; then : 33869 ac_cv_lib_una_libuna_utf16_string_size_from_utf8=yes 33870else 33871 ac_cv_lib_una_libuna_utf16_string_size_from_utf8=no 33872fi 33873rm -f core conftest.err conftest.$ac_objext \ 33874 conftest$ac_exeext conftest.$ac_ext 33875LIBS=$ac_check_lib_save_LIBS 33876fi 33877{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf8" >&5 33878$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf8" >&6; } 33879if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf8" = xyes; then : 33880 ac_cv_libuna_dummy=yes 33881else 33882 ac_cv_libuna=no 33883fi 33884 33885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf8 in -luna" >&5 33886$as_echo_n "checking for libuna_utf16_string_copy_from_utf8 in -luna... " >&6; } 33887if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf8+:} false; then : 33888 $as_echo_n "(cached) " >&6 33889else 33890 ac_check_lib_save_LIBS=$LIBS 33891LIBS="-luna $LIBS" 33892cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33893/* end confdefs.h. */ 33894 33895/* Override any GCC internal prototype to avoid an error. 33896 Use char because int might match the return type of a GCC 33897 builtin and then its argument prototype would still apply. */ 33898#ifdef __cplusplus 33899extern "C" 33900#endif 33901char libuna_utf16_string_copy_from_utf8 (); 33902int 33903main () 33904{ 33905return libuna_utf16_string_copy_from_utf8 (); 33906 ; 33907 return 0; 33908} 33909_ACEOF 33910if ac_fn_c_try_link "$LINENO"; then : 33911 ac_cv_lib_una_libuna_utf16_string_copy_from_utf8=yes 33912else 33913 ac_cv_lib_una_libuna_utf16_string_copy_from_utf8=no 33914fi 33915rm -f core conftest.err conftest.$ac_objext \ 33916 conftest$ac_exeext conftest.$ac_ext 33917LIBS=$ac_check_lib_save_LIBS 33918fi 33919{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf8" >&5 33920$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8" >&6; } 33921if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8" = xyes; then : 33922 ac_cv_libuna_dummy=yes 33923else 33924 ac_cv_libuna=no 33925fi 33926 33927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf8 in -luna" >&5 33928$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf8 in -luna... " >&6; } 33929if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8+:} false; then : 33930 $as_echo_n "(cached) " >&6 33931else 33932 ac_check_lib_save_LIBS=$LIBS 33933LIBS="-luna $LIBS" 33934cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33935/* end confdefs.h. */ 33936 33937/* Override any GCC internal prototype to avoid an error. 33938 Use char because int might match the return type of a GCC 33939 builtin and then its argument prototype would still apply. */ 33940#ifdef __cplusplus 33941extern "C" 33942#endif 33943char libuna_utf16_string_with_index_copy_from_utf8 (); 33944int 33945main () 33946{ 33947return libuna_utf16_string_with_index_copy_from_utf8 (); 33948 ; 33949 return 0; 33950} 33951_ACEOF 33952if ac_fn_c_try_link "$LINENO"; then : 33953 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8=yes 33954else 33955 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8=no 33956fi 33957rm -f core conftest.err conftest.$ac_objext \ 33958 conftest$ac_exeext conftest.$ac_ext 33959LIBS=$ac_check_lib_save_LIBS 33960fi 33961{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8" >&5 33962$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8" >&6; } 33963if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8" = xyes; then : 33964 ac_cv_libuna_dummy=yes 33965else 33966 ac_cv_libuna=no 33967fi 33968 33969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf32 in -luna" >&5 33970$as_echo_n "checking for libuna_utf16_string_size_from_utf32 in -luna... " >&6; } 33971if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf32+:} false; then : 33972 $as_echo_n "(cached) " >&6 33973else 33974 ac_check_lib_save_LIBS=$LIBS 33975LIBS="-luna $LIBS" 33976cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33977/* end confdefs.h. */ 33978 33979/* Override any GCC internal prototype to avoid an error. 33980 Use char because int might match the return type of a GCC 33981 builtin and then its argument prototype would still apply. */ 33982#ifdef __cplusplus 33983extern "C" 33984#endif 33985char libuna_utf16_string_size_from_utf32 (); 33986int 33987main () 33988{ 33989return libuna_utf16_string_size_from_utf32 (); 33990 ; 33991 return 0; 33992} 33993_ACEOF 33994if ac_fn_c_try_link "$LINENO"; then : 33995 ac_cv_lib_una_libuna_utf16_string_size_from_utf32=yes 33996else 33997 ac_cv_lib_una_libuna_utf16_string_size_from_utf32=no 33998fi 33999rm -f core conftest.err conftest.$ac_objext \ 34000 conftest$ac_exeext conftest.$ac_ext 34001LIBS=$ac_check_lib_save_LIBS 34002fi 34003{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf32" >&5 34004$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf32" >&6; } 34005if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf32" = xyes; then : 34006 ac_cv_libuna_dummy=yes 34007else 34008 ac_cv_libuna=no 34009fi 34010 34011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf32 in -luna" >&5 34012$as_echo_n "checking for libuna_utf16_string_copy_from_utf32 in -luna... " >&6; } 34013if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf32+:} false; then : 34014 $as_echo_n "(cached) " >&6 34015else 34016 ac_check_lib_save_LIBS=$LIBS 34017LIBS="-luna $LIBS" 34018cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34019/* end confdefs.h. */ 34020 34021/* Override any GCC internal prototype to avoid an error. 34022 Use char because int might match the return type of a GCC 34023 builtin and then its argument prototype would still apply. */ 34024#ifdef __cplusplus 34025extern "C" 34026#endif 34027char libuna_utf16_string_copy_from_utf32 (); 34028int 34029main () 34030{ 34031return libuna_utf16_string_copy_from_utf32 (); 34032 ; 34033 return 0; 34034} 34035_ACEOF 34036if ac_fn_c_try_link "$LINENO"; then : 34037 ac_cv_lib_una_libuna_utf16_string_copy_from_utf32=yes 34038else 34039 ac_cv_lib_una_libuna_utf16_string_copy_from_utf32=no 34040fi 34041rm -f core conftest.err conftest.$ac_objext \ 34042 conftest$ac_exeext conftest.$ac_ext 34043LIBS=$ac_check_lib_save_LIBS 34044fi 34045{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf32" >&5 34046$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32" >&6; } 34047if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32" = xyes; then : 34048 ac_cv_libuna_dummy=yes 34049else 34050 ac_cv_libuna=no 34051fi 34052 34053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf32 in -luna" >&5 34054$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf32 in -luna... " >&6; } 34055if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32+:} false; then : 34056 $as_echo_n "(cached) " >&6 34057else 34058 ac_check_lib_save_LIBS=$LIBS 34059LIBS="-luna $LIBS" 34060cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34061/* end confdefs.h. */ 34062 34063/* Override any GCC internal prototype to avoid an error. 34064 Use char because int might match the return type of a GCC 34065 builtin and then its argument prototype would still apply. */ 34066#ifdef __cplusplus 34067extern "C" 34068#endif 34069char libuna_utf16_string_with_index_copy_from_utf32 (); 34070int 34071main () 34072{ 34073return libuna_utf16_string_with_index_copy_from_utf32 (); 34074 ; 34075 return 0; 34076} 34077_ACEOF 34078if ac_fn_c_try_link "$LINENO"; then : 34079 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32=yes 34080else 34081 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32=no 34082fi 34083rm -f core conftest.err conftest.$ac_objext \ 34084 conftest$ac_exeext conftest.$ac_ext 34085LIBS=$ac_check_lib_save_LIBS 34086fi 34087{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32" >&5 34088$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32" >&6; } 34089if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32" = xyes; then : 34090 ac_cv_libuna_dummy=yes 34091else 34092 ac_cv_libuna=no 34093fi 34094 34095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_scsu_stream in -luna" >&5 34096$as_echo_n "checking for libuna_utf16_string_size_from_scsu_stream in -luna... " >&6; } 34097if ${ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream+:} false; then : 34098 $as_echo_n "(cached) " >&6 34099else 34100 ac_check_lib_save_LIBS=$LIBS 34101LIBS="-luna $LIBS" 34102cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34103/* end confdefs.h. */ 34104 34105/* Override any GCC internal prototype to avoid an error. 34106 Use char because int might match the return type of a GCC 34107 builtin and then its argument prototype would still apply. */ 34108#ifdef __cplusplus 34109extern "C" 34110#endif 34111char libuna_utf16_string_size_from_scsu_stream (); 34112int 34113main () 34114{ 34115return libuna_utf16_string_size_from_scsu_stream (); 34116 ; 34117 return 0; 34118} 34119_ACEOF 34120if ac_fn_c_try_link "$LINENO"; then : 34121 ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream=yes 34122else 34123 ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream=no 34124fi 34125rm -f core conftest.err conftest.$ac_objext \ 34126 conftest$ac_exeext conftest.$ac_ext 34127LIBS=$ac_check_lib_save_LIBS 34128fi 34129{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream" >&5 34130$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream" >&6; } 34131if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream" = xyes; then : 34132 ac_cv_libuna_dummy=yes 34133else 34134 ac_cv_libuna=no 34135fi 34136 34137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_scsu_stream in -luna" >&5 34138$as_echo_n "checking for libuna_utf16_string_copy_from_scsu_stream in -luna... " >&6; } 34139if ${ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream+:} false; then : 34140 $as_echo_n "(cached) " >&6 34141else 34142 ac_check_lib_save_LIBS=$LIBS 34143LIBS="-luna $LIBS" 34144cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34145/* end confdefs.h. */ 34146 34147/* Override any GCC internal prototype to avoid an error. 34148 Use char because int might match the return type of a GCC 34149 builtin and then its argument prototype would still apply. */ 34150#ifdef __cplusplus 34151extern "C" 34152#endif 34153char libuna_utf16_string_copy_from_scsu_stream (); 34154int 34155main () 34156{ 34157return libuna_utf16_string_copy_from_scsu_stream (); 34158 ; 34159 return 0; 34160} 34161_ACEOF 34162if ac_fn_c_try_link "$LINENO"; then : 34163 ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream=yes 34164else 34165 ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream=no 34166fi 34167rm -f core conftest.err conftest.$ac_objext \ 34168 conftest$ac_exeext conftest.$ac_ext 34169LIBS=$ac_check_lib_save_LIBS 34170fi 34171{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream" >&5 34172$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream" >&6; } 34173if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream" = xyes; then : 34174 ac_cv_libuna_dummy=yes 34175else 34176 ac_cv_libuna=no 34177fi 34178 34179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_scsu_stream in -luna" >&5 34180$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_scsu_stream in -luna... " >&6; } 34181if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream+:} false; then : 34182 $as_echo_n "(cached) " >&6 34183else 34184 ac_check_lib_save_LIBS=$LIBS 34185LIBS="-luna $LIBS" 34186cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34187/* end confdefs.h. */ 34188 34189/* Override any GCC internal prototype to avoid an error. 34190 Use char because int might match the return type of a GCC 34191 builtin and then its argument prototype would still apply. */ 34192#ifdef __cplusplus 34193extern "C" 34194#endif 34195char libuna_utf16_string_with_index_copy_from_scsu_stream (); 34196int 34197main () 34198{ 34199return libuna_utf16_string_with_index_copy_from_scsu_stream (); 34200 ; 34201 return 0; 34202} 34203_ACEOF 34204if ac_fn_c_try_link "$LINENO"; then : 34205 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream=yes 34206else 34207 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream=no 34208fi 34209rm -f core conftest.err conftest.$ac_objext \ 34210 conftest$ac_exeext conftest.$ac_ext 34211LIBS=$ac_check_lib_save_LIBS 34212fi 34213{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream" >&5 34214$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream" >&6; } 34215if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream" = xyes; then : 34216 ac_cv_libuna_dummy=yes 34217else 34218 ac_cv_libuna=no 34219fi 34220 34221 34222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_byte_stream in -luna" >&5 34223$as_echo_n "checking for libuna_utf32_string_size_from_byte_stream in -luna... " >&6; } 34224if ${ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream+:} false; then : 34225 $as_echo_n "(cached) " >&6 34226else 34227 ac_check_lib_save_LIBS=$LIBS 34228LIBS="-luna $LIBS" 34229cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34230/* end confdefs.h. */ 34231 34232/* Override any GCC internal prototype to avoid an error. 34233 Use char because int might match the return type of a GCC 34234 builtin and then its argument prototype would still apply. */ 34235#ifdef __cplusplus 34236extern "C" 34237#endif 34238char libuna_utf32_string_size_from_byte_stream (); 34239int 34240main () 34241{ 34242return libuna_utf32_string_size_from_byte_stream (); 34243 ; 34244 return 0; 34245} 34246_ACEOF 34247if ac_fn_c_try_link "$LINENO"; then : 34248 ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream=yes 34249else 34250 ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream=no 34251fi 34252rm -f core conftest.err conftest.$ac_objext \ 34253 conftest$ac_exeext conftest.$ac_ext 34254LIBS=$ac_check_lib_save_LIBS 34255fi 34256{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream" >&5 34257$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream" >&6; } 34258if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream" = xyes; then : 34259 ac_cv_libuna_dummy=yes 34260else 34261 ac_cv_libuna=no 34262fi 34263 34264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_byte_stream in -luna" >&5 34265$as_echo_n "checking for libuna_utf32_string_copy_from_byte_stream in -luna... " >&6; } 34266if ${ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream+:} false; then : 34267 $as_echo_n "(cached) " >&6 34268else 34269 ac_check_lib_save_LIBS=$LIBS 34270LIBS="-luna $LIBS" 34271cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34272/* end confdefs.h. */ 34273 34274/* Override any GCC internal prototype to avoid an error. 34275 Use char because int might match the return type of a GCC 34276 builtin and then its argument prototype would still apply. */ 34277#ifdef __cplusplus 34278extern "C" 34279#endif 34280char libuna_utf32_string_copy_from_byte_stream (); 34281int 34282main () 34283{ 34284return libuna_utf32_string_copy_from_byte_stream (); 34285 ; 34286 return 0; 34287} 34288_ACEOF 34289if ac_fn_c_try_link "$LINENO"; then : 34290 ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream=yes 34291else 34292 ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream=no 34293fi 34294rm -f core conftest.err conftest.$ac_objext \ 34295 conftest$ac_exeext conftest.$ac_ext 34296LIBS=$ac_check_lib_save_LIBS 34297fi 34298{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream" >&5 34299$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream" >&6; } 34300if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream" = xyes; then : 34301 ac_cv_libuna_dummy=yes 34302else 34303 ac_cv_libuna=no 34304fi 34305 34306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_byte_stream in -luna" >&5 34307$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_byte_stream in -luna... " >&6; } 34308if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream+:} false; then : 34309 $as_echo_n "(cached) " >&6 34310else 34311 ac_check_lib_save_LIBS=$LIBS 34312LIBS="-luna $LIBS" 34313cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34314/* end confdefs.h. */ 34315 34316/* Override any GCC internal prototype to avoid an error. 34317 Use char because int might match the return type of a GCC 34318 builtin and then its argument prototype would still apply. */ 34319#ifdef __cplusplus 34320extern "C" 34321#endif 34322char libuna_utf32_string_with_index_copy_from_byte_stream (); 34323int 34324main () 34325{ 34326return libuna_utf32_string_with_index_copy_from_byte_stream (); 34327 ; 34328 return 0; 34329} 34330_ACEOF 34331if ac_fn_c_try_link "$LINENO"; then : 34332 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream=yes 34333else 34334 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream=no 34335fi 34336rm -f core conftest.err conftest.$ac_objext \ 34337 conftest$ac_exeext conftest.$ac_ext 34338LIBS=$ac_check_lib_save_LIBS 34339fi 34340{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream" >&5 34341$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream" >&6; } 34342if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream" = xyes; then : 34343 ac_cv_libuna_dummy=yes 34344else 34345 ac_cv_libuna=no 34346fi 34347 34348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf7_stream in -luna" >&5 34349$as_echo_n "checking for libuna_utf32_string_size_from_utf7_stream in -luna... " >&6; } 34350if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream+:} false; then : 34351 $as_echo_n "(cached) " >&6 34352else 34353 ac_check_lib_save_LIBS=$LIBS 34354LIBS="-luna $LIBS" 34355cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34356/* end confdefs.h. */ 34357 34358/* Override any GCC internal prototype to avoid an error. 34359 Use char because int might match the return type of a GCC 34360 builtin and then its argument prototype would still apply. */ 34361#ifdef __cplusplus 34362extern "C" 34363#endif 34364char libuna_utf32_string_size_from_utf7_stream (); 34365int 34366main () 34367{ 34368return libuna_utf32_string_size_from_utf7_stream (); 34369 ; 34370 return 0; 34371} 34372_ACEOF 34373if ac_fn_c_try_link "$LINENO"; then : 34374 ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream=yes 34375else 34376 ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream=no 34377fi 34378rm -f core conftest.err conftest.$ac_objext \ 34379 conftest$ac_exeext conftest.$ac_ext 34380LIBS=$ac_check_lib_save_LIBS 34381fi 34382{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream" >&5 34383$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream" >&6; } 34384if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream" = xyes; then : 34385 ac_cv_libuna_dummy=yes 34386else 34387 ac_cv_libuna=no 34388fi 34389 34390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf7_stream in -luna" >&5 34391$as_echo_n "checking for libuna_utf32_string_copy_from_utf7_stream in -luna... " >&6; } 34392if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream+:} false; then : 34393 $as_echo_n "(cached) " >&6 34394else 34395 ac_check_lib_save_LIBS=$LIBS 34396LIBS="-luna $LIBS" 34397cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34398/* end confdefs.h. */ 34399 34400/* Override any GCC internal prototype to avoid an error. 34401 Use char because int might match the return type of a GCC 34402 builtin and then its argument prototype would still apply. */ 34403#ifdef __cplusplus 34404extern "C" 34405#endif 34406char libuna_utf32_string_copy_from_utf7_stream (); 34407int 34408main () 34409{ 34410return libuna_utf32_string_copy_from_utf7_stream (); 34411 ; 34412 return 0; 34413} 34414_ACEOF 34415if ac_fn_c_try_link "$LINENO"; then : 34416 ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream=yes 34417else 34418 ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream=no 34419fi 34420rm -f core conftest.err conftest.$ac_objext \ 34421 conftest$ac_exeext conftest.$ac_ext 34422LIBS=$ac_check_lib_save_LIBS 34423fi 34424{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream" >&5 34425$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream" >&6; } 34426if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream" = xyes; then : 34427 ac_cv_libuna_dummy=yes 34428else 34429 ac_cv_libuna=no 34430fi 34431 34432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf7_stream in -luna" >&5 34433$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf7_stream in -luna... " >&6; } 34434if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream+:} false; then : 34435 $as_echo_n "(cached) " >&6 34436else 34437 ac_check_lib_save_LIBS=$LIBS 34438LIBS="-luna $LIBS" 34439cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34440/* end confdefs.h. */ 34441 34442/* Override any GCC internal prototype to avoid an error. 34443 Use char because int might match the return type of a GCC 34444 builtin and then its argument prototype would still apply. */ 34445#ifdef __cplusplus 34446extern "C" 34447#endif 34448char libuna_utf32_string_with_index_copy_from_utf7_stream (); 34449int 34450main () 34451{ 34452return libuna_utf32_string_with_index_copy_from_utf7_stream (); 34453 ; 34454 return 0; 34455} 34456_ACEOF 34457if ac_fn_c_try_link "$LINENO"; then : 34458 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream=yes 34459else 34460 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream=no 34461fi 34462rm -f core conftest.err conftest.$ac_objext \ 34463 conftest$ac_exeext conftest.$ac_ext 34464LIBS=$ac_check_lib_save_LIBS 34465fi 34466{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream" >&5 34467$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream" >&6; } 34468if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream" = xyes; then : 34469 ac_cv_libuna_dummy=yes 34470else 34471 ac_cv_libuna=no 34472fi 34473 34474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf8_stream in -luna" >&5 34475$as_echo_n "checking for libuna_utf32_string_size_from_utf8_stream in -luna... " >&6; } 34476if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream+:} false; then : 34477 $as_echo_n "(cached) " >&6 34478else 34479 ac_check_lib_save_LIBS=$LIBS 34480LIBS="-luna $LIBS" 34481cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34482/* end confdefs.h. */ 34483 34484/* Override any GCC internal prototype to avoid an error. 34485 Use char because int might match the return type of a GCC 34486 builtin and then its argument prototype would still apply. */ 34487#ifdef __cplusplus 34488extern "C" 34489#endif 34490char libuna_utf32_string_size_from_utf8_stream (); 34491int 34492main () 34493{ 34494return libuna_utf32_string_size_from_utf8_stream (); 34495 ; 34496 return 0; 34497} 34498_ACEOF 34499if ac_fn_c_try_link "$LINENO"; then : 34500 ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream=yes 34501else 34502 ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream=no 34503fi 34504rm -f core conftest.err conftest.$ac_objext \ 34505 conftest$ac_exeext conftest.$ac_ext 34506LIBS=$ac_check_lib_save_LIBS 34507fi 34508{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream" >&5 34509$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream" >&6; } 34510if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream" = xyes; then : 34511 ac_cv_libuna_dummy=yes 34512else 34513 ac_cv_libuna=no 34514fi 34515 34516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf8_stream in -luna" >&5 34517$as_echo_n "checking for libuna_utf32_string_copy_from_utf8_stream in -luna... " >&6; } 34518if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream+:} false; then : 34519 $as_echo_n "(cached) " >&6 34520else 34521 ac_check_lib_save_LIBS=$LIBS 34522LIBS="-luna $LIBS" 34523cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34524/* end confdefs.h. */ 34525 34526/* Override any GCC internal prototype to avoid an error. 34527 Use char because int might match the return type of a GCC 34528 builtin and then its argument prototype would still apply. */ 34529#ifdef __cplusplus 34530extern "C" 34531#endif 34532char libuna_utf32_string_copy_from_utf8_stream (); 34533int 34534main () 34535{ 34536return libuna_utf32_string_copy_from_utf8_stream (); 34537 ; 34538 return 0; 34539} 34540_ACEOF 34541if ac_fn_c_try_link "$LINENO"; then : 34542 ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream=yes 34543else 34544 ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream=no 34545fi 34546rm -f core conftest.err conftest.$ac_objext \ 34547 conftest$ac_exeext conftest.$ac_ext 34548LIBS=$ac_check_lib_save_LIBS 34549fi 34550{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream" >&5 34551$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream" >&6; } 34552if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream" = xyes; then : 34553 ac_cv_libuna_dummy=yes 34554else 34555 ac_cv_libuna=no 34556fi 34557 34558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf8_stream in -luna" >&5 34559$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf8_stream in -luna... " >&6; } 34560if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream+:} false; then : 34561 $as_echo_n "(cached) " >&6 34562else 34563 ac_check_lib_save_LIBS=$LIBS 34564LIBS="-luna $LIBS" 34565cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34566/* end confdefs.h. */ 34567 34568/* Override any GCC internal prototype to avoid an error. 34569 Use char because int might match the return type of a GCC 34570 builtin and then its argument prototype would still apply. */ 34571#ifdef __cplusplus 34572extern "C" 34573#endif 34574char libuna_utf32_string_with_index_copy_from_utf8_stream (); 34575int 34576main () 34577{ 34578return libuna_utf32_string_with_index_copy_from_utf8_stream (); 34579 ; 34580 return 0; 34581} 34582_ACEOF 34583if ac_fn_c_try_link "$LINENO"; then : 34584 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream=yes 34585else 34586 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream=no 34587fi 34588rm -f core conftest.err conftest.$ac_objext \ 34589 conftest$ac_exeext conftest.$ac_ext 34590LIBS=$ac_check_lib_save_LIBS 34591fi 34592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream" >&5 34593$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream" >&6; } 34594if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream" = xyes; then : 34595 ac_cv_libuna_dummy=yes 34596else 34597 ac_cv_libuna=no 34598fi 34599 34600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf16_stream in -luna" >&5 34601$as_echo_n "checking for libuna_utf32_string_size_from_utf16_stream in -luna... " >&6; } 34602if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream+:} false; then : 34603 $as_echo_n "(cached) " >&6 34604else 34605 ac_check_lib_save_LIBS=$LIBS 34606LIBS="-luna $LIBS" 34607cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34608/* end confdefs.h. */ 34609 34610/* Override any GCC internal prototype to avoid an error. 34611 Use char because int might match the return type of a GCC 34612 builtin and then its argument prototype would still apply. */ 34613#ifdef __cplusplus 34614extern "C" 34615#endif 34616char libuna_utf32_string_size_from_utf16_stream (); 34617int 34618main () 34619{ 34620return libuna_utf32_string_size_from_utf16_stream (); 34621 ; 34622 return 0; 34623} 34624_ACEOF 34625if ac_fn_c_try_link "$LINENO"; then : 34626 ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream=yes 34627else 34628 ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream=no 34629fi 34630rm -f core conftest.err conftest.$ac_objext \ 34631 conftest$ac_exeext conftest.$ac_ext 34632LIBS=$ac_check_lib_save_LIBS 34633fi 34634{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream" >&5 34635$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream" >&6; } 34636if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream" = xyes; then : 34637 ac_cv_libuna_dummy=yes 34638else 34639 ac_cv_libuna=no 34640fi 34641 34642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf16_stream in -luna" >&5 34643$as_echo_n "checking for libuna_utf32_string_copy_from_utf16_stream in -luna... " >&6; } 34644if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream+:} false; then : 34645 $as_echo_n "(cached) " >&6 34646else 34647 ac_check_lib_save_LIBS=$LIBS 34648LIBS="-luna $LIBS" 34649cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34650/* end confdefs.h. */ 34651 34652/* Override any GCC internal prototype to avoid an error. 34653 Use char because int might match the return type of a GCC 34654 builtin and then its argument prototype would still apply. */ 34655#ifdef __cplusplus 34656extern "C" 34657#endif 34658char libuna_utf32_string_copy_from_utf16_stream (); 34659int 34660main () 34661{ 34662return libuna_utf32_string_copy_from_utf16_stream (); 34663 ; 34664 return 0; 34665} 34666_ACEOF 34667if ac_fn_c_try_link "$LINENO"; then : 34668 ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream=yes 34669else 34670 ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream=no 34671fi 34672rm -f core conftest.err conftest.$ac_objext \ 34673 conftest$ac_exeext conftest.$ac_ext 34674LIBS=$ac_check_lib_save_LIBS 34675fi 34676{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream" >&5 34677$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream" >&6; } 34678if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream" = xyes; then : 34679 ac_cv_libuna_dummy=yes 34680else 34681 ac_cv_libuna=no 34682fi 34683 34684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf16_stream in -luna" >&5 34685$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf16_stream in -luna... " >&6; } 34686if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream+:} false; then : 34687 $as_echo_n "(cached) " >&6 34688else 34689 ac_check_lib_save_LIBS=$LIBS 34690LIBS="-luna $LIBS" 34691cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34692/* end confdefs.h. */ 34693 34694/* Override any GCC internal prototype to avoid an error. 34695 Use char because int might match the return type of a GCC 34696 builtin and then its argument prototype would still apply. */ 34697#ifdef __cplusplus 34698extern "C" 34699#endif 34700char libuna_utf32_string_with_index_copy_from_utf16_stream (); 34701int 34702main () 34703{ 34704return libuna_utf32_string_with_index_copy_from_utf16_stream (); 34705 ; 34706 return 0; 34707} 34708_ACEOF 34709if ac_fn_c_try_link "$LINENO"; then : 34710 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream=yes 34711else 34712 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream=no 34713fi 34714rm -f core conftest.err conftest.$ac_objext \ 34715 conftest$ac_exeext conftest.$ac_ext 34716LIBS=$ac_check_lib_save_LIBS 34717fi 34718{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream" >&5 34719$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream" >&6; } 34720if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream" = xyes; then : 34721 ac_cv_libuna_dummy=yes 34722else 34723 ac_cv_libuna=no 34724fi 34725 34726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf32_stream in -luna" >&5 34727$as_echo_n "checking for libuna_utf32_string_size_from_utf32_stream in -luna... " >&6; } 34728if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream+:} false; then : 34729 $as_echo_n "(cached) " >&6 34730else 34731 ac_check_lib_save_LIBS=$LIBS 34732LIBS="-luna $LIBS" 34733cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34734/* end confdefs.h. */ 34735 34736/* Override any GCC internal prototype to avoid an error. 34737 Use char because int might match the return type of a GCC 34738 builtin and then its argument prototype would still apply. */ 34739#ifdef __cplusplus 34740extern "C" 34741#endif 34742char libuna_utf32_string_size_from_utf32_stream (); 34743int 34744main () 34745{ 34746return libuna_utf32_string_size_from_utf32_stream (); 34747 ; 34748 return 0; 34749} 34750_ACEOF 34751if ac_fn_c_try_link "$LINENO"; then : 34752 ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream=yes 34753else 34754 ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream=no 34755fi 34756rm -f core conftest.err conftest.$ac_objext \ 34757 conftest$ac_exeext conftest.$ac_ext 34758LIBS=$ac_check_lib_save_LIBS 34759fi 34760{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream" >&5 34761$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream" >&6; } 34762if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream" = xyes; then : 34763 ac_cv_libuna_dummy=yes 34764else 34765 ac_cv_libuna=no 34766fi 34767 34768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf32_stream in -luna" >&5 34769$as_echo_n "checking for libuna_utf32_string_copy_from_utf32_stream in -luna... " >&6; } 34770if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream+:} false; then : 34771 $as_echo_n "(cached) " >&6 34772else 34773 ac_check_lib_save_LIBS=$LIBS 34774LIBS="-luna $LIBS" 34775cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34776/* end confdefs.h. */ 34777 34778/* Override any GCC internal prototype to avoid an error. 34779 Use char because int might match the return type of a GCC 34780 builtin and then its argument prototype would still apply. */ 34781#ifdef __cplusplus 34782extern "C" 34783#endif 34784char libuna_utf32_string_copy_from_utf32_stream (); 34785int 34786main () 34787{ 34788return libuna_utf32_string_copy_from_utf32_stream (); 34789 ; 34790 return 0; 34791} 34792_ACEOF 34793if ac_fn_c_try_link "$LINENO"; then : 34794 ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream=yes 34795else 34796 ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream=no 34797fi 34798rm -f core conftest.err conftest.$ac_objext \ 34799 conftest$ac_exeext conftest.$ac_ext 34800LIBS=$ac_check_lib_save_LIBS 34801fi 34802{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream" >&5 34803$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream" >&6; } 34804if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream" = xyes; then : 34805 ac_cv_libuna_dummy=yes 34806else 34807 ac_cv_libuna=no 34808fi 34809 34810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf32_stream in -luna" >&5 34811$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf32_stream in -luna... " >&6; } 34812if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream+:} false; then : 34813 $as_echo_n "(cached) " >&6 34814else 34815 ac_check_lib_save_LIBS=$LIBS 34816LIBS="-luna $LIBS" 34817cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34818/* end confdefs.h. */ 34819 34820/* Override any GCC internal prototype to avoid an error. 34821 Use char because int might match the return type of a GCC 34822 builtin and then its argument prototype would still apply. */ 34823#ifdef __cplusplus 34824extern "C" 34825#endif 34826char libuna_utf32_string_with_index_copy_from_utf32_stream (); 34827int 34828main () 34829{ 34830return libuna_utf32_string_with_index_copy_from_utf32_stream (); 34831 ; 34832 return 0; 34833} 34834_ACEOF 34835if ac_fn_c_try_link "$LINENO"; then : 34836 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream=yes 34837else 34838 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream=no 34839fi 34840rm -f core conftest.err conftest.$ac_objext \ 34841 conftest$ac_exeext conftest.$ac_ext 34842LIBS=$ac_check_lib_save_LIBS 34843fi 34844{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream" >&5 34845$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream" >&6; } 34846if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream" = xyes; then : 34847 ac_cv_libuna_dummy=yes 34848else 34849 ac_cv_libuna=no 34850fi 34851 34852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf8 in -luna" >&5 34853$as_echo_n "checking for libuna_utf32_string_size_from_utf8 in -luna... " >&6; } 34854if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf8+:} false; then : 34855 $as_echo_n "(cached) " >&6 34856else 34857 ac_check_lib_save_LIBS=$LIBS 34858LIBS="-luna $LIBS" 34859cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34860/* end confdefs.h. */ 34861 34862/* Override any GCC internal prototype to avoid an error. 34863 Use char because int might match the return type of a GCC 34864 builtin and then its argument prototype would still apply. */ 34865#ifdef __cplusplus 34866extern "C" 34867#endif 34868char libuna_utf32_string_size_from_utf8 (); 34869int 34870main () 34871{ 34872return libuna_utf32_string_size_from_utf8 (); 34873 ; 34874 return 0; 34875} 34876_ACEOF 34877if ac_fn_c_try_link "$LINENO"; then : 34878 ac_cv_lib_una_libuna_utf32_string_size_from_utf8=yes 34879else 34880 ac_cv_lib_una_libuna_utf32_string_size_from_utf8=no 34881fi 34882rm -f core conftest.err conftest.$ac_objext \ 34883 conftest$ac_exeext conftest.$ac_ext 34884LIBS=$ac_check_lib_save_LIBS 34885fi 34886{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf8" >&5 34887$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf8" >&6; } 34888if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf8" = xyes; then : 34889 ac_cv_libuna_dummy=yes 34890else 34891 ac_cv_libuna=no 34892fi 34893 34894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf8 in -luna" >&5 34895$as_echo_n "checking for libuna_utf32_string_copy_from_utf8 in -luna... " >&6; } 34896if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf8+:} false; then : 34897 $as_echo_n "(cached) " >&6 34898else 34899 ac_check_lib_save_LIBS=$LIBS 34900LIBS="-luna $LIBS" 34901cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34902/* end confdefs.h. */ 34903 34904/* Override any GCC internal prototype to avoid an error. 34905 Use char because int might match the return type of a GCC 34906 builtin and then its argument prototype would still apply. */ 34907#ifdef __cplusplus 34908extern "C" 34909#endif 34910char libuna_utf32_string_copy_from_utf8 (); 34911int 34912main () 34913{ 34914return libuna_utf32_string_copy_from_utf8 (); 34915 ; 34916 return 0; 34917} 34918_ACEOF 34919if ac_fn_c_try_link "$LINENO"; then : 34920 ac_cv_lib_una_libuna_utf32_string_copy_from_utf8=yes 34921else 34922 ac_cv_lib_una_libuna_utf32_string_copy_from_utf8=no 34923fi 34924rm -f core conftest.err conftest.$ac_objext \ 34925 conftest$ac_exeext conftest.$ac_ext 34926LIBS=$ac_check_lib_save_LIBS 34927fi 34928{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf8" >&5 34929$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8" >&6; } 34930if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8" = xyes; then : 34931 ac_cv_libuna_dummy=yes 34932else 34933 ac_cv_libuna=no 34934fi 34935 34936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ac_cv_libuna_dummy=yes in -llibuna_utf32_string_with_index_copy_from_utf8" >&5 34937$as_echo_n "checking for ac_cv_libuna_dummy=yes in -llibuna_utf32_string_with_index_copy_from_utf8... " >&6; } 34938if ${ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes+:} false; then : 34939 $as_echo_n "(cached) " >&6 34940else 34941 ac_check_lib_save_LIBS=$LIBS 34942LIBS="-llibuna_utf32_string_with_index_copy_from_utf8 $LIBS" 34943cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34944/* end confdefs.h. */ 34945 34946/* Override any GCC internal prototype to avoid an error. 34947 Use char because int might match the return type of a GCC 34948 builtin and then its argument prototype would still apply. */ 34949#ifdef __cplusplus 34950extern "C" 34951#endif 34952char ac_cv_libuna_dummy=yes (); 34953int 34954main () 34955{ 34956return ac_cv_libuna_dummy=yes (); 34957 ; 34958 return 0; 34959} 34960_ACEOF 34961if ac_fn_c_try_link "$LINENO"; then : 34962 ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes=yes 34963else 34964 ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes=no 34965fi 34966rm -f core conftest.err conftest.$ac_objext \ 34967 conftest$ac_exeext conftest.$ac_ext 34968LIBS=$ac_check_lib_save_LIBS 34969fi 34970{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes" >&5 34971$as_echo "$ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes" >&6; } 34972if test "x$ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes" = xyes; then : 34973 ac_cv_libuna=no 34974fi 34975 34976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf16 in -luna" >&5 34977$as_echo_n "checking for libuna_utf32_string_size_from_utf16 in -luna... " >&6; } 34978if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf16+:} false; then : 34979 $as_echo_n "(cached) " >&6 34980else 34981 ac_check_lib_save_LIBS=$LIBS 34982LIBS="-luna $LIBS" 34983cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34984/* end confdefs.h. */ 34985 34986/* Override any GCC internal prototype to avoid an error. 34987 Use char because int might match the return type of a GCC 34988 builtin and then its argument prototype would still apply. */ 34989#ifdef __cplusplus 34990extern "C" 34991#endif 34992char libuna_utf32_string_size_from_utf16 (); 34993int 34994main () 34995{ 34996return libuna_utf32_string_size_from_utf16 (); 34997 ; 34998 return 0; 34999} 35000_ACEOF 35001if ac_fn_c_try_link "$LINENO"; then : 35002 ac_cv_lib_una_libuna_utf32_string_size_from_utf16=yes 35003else 35004 ac_cv_lib_una_libuna_utf32_string_size_from_utf16=no 35005fi 35006rm -f core conftest.err conftest.$ac_objext \ 35007 conftest$ac_exeext conftest.$ac_ext 35008LIBS=$ac_check_lib_save_LIBS 35009fi 35010{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf16" >&5 35011$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf16" >&6; } 35012if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf16" = xyes; then : 35013 ac_cv_libuna_dummy=yes 35014else 35015 ac_cv_libuna=no 35016fi 35017 35018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf16 in -luna" >&5 35019$as_echo_n "checking for libuna_utf32_string_copy_from_utf16 in -luna... " >&6; } 35020if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf16+:} false; then : 35021 $as_echo_n "(cached) " >&6 35022else 35023 ac_check_lib_save_LIBS=$LIBS 35024LIBS="-luna $LIBS" 35025cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35026/* end confdefs.h. */ 35027 35028/* Override any GCC internal prototype to avoid an error. 35029 Use char because int might match the return type of a GCC 35030 builtin and then its argument prototype would still apply. */ 35031#ifdef __cplusplus 35032extern "C" 35033#endif 35034char libuna_utf32_string_copy_from_utf16 (); 35035int 35036main () 35037{ 35038return libuna_utf32_string_copy_from_utf16 (); 35039 ; 35040 return 0; 35041} 35042_ACEOF 35043if ac_fn_c_try_link "$LINENO"; then : 35044 ac_cv_lib_una_libuna_utf32_string_copy_from_utf16=yes 35045else 35046 ac_cv_lib_una_libuna_utf32_string_copy_from_utf16=no 35047fi 35048rm -f core conftest.err conftest.$ac_objext \ 35049 conftest$ac_exeext conftest.$ac_ext 35050LIBS=$ac_check_lib_save_LIBS 35051fi 35052{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf16" >&5 35053$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16" >&6; } 35054if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16" = xyes; then : 35055 ac_cv_libuna_dummy=yes 35056else 35057 ac_cv_libuna=no 35058fi 35059 35060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf16 in -luna" >&5 35061$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf16 in -luna... " >&6; } 35062if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16+:} false; then : 35063 $as_echo_n "(cached) " >&6 35064else 35065 ac_check_lib_save_LIBS=$LIBS 35066LIBS="-luna $LIBS" 35067cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35068/* end confdefs.h. */ 35069 35070/* Override any GCC internal prototype to avoid an error. 35071 Use char because int might match the return type of a GCC 35072 builtin and then its argument prototype would still apply. */ 35073#ifdef __cplusplus 35074extern "C" 35075#endif 35076char libuna_utf32_string_with_index_copy_from_utf16 (); 35077int 35078main () 35079{ 35080return libuna_utf32_string_with_index_copy_from_utf16 (); 35081 ; 35082 return 0; 35083} 35084_ACEOF 35085if ac_fn_c_try_link "$LINENO"; then : 35086 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16=yes 35087else 35088 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16=no 35089fi 35090rm -f core conftest.err conftest.$ac_objext \ 35091 conftest$ac_exeext conftest.$ac_ext 35092LIBS=$ac_check_lib_save_LIBS 35093fi 35094{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16" >&5 35095$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16" >&6; } 35096if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16" = xyes; then : 35097 ac_cv_libuna_dummy=yes 35098else 35099 ac_cv_libuna=no 35100fi 35101 35102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_scsu_stream in -luna" >&5 35103$as_echo_n "checking for libuna_utf32_string_size_from_scsu_stream in -luna... " >&6; } 35104if ${ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream+:} false; then : 35105 $as_echo_n "(cached) " >&6 35106else 35107 ac_check_lib_save_LIBS=$LIBS 35108LIBS="-luna $LIBS" 35109cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35110/* end confdefs.h. */ 35111 35112/* Override any GCC internal prototype to avoid an error. 35113 Use char because int might match the return type of a GCC 35114 builtin and then its argument prototype would still apply. */ 35115#ifdef __cplusplus 35116extern "C" 35117#endif 35118char libuna_utf32_string_size_from_scsu_stream (); 35119int 35120main () 35121{ 35122return libuna_utf32_string_size_from_scsu_stream (); 35123 ; 35124 return 0; 35125} 35126_ACEOF 35127if ac_fn_c_try_link "$LINENO"; then : 35128 ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream=yes 35129else 35130 ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream=no 35131fi 35132rm -f core conftest.err conftest.$ac_objext \ 35133 conftest$ac_exeext conftest.$ac_ext 35134LIBS=$ac_check_lib_save_LIBS 35135fi 35136{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream" >&5 35137$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream" >&6; } 35138if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream" = xyes; then : 35139 ac_cv_libuna_dummy=yes 35140else 35141 ac_cv_libuna=no 35142fi 35143 35144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_scsu_stream in -luna" >&5 35145$as_echo_n "checking for libuna_utf32_string_copy_from_scsu_stream in -luna... " >&6; } 35146if ${ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream+:} false; then : 35147 $as_echo_n "(cached) " >&6 35148else 35149 ac_check_lib_save_LIBS=$LIBS 35150LIBS="-luna $LIBS" 35151cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35152/* end confdefs.h. */ 35153 35154/* Override any GCC internal prototype to avoid an error. 35155 Use char because int might match the return type of a GCC 35156 builtin and then its argument prototype would still apply. */ 35157#ifdef __cplusplus 35158extern "C" 35159#endif 35160char libuna_utf32_string_copy_from_scsu_stream (); 35161int 35162main () 35163{ 35164return libuna_utf32_string_copy_from_scsu_stream (); 35165 ; 35166 return 0; 35167} 35168_ACEOF 35169if ac_fn_c_try_link "$LINENO"; then : 35170 ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream=yes 35171else 35172 ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream=no 35173fi 35174rm -f core conftest.err conftest.$ac_objext \ 35175 conftest$ac_exeext conftest.$ac_ext 35176LIBS=$ac_check_lib_save_LIBS 35177fi 35178{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream" >&5 35179$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream" >&6; } 35180if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream" = xyes; then : 35181 ac_cv_libuna_dummy=yes 35182else 35183 ac_cv_libuna=no 35184fi 35185 35186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_scsu_stream in -luna" >&5 35187$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_scsu_stream in -luna... " >&6; } 35188if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream+:} false; then : 35189 $as_echo_n "(cached) " >&6 35190else 35191 ac_check_lib_save_LIBS=$LIBS 35192LIBS="-luna $LIBS" 35193cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35194/* end confdefs.h. */ 35195 35196/* Override any GCC internal prototype to avoid an error. 35197 Use char because int might match the return type of a GCC 35198 builtin and then its argument prototype would still apply. */ 35199#ifdef __cplusplus 35200extern "C" 35201#endif 35202char libuna_utf32_string_with_index_copy_from_scsu_stream (); 35203int 35204main () 35205{ 35206return libuna_utf32_string_with_index_copy_from_scsu_stream (); 35207 ; 35208 return 0; 35209} 35210_ACEOF 35211if ac_fn_c_try_link "$LINENO"; then : 35212 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream=yes 35213else 35214 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream=no 35215fi 35216rm -f core conftest.err conftest.$ac_objext \ 35217 conftest$ac_exeext conftest.$ac_ext 35218LIBS=$ac_check_lib_save_LIBS 35219fi 35220{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream" >&5 35221$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream" >&6; } 35222if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream" = xyes; then : 35223 ac_cv_libuna_dummy=yes 35224else 35225 ac_cv_libuna=no 35226fi 35227 35228 35229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \`LIBUNA_COMPARE_LESS' is defined" >&5 35230$as_echo_n "checking if \`LIBUNA_COMPARE_LESS' is defined... " >&6; } 35231if ${ac_cv_libuna_defines_compare_less+:} false; then : 35232 $as_echo_n "(cached) " >&6 35233else 35234 ac_ext=c 35235ac_cpp='$CPP $CPPFLAGS' 35236ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35237ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35238ac_compiler_gnu=$ac_cv_c_compiler_gnu 35239 35240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35241/* end confdefs.h. */ 35242#include <libuna.h> 35243int 35244main () 35245{ 35246int test = LIBUNA_COMPARE_LESS; 35247 35248return( 0 ); 35249 ; 35250 return 0; 35251} 35252_ACEOF 35253if ac_fn_c_try_link "$LINENO"; then : 35254 ac_cv_libuna_defines_compare_less=yes 35255else 35256 ac_cv_libuna_defines_compare_less=no 35257fi 35258rm -f core conftest.err conftest.$ac_objext \ 35259 conftest$ac_exeext conftest.$ac_ext 35260 ac_ext=c 35261ac_cpp='$CPP $CPPFLAGS' 35262ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35263ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35264ac_compiler_gnu=$ac_cv_c_compiler_gnu 35265 35266fi 35267{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libuna_defines_compare_less" >&5 35268$as_echo "$ac_cv_libuna_defines_compare_less" >&6; } 35269 35270 if test "x$ac_cv_libuna_defines_compare_less" != xyes; then : 35271 ac_cv_libuna=no 35272fi 35273 35274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \`LIBUNA_COMPARE_EQUAL' is defined" >&5 35275$as_echo_n "checking if \`LIBUNA_COMPARE_EQUAL' is defined... " >&6; } 35276if ${ac_cv_libuna_defines_compare_equal+:} false; then : 35277 $as_echo_n "(cached) " >&6 35278else 35279 ac_ext=c 35280ac_cpp='$CPP $CPPFLAGS' 35281ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35282ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35283ac_compiler_gnu=$ac_cv_c_compiler_gnu 35284 35285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35286/* end confdefs.h. */ 35287#include <libuna.h> 35288int 35289main () 35290{ 35291int test = LIBUNA_COMPARE_EQUAL; 35292 35293return( 0 ); 35294 ; 35295 return 0; 35296} 35297_ACEOF 35298if ac_fn_c_try_link "$LINENO"; then : 35299 ac_cv_libuna_defines_compare_equal=yes 35300else 35301 ac_cv_libuna_defines_compare_equal=no 35302fi 35303rm -f core conftest.err conftest.$ac_objext \ 35304 conftest$ac_exeext conftest.$ac_ext 35305 ac_ext=c 35306ac_cpp='$CPP $CPPFLAGS' 35307ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35308ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35309ac_compiler_gnu=$ac_cv_c_compiler_gnu 35310 35311fi 35312{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libuna_defines_compare_equal" >&5 35313$as_echo "$ac_cv_libuna_defines_compare_equal" >&6; } 35314 35315 if test "x$ac_cv_libuna_defines_compare_less" != xyes; then : 35316 ac_cv_libuna=no 35317fi 35318 35319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \`LIBUNA_COMPARE_GREATER' is defined" >&5 35320$as_echo_n "checking if \`LIBUNA_COMPARE_GREATER' is defined... " >&6; } 35321if ${ac_cv_libuna_defines_compare_greater+:} false; then : 35322 $as_echo_n "(cached) " >&6 35323else 35324 ac_ext=c 35325ac_cpp='$CPP $CPPFLAGS' 35326ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35327ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35328ac_compiler_gnu=$ac_cv_c_compiler_gnu 35329 35330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35331/* end confdefs.h. */ 35332#include <libuna.h> 35333int 35334main () 35335{ 35336int test = LIBUNA_COMPARE_GREATER; 35337 35338return( 0 ); 35339 ; 35340 return 0; 35341} 35342_ACEOF 35343if ac_fn_c_try_link "$LINENO"; then : 35344 ac_cv_libuna_defines_compare_greater=yes 35345else 35346 ac_cv_libuna_defines_compare_greater=no 35347fi 35348rm -f core conftest.err conftest.$ac_objext \ 35349 conftest$ac_exeext conftest.$ac_ext 35350 ac_ext=c 35351ac_cpp='$CPP $CPPFLAGS' 35352ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35353ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35354ac_compiler_gnu=$ac_cv_c_compiler_gnu 35355 35356fi 35357{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libuna_defines_compare_greater" >&5 35358$as_echo "$ac_cv_libuna_defines_compare_greater" >&6; } 35359 35360 if test "x$ac_cv_libuna_defines_compare_less" != xyes; then : 35361 ac_cv_libuna=no 35362fi 35363 35364 ac_cv_libuna_LIBADD="-luna" 35365fi 35366 35367fi 35368 if test "x$ac_cv_with_libuna" != x && test "x$ac_cv_with_libuna" != xauto-detect && test "x$ac_cv_libuna" != xyes; then : 35369 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 35370$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 35371as_fn_error 1 "unable to find supported libuna in directory: $ac_cv_with_libuna 35372See \`config.log' for more details" "$LINENO" 5; } 35373 35374fi 35375 35376fi 35377 35378 if test "x$ac_cv_libuna" = xyes; then : 35379 35380$as_echo "#define HAVE_LIBUNA 1" >>confdefs.h 35381 35382 35383fi 35384 35385 if test "x$ac_cv_libuna" = xyes; then : 35386 HAVE_LIBUNA=1 35387 35388else 35389 HAVE_LIBUNA=0 35390 35391 35392fi 35393 35394 35395 if test "x$ac_cv_libuna" != xyes; then : 35396 35397 ac_cv_libuna_CPPFLAGS="-I../libuna"; 35398 ac_cv_libuna_LIBADD="../libuna/libuna.la"; 35399 35400 ac_cv_libuna=local 35401 35402 35403 35404$as_echo "#define HAVE_LOCAL_LIBUNA 1" >>confdefs.h 35405 35406 HAVE_LOCAL_LIBUNA=1 35407 35408 35409fi 35410 35411 if test "x$ac_cv_libuna" = xlocal; then 35412 HAVE_LOCAL_LIBUNA_TRUE= 35413 HAVE_LOCAL_LIBUNA_FALSE='#' 35414else 35415 HAVE_LOCAL_LIBUNA_TRUE='#' 35416 HAVE_LOCAL_LIBUNA_FALSE= 35417fi 35418 35419 if test "x$ac_cv_libuna_CPPFLAGS" != "x"; then : 35420 LIBUNA_CPPFLAGS=$ac_cv_libuna_CPPFLAGS 35421 35422 35423fi 35424 if test "x$ac_cv_libuna_LIBADD" != "x"; then : 35425 LIBUNA_LIBADD=$ac_cv_libuna_LIBADD 35426 35427 35428fi 35429 35430 if test "x$ac_cv_libuna" = xyes; then : 35431 ax_libuna_pc_libs_private=-luna 35432 35433 35434fi 35435 35436 if test "x$ac_cv_libuna" = xyes; then : 35437 ax_libuna_spec_requires=libuna 35438 35439 ax_libuna_spec_build_requires=libuna-devel 35440 35441 35442fi 35443 35444 35445 35446 35447# Check whether --with-libcfile was given. 35448if test "${with_libcfile+set}" = set; then : 35449 withval=$with_libcfile; ac_cv_with_libcfile=$withval 35450else 35451 ac_cv_with_libcfile=auto-detect 35452fi 35453 35454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use search for libcfile in includedir and libdir or in the specified DIR, or no if to use local version" >&5 35455$as_echo_n "checking whether to use search for libcfile in includedir and libdir or in the specified DIR, or no if to use local version... " >&6; } 35456if ${ac_cv_with_libcfile+:} false; then : 35457 $as_echo_n "(cached) " >&6 35458else 35459 ac_cv_with_libcfile=auto-detect 35460fi 35461{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcfile" >&5 35462$as_echo "$ac_cv_with_libcfile" >&6; } 35463 35464 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcfile" = xno; then : 35465 ac_cv_libcfile=no 35466else 35467 ac_cv_libcfile=check 35468 if test "x$ac_cv_with_libcfile" != x && test "x$ac_cv_with_libcfile" != xauto-detect; then : 35469 if test -d "$ac_cv_with_libcfile"; then : 35470 CFLAGS="$CFLAGS -I${ac_cv_with_libcfile}/include" 35471 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcfile}/lib" 35472else 35473 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 35474$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 35475as_fn_error 1 "no such directory: $ac_cv_with_libcfile 35476See \`config.log' for more details" "$LINENO" 5; } 35477 35478fi 35479 35480else 35481 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 35482 35483pkg_failed=no 35484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile" >&5 35485$as_echo_n "checking for libcfile... " >&6; } 35486 35487if test -n "$libcfile_CFLAGS"; then 35488 pkg_cv_libcfile_CFLAGS="$libcfile_CFLAGS" 35489 elif test -n "$PKG_CONFIG"; then 35490 if test -n "$PKG_CONFIG" && \ 35491 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcfile >= 20160409\""; } >&5 35492 ($PKG_CONFIG --exists --print-errors "libcfile >= 20160409") 2>&5 35493 ac_status=$? 35494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 35495 test $ac_status = 0; }; then 35496 pkg_cv_libcfile_CFLAGS=`$PKG_CONFIG --cflags "libcfile >= 20160409" 2>/dev/null` 35497 test "x$?" != "x0" && pkg_failed=yes 35498else 35499 pkg_failed=yes 35500fi 35501 else 35502 pkg_failed=untried 35503fi 35504if test -n "$libcfile_LIBS"; then 35505 pkg_cv_libcfile_LIBS="$libcfile_LIBS" 35506 elif test -n "$PKG_CONFIG"; then 35507 if test -n "$PKG_CONFIG" && \ 35508 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcfile >= 20160409\""; } >&5 35509 ($PKG_CONFIG --exists --print-errors "libcfile >= 20160409") 2>&5 35510 ac_status=$? 35511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 35512 test $ac_status = 0; }; then 35513 pkg_cv_libcfile_LIBS=`$PKG_CONFIG --libs "libcfile >= 20160409" 2>/dev/null` 35514 test "x$?" != "x0" && pkg_failed=yes 35515else 35516 pkg_failed=yes 35517fi 35518 else 35519 pkg_failed=untried 35520fi 35521 35522 35523 35524if test $pkg_failed = yes; then 35525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 35526$as_echo "no" >&6; } 35527 35528if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 35529 _pkg_short_errors_supported=yes 35530else 35531 _pkg_short_errors_supported=no 35532fi 35533 if test $_pkg_short_errors_supported = yes; then 35534 libcfile_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcfile >= 20160409" 2>&1` 35535 else 35536 libcfile_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcfile >= 20160409" 2>&1` 35537 fi 35538 # Put the nasty error message in config.log where it belongs 35539 echo "$libcfile_PKG_ERRORS" >&5 35540 35541 ac_cv_libcfile=check 35542elif test $pkg_failed = untried; then 35543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 35544$as_echo "no" >&6; } 35545 ac_cv_libcfile=check 35546else 35547 libcfile_CFLAGS=$pkg_cv_libcfile_CFLAGS 35548 libcfile_LIBS=$pkg_cv_libcfile_LIBS 35549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 35550$as_echo "yes" >&6; } 35551 ac_cv_libcfile=yes 35552fi 35553 35554fi 35555 if test "x$ac_cv_libcfile" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then : 35556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcfile/features.h defines LIBCFILE_HAVE_WIDE_CHARACTER_TYPE as 1" >&5 35557$as_echo_n "checking whether libcfile/features.h defines LIBCFILE_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; } 35558if ${ac_cv_header_libcfile_features_h_have_wide_character_type+:} false; then : 35559 $as_echo_n "(cached) " >&6 35560else 35561 ac_ext=c 35562ac_cpp='$CPP $CPPFLAGS' 35563ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35564ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35565ac_compiler_gnu=$ac_cv_c_compiler_gnu 35566 35567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35568/* end confdefs.h. */ 35569#include <libcfile/features.h> 35570int 35571main () 35572{ 35573#if !defined( LIBCFILE_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCFILE_HAVE_WIDE_CHARACTER_TYPE != 1 ) 35574#error LIBCFILE_HAVE_WIDE_CHARACTER_TYPE not defined 35575#endif 35576 ; 35577 return 0; 35578} 35579_ACEOF 35580if ac_fn_c_try_compile "$LINENO"; then : 35581 ac_cv_header_libcfile_features_h_have_wide_character_type=yes 35582else 35583 ac_cv_header_libcfile_features_h_have_wide_character_type=no 35584fi 35585rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 35586 ac_ext=c 35587ac_cpp='$CPP $CPPFLAGS' 35588ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35589ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35590ac_compiler_gnu=$ac_cv_c_compiler_gnu 35591 35592fi 35593{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libcfile_features_h_have_wide_character_type" >&5 35594$as_echo "$ac_cv_header_libcfile_features_h_have_wide_character_type" >&6; } 35595 35596 if test "x$ac_cv_header_libcfile_features_h_have_wide_character_type" = xno; then : 35597 ac_cv_libcfile=no 35598fi 35599 35600fi 35601 if test "x$ac_cv_libcfile" = xyes; then : 35602 ac_cv_libcfile_CPPFLAGS="$pkg_cv_libcfile_CFLAGS" 35603 ac_cv_libcfile_LIBADD="$pkg_cv_libcfile_LIBS" 35604fi 35605 35606fi 35607 35608 if test "x$ac_cv_libcfile" = xcheck; then : 35609 for ac_header in libcfile.h 35610do : 35611 ac_fn_c_check_header_mongrel "$LINENO" "libcfile.h" "ac_cv_header_libcfile_h" "$ac_includes_default" 35612if test "x$ac_cv_header_libcfile_h" = xyes; then : 35613 cat >>confdefs.h <<_ACEOF 35614#define HAVE_LIBCFILE_H 1 35615_ACEOF 35616 35617fi 35618 35619done 35620 35621 35622 if test "x$ac_cv_header_libcfile_h" = xno; then : 35623 ac_cv_libcfile=no 35624else 35625 ac_cv_libcfile=yes 35626 35627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_get_version in -lcfile" >&5 35628$as_echo_n "checking for libcfile_get_version in -lcfile... " >&6; } 35629if ${ac_cv_lib_cfile_libcfile_get_version+:} false; then : 35630 $as_echo_n "(cached) " >&6 35631else 35632 ac_check_lib_save_LIBS=$LIBS 35633LIBS="-lcfile $LIBS" 35634cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35635/* end confdefs.h. */ 35636 35637/* Override any GCC internal prototype to avoid an error. 35638 Use char because int might match the return type of a GCC 35639 builtin and then its argument prototype would still apply. */ 35640#ifdef __cplusplus 35641extern "C" 35642#endif 35643char libcfile_get_version (); 35644int 35645main () 35646{ 35647return libcfile_get_version (); 35648 ; 35649 return 0; 35650} 35651_ACEOF 35652if ac_fn_c_try_link "$LINENO"; then : 35653 ac_cv_lib_cfile_libcfile_get_version=yes 35654else 35655 ac_cv_lib_cfile_libcfile_get_version=no 35656fi 35657rm -f core conftest.err conftest.$ac_objext \ 35658 conftest$ac_exeext conftest.$ac_ext 35659LIBS=$ac_check_lib_save_LIBS 35660fi 35661{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_get_version" >&5 35662$as_echo "$ac_cv_lib_cfile_libcfile_get_version" >&6; } 35663if test "x$ac_cv_lib_cfile_libcfile_get_version" = xyes; then : 35664 ac_cv_libcfile_dummy=yes 35665else 35666 ac_cv_libcfile=no 35667fi 35668 35669 35670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_initialize in -lcfile" >&5 35671$as_echo_n "checking for libcfile_file_initialize in -lcfile... " >&6; } 35672if ${ac_cv_lib_cfile_libcfile_file_initialize+:} false; then : 35673 $as_echo_n "(cached) " >&6 35674else 35675 ac_check_lib_save_LIBS=$LIBS 35676LIBS="-lcfile $LIBS" 35677cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35678/* end confdefs.h. */ 35679 35680/* Override any GCC internal prototype to avoid an error. 35681 Use char because int might match the return type of a GCC 35682 builtin and then its argument prototype would still apply. */ 35683#ifdef __cplusplus 35684extern "C" 35685#endif 35686char libcfile_file_initialize (); 35687int 35688main () 35689{ 35690return libcfile_file_initialize (); 35691 ; 35692 return 0; 35693} 35694_ACEOF 35695if ac_fn_c_try_link "$LINENO"; then : 35696 ac_cv_lib_cfile_libcfile_file_initialize=yes 35697else 35698 ac_cv_lib_cfile_libcfile_file_initialize=no 35699fi 35700rm -f core conftest.err conftest.$ac_objext \ 35701 conftest$ac_exeext conftest.$ac_ext 35702LIBS=$ac_check_lib_save_LIBS 35703fi 35704{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_initialize" >&5 35705$as_echo "$ac_cv_lib_cfile_libcfile_file_initialize" >&6; } 35706if test "x$ac_cv_lib_cfile_libcfile_file_initialize" = xyes; then : 35707 ac_cv_libcfile_dummy=yes 35708else 35709 ac_cv_libcfile=no 35710fi 35711 35712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_free in -lcfile" >&5 35713$as_echo_n "checking for libcfile_file_free in -lcfile... " >&6; } 35714if ${ac_cv_lib_cfile_libcfile_file_free+:} false; then : 35715 $as_echo_n "(cached) " >&6 35716else 35717 ac_check_lib_save_LIBS=$LIBS 35718LIBS="-lcfile $LIBS" 35719cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35720/* end confdefs.h. */ 35721 35722/* Override any GCC internal prototype to avoid an error. 35723 Use char because int might match the return type of a GCC 35724 builtin and then its argument prototype would still apply. */ 35725#ifdef __cplusplus 35726extern "C" 35727#endif 35728char libcfile_file_free (); 35729int 35730main () 35731{ 35732return libcfile_file_free (); 35733 ; 35734 return 0; 35735} 35736_ACEOF 35737if ac_fn_c_try_link "$LINENO"; then : 35738 ac_cv_lib_cfile_libcfile_file_free=yes 35739else 35740 ac_cv_lib_cfile_libcfile_file_free=no 35741fi 35742rm -f core conftest.err conftest.$ac_objext \ 35743 conftest$ac_exeext conftest.$ac_ext 35744LIBS=$ac_check_lib_save_LIBS 35745fi 35746{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_free" >&5 35747$as_echo "$ac_cv_lib_cfile_libcfile_file_free" >&6; } 35748if test "x$ac_cv_lib_cfile_libcfile_file_free" = xyes; then : 35749 ac_cv_libcfile_dummy=yes 35750else 35751 ac_cv_libcfile=no 35752fi 35753 35754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open in -lcfile" >&5 35755$as_echo_n "checking for libcfile_file_open in -lcfile... " >&6; } 35756if ${ac_cv_lib_cfile_libcfile_file_open+:} false; then : 35757 $as_echo_n "(cached) " >&6 35758else 35759 ac_check_lib_save_LIBS=$LIBS 35760LIBS="-lcfile $LIBS" 35761cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35762/* end confdefs.h. */ 35763 35764/* Override any GCC internal prototype to avoid an error. 35765 Use char because int might match the return type of a GCC 35766 builtin and then its argument prototype would still apply. */ 35767#ifdef __cplusplus 35768extern "C" 35769#endif 35770char libcfile_file_open (); 35771int 35772main () 35773{ 35774return libcfile_file_open (); 35775 ; 35776 return 0; 35777} 35778_ACEOF 35779if ac_fn_c_try_link "$LINENO"; then : 35780 ac_cv_lib_cfile_libcfile_file_open=yes 35781else 35782 ac_cv_lib_cfile_libcfile_file_open=no 35783fi 35784rm -f core conftest.err conftest.$ac_objext \ 35785 conftest$ac_exeext conftest.$ac_ext 35786LIBS=$ac_check_lib_save_LIBS 35787fi 35788{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open" >&5 35789$as_echo "$ac_cv_lib_cfile_libcfile_file_open" >&6; } 35790if test "x$ac_cv_lib_cfile_libcfile_file_open" = xyes; then : 35791 ac_cv_libcfile_dummy=yes 35792else 35793 ac_cv_libcfile=no 35794fi 35795 35796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open_with_error_code in -lcfile" >&5 35797$as_echo_n "checking for libcfile_file_open_with_error_code in -lcfile... " >&6; } 35798if ${ac_cv_lib_cfile_libcfile_file_open_with_error_code+:} false; then : 35799 $as_echo_n "(cached) " >&6 35800else 35801 ac_check_lib_save_LIBS=$LIBS 35802LIBS="-lcfile $LIBS" 35803cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35804/* end confdefs.h. */ 35805 35806/* Override any GCC internal prototype to avoid an error. 35807 Use char because int might match the return type of a GCC 35808 builtin and then its argument prototype would still apply. */ 35809#ifdef __cplusplus 35810extern "C" 35811#endif 35812char libcfile_file_open_with_error_code (); 35813int 35814main () 35815{ 35816return libcfile_file_open_with_error_code (); 35817 ; 35818 return 0; 35819} 35820_ACEOF 35821if ac_fn_c_try_link "$LINENO"; then : 35822 ac_cv_lib_cfile_libcfile_file_open_with_error_code=yes 35823else 35824 ac_cv_lib_cfile_libcfile_file_open_with_error_code=no 35825fi 35826rm -f core conftest.err conftest.$ac_objext \ 35827 conftest$ac_exeext conftest.$ac_ext 35828LIBS=$ac_check_lib_save_LIBS 35829fi 35830{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open_with_error_code" >&5 35831$as_echo "$ac_cv_lib_cfile_libcfile_file_open_with_error_code" >&6; } 35832if test "x$ac_cv_lib_cfile_libcfile_file_open_with_error_code" = xyes; then : 35833 ac_cv_libcfile_dummy=yes 35834else 35835 ac_cv_libcfile=no 35836fi 35837 35838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_close in -lcfile" >&5 35839$as_echo_n "checking for libcfile_file_close in -lcfile... " >&6; } 35840if ${ac_cv_lib_cfile_libcfile_file_close+:} false; then : 35841 $as_echo_n "(cached) " >&6 35842else 35843 ac_check_lib_save_LIBS=$LIBS 35844LIBS="-lcfile $LIBS" 35845cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35846/* end confdefs.h. */ 35847 35848/* Override any GCC internal prototype to avoid an error. 35849 Use char because int might match the return type of a GCC 35850 builtin and then its argument prototype would still apply. */ 35851#ifdef __cplusplus 35852extern "C" 35853#endif 35854char libcfile_file_close (); 35855int 35856main () 35857{ 35858return libcfile_file_close (); 35859 ; 35860 return 0; 35861} 35862_ACEOF 35863if ac_fn_c_try_link "$LINENO"; then : 35864 ac_cv_lib_cfile_libcfile_file_close=yes 35865else 35866 ac_cv_lib_cfile_libcfile_file_close=no 35867fi 35868rm -f core conftest.err conftest.$ac_objext \ 35869 conftest$ac_exeext conftest.$ac_ext 35870LIBS=$ac_check_lib_save_LIBS 35871fi 35872{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_close" >&5 35873$as_echo "$ac_cv_lib_cfile_libcfile_file_close" >&6; } 35874if test "x$ac_cv_lib_cfile_libcfile_file_close" = xyes; then : 35875 ac_cv_libcfile_dummy=yes 35876else 35877 ac_cv_libcfile=no 35878fi 35879 35880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_read_buffer in -lcfile" >&5 35881$as_echo_n "checking for libcfile_file_read_buffer in -lcfile... " >&6; } 35882if ${ac_cv_lib_cfile_libcfile_file_read_buffer+:} false; then : 35883 $as_echo_n "(cached) " >&6 35884else 35885 ac_check_lib_save_LIBS=$LIBS 35886LIBS="-lcfile $LIBS" 35887cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35888/* end confdefs.h. */ 35889 35890/* Override any GCC internal prototype to avoid an error. 35891 Use char because int might match the return type of a GCC 35892 builtin and then its argument prototype would still apply. */ 35893#ifdef __cplusplus 35894extern "C" 35895#endif 35896char libcfile_file_read_buffer (); 35897int 35898main () 35899{ 35900return libcfile_file_read_buffer (); 35901 ; 35902 return 0; 35903} 35904_ACEOF 35905if ac_fn_c_try_link "$LINENO"; then : 35906 ac_cv_lib_cfile_libcfile_file_read_buffer=yes 35907else 35908 ac_cv_lib_cfile_libcfile_file_read_buffer=no 35909fi 35910rm -f core conftest.err conftest.$ac_objext \ 35911 conftest$ac_exeext conftest.$ac_ext 35912LIBS=$ac_check_lib_save_LIBS 35913fi 35914{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_read_buffer" >&5 35915$as_echo "$ac_cv_lib_cfile_libcfile_file_read_buffer" >&6; } 35916if test "x$ac_cv_lib_cfile_libcfile_file_read_buffer" = xyes; then : 35917 ac_cv_libcfile_dummy=yes 35918else 35919 ac_cv_libcfile=no 35920fi 35921 35922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_read_buffer_with_error_code in -lcfile" >&5 35923$as_echo_n "checking for libcfile_file_read_buffer_with_error_code in -lcfile... " >&6; } 35924if ${ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code+:} false; then : 35925 $as_echo_n "(cached) " >&6 35926else 35927 ac_check_lib_save_LIBS=$LIBS 35928LIBS="-lcfile $LIBS" 35929cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35930/* end confdefs.h. */ 35931 35932/* Override any GCC internal prototype to avoid an error. 35933 Use char because int might match the return type of a GCC 35934 builtin and then its argument prototype would still apply. */ 35935#ifdef __cplusplus 35936extern "C" 35937#endif 35938char libcfile_file_read_buffer_with_error_code (); 35939int 35940main () 35941{ 35942return libcfile_file_read_buffer_with_error_code (); 35943 ; 35944 return 0; 35945} 35946_ACEOF 35947if ac_fn_c_try_link "$LINENO"; then : 35948 ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code=yes 35949else 35950 ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code=no 35951fi 35952rm -f core conftest.err conftest.$ac_objext \ 35953 conftest$ac_exeext conftest.$ac_ext 35954LIBS=$ac_check_lib_save_LIBS 35955fi 35956{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code" >&5 35957$as_echo "$ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code" >&6; } 35958if test "x$ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code" = xyes; then : 35959 ac_cv_libcfile_dummy=yes 35960else 35961 ac_cv_libcfile=no 35962fi 35963 35964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_write_buffer in -lcfile" >&5 35965$as_echo_n "checking for libcfile_file_write_buffer in -lcfile... " >&6; } 35966if ${ac_cv_lib_cfile_libcfile_file_write_buffer+:} false; then : 35967 $as_echo_n "(cached) " >&6 35968else 35969 ac_check_lib_save_LIBS=$LIBS 35970LIBS="-lcfile $LIBS" 35971cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35972/* end confdefs.h. */ 35973 35974/* Override any GCC internal prototype to avoid an error. 35975 Use char because int might match the return type of a GCC 35976 builtin and then its argument prototype would still apply. */ 35977#ifdef __cplusplus 35978extern "C" 35979#endif 35980char libcfile_file_write_buffer (); 35981int 35982main () 35983{ 35984return libcfile_file_write_buffer (); 35985 ; 35986 return 0; 35987} 35988_ACEOF 35989if ac_fn_c_try_link "$LINENO"; then : 35990 ac_cv_lib_cfile_libcfile_file_write_buffer=yes 35991else 35992 ac_cv_lib_cfile_libcfile_file_write_buffer=no 35993fi 35994rm -f core conftest.err conftest.$ac_objext \ 35995 conftest$ac_exeext conftest.$ac_ext 35996LIBS=$ac_check_lib_save_LIBS 35997fi 35998{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_write_buffer" >&5 35999$as_echo "$ac_cv_lib_cfile_libcfile_file_write_buffer" >&6; } 36000if test "x$ac_cv_lib_cfile_libcfile_file_write_buffer" = xyes; then : 36001 ac_cv_libcfile_dummy=yes 36002else 36003 ac_cv_libcfile=no 36004fi 36005 36006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_write_buffer_with_error_code in -lcfile" >&5 36007$as_echo_n "checking for libcfile_file_write_buffer_with_error_code in -lcfile... " >&6; } 36008if ${ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code+:} false; then : 36009 $as_echo_n "(cached) " >&6 36010else 36011 ac_check_lib_save_LIBS=$LIBS 36012LIBS="-lcfile $LIBS" 36013cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36014/* end confdefs.h. */ 36015 36016/* Override any GCC internal prototype to avoid an error. 36017 Use char because int might match the return type of a GCC 36018 builtin and then its argument prototype would still apply. */ 36019#ifdef __cplusplus 36020extern "C" 36021#endif 36022char libcfile_file_write_buffer_with_error_code (); 36023int 36024main () 36025{ 36026return libcfile_file_write_buffer_with_error_code (); 36027 ; 36028 return 0; 36029} 36030_ACEOF 36031if ac_fn_c_try_link "$LINENO"; then : 36032 ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code=yes 36033else 36034 ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code=no 36035fi 36036rm -f core conftest.err conftest.$ac_objext \ 36037 conftest$ac_exeext conftest.$ac_ext 36038LIBS=$ac_check_lib_save_LIBS 36039fi 36040{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code" >&5 36041$as_echo "$ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code" >&6; } 36042if test "x$ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code" = xyes; then : 36043 ac_cv_libcfile_dummy=yes 36044else 36045 ac_cv_libcfile=no 36046fi 36047 36048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_seek_offset in -lcfile" >&5 36049$as_echo_n "checking for libcfile_file_seek_offset in -lcfile... " >&6; } 36050if ${ac_cv_lib_cfile_libcfile_file_seek_offset+:} false; then : 36051 $as_echo_n "(cached) " >&6 36052else 36053 ac_check_lib_save_LIBS=$LIBS 36054LIBS="-lcfile $LIBS" 36055cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36056/* end confdefs.h. */ 36057 36058/* Override any GCC internal prototype to avoid an error. 36059 Use char because int might match the return type of a GCC 36060 builtin and then its argument prototype would still apply. */ 36061#ifdef __cplusplus 36062extern "C" 36063#endif 36064char libcfile_file_seek_offset (); 36065int 36066main () 36067{ 36068return libcfile_file_seek_offset (); 36069 ; 36070 return 0; 36071} 36072_ACEOF 36073if ac_fn_c_try_link "$LINENO"; then : 36074 ac_cv_lib_cfile_libcfile_file_seek_offset=yes 36075else 36076 ac_cv_lib_cfile_libcfile_file_seek_offset=no 36077fi 36078rm -f core conftest.err conftest.$ac_objext \ 36079 conftest$ac_exeext conftest.$ac_ext 36080LIBS=$ac_check_lib_save_LIBS 36081fi 36082{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_seek_offset" >&5 36083$as_echo "$ac_cv_lib_cfile_libcfile_file_seek_offset" >&6; } 36084if test "x$ac_cv_lib_cfile_libcfile_file_seek_offset" = xyes; then : 36085 ac_cv_libcfile_dummy=yes 36086else 36087 ac_cv_libcfile=no 36088fi 36089 36090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_resize in -lcfile" >&5 36091$as_echo_n "checking for libcfile_file_resize in -lcfile... " >&6; } 36092if ${ac_cv_lib_cfile_libcfile_file_resize+:} false; then : 36093 $as_echo_n "(cached) " >&6 36094else 36095 ac_check_lib_save_LIBS=$LIBS 36096LIBS="-lcfile $LIBS" 36097cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36098/* end confdefs.h. */ 36099 36100/* Override any GCC internal prototype to avoid an error. 36101 Use char because int might match the return type of a GCC 36102 builtin and then its argument prototype would still apply. */ 36103#ifdef __cplusplus 36104extern "C" 36105#endif 36106char libcfile_file_resize (); 36107int 36108main () 36109{ 36110return libcfile_file_resize (); 36111 ; 36112 return 0; 36113} 36114_ACEOF 36115if ac_fn_c_try_link "$LINENO"; then : 36116 ac_cv_lib_cfile_libcfile_file_resize=yes 36117else 36118 ac_cv_lib_cfile_libcfile_file_resize=no 36119fi 36120rm -f core conftest.err conftest.$ac_objext \ 36121 conftest$ac_exeext conftest.$ac_ext 36122LIBS=$ac_check_lib_save_LIBS 36123fi 36124{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_resize" >&5 36125$as_echo "$ac_cv_lib_cfile_libcfile_file_resize" >&6; } 36126if test "x$ac_cv_lib_cfile_libcfile_file_resize" = xyes; then : 36127 ac_cv_libcfile_dummy=yes 36128else 36129 ac_cv_libcfile=no 36130fi 36131 36132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_is_open in -lcfile" >&5 36133$as_echo_n "checking for libcfile_file_is_open in -lcfile... " >&6; } 36134if ${ac_cv_lib_cfile_libcfile_file_is_open+:} false; then : 36135 $as_echo_n "(cached) " >&6 36136else 36137 ac_check_lib_save_LIBS=$LIBS 36138LIBS="-lcfile $LIBS" 36139cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36140/* end confdefs.h. */ 36141 36142/* Override any GCC internal prototype to avoid an error. 36143 Use char because int might match the return type of a GCC 36144 builtin and then its argument prototype would still apply. */ 36145#ifdef __cplusplus 36146extern "C" 36147#endif 36148char libcfile_file_is_open (); 36149int 36150main () 36151{ 36152return libcfile_file_is_open (); 36153 ; 36154 return 0; 36155} 36156_ACEOF 36157if ac_fn_c_try_link "$LINENO"; then : 36158 ac_cv_lib_cfile_libcfile_file_is_open=yes 36159else 36160 ac_cv_lib_cfile_libcfile_file_is_open=no 36161fi 36162rm -f core conftest.err conftest.$ac_objext \ 36163 conftest$ac_exeext conftest.$ac_ext 36164LIBS=$ac_check_lib_save_LIBS 36165fi 36166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_is_open" >&5 36167$as_echo "$ac_cv_lib_cfile_libcfile_file_is_open" >&6; } 36168if test "x$ac_cv_lib_cfile_libcfile_file_is_open" = xyes; then : 36169 ac_cv_libcfile_dummy=yes 36170else 36171 ac_cv_libcfile=no 36172fi 36173 36174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_get_offset in -lcfile" >&5 36175$as_echo_n "checking for libcfile_file_get_offset in -lcfile... " >&6; } 36176if ${ac_cv_lib_cfile_libcfile_file_get_offset+:} false; then : 36177 $as_echo_n "(cached) " >&6 36178else 36179 ac_check_lib_save_LIBS=$LIBS 36180LIBS="-lcfile $LIBS" 36181cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36182/* end confdefs.h. */ 36183 36184/* Override any GCC internal prototype to avoid an error. 36185 Use char because int might match the return type of a GCC 36186 builtin and then its argument prototype would still apply. */ 36187#ifdef __cplusplus 36188extern "C" 36189#endif 36190char libcfile_file_get_offset (); 36191int 36192main () 36193{ 36194return libcfile_file_get_offset (); 36195 ; 36196 return 0; 36197} 36198_ACEOF 36199if ac_fn_c_try_link "$LINENO"; then : 36200 ac_cv_lib_cfile_libcfile_file_get_offset=yes 36201else 36202 ac_cv_lib_cfile_libcfile_file_get_offset=no 36203fi 36204rm -f core conftest.err conftest.$ac_objext \ 36205 conftest$ac_exeext conftest.$ac_ext 36206LIBS=$ac_check_lib_save_LIBS 36207fi 36208{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_get_offset" >&5 36209$as_echo "$ac_cv_lib_cfile_libcfile_file_get_offset" >&6; } 36210if test "x$ac_cv_lib_cfile_libcfile_file_get_offset" = xyes; then : 36211 ac_cv_libcfile_dummy=yes 36212else 36213 ac_cv_libcfile=no 36214fi 36215 36216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_get_size in -lcfile" >&5 36217$as_echo_n "checking for libcfile_file_get_size in -lcfile... " >&6; } 36218if ${ac_cv_lib_cfile_libcfile_file_get_size+:} false; then : 36219 $as_echo_n "(cached) " >&6 36220else 36221 ac_check_lib_save_LIBS=$LIBS 36222LIBS="-lcfile $LIBS" 36223cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36224/* end confdefs.h. */ 36225 36226/* Override any GCC internal prototype to avoid an error. 36227 Use char because int might match the return type of a GCC 36228 builtin and then its argument prototype would still apply. */ 36229#ifdef __cplusplus 36230extern "C" 36231#endif 36232char libcfile_file_get_size (); 36233int 36234main () 36235{ 36236return libcfile_file_get_size (); 36237 ; 36238 return 0; 36239} 36240_ACEOF 36241if ac_fn_c_try_link "$LINENO"; then : 36242 ac_cv_lib_cfile_libcfile_file_get_size=yes 36243else 36244 ac_cv_lib_cfile_libcfile_file_get_size=no 36245fi 36246rm -f core conftest.err conftest.$ac_objext \ 36247 conftest$ac_exeext conftest.$ac_ext 36248LIBS=$ac_check_lib_save_LIBS 36249fi 36250{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_get_size" >&5 36251$as_echo "$ac_cv_lib_cfile_libcfile_file_get_size" >&6; } 36252if test "x$ac_cv_lib_cfile_libcfile_file_get_size" = xyes; then : 36253 ac_cv_libcfile_dummy=yes 36254else 36255 ac_cv_libcfile=no 36256fi 36257 36258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_is_device in -lcfile" >&5 36259$as_echo_n "checking for libcfile_file_is_device in -lcfile... " >&6; } 36260if ${ac_cv_lib_cfile_libcfile_file_is_device+:} false; then : 36261 $as_echo_n "(cached) " >&6 36262else 36263 ac_check_lib_save_LIBS=$LIBS 36264LIBS="-lcfile $LIBS" 36265cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36266/* end confdefs.h. */ 36267 36268/* Override any GCC internal prototype to avoid an error. 36269 Use char because int might match the return type of a GCC 36270 builtin and then its argument prototype would still apply. */ 36271#ifdef __cplusplus 36272extern "C" 36273#endif 36274char libcfile_file_is_device (); 36275int 36276main () 36277{ 36278return libcfile_file_is_device (); 36279 ; 36280 return 0; 36281} 36282_ACEOF 36283if ac_fn_c_try_link "$LINENO"; then : 36284 ac_cv_lib_cfile_libcfile_file_is_device=yes 36285else 36286 ac_cv_lib_cfile_libcfile_file_is_device=no 36287fi 36288rm -f core conftest.err conftest.$ac_objext \ 36289 conftest$ac_exeext conftest.$ac_ext 36290LIBS=$ac_check_lib_save_LIBS 36291fi 36292{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_is_device" >&5 36293$as_echo "$ac_cv_lib_cfile_libcfile_file_is_device" >&6; } 36294if test "x$ac_cv_lib_cfile_libcfile_file_is_device" = xyes; then : 36295 ac_cv_libcfile_dummy=yes 36296else 36297 ac_cv_libcfile=no 36298fi 36299 36300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_io_control_read in -lcfile" >&5 36301$as_echo_n "checking for libcfile_file_io_control_read in -lcfile... " >&6; } 36302if ${ac_cv_lib_cfile_libcfile_file_io_control_read+:} false; then : 36303 $as_echo_n "(cached) " >&6 36304else 36305 ac_check_lib_save_LIBS=$LIBS 36306LIBS="-lcfile $LIBS" 36307cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36308/* end confdefs.h. */ 36309 36310/* Override any GCC internal prototype to avoid an error. 36311 Use char because int might match the return type of a GCC 36312 builtin and then its argument prototype would still apply. */ 36313#ifdef __cplusplus 36314extern "C" 36315#endif 36316char libcfile_file_io_control_read (); 36317int 36318main () 36319{ 36320return libcfile_file_io_control_read (); 36321 ; 36322 return 0; 36323} 36324_ACEOF 36325if ac_fn_c_try_link "$LINENO"; then : 36326 ac_cv_lib_cfile_libcfile_file_io_control_read=yes 36327else 36328 ac_cv_lib_cfile_libcfile_file_io_control_read=no 36329fi 36330rm -f core conftest.err conftest.$ac_objext \ 36331 conftest$ac_exeext conftest.$ac_ext 36332LIBS=$ac_check_lib_save_LIBS 36333fi 36334{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_io_control_read" >&5 36335$as_echo "$ac_cv_lib_cfile_libcfile_file_io_control_read" >&6; } 36336if test "x$ac_cv_lib_cfile_libcfile_file_io_control_read" = xyes; then : 36337 ac_cv_libcfile_dummy=yes 36338else 36339 ac_cv_libcfile=no 36340fi 36341 36342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_io_control_read_with_error_code in -lcfile" >&5 36343$as_echo_n "checking for libcfile_file_io_control_read_with_error_code in -lcfile... " >&6; } 36344if ${ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code+:} false; then : 36345 $as_echo_n "(cached) " >&6 36346else 36347 ac_check_lib_save_LIBS=$LIBS 36348LIBS="-lcfile $LIBS" 36349cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36350/* end confdefs.h. */ 36351 36352/* Override any GCC internal prototype to avoid an error. 36353 Use char because int might match the return type of a GCC 36354 builtin and then its argument prototype would still apply. */ 36355#ifdef __cplusplus 36356extern "C" 36357#endif 36358char libcfile_file_io_control_read_with_error_code (); 36359int 36360main () 36361{ 36362return libcfile_file_io_control_read_with_error_code (); 36363 ; 36364 return 0; 36365} 36366_ACEOF 36367if ac_fn_c_try_link "$LINENO"; then : 36368 ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code=yes 36369else 36370 ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code=no 36371fi 36372rm -f core conftest.err conftest.$ac_objext \ 36373 conftest$ac_exeext conftest.$ac_ext 36374LIBS=$ac_check_lib_save_LIBS 36375fi 36376{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code" >&5 36377$as_echo "$ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code" >&6; } 36378if test "x$ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code" = xyes; then : 36379 ac_cv_libcfile_dummy=yes 36380else 36381 ac_cv_libcfile=no 36382fi 36383 36384 36385 if test "x$ac_cv_enable_wide_character_type" != xno; then : 36386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open_wide in -lcfile" >&5 36387$as_echo_n "checking for libcfile_file_open_wide in -lcfile... " >&6; } 36388if ${ac_cv_lib_cfile_libcfile_file_open_wide+:} false; then : 36389 $as_echo_n "(cached) " >&6 36390else 36391 ac_check_lib_save_LIBS=$LIBS 36392LIBS="-lcfile $LIBS" 36393cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36394/* end confdefs.h. */ 36395 36396/* Override any GCC internal prototype to avoid an error. 36397 Use char because int might match the return type of a GCC 36398 builtin and then its argument prototype would still apply. */ 36399#ifdef __cplusplus 36400extern "C" 36401#endif 36402char libcfile_file_open_wide (); 36403int 36404main () 36405{ 36406return libcfile_file_open_wide (); 36407 ; 36408 return 0; 36409} 36410_ACEOF 36411if ac_fn_c_try_link "$LINENO"; then : 36412 ac_cv_lib_cfile_libcfile_file_open_wide=yes 36413else 36414 ac_cv_lib_cfile_libcfile_file_open_wide=no 36415fi 36416rm -f core conftest.err conftest.$ac_objext \ 36417 conftest$ac_exeext conftest.$ac_ext 36418LIBS=$ac_check_lib_save_LIBS 36419fi 36420{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open_wide" >&5 36421$as_echo "$ac_cv_lib_cfile_libcfile_file_open_wide" >&6; } 36422if test "x$ac_cv_lib_cfile_libcfile_file_open_wide" = xyes; then : 36423 ac_cv_libcfile_dummy=yes 36424else 36425 ac_cv_libcfile=no 36426fi 36427 36428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open_wide_with_error_code in -lcfile" >&5 36429$as_echo_n "checking for libcfile_file_open_wide_with_error_code in -lcfile... " >&6; } 36430if ${ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code+:} false; then : 36431 $as_echo_n "(cached) " >&6 36432else 36433 ac_check_lib_save_LIBS=$LIBS 36434LIBS="-lcfile $LIBS" 36435cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36436/* end confdefs.h. */ 36437 36438/* Override any GCC internal prototype to avoid an error. 36439 Use char because int might match the return type of a GCC 36440 builtin and then its argument prototype would still apply. */ 36441#ifdef __cplusplus 36442extern "C" 36443#endif 36444char libcfile_file_open_wide_with_error_code (); 36445int 36446main () 36447{ 36448return libcfile_file_open_wide_with_error_code (); 36449 ; 36450 return 0; 36451} 36452_ACEOF 36453if ac_fn_c_try_link "$LINENO"; then : 36454 ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code=yes 36455else 36456 ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code=no 36457fi 36458rm -f core conftest.err conftest.$ac_objext \ 36459 conftest$ac_exeext conftest.$ac_ext 36460LIBS=$ac_check_lib_save_LIBS 36461fi 36462{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code" >&5 36463$as_echo "$ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code" >&6; } 36464if test "x$ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code" = xyes; then : 36465 ac_cv_libcfile_dummy=yes 36466else 36467 ac_cv_libcfile=no 36468fi 36469 36470 36471fi 36472 36473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_exists in -lcfile" >&5 36474$as_echo_n "checking for libcfile_file_exists in -lcfile... " >&6; } 36475if ${ac_cv_lib_cfile_libcfile_file_exists+:} false; then : 36476 $as_echo_n "(cached) " >&6 36477else 36478 ac_check_lib_save_LIBS=$LIBS 36479LIBS="-lcfile $LIBS" 36480cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36481/* end confdefs.h. */ 36482 36483/* Override any GCC internal prototype to avoid an error. 36484 Use char because int might match the return type of a GCC 36485 builtin and then its argument prototype would still apply. */ 36486#ifdef __cplusplus 36487extern "C" 36488#endif 36489char libcfile_file_exists (); 36490int 36491main () 36492{ 36493return libcfile_file_exists (); 36494 ; 36495 return 0; 36496} 36497_ACEOF 36498if ac_fn_c_try_link "$LINENO"; then : 36499 ac_cv_lib_cfile_libcfile_file_exists=yes 36500else 36501 ac_cv_lib_cfile_libcfile_file_exists=no 36502fi 36503rm -f core conftest.err conftest.$ac_objext \ 36504 conftest$ac_exeext conftest.$ac_ext 36505LIBS=$ac_check_lib_save_LIBS 36506fi 36507{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_exists" >&5 36508$as_echo "$ac_cv_lib_cfile_libcfile_file_exists" >&6; } 36509if test "x$ac_cv_lib_cfile_libcfile_file_exists" = xyes; then : 36510 ac_cv_libcfile_dummy=yes 36511else 36512 ac_cv_libcfile=no 36513fi 36514 36515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_remove in -lcfile" >&5 36516$as_echo_n "checking for libcfile_file_remove in -lcfile... " >&6; } 36517if ${ac_cv_lib_cfile_libcfile_file_remove+:} false; then : 36518 $as_echo_n "(cached) " >&6 36519else 36520 ac_check_lib_save_LIBS=$LIBS 36521LIBS="-lcfile $LIBS" 36522cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36523/* end confdefs.h. */ 36524 36525/* Override any GCC internal prototype to avoid an error. 36526 Use char because int might match the return type of a GCC 36527 builtin and then its argument prototype would still apply. */ 36528#ifdef __cplusplus 36529extern "C" 36530#endif 36531char libcfile_file_remove (); 36532int 36533main () 36534{ 36535return libcfile_file_remove (); 36536 ; 36537 return 0; 36538} 36539_ACEOF 36540if ac_fn_c_try_link "$LINENO"; then : 36541 ac_cv_lib_cfile_libcfile_file_remove=yes 36542else 36543 ac_cv_lib_cfile_libcfile_file_remove=no 36544fi 36545rm -f core conftest.err conftest.$ac_objext \ 36546 conftest$ac_exeext conftest.$ac_ext 36547LIBS=$ac_check_lib_save_LIBS 36548fi 36549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_remove" >&5 36550$as_echo "$ac_cv_lib_cfile_libcfile_file_remove" >&6; } 36551if test "x$ac_cv_lib_cfile_libcfile_file_remove" = xyes; then : 36552 ac_cv_libcfile_dummy=yes 36553else 36554 ac_cv_libcfile=no 36555fi 36556 36557 36558 if test "x$ac_cv_enable_wide_character_type" != xno; then : 36559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_exists_wide in -lcfile" >&5 36560$as_echo_n "checking for libcfile_file_exists_wide in -lcfile... " >&6; } 36561if ${ac_cv_lib_cfile_libcfile_file_exists_wide+:} false; then : 36562 $as_echo_n "(cached) " >&6 36563else 36564 ac_check_lib_save_LIBS=$LIBS 36565LIBS="-lcfile $LIBS" 36566cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36567/* end confdefs.h. */ 36568 36569/* Override any GCC internal prototype to avoid an error. 36570 Use char because int might match the return type of a GCC 36571 builtin and then its argument prototype would still apply. */ 36572#ifdef __cplusplus 36573extern "C" 36574#endif 36575char libcfile_file_exists_wide (); 36576int 36577main () 36578{ 36579return libcfile_file_exists_wide (); 36580 ; 36581 return 0; 36582} 36583_ACEOF 36584if ac_fn_c_try_link "$LINENO"; then : 36585 ac_cv_lib_cfile_libcfile_file_exists_wide=yes 36586else 36587 ac_cv_lib_cfile_libcfile_file_exists_wide=no 36588fi 36589rm -f core conftest.err conftest.$ac_objext \ 36590 conftest$ac_exeext conftest.$ac_ext 36591LIBS=$ac_check_lib_save_LIBS 36592fi 36593{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_exists_wide" >&5 36594$as_echo "$ac_cv_lib_cfile_libcfile_file_exists_wide" >&6; } 36595if test "x$ac_cv_lib_cfile_libcfile_file_exists_wide" = xyes; then : 36596 ac_cv_libcfile_dummy=yes 36597else 36598 ac_cv_libcfile=no 36599fi 36600 36601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_remove_wide in -lcfile" >&5 36602$as_echo_n "checking for libcfile_file_remove_wide in -lcfile... " >&6; } 36603if ${ac_cv_lib_cfile_libcfile_file_remove_wide+:} false; then : 36604 $as_echo_n "(cached) " >&6 36605else 36606 ac_check_lib_save_LIBS=$LIBS 36607LIBS="-lcfile $LIBS" 36608cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36609/* end confdefs.h. */ 36610 36611/* Override any GCC internal prototype to avoid an error. 36612 Use char because int might match the return type of a GCC 36613 builtin and then its argument prototype would still apply. */ 36614#ifdef __cplusplus 36615extern "C" 36616#endif 36617char libcfile_file_remove_wide (); 36618int 36619main () 36620{ 36621return libcfile_file_remove_wide (); 36622 ; 36623 return 0; 36624} 36625_ACEOF 36626if ac_fn_c_try_link "$LINENO"; then : 36627 ac_cv_lib_cfile_libcfile_file_remove_wide=yes 36628else 36629 ac_cv_lib_cfile_libcfile_file_remove_wide=no 36630fi 36631rm -f core conftest.err conftest.$ac_objext \ 36632 conftest$ac_exeext conftest.$ac_ext 36633LIBS=$ac_check_lib_save_LIBS 36634fi 36635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_remove_wide" >&5 36636$as_echo "$ac_cv_lib_cfile_libcfile_file_remove_wide" >&6; } 36637if test "x$ac_cv_lib_cfile_libcfile_file_remove_wide" = xyes; then : 36638 ac_cv_libcfile_dummy=yes 36639else 36640 ac_cv_libcfile=no 36641fi 36642 36643 36644fi 36645 36646 ac_cv_libcfile_LIBADD="-lcfile" 36647fi 36648 36649fi 36650 if test "x$ac_cv_with_libcfile" != x && test "x$ac_cv_with_libcfile" != xauto-detect && test "x$ac_cv_libcfile" != xyes; then : 36651 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36652$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36653as_fn_error 1 "unable to find supported libcfile in directory: $ac_cv_with_libcfile 36654See \`config.log' for more details" "$LINENO" 5; } 36655 36656fi 36657 36658fi 36659 36660 if test "x$ac_cv_libcfile" = xyes; then : 36661 36662$as_echo "#define HAVE_LIBCFILE 1" >>confdefs.h 36663 36664 36665fi 36666 36667 if test "x$ac_cv_libcfile" = xyes; then : 36668 HAVE_LIBCFILE=1 36669 36670else 36671 HAVE_LIBCFILE=0 36672 36673 36674fi 36675 36676 36677 if test "x$ac_cv_libcfile" != xyes; then : 36678 for ac_header in errno.h stdio.h sys/stat.h 36679do : 36680 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 36681ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 36682if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 36683 cat >>confdefs.h <<_ACEOF 36684#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 36685_ACEOF 36686 36687fi 36688 36689done 36690 36691 36692 for ac_header in cygwin/fs.h fcntl.h linux/fs.h sys/disk.h sys/disklabel.h sys/ioctl.h unistd.h 36693do : 36694 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 36695ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 36696if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 36697 cat >>confdefs.h <<_ACEOF 36698#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 36699_ACEOF 36700 36701fi 36702 36703done 36704 36705 36706 for ac_func in close fstat ftruncate ioctl lseek open read write 36707do : 36708 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 36709ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 36710if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 36711 cat >>confdefs.h <<_ACEOF 36712#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 36713_ACEOF 36714 36715fi 36716done 36717 36718 36719 if test "x$ac_cv_func_close" != xyes; then : 36720 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36721$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36722as_fn_error 1 "Missing function: close 36723See \`config.log' for more details" "$LINENO" 5; } 36724 36725fi 36726 36727 for ac_func in posix_fadvise 36728do : 36729 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise" 36730if test "x$ac_cv_func_posix_fadvise" = xyes; then : 36731 cat >>confdefs.h <<_ACEOF 36732#define HAVE_POSIX_FADVISE 1 36733_ACEOF 36734 36735fi 36736done 36737 36738 36739 if test "x$ac_cv_func_posix_fadvise" = xyes; then : 36740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether posix_fadvise can be linked" >&5 36741$as_echo_n "checking whether posix_fadvise can be linked... " >&6; } 36742 36743 SAVE_CFLAGS="$CFLAGS" 36744 CFLAGS="$CFLAGS -Wall -Werror" 36745 ac_ext=c 36746ac_cpp='$CPP $CPPFLAGS' 36747ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 36748ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 36749ac_compiler_gnu=$ac_cv_c_compiler_gnu 36750 36751 36752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36753/* end confdefs.h. */ 36754#include <fcntl.h> 36755int 36756main () 36757{ 36758#if !defined( POSIX_FADV_SEQUENTIAL ) 36759#define POSIX_FADV_SEQUENTIAL 2 36760#endif 36761posix_fadvise( 0, 0, 0, POSIX_FADV_SEQUENTIAL ) 36762 ; 36763 return 0; 36764} 36765_ACEOF 36766if ac_fn_c_try_link "$LINENO"; then : 36767 ac_cv_func_posix_fadvise=yes 36768else 36769 ac_cv_func_posix_fadvise=no 36770fi 36771rm -f core conftest.err conftest.$ac_objext \ 36772 conftest$ac_exeext conftest.$ac_ext 36773 36774 ac_ext=c 36775ac_cpp='$CPP $CPPFLAGS' 36776ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 36777ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 36778ac_compiler_gnu=$ac_cv_c_compiler_gnu 36779 36780 CFLAGS="$SAVE_CFLAGS" 36781 36782 if test "x$ac_cv_func_posix_fadvise" = xyes; then : 36783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 36784$as_echo "yes" >&6; } 36785 36786$as_echo "#define HAVE_POSIX_FADVISE 1" >>confdefs.h 36787 36788else 36789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 36790$as_echo "no" >&6; } 36791fi 36792 36793fi 36794 36795 36796 if test "x$ac_cv_func_fstat" != xyes; then : 36797 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36798$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36799as_fn_error 1 "Missing function: fstat 36800See \`config.log' for more details" "$LINENO" 5; } 36801 36802fi 36803 36804 if test "x$ac_cv_func_ftruncate" != xyes; then : 36805 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36806$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36807as_fn_error 1 "Missing function: ftruncate 36808See \`config.log' for more details" "$LINENO" 5; } 36809 36810fi 36811 36812 if test x"$ac_cv_enable_winapi" = xno; then : 36813 if test "x$ac_cv_func_ioctl" != xyes; then : 36814 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36815$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36816as_fn_error 1 "Missing function: ioctl 36817See \`config.log' for more details" "$LINENO" 5; } 36818 36819fi 36820 36821fi 36822 36823 if test "x$ac_cv_func_lseek" != xyes; then : 36824 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36825$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36826as_fn_error 1 "Missing function: lseek 36827See \`config.log' for more details" "$LINENO" 5; } 36828 36829fi 36830 36831 if test "x$ac_cv_func_open" != xyes; then : 36832 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36833$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36834as_fn_error 1 "Missing function: open 36835See \`config.log' for more details" "$LINENO" 5; } 36836 36837fi 36838 36839 if test "x$ac_cv_func_read" != xyes; then : 36840 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36841$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36842as_fn_error 1 "Missing function: read 36843See \`config.log' for more details" "$LINENO" 5; } 36844 36845fi 36846 36847 if test "x$ac_cv_func_write" != xyes; then : 36848 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36849$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36850as_fn_error 1 "Missing function: write 36851See \`config.log' for more details" "$LINENO" 5; } 36852 36853fi 36854 36855 for ac_func in stat unlink 36856do : 36857 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 36858ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 36859if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 36860 cat >>confdefs.h <<_ACEOF 36861#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 36862_ACEOF 36863 36864fi 36865done 36866 36867 36868 if test "x$ac_cv_func_stat" != xyes; then : 36869 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36870$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36871as_fn_error 1 "Missing function: stat 36872See \`config.log' for more details" "$LINENO" 5; } 36873 36874fi 36875 36876 if test "x$ac_cv_func_unlink" != xyes; then : 36877 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36878$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36879as_fn_error 1 "Missing function: unlink 36880See \`config.log' for more details" "$LINENO" 5; } 36881 36882fi 36883 36884 ac_cv_libcfile_CPPFLAGS="-I../libcfile"; 36885 ac_cv_libcfile_LIBADD="../libcfile/libcfile.la"; 36886 36887 ac_cv_libcfile=local 36888 36889 36890 36891$as_echo "#define HAVE_LOCAL_LIBCFILE 1" >>confdefs.h 36892 36893 HAVE_LOCAL_LIBCFILE=1 36894 36895 36896fi 36897 36898 if test "x$ac_cv_libcfile" = xlocal; then 36899 HAVE_LOCAL_LIBCFILE_TRUE= 36900 HAVE_LOCAL_LIBCFILE_FALSE='#' 36901else 36902 HAVE_LOCAL_LIBCFILE_TRUE='#' 36903 HAVE_LOCAL_LIBCFILE_FALSE= 36904fi 36905 36906 if test "x$ac_cv_libcfile_CPPFLAGS" != "x"; then : 36907 LIBCFILE_CPPFLAGS=$ac_cv_libcfile_CPPFLAGS 36908 36909 36910fi 36911 if test "x$ac_cv_libcfile_LIBADD" != "x"; then : 36912 LIBCFILE_LIBADD=$ac_cv_libcfile_LIBADD 36913 36914 36915fi 36916 36917 if test "x$ac_cv_libcfile" = xyes; then : 36918 ax_libcfile_pc_libs_private=-lcfile 36919 36920 36921fi 36922 36923 if test "x$ac_cv_libcfile" = xyes; then : 36924 ax_libcfile_spec_requires=libcfile 36925 36926 ax_libcfile_spec_build_requires=libcfile-devel 36927 36928 36929fi 36930 36931 36932 36933 36934# Check whether --with-libcpath was given. 36935if test "${with_libcpath+set}" = set; then : 36936 withval=$with_libcpath; ac_cv_with_libcpath=$withval 36937else 36938 ac_cv_with_libcpath=auto-detect 36939fi 36940 36941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use search for libcpath in includedir and libdir or in the specified DIR, or no if to use local version" >&5 36942$as_echo_n "checking whether to use search for libcpath in includedir and libdir or in the specified DIR, or no if to use local version... " >&6; } 36943if ${ac_cv_with_libcpath+:} false; then : 36944 $as_echo_n "(cached) " >&6 36945else 36946 ac_cv_with_libcpath=auto-detect 36947fi 36948{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcpath" >&5 36949$as_echo "$ac_cv_with_libcpath" >&6; } 36950 36951 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcpath" = xno; then : 36952 ac_cv_libcpath=no 36953else 36954 ac_cv_libcpath=check 36955 if test "x$ac_cv_with_libcpath" != x && test "x$ac_cv_with_libcpath" != xauto-detect; then : 36956 if test -d "$ac_cv_with_libcpath"; then : 36957 CFLAGS="$CFLAGS -I${ac_cv_with_libcpath}/include" 36958 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcpath}/lib" 36959else 36960 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36961$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36962as_fn_error 1 "no such directory: $ac_cv_with_libcpath 36963See \`config.log' for more details" "$LINENO" 5; } 36964 36965fi 36966 36967else 36968 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 36969 36970pkg_failed=no 36971{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath" >&5 36972$as_echo_n "checking for libcpath... " >&6; } 36973 36974if test -n "$libcpath_CFLAGS"; then 36975 pkg_cv_libcpath_CFLAGS="$libcpath_CFLAGS" 36976 elif test -n "$PKG_CONFIG"; then 36977 if test -n "$PKG_CONFIG" && \ 36978 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcpath >= 20180716\""; } >&5 36979 ($PKG_CONFIG --exists --print-errors "libcpath >= 20180716") 2>&5 36980 ac_status=$? 36981 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 36982 test $ac_status = 0; }; then 36983 pkg_cv_libcpath_CFLAGS=`$PKG_CONFIG --cflags "libcpath >= 20180716" 2>/dev/null` 36984 test "x$?" != "x0" && pkg_failed=yes 36985else 36986 pkg_failed=yes 36987fi 36988 else 36989 pkg_failed=untried 36990fi 36991if test -n "$libcpath_LIBS"; then 36992 pkg_cv_libcpath_LIBS="$libcpath_LIBS" 36993 elif test -n "$PKG_CONFIG"; then 36994 if test -n "$PKG_CONFIG" && \ 36995 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcpath >= 20180716\""; } >&5 36996 ($PKG_CONFIG --exists --print-errors "libcpath >= 20180716") 2>&5 36997 ac_status=$? 36998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 36999 test $ac_status = 0; }; then 37000 pkg_cv_libcpath_LIBS=`$PKG_CONFIG --libs "libcpath >= 20180716" 2>/dev/null` 37001 test "x$?" != "x0" && pkg_failed=yes 37002else 37003 pkg_failed=yes 37004fi 37005 else 37006 pkg_failed=untried 37007fi 37008 37009 37010 37011if test $pkg_failed = yes; then 37012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 37013$as_echo "no" >&6; } 37014 37015if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 37016 _pkg_short_errors_supported=yes 37017else 37018 _pkg_short_errors_supported=no 37019fi 37020 if test $_pkg_short_errors_supported = yes; then 37021 libcpath_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcpath >= 20180716" 2>&1` 37022 else 37023 libcpath_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcpath >= 20180716" 2>&1` 37024 fi 37025 # Put the nasty error message in config.log where it belongs 37026 echo "$libcpath_PKG_ERRORS" >&5 37027 37028 ac_cv_libcpath=check 37029elif test $pkg_failed = untried; then 37030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 37031$as_echo "no" >&6; } 37032 ac_cv_libcpath=check 37033else 37034 libcpath_CFLAGS=$pkg_cv_libcpath_CFLAGS 37035 libcpath_LIBS=$pkg_cv_libcpath_LIBS 37036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 37037$as_echo "yes" >&6; } 37038 ac_cv_libcpath=yes 37039fi 37040 37041fi 37042 if test "x$ac_cv_libcpath" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then : 37043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcpath/features.h defines LIBCPATH_HAVE_WIDE_CHARACTER_TYPE as 1" >&5 37044$as_echo_n "checking whether libcpath/features.h defines LIBCPATH_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; } 37045if ${ac_cv_header_libcpath_features_h_have_wide_character_type+:} false; then : 37046 $as_echo_n "(cached) " >&6 37047else 37048 ac_ext=c 37049ac_cpp='$CPP $CPPFLAGS' 37050ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 37051ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 37052ac_compiler_gnu=$ac_cv_c_compiler_gnu 37053 37054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37055/* end confdefs.h. */ 37056#include <libcpath/features.h> 37057int 37058main () 37059{ 37060#if !defined( LIBCPATH_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCPATH_HAVE_WIDE_CHARACTER_TYPE != 1 ) 37061#error LIBCPATH_HAVE_WIDE_CHARACTER_TYPE not defined 37062#endif 37063 ; 37064 return 0; 37065} 37066_ACEOF 37067if ac_fn_c_try_compile "$LINENO"; then : 37068 ac_cv_header_libcpath_features_h_have_wide_character_type=yes 37069else 37070 ac_cv_header_libcpath_features_h_have_wide_character_type=no 37071fi 37072rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 37073 ac_ext=c 37074ac_cpp='$CPP $CPPFLAGS' 37075ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 37076ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 37077ac_compiler_gnu=$ac_cv_c_compiler_gnu 37078 37079fi 37080{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libcpath_features_h_have_wide_character_type" >&5 37081$as_echo "$ac_cv_header_libcpath_features_h_have_wide_character_type" >&6; } 37082 37083 if test "x$ac_cv_header_libcpath_features_h_have_wide_character_type" = xno; then : 37084 ac_cv_libcpath=no 37085fi 37086 37087fi 37088 if test "x$ac_cv_libcpath" = xyes; then : 37089 ac_cv_libcpath_CPPFLAGS="$pkg_cv_libcpath_CFLAGS" 37090 ac_cv_libcpath_LIBADD="$pkg_cv_libcpath_LIBS" 37091fi 37092 37093fi 37094 37095 if test "x$ac_cv_libcpath" = xcheck; then : 37096 for ac_header in libcpath.h 37097do : 37098 ac_fn_c_check_header_mongrel "$LINENO" "libcpath.h" "ac_cv_header_libcpath_h" "$ac_includes_default" 37099if test "x$ac_cv_header_libcpath_h" = xyes; then : 37100 cat >>confdefs.h <<_ACEOF 37101#define HAVE_LIBCPATH_H 1 37102_ACEOF 37103 37104fi 37105 37106done 37107 37108 37109 if test "x$ac_cv_header_libcpath_h" = xno; then : 37110 ac_cv_libcpath=no 37111else 37112 ac_cv_libcpath=yes 37113 37114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_get_version in -lcpath" >&5 37115$as_echo_n "checking for libcpath_get_version in -lcpath... " >&6; } 37116if ${ac_cv_lib_cpath_libcpath_get_version+:} false; then : 37117 $as_echo_n "(cached) " >&6 37118else 37119 ac_check_lib_save_LIBS=$LIBS 37120LIBS="-lcpath $LIBS" 37121cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37122/* end confdefs.h. */ 37123 37124/* Override any GCC internal prototype to avoid an error. 37125 Use char because int might match the return type of a GCC 37126 builtin and then its argument prototype would still apply. */ 37127#ifdef __cplusplus 37128extern "C" 37129#endif 37130char libcpath_get_version (); 37131int 37132main () 37133{ 37134return libcpath_get_version (); 37135 ; 37136 return 0; 37137} 37138_ACEOF 37139if ac_fn_c_try_link "$LINENO"; then : 37140 ac_cv_lib_cpath_libcpath_get_version=yes 37141else 37142 ac_cv_lib_cpath_libcpath_get_version=no 37143fi 37144rm -f core conftest.err conftest.$ac_objext \ 37145 conftest$ac_exeext conftest.$ac_ext 37146LIBS=$ac_check_lib_save_LIBS 37147fi 37148{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_get_version" >&5 37149$as_echo "$ac_cv_lib_cpath_libcpath_get_version" >&6; } 37150if test "x$ac_cv_lib_cpath_libcpath_get_version" = xyes; then : 37151 ac_cv_libcpath_dummy=yes 37152else 37153 ac_cv_libcpath=no 37154fi 37155 37156 37157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_change_directory in -lcpath" >&5 37158$as_echo_n "checking for libcpath_path_change_directory in -lcpath... " >&6; } 37159if ${ac_cv_lib_cpath_libcpath_path_change_directory+:} false; then : 37160 $as_echo_n "(cached) " >&6 37161else 37162 ac_check_lib_save_LIBS=$LIBS 37163LIBS="-lcpath $LIBS" 37164cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37165/* end confdefs.h. */ 37166 37167/* Override any GCC internal prototype to avoid an error. 37168 Use char because int might match the return type of a GCC 37169 builtin and then its argument prototype would still apply. */ 37170#ifdef __cplusplus 37171extern "C" 37172#endif 37173char libcpath_path_change_directory (); 37174int 37175main () 37176{ 37177return libcpath_path_change_directory (); 37178 ; 37179 return 0; 37180} 37181_ACEOF 37182if ac_fn_c_try_link "$LINENO"; then : 37183 ac_cv_lib_cpath_libcpath_path_change_directory=yes 37184else 37185 ac_cv_lib_cpath_libcpath_path_change_directory=no 37186fi 37187rm -f core conftest.err conftest.$ac_objext \ 37188 conftest$ac_exeext conftest.$ac_ext 37189LIBS=$ac_check_lib_save_LIBS 37190fi 37191{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_change_directory" >&5 37192$as_echo "$ac_cv_lib_cpath_libcpath_path_change_directory" >&6; } 37193if test "x$ac_cv_lib_cpath_libcpath_path_change_directory" = xyes; then : 37194 ac_cv_libcpath_dummy=yes 37195else 37196 ac_cv_libcpath=no 37197fi 37198 37199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_current_working_directory in -lcpath" >&5 37200$as_echo_n "checking for libcpath_path_get_current_working_directory in -lcpath... " >&6; } 37201if ${ac_cv_lib_cpath_libcpath_path_get_current_working_directory+:} false; then : 37202 $as_echo_n "(cached) " >&6 37203else 37204 ac_check_lib_save_LIBS=$LIBS 37205LIBS="-lcpath $LIBS" 37206cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37207/* end confdefs.h. */ 37208 37209/* Override any GCC internal prototype to avoid an error. 37210 Use char because int might match the return type of a GCC 37211 builtin and then its argument prototype would still apply. */ 37212#ifdef __cplusplus 37213extern "C" 37214#endif 37215char libcpath_path_get_current_working_directory (); 37216int 37217main () 37218{ 37219return libcpath_path_get_current_working_directory (); 37220 ; 37221 return 0; 37222} 37223_ACEOF 37224if ac_fn_c_try_link "$LINENO"; then : 37225 ac_cv_lib_cpath_libcpath_path_get_current_working_directory=yes 37226else 37227 ac_cv_lib_cpath_libcpath_path_get_current_working_directory=no 37228fi 37229rm -f core conftest.err conftest.$ac_objext \ 37230 conftest$ac_exeext conftest.$ac_ext 37231LIBS=$ac_check_lib_save_LIBS 37232fi 37233{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_current_working_directory" >&5 37234$as_echo "$ac_cv_lib_cpath_libcpath_path_get_current_working_directory" >&6; } 37235if test "x$ac_cv_lib_cpath_libcpath_path_get_current_working_directory" = xyes; then : 37236 ac_cv_libcpath_dummy=yes 37237else 37238 ac_cv_libcpath=no 37239fi 37240 37241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_full_path in -lcpath" >&5 37242$as_echo_n "checking for libcpath_path_get_full_path in -lcpath... " >&6; } 37243if ${ac_cv_lib_cpath_libcpath_path_get_full_path+:} false; then : 37244 $as_echo_n "(cached) " >&6 37245else 37246 ac_check_lib_save_LIBS=$LIBS 37247LIBS="-lcpath $LIBS" 37248cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37249/* end confdefs.h. */ 37250 37251/* Override any GCC internal prototype to avoid an error. 37252 Use char because int might match the return type of a GCC 37253 builtin and then its argument prototype would still apply. */ 37254#ifdef __cplusplus 37255extern "C" 37256#endif 37257char libcpath_path_get_full_path (); 37258int 37259main () 37260{ 37261return libcpath_path_get_full_path (); 37262 ; 37263 return 0; 37264} 37265_ACEOF 37266if ac_fn_c_try_link "$LINENO"; then : 37267 ac_cv_lib_cpath_libcpath_path_get_full_path=yes 37268else 37269 ac_cv_lib_cpath_libcpath_path_get_full_path=no 37270fi 37271rm -f core conftest.err conftest.$ac_objext \ 37272 conftest$ac_exeext conftest.$ac_ext 37273LIBS=$ac_check_lib_save_LIBS 37274fi 37275{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_full_path" >&5 37276$as_echo "$ac_cv_lib_cpath_libcpath_path_get_full_path" >&6; } 37277if test "x$ac_cv_lib_cpath_libcpath_path_get_full_path" = xyes; then : 37278 ac_cv_libcpath_dummy=yes 37279else 37280 ac_cv_libcpath=no 37281fi 37282 37283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_filename in -lcpath" >&5 37284$as_echo_n "checking for libcpath_path_get_sanitized_filename in -lcpath... " >&6; } 37285if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_filename+:} false; then : 37286 $as_echo_n "(cached) " >&6 37287else 37288 ac_check_lib_save_LIBS=$LIBS 37289LIBS="-lcpath $LIBS" 37290cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37291/* end confdefs.h. */ 37292 37293/* Override any GCC internal prototype to avoid an error. 37294 Use char because int might match the return type of a GCC 37295 builtin and then its argument prototype would still apply. */ 37296#ifdef __cplusplus 37297extern "C" 37298#endif 37299char libcpath_path_get_sanitized_filename (); 37300int 37301main () 37302{ 37303return libcpath_path_get_sanitized_filename (); 37304 ; 37305 return 0; 37306} 37307_ACEOF 37308if ac_fn_c_try_link "$LINENO"; then : 37309 ac_cv_lib_cpath_libcpath_path_get_sanitized_filename=yes 37310else 37311 ac_cv_lib_cpath_libcpath_path_get_sanitized_filename=no 37312fi 37313rm -f core conftest.err conftest.$ac_objext \ 37314 conftest$ac_exeext conftest.$ac_ext 37315LIBS=$ac_check_lib_save_LIBS 37316fi 37317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_filename" >&5 37318$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename" >&6; } 37319if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename" = xyes; then : 37320 ac_cv_libcpath_dummy=yes 37321else 37322 ac_cv_libcpath=no 37323fi 37324 37325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_path in -lcpath" >&5 37326$as_echo_n "checking for libcpath_path_get_sanitized_path in -lcpath... " >&6; } 37327if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_path+:} false; then : 37328 $as_echo_n "(cached) " >&6 37329else 37330 ac_check_lib_save_LIBS=$LIBS 37331LIBS="-lcpath $LIBS" 37332cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37333/* end confdefs.h. */ 37334 37335/* Override any GCC internal prototype to avoid an error. 37336 Use char because int might match the return type of a GCC 37337 builtin and then its argument prototype would still apply. */ 37338#ifdef __cplusplus 37339extern "C" 37340#endif 37341char libcpath_path_get_sanitized_path (); 37342int 37343main () 37344{ 37345return libcpath_path_get_sanitized_path (); 37346 ; 37347 return 0; 37348} 37349_ACEOF 37350if ac_fn_c_try_link "$LINENO"; then : 37351 ac_cv_lib_cpath_libcpath_path_get_sanitized_path=yes 37352else 37353 ac_cv_lib_cpath_libcpath_path_get_sanitized_path=no 37354fi 37355rm -f core conftest.err conftest.$ac_objext \ 37356 conftest$ac_exeext conftest.$ac_ext 37357LIBS=$ac_check_lib_save_LIBS 37358fi 37359{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_path" >&5 37360$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_path" >&6; } 37361if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_path" = xyes; then : 37362 ac_cv_libcpath_dummy=yes 37363else 37364 ac_cv_libcpath=no 37365fi 37366 37367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_join in -lcpath" >&5 37368$as_echo_n "checking for libcpath_path_join in -lcpath... " >&6; } 37369if ${ac_cv_lib_cpath_libcpath_path_join+:} false; then : 37370 $as_echo_n "(cached) " >&6 37371else 37372 ac_check_lib_save_LIBS=$LIBS 37373LIBS="-lcpath $LIBS" 37374cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37375/* end confdefs.h. */ 37376 37377/* Override any GCC internal prototype to avoid an error. 37378 Use char because int might match the return type of a GCC 37379 builtin and then its argument prototype would still apply. */ 37380#ifdef __cplusplus 37381extern "C" 37382#endif 37383char libcpath_path_join (); 37384int 37385main () 37386{ 37387return libcpath_path_join (); 37388 ; 37389 return 0; 37390} 37391_ACEOF 37392if ac_fn_c_try_link "$LINENO"; then : 37393 ac_cv_lib_cpath_libcpath_path_join=yes 37394else 37395 ac_cv_lib_cpath_libcpath_path_join=no 37396fi 37397rm -f core conftest.err conftest.$ac_objext \ 37398 conftest$ac_exeext conftest.$ac_ext 37399LIBS=$ac_check_lib_save_LIBS 37400fi 37401{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_join" >&5 37402$as_echo "$ac_cv_lib_cpath_libcpath_path_join" >&6; } 37403if test "x$ac_cv_lib_cpath_libcpath_path_join" = xyes; then : 37404 ac_cv_libcpath_dummy=yes 37405else 37406 ac_cv_libcpath=no 37407fi 37408 37409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_make_directory in -lcpath" >&5 37410$as_echo_n "checking for libcpath_path_make_directory in -lcpath... " >&6; } 37411if ${ac_cv_lib_cpath_libcpath_path_make_directory+:} false; then : 37412 $as_echo_n "(cached) " >&6 37413else 37414 ac_check_lib_save_LIBS=$LIBS 37415LIBS="-lcpath $LIBS" 37416cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37417/* end confdefs.h. */ 37418 37419/* Override any GCC internal prototype to avoid an error. 37420 Use char because int might match the return type of a GCC 37421 builtin and then its argument prototype would still apply. */ 37422#ifdef __cplusplus 37423extern "C" 37424#endif 37425char libcpath_path_make_directory (); 37426int 37427main () 37428{ 37429return libcpath_path_make_directory (); 37430 ; 37431 return 0; 37432} 37433_ACEOF 37434if ac_fn_c_try_link "$LINENO"; then : 37435 ac_cv_lib_cpath_libcpath_path_make_directory=yes 37436else 37437 ac_cv_lib_cpath_libcpath_path_make_directory=no 37438fi 37439rm -f core conftest.err conftest.$ac_objext \ 37440 conftest$ac_exeext conftest.$ac_ext 37441LIBS=$ac_check_lib_save_LIBS 37442fi 37443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_make_directory" >&5 37444$as_echo "$ac_cv_lib_cpath_libcpath_path_make_directory" >&6; } 37445if test "x$ac_cv_lib_cpath_libcpath_path_make_directory" = xyes; then : 37446 ac_cv_libcpath_dummy=yes 37447else 37448 ac_cv_libcpath=no 37449fi 37450 37451 37452 if test "x$ac_cv_enable_wide_character_type" != xno; then : 37453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_change_directory_wide in -lcpath" >&5 37454$as_echo_n "checking for libcpath_path_change_directory_wide in -lcpath... " >&6; } 37455if ${ac_cv_lib_cpath_libcpath_path_change_directory_wide+:} false; then : 37456 $as_echo_n "(cached) " >&6 37457else 37458 ac_check_lib_save_LIBS=$LIBS 37459LIBS="-lcpath $LIBS" 37460cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37461/* end confdefs.h. */ 37462 37463/* Override any GCC internal prototype to avoid an error. 37464 Use char because int might match the return type of a GCC 37465 builtin and then its argument prototype would still apply. */ 37466#ifdef __cplusplus 37467extern "C" 37468#endif 37469char libcpath_path_change_directory_wide (); 37470int 37471main () 37472{ 37473return libcpath_path_change_directory_wide (); 37474 ; 37475 return 0; 37476} 37477_ACEOF 37478if ac_fn_c_try_link "$LINENO"; then : 37479 ac_cv_lib_cpath_libcpath_path_change_directory_wide=yes 37480else 37481 ac_cv_lib_cpath_libcpath_path_change_directory_wide=no 37482fi 37483rm -f core conftest.err conftest.$ac_objext \ 37484 conftest$ac_exeext conftest.$ac_ext 37485LIBS=$ac_check_lib_save_LIBS 37486fi 37487{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_change_directory_wide" >&5 37488$as_echo "$ac_cv_lib_cpath_libcpath_path_change_directory_wide" >&6; } 37489if test "x$ac_cv_lib_cpath_libcpath_path_change_directory_wide" = xyes; then : 37490 ac_cv_libcpath_dummy=yes 37491else 37492 ac_cv_libcpath=no 37493fi 37494 37495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_current_working_directory_wide in -lcpath" >&5 37496$as_echo_n "checking for libcpath_path_get_current_working_directory_wide in -lcpath... " >&6; } 37497if ${ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide+:} false; then : 37498 $as_echo_n "(cached) " >&6 37499else 37500 ac_check_lib_save_LIBS=$LIBS 37501LIBS="-lcpath $LIBS" 37502cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37503/* end confdefs.h. */ 37504 37505/* Override any GCC internal prototype to avoid an error. 37506 Use char because int might match the return type of a GCC 37507 builtin and then its argument prototype would still apply. */ 37508#ifdef __cplusplus 37509extern "C" 37510#endif 37511char libcpath_path_get_current_working_directory_wide (); 37512int 37513main () 37514{ 37515return libcpath_path_get_current_working_directory_wide (); 37516 ; 37517 return 0; 37518} 37519_ACEOF 37520if ac_fn_c_try_link "$LINENO"; then : 37521 ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide=yes 37522else 37523 ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide=no 37524fi 37525rm -f core conftest.err conftest.$ac_objext \ 37526 conftest$ac_exeext conftest.$ac_ext 37527LIBS=$ac_check_lib_save_LIBS 37528fi 37529{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide" >&5 37530$as_echo "$ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide" >&6; } 37531if test "x$ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide" = xyes; then : 37532 ac_cv_libcpath_dummy=yes 37533else 37534 ac_cv_libcpath=no 37535fi 37536 37537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_full_path_wide in -lcpath" >&5 37538$as_echo_n "checking for libcpath_path_get_full_path_wide in -lcpath... " >&6; } 37539if ${ac_cv_lib_cpath_libcpath_path_get_full_path_wide+:} false; then : 37540 $as_echo_n "(cached) " >&6 37541else 37542 ac_check_lib_save_LIBS=$LIBS 37543LIBS="-lcpath $LIBS" 37544cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37545/* end confdefs.h. */ 37546 37547/* Override any GCC internal prototype to avoid an error. 37548 Use char because int might match the return type of a GCC 37549 builtin and then its argument prototype would still apply. */ 37550#ifdef __cplusplus 37551extern "C" 37552#endif 37553char libcpath_path_get_full_path_wide (); 37554int 37555main () 37556{ 37557return libcpath_path_get_full_path_wide (); 37558 ; 37559 return 0; 37560} 37561_ACEOF 37562if ac_fn_c_try_link "$LINENO"; then : 37563 ac_cv_lib_cpath_libcpath_path_get_full_path_wide=yes 37564else 37565 ac_cv_lib_cpath_libcpath_path_get_full_path_wide=no 37566fi 37567rm -f core conftest.err conftest.$ac_objext \ 37568 conftest$ac_exeext conftest.$ac_ext 37569LIBS=$ac_check_lib_save_LIBS 37570fi 37571{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_full_path_wide" >&5 37572$as_echo "$ac_cv_lib_cpath_libcpath_path_get_full_path_wide" >&6; } 37573if test "x$ac_cv_lib_cpath_libcpath_path_get_full_path_wide" = xyes; then : 37574 ac_cv_libcpath_dummy=yes 37575else 37576 ac_cv_libcpath=no 37577fi 37578 37579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_filename_wide in -lcpath" >&5 37580$as_echo_n "checking for libcpath_path_get_sanitized_filename_wide in -lcpath... " >&6; } 37581if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide+:} false; then : 37582 $as_echo_n "(cached) " >&6 37583else 37584 ac_check_lib_save_LIBS=$LIBS 37585LIBS="-lcpath $LIBS" 37586cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37587/* end confdefs.h. */ 37588 37589/* Override any GCC internal prototype to avoid an error. 37590 Use char because int might match the return type of a GCC 37591 builtin and then its argument prototype would still apply. */ 37592#ifdef __cplusplus 37593extern "C" 37594#endif 37595char libcpath_path_get_sanitized_filename_wide (); 37596int 37597main () 37598{ 37599return libcpath_path_get_sanitized_filename_wide (); 37600 ; 37601 return 0; 37602} 37603_ACEOF 37604if ac_fn_c_try_link "$LINENO"; then : 37605 ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide=yes 37606else 37607 ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide=no 37608fi 37609rm -f core conftest.err conftest.$ac_objext \ 37610 conftest$ac_exeext conftest.$ac_ext 37611LIBS=$ac_check_lib_save_LIBS 37612fi 37613{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide" >&5 37614$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide" >&6; } 37615if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide" = xyes; then : 37616 ac_cv_libcpath_dummy=yes 37617else 37618 ac_cv_libcpath=no 37619fi 37620 37621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_path_wide in -lcpath" >&5 37622$as_echo_n "checking for libcpath_path_get_sanitized_path_wide in -lcpath... " >&6; } 37623if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide+:} false; then : 37624 $as_echo_n "(cached) " >&6 37625else 37626 ac_check_lib_save_LIBS=$LIBS 37627LIBS="-lcpath $LIBS" 37628cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37629/* end confdefs.h. */ 37630 37631/* Override any GCC internal prototype to avoid an error. 37632 Use char because int might match the return type of a GCC 37633 builtin and then its argument prototype would still apply. */ 37634#ifdef __cplusplus 37635extern "C" 37636#endif 37637char libcpath_path_get_sanitized_path_wide (); 37638int 37639main () 37640{ 37641return libcpath_path_get_sanitized_path_wide (); 37642 ; 37643 return 0; 37644} 37645_ACEOF 37646if ac_fn_c_try_link "$LINENO"; then : 37647 ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide=yes 37648else 37649 ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide=no 37650fi 37651rm -f core conftest.err conftest.$ac_objext \ 37652 conftest$ac_exeext conftest.$ac_ext 37653LIBS=$ac_check_lib_save_LIBS 37654fi 37655{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide" >&5 37656$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide" >&6; } 37657if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide" = xyes; then : 37658 ac_cv_libcpath_dummy=yes 37659else 37660 ac_cv_libcpath=no 37661fi 37662 37663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_join_wide in -lcpath" >&5 37664$as_echo_n "checking for libcpath_path_join_wide in -lcpath... " >&6; } 37665if ${ac_cv_lib_cpath_libcpath_path_join_wide+:} false; then : 37666 $as_echo_n "(cached) " >&6 37667else 37668 ac_check_lib_save_LIBS=$LIBS 37669LIBS="-lcpath $LIBS" 37670cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37671/* end confdefs.h. */ 37672 37673/* Override any GCC internal prototype to avoid an error. 37674 Use char because int might match the return type of a GCC 37675 builtin and then its argument prototype would still apply. */ 37676#ifdef __cplusplus 37677extern "C" 37678#endif 37679char libcpath_path_join_wide (); 37680int 37681main () 37682{ 37683return libcpath_path_join_wide (); 37684 ; 37685 return 0; 37686} 37687_ACEOF 37688if ac_fn_c_try_link "$LINENO"; then : 37689 ac_cv_lib_cpath_libcpath_path_join_wide=yes 37690else 37691 ac_cv_lib_cpath_libcpath_path_join_wide=no 37692fi 37693rm -f core conftest.err conftest.$ac_objext \ 37694 conftest$ac_exeext conftest.$ac_ext 37695LIBS=$ac_check_lib_save_LIBS 37696fi 37697{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_join_wide" >&5 37698$as_echo "$ac_cv_lib_cpath_libcpath_path_join_wide" >&6; } 37699if test "x$ac_cv_lib_cpath_libcpath_path_join_wide" = xyes; then : 37700 ac_cv_libcpath_dummy=yes 37701else 37702 ac_cv_libcpath=no 37703fi 37704 37705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_make_directory_wide in -lcpath" >&5 37706$as_echo_n "checking for libcpath_path_make_directory_wide in -lcpath... " >&6; } 37707if ${ac_cv_lib_cpath_libcpath_path_make_directory_wide+:} false; then : 37708 $as_echo_n "(cached) " >&6 37709else 37710 ac_check_lib_save_LIBS=$LIBS 37711LIBS="-lcpath $LIBS" 37712cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37713/* end confdefs.h. */ 37714 37715/* Override any GCC internal prototype to avoid an error. 37716 Use char because int might match the return type of a GCC 37717 builtin and then its argument prototype would still apply. */ 37718#ifdef __cplusplus 37719extern "C" 37720#endif 37721char libcpath_path_make_directory_wide (); 37722int 37723main () 37724{ 37725return libcpath_path_make_directory_wide (); 37726 ; 37727 return 0; 37728} 37729_ACEOF 37730if ac_fn_c_try_link "$LINENO"; then : 37731 ac_cv_lib_cpath_libcpath_path_make_directory_wide=yes 37732else 37733 ac_cv_lib_cpath_libcpath_path_make_directory_wide=no 37734fi 37735rm -f core conftest.err conftest.$ac_objext \ 37736 conftest$ac_exeext conftest.$ac_ext 37737LIBS=$ac_check_lib_save_LIBS 37738fi 37739{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_make_directory_wide" >&5 37740$as_echo "$ac_cv_lib_cpath_libcpath_path_make_directory_wide" >&6; } 37741if test "x$ac_cv_lib_cpath_libcpath_path_make_directory_wide" = xyes; then : 37742 ac_cv_libcpath_dummy=yes 37743else 37744 ac_cv_libcpath=no 37745fi 37746 37747 37748fi 37749 37750 ac_cv_libcpath_LIBADD="-lcpath" 37751fi 37752 37753fi 37754 if test "x$ac_cv_with_libcpath" != x && test "x$ac_cv_with_libcpath" != xauto-detect && test "x$ac_cv_libcpath" != xyes; then : 37755 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 37756$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 37757as_fn_error 1 "unable to find supported libcpath in directory: $ac_cv_with_libcpath 37758See \`config.log' for more details" "$LINENO" 5; } 37759 37760fi 37761 37762fi 37763 37764 if test "x$ac_cv_libcpath" = xyes; then : 37765 37766$as_echo "#define HAVE_LIBCPATH 1" >>confdefs.h 37767 37768 37769fi 37770 37771 if test "x$ac_cv_libcpath" = xyes; then : 37772 HAVE_LIBCPATH=1 37773 37774else 37775 HAVE_LIBCPATH=0 37776 37777 37778fi 37779 37780 37781 if test "x$ac_cv_libcpath" != xyes; then : 37782 for ac_header in errno.h sys/stat.h sys/syslimits.h 37783do : 37784 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 37785ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 37786if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 37787 cat >>confdefs.h <<_ACEOF 37788#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 37789_ACEOF 37790 37791fi 37792 37793done 37794 37795 37796 for ac_func in chdir getcwd 37797do : 37798 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 37799ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 37800if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 37801 cat >>confdefs.h <<_ACEOF 37802#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 37803_ACEOF 37804 37805fi 37806done 37807 37808 37809 if test "x$ac_cv_func_chdir" != xyes; then : 37810 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 37811$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 37812as_fn_error 1 "Missing functions: chdir 37813See \`config.log' for more details" "$LINENO" 5; } 37814 37815fi 37816 37817 if test "x$ac_cv_func_getcwd" != xyes; then : 37818 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 37819$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 37820as_fn_error 1 "Missing functions: getcwd 37821See \`config.log' for more details" "$LINENO" 5; } 37822 37823fi 37824 37825 for ac_func in mkdir 37826do : 37827 ac_fn_c_check_func "$LINENO" "mkdir" "ac_cv_func_mkdir" 37828if test "x$ac_cv_func_mkdir" = xyes; then : 37829 cat >>confdefs.h <<_ACEOF 37830#define HAVE_MKDIR 1 37831_ACEOF 37832 37833fi 37834done 37835 37836 37837 if test "x$ac_cv_func_mkdir" = xyes; then : 37838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to use mkdir" >&5 37839$as_echo_n "checking how to use mkdir... " >&6; } 37840 37841 SAVE_CFLAGS="$CFLAGS" 37842 CFLAGS="$CFLAGS -Wall -Werror" 37843 ac_ext=c 37844ac_cpp='$CPP $CPPFLAGS' 37845ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 37846ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 37847ac_compiler_gnu=$ac_cv_c_compiler_gnu 37848 37849 37850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37851/* end confdefs.h. */ 37852#include <sys/stat.h> 37853#include <sys/types.h> 37854int 37855main () 37856{ 37857mkdir( "", 0 ) 37858 ; 37859 return 0; 37860} 37861_ACEOF 37862if ac_fn_c_try_link "$LINENO"; then : 37863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: with additional mode argument" >&5 37864$as_echo "with additional mode argument" >&6; } 37865 ac_cv_cv_mkdir_mode=yes 37866else 37867 ac_cv_cv_mkdir_mode=no 37868fi 37869rm -f core conftest.err conftest.$ac_objext \ 37870 conftest$ac_exeext conftest.$ac_ext 37871 37872 if test "x$ac_cv_cv_mkdir_mode" = xno; then : 37873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37874/* end confdefs.h. */ 37875#include <io.h> 37876int 37877main () 37878{ 37879mkdir( "" ) 37880 ; 37881 return 0; 37882} 37883_ACEOF 37884if ac_fn_c_try_link "$LINENO"; then : 37885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: with single argument" >&5 37886$as_echo "with single argument" >&6; } 37887 ac_cv_cv_mkdir=yes 37888else 37889 ac_cv_cv_mkdir=no 37890fi 37891rm -f core conftest.err conftest.$ac_objext \ 37892 conftest$ac_exeext conftest.$ac_ext 37893 37894fi 37895 37896 ac_ext=c 37897ac_cpp='$CPP $CPPFLAGS' 37898ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 37899ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 37900ac_compiler_gnu=$ac_cv_c_compiler_gnu 37901 37902 CFLAGS="$SAVE_CFLAGS" 37903 37904 if test "x$ac_cv_cv_mkdir_mode" = xno && test "x$ac_cv_cv_mkdir" = xno; then : 37905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unknown" >&5 37906$as_echo "$as_me: WARNING: unknown" >&2;} 37907 ac_cv_func_mkdir=no 37908fi 37909 37910 if test "x$ac_cv_func_mkdir" = xyes; then : 37911 37912$as_echo "#define HAVE_MKDIR 1" >>confdefs.h 37913 37914 37915fi 37916 37917 if test "x$ac_cv_cv_mkdir_mode" = xyes; then : 37918 37919$as_echo "#define HAVE_MKDIR_MODE 1" >>confdefs.h 37920 37921 37922fi 37923 37924fi 37925 37926 if test "x$ac_cv_func_mkdir" = xno; then : 37927 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 37928$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 37929as_fn_error 1 "Missing function: mkdir 37930See \`config.log' for more details" "$LINENO" 5; } 37931 37932fi 37933 37934 37935 ac_cv_libcpath_CPPFLAGS="-I../libcpath"; 37936 ac_cv_libcpath_LIBADD="../libcpath/libcpath.la"; 37937 37938 ac_cv_libcpath=local 37939 37940 37941 37942$as_echo "#define HAVE_LOCAL_LIBCPATH 1" >>confdefs.h 37943 37944 HAVE_LOCAL_LIBCPATH=1 37945 37946 37947fi 37948 37949 if test "x$ac_cv_libcpath" = xlocal; then 37950 HAVE_LOCAL_LIBCPATH_TRUE= 37951 HAVE_LOCAL_LIBCPATH_FALSE='#' 37952else 37953 HAVE_LOCAL_LIBCPATH_TRUE='#' 37954 HAVE_LOCAL_LIBCPATH_FALSE= 37955fi 37956 37957 if test "x$ac_cv_libcpath_CPPFLAGS" != "x"; then : 37958 LIBCPATH_CPPFLAGS=$ac_cv_libcpath_CPPFLAGS 37959 37960 37961fi 37962 if test "x$ac_cv_libcpath_LIBADD" != "x"; then : 37963 LIBCPATH_LIBADD=$ac_cv_libcpath_LIBADD 37964 37965 37966fi 37967 37968 if test "x$ac_cv_libcpath" = xyes; then : 37969 ax_libcpath_pc_libs_private=-lcpath 37970 37971 37972fi 37973 37974 if test "x$ac_cv_libcpath" = xyes; then : 37975 ax_libcpath_spec_requires=libcpath 37976 37977 ax_libcpath_spec_build_requires=libcpath-devel 37978 37979 37980fi 37981 37982 37983 37984 37985# Check whether --with-libbfio was given. 37986if test "${with_libbfio+set}" = set; then : 37987 withval=$with_libbfio; ac_cv_with_libbfio=$withval 37988else 37989 ac_cv_with_libbfio=auto-detect 37990fi 37991 37992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use search for libbfio in includedir and libdir or in the specified DIR, or no if to use local version" >&5 37993$as_echo_n "checking whether to use search for libbfio in includedir and libdir or in the specified DIR, or no if to use local version... " >&6; } 37994if ${ac_cv_with_libbfio+:} false; then : 37995 $as_echo_n "(cached) " >&6 37996else 37997 ac_cv_with_libbfio=auto-detect 37998fi 37999{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libbfio" >&5 38000$as_echo "$ac_cv_with_libbfio" >&6; } 38001 38002 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libbfio" = xno; then : 38003 ac_cv_libbfio=no 38004else 38005 ac_cv_libbfio=check 38006 if test "x$ac_cv_with_libbfio" != x && test "x$ac_cv_with_libbfio" != xauto-detect; then : 38007 if test -d "$ac_cv_with_libbfio"; then : 38008 CFLAGS="$CFLAGS -I${ac_cv_with_libbfio}/include" 38009 LDFLAGS="$LDFLAGS -L${ac_cv_with_libbfio}/lib" 38010else 38011 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 38012$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 38013as_fn_error 1 "no such directory: $ac_cv_with_libbfio 38014See \`config.log' for more details" "$LINENO" 5; } 38015 38016fi 38017 38018else 38019 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 38020 38021pkg_failed=no 38022{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio" >&5 38023$as_echo_n "checking for libbfio... " >&6; } 38024 38025if test -n "$libbfio_CFLAGS"; then 38026 pkg_cv_libbfio_CFLAGS="$libbfio_CFLAGS" 38027 elif test -n "$PKG_CONFIG"; then 38028 if test -n "$PKG_CONFIG" && \ 38029 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbfio >= 20201125\""; } >&5 38030 ($PKG_CONFIG --exists --print-errors "libbfio >= 20201125") 2>&5 38031 ac_status=$? 38032 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 38033 test $ac_status = 0; }; then 38034 pkg_cv_libbfio_CFLAGS=`$PKG_CONFIG --cflags "libbfio >= 20201125" 2>/dev/null` 38035 test "x$?" != "x0" && pkg_failed=yes 38036else 38037 pkg_failed=yes 38038fi 38039 else 38040 pkg_failed=untried 38041fi 38042if test -n "$libbfio_LIBS"; then 38043 pkg_cv_libbfio_LIBS="$libbfio_LIBS" 38044 elif test -n "$PKG_CONFIG"; then 38045 if test -n "$PKG_CONFIG" && \ 38046 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbfio >= 20201125\""; } >&5 38047 ($PKG_CONFIG --exists --print-errors "libbfio >= 20201125") 2>&5 38048 ac_status=$? 38049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 38050 test $ac_status = 0; }; then 38051 pkg_cv_libbfio_LIBS=`$PKG_CONFIG --libs "libbfio >= 20201125" 2>/dev/null` 38052 test "x$?" != "x0" && pkg_failed=yes 38053else 38054 pkg_failed=yes 38055fi 38056 else 38057 pkg_failed=untried 38058fi 38059 38060 38061 38062if test $pkg_failed = yes; then 38063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 38064$as_echo "no" >&6; } 38065 38066if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 38067 _pkg_short_errors_supported=yes 38068else 38069 _pkg_short_errors_supported=no 38070fi 38071 if test $_pkg_short_errors_supported = yes; then 38072 libbfio_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libbfio >= 20201125" 2>&1` 38073 else 38074 libbfio_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libbfio >= 20201125" 2>&1` 38075 fi 38076 # Put the nasty error message in config.log where it belongs 38077 echo "$libbfio_PKG_ERRORS" >&5 38078 38079 ac_cv_libbfio=check 38080elif test $pkg_failed = untried; then 38081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 38082$as_echo "no" >&6; } 38083 ac_cv_libbfio=check 38084else 38085 libbfio_CFLAGS=$pkg_cv_libbfio_CFLAGS 38086 libbfio_LIBS=$pkg_cv_libbfio_LIBS 38087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 38088$as_echo "yes" >&6; } 38089 ac_cv_libbfio=yes 38090fi 38091 38092fi 38093 if test "x$ac_cv_libbfio" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then : 38094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libbfio/features.h defines LIBBFIO_HAVE_WIDE_CHARACTER_TYPE as 1" >&5 38095$as_echo_n "checking whether libbfio/features.h defines LIBBFIO_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; } 38096if ${ac_cv_header_libbfio_features_h_have_wide_character_type+:} false; then : 38097 $as_echo_n "(cached) " >&6 38098else 38099 ac_ext=c 38100ac_cpp='$CPP $CPPFLAGS' 38101ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 38102ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 38103ac_compiler_gnu=$ac_cv_c_compiler_gnu 38104 38105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38106/* end confdefs.h. */ 38107#include <libbfio/features.h> 38108int 38109main () 38110{ 38111#if !defined( LIBBFIO_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBBFIO_HAVE_WIDE_CHARACTER_TYPE != 1 ) 38112#error LIBBFIO_HAVE_WIDE_CHARACTER_TYPE not defined 38113#endif 38114 ; 38115 return 0; 38116} 38117_ACEOF 38118if ac_fn_c_try_compile "$LINENO"; then : 38119 ac_cv_header_libbfio_features_h_have_wide_character_type=yes 38120else 38121 ac_cv_header_libbfio_features_h_have_wide_character_type=no 38122fi 38123rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 38124 ac_ext=c 38125ac_cpp='$CPP $CPPFLAGS' 38126ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 38127ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 38128ac_compiler_gnu=$ac_cv_c_compiler_gnu 38129 38130fi 38131{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libbfio_features_h_have_wide_character_type" >&5 38132$as_echo "$ac_cv_header_libbfio_features_h_have_wide_character_type" >&6; } 38133 38134 if test "x$ac_cv_header_libbfio_features_h_have_wide_character_type" = xno; then : 38135 ac_cv_libbfio=no 38136fi 38137 38138fi 38139 if test "x$ac_cv_libbfio" = xyes; then : 38140 ac_cv_libbfio_CPPFLAGS="$pkg_cv_libbfio_CFLAGS" 38141 ac_cv_libbfio_LIBADD="$pkg_cv_libbfio_LIBS" 38142fi 38143 38144fi 38145 38146 if test "x$ac_cv_libbfio" = xcheck; then : 38147 for ac_header in libbfio.h 38148do : 38149 ac_fn_c_check_header_mongrel "$LINENO" "libbfio.h" "ac_cv_header_libbfio_h" "$ac_includes_default" 38150if test "x$ac_cv_header_libbfio_h" = xyes; then : 38151 cat >>confdefs.h <<_ACEOF 38152#define HAVE_LIBBFIO_H 1 38153_ACEOF 38154 38155fi 38156 38157done 38158 38159 38160 if test "x$ac_cv_header_libbfio_h" = xno; then : 38161 ac_cv_libbfio=no 38162else 38163 ac_cv_libbfio=yes 38164 38165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_get_version in -lbfio" >&5 38166$as_echo_n "checking for libbfio_get_version in -lbfio... " >&6; } 38167if ${ac_cv_lib_bfio_libbfio_get_version+:} false; then : 38168 $as_echo_n "(cached) " >&6 38169else 38170 ac_check_lib_save_LIBS=$LIBS 38171LIBS="-lbfio $LIBS" 38172cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38173/* end confdefs.h. */ 38174 38175/* Override any GCC internal prototype to avoid an error. 38176 Use char because int might match the return type of a GCC 38177 builtin and then its argument prototype would still apply. */ 38178#ifdef __cplusplus 38179extern "C" 38180#endif 38181char libbfio_get_version (); 38182int 38183main () 38184{ 38185return libbfio_get_version (); 38186 ; 38187 return 0; 38188} 38189_ACEOF 38190if ac_fn_c_try_link "$LINENO"; then : 38191 ac_cv_lib_bfio_libbfio_get_version=yes 38192else 38193 ac_cv_lib_bfio_libbfio_get_version=no 38194fi 38195rm -f core conftest.err conftest.$ac_objext \ 38196 conftest$ac_exeext conftest.$ac_ext 38197LIBS=$ac_check_lib_save_LIBS 38198fi 38199{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_get_version" >&5 38200$as_echo "$ac_cv_lib_bfio_libbfio_get_version" >&6; } 38201if test "x$ac_cv_lib_bfio_libbfio_get_version" = xyes; then : 38202 ac_cv_libbfio_dummy=yes 38203else 38204 ac_cv_libbfio=no 38205fi 38206 38207 38208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_free in -lbfio" >&5 38209$as_echo_n "checking for libbfio_handle_free in -lbfio... " >&6; } 38210if ${ac_cv_lib_bfio_libbfio_handle_free+:} false; then : 38211 $as_echo_n "(cached) " >&6 38212else 38213 ac_check_lib_save_LIBS=$LIBS 38214LIBS="-lbfio $LIBS" 38215cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38216/* end confdefs.h. */ 38217 38218/* Override any GCC internal prototype to avoid an error. 38219 Use char because int might match the return type of a GCC 38220 builtin and then its argument prototype would still apply. */ 38221#ifdef __cplusplus 38222extern "C" 38223#endif 38224char libbfio_handle_free (); 38225int 38226main () 38227{ 38228return libbfio_handle_free (); 38229 ; 38230 return 0; 38231} 38232_ACEOF 38233if ac_fn_c_try_link "$LINENO"; then : 38234 ac_cv_lib_bfio_libbfio_handle_free=yes 38235else 38236 ac_cv_lib_bfio_libbfio_handle_free=no 38237fi 38238rm -f core conftest.err conftest.$ac_objext \ 38239 conftest$ac_exeext conftest.$ac_ext 38240LIBS=$ac_check_lib_save_LIBS 38241fi 38242{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_free" >&5 38243$as_echo "$ac_cv_lib_bfio_libbfio_handle_free" >&6; } 38244if test "x$ac_cv_lib_bfio_libbfio_handle_free" = xyes; then : 38245 ac_cv_libbfio_dummy=yes 38246else 38247 ac_cv_libbfio=no 38248fi 38249 38250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_open in -lbfio" >&5 38251$as_echo_n "checking for libbfio_handle_open in -lbfio... " >&6; } 38252if ${ac_cv_lib_bfio_libbfio_handle_open+:} false; then : 38253 $as_echo_n "(cached) " >&6 38254else 38255 ac_check_lib_save_LIBS=$LIBS 38256LIBS="-lbfio $LIBS" 38257cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38258/* end confdefs.h. */ 38259 38260/* Override any GCC internal prototype to avoid an error. 38261 Use char because int might match the return type of a GCC 38262 builtin and then its argument prototype would still apply. */ 38263#ifdef __cplusplus 38264extern "C" 38265#endif 38266char libbfio_handle_open (); 38267int 38268main () 38269{ 38270return libbfio_handle_open (); 38271 ; 38272 return 0; 38273} 38274_ACEOF 38275if ac_fn_c_try_link "$LINENO"; then : 38276 ac_cv_lib_bfio_libbfio_handle_open=yes 38277else 38278 ac_cv_lib_bfio_libbfio_handle_open=no 38279fi 38280rm -f core conftest.err conftest.$ac_objext \ 38281 conftest$ac_exeext conftest.$ac_ext 38282LIBS=$ac_check_lib_save_LIBS 38283fi 38284{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_open" >&5 38285$as_echo "$ac_cv_lib_bfio_libbfio_handle_open" >&6; } 38286if test "x$ac_cv_lib_bfio_libbfio_handle_open" = xyes; then : 38287 ac_cv_libbfio_dummy=yes 38288else 38289 ac_cv_libbfio=no 38290fi 38291 38292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_close in -lbfio" >&5 38293$as_echo_n "checking for libbfio_handle_close in -lbfio... " >&6; } 38294if ${ac_cv_lib_bfio_libbfio_handle_close+:} false; then : 38295 $as_echo_n "(cached) " >&6 38296else 38297 ac_check_lib_save_LIBS=$LIBS 38298LIBS="-lbfio $LIBS" 38299cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38300/* end confdefs.h. */ 38301 38302/* Override any GCC internal prototype to avoid an error. 38303 Use char because int might match the return type of a GCC 38304 builtin and then its argument prototype would still apply. */ 38305#ifdef __cplusplus 38306extern "C" 38307#endif 38308char libbfio_handle_close (); 38309int 38310main () 38311{ 38312return libbfio_handle_close (); 38313 ; 38314 return 0; 38315} 38316_ACEOF 38317if ac_fn_c_try_link "$LINENO"; then : 38318 ac_cv_lib_bfio_libbfio_handle_close=yes 38319else 38320 ac_cv_lib_bfio_libbfio_handle_close=no 38321fi 38322rm -f core conftest.err conftest.$ac_objext \ 38323 conftest$ac_exeext conftest.$ac_ext 38324LIBS=$ac_check_lib_save_LIBS 38325fi 38326{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_close" >&5 38327$as_echo "$ac_cv_lib_bfio_libbfio_handle_close" >&6; } 38328if test "x$ac_cv_lib_bfio_libbfio_handle_close" = xyes; then : 38329 ac_cv_libbfio_dummy=yes 38330else 38331 ac_cv_libbfio=no 38332fi 38333 38334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_exists in -lbfio" >&5 38335$as_echo_n "checking for libbfio_handle_exists in -lbfio... " >&6; } 38336if ${ac_cv_lib_bfio_libbfio_handle_exists+:} false; then : 38337 $as_echo_n "(cached) " >&6 38338else 38339 ac_check_lib_save_LIBS=$LIBS 38340LIBS="-lbfio $LIBS" 38341cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38342/* end confdefs.h. */ 38343 38344/* Override any GCC internal prototype to avoid an error. 38345 Use char because int might match the return type of a GCC 38346 builtin and then its argument prototype would still apply. */ 38347#ifdef __cplusplus 38348extern "C" 38349#endif 38350char libbfio_handle_exists (); 38351int 38352main () 38353{ 38354return libbfio_handle_exists (); 38355 ; 38356 return 0; 38357} 38358_ACEOF 38359if ac_fn_c_try_link "$LINENO"; then : 38360 ac_cv_lib_bfio_libbfio_handle_exists=yes 38361else 38362 ac_cv_lib_bfio_libbfio_handle_exists=no 38363fi 38364rm -f core conftest.err conftest.$ac_objext \ 38365 conftest$ac_exeext conftest.$ac_ext 38366LIBS=$ac_check_lib_save_LIBS 38367fi 38368{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_exists" >&5 38369$as_echo "$ac_cv_lib_bfio_libbfio_handle_exists" >&6; } 38370if test "x$ac_cv_lib_bfio_libbfio_handle_exists" = xyes; then : 38371 ac_cv_libbfio_dummy=yes 38372else 38373 ac_cv_libbfio=no 38374fi 38375 38376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_read_buffer in -lbfio" >&5 38377$as_echo_n "checking for libbfio_handle_read_buffer in -lbfio... " >&6; } 38378if ${ac_cv_lib_bfio_libbfio_handle_read_buffer+:} false; then : 38379 $as_echo_n "(cached) " >&6 38380else 38381 ac_check_lib_save_LIBS=$LIBS 38382LIBS="-lbfio $LIBS" 38383cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38384/* end confdefs.h. */ 38385 38386/* Override any GCC internal prototype to avoid an error. 38387 Use char because int might match the return type of a GCC 38388 builtin and then its argument prototype would still apply. */ 38389#ifdef __cplusplus 38390extern "C" 38391#endif 38392char libbfio_handle_read_buffer (); 38393int 38394main () 38395{ 38396return libbfio_handle_read_buffer (); 38397 ; 38398 return 0; 38399} 38400_ACEOF 38401if ac_fn_c_try_link "$LINENO"; then : 38402 ac_cv_lib_bfio_libbfio_handle_read_buffer=yes 38403else 38404 ac_cv_lib_bfio_libbfio_handle_read_buffer=no 38405fi 38406rm -f core conftest.err conftest.$ac_objext \ 38407 conftest$ac_exeext conftest.$ac_ext 38408LIBS=$ac_check_lib_save_LIBS 38409fi 38410{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_read_buffer" >&5 38411$as_echo "$ac_cv_lib_bfio_libbfio_handle_read_buffer" >&6; } 38412if test "x$ac_cv_lib_bfio_libbfio_handle_read_buffer" = xyes; then : 38413 ac_cv_libbfio_dummy=yes 38414else 38415 ac_cv_libbfio=no 38416fi 38417 38418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_read_buffer_at_offset in -lbfio" >&5 38419$as_echo_n "checking for libbfio_handle_read_buffer_at_offset in -lbfio... " >&6; } 38420if ${ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset+:} false; then : 38421 $as_echo_n "(cached) " >&6 38422else 38423 ac_check_lib_save_LIBS=$LIBS 38424LIBS="-lbfio $LIBS" 38425cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38426/* end confdefs.h. */ 38427 38428/* Override any GCC internal prototype to avoid an error. 38429 Use char because int might match the return type of a GCC 38430 builtin and then its argument prototype would still apply. */ 38431#ifdef __cplusplus 38432extern "C" 38433#endif 38434char libbfio_handle_read_buffer_at_offset (); 38435int 38436main () 38437{ 38438return libbfio_handle_read_buffer_at_offset (); 38439 ; 38440 return 0; 38441} 38442_ACEOF 38443if ac_fn_c_try_link "$LINENO"; then : 38444 ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset=yes 38445else 38446 ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset=no 38447fi 38448rm -f core conftest.err conftest.$ac_objext \ 38449 conftest$ac_exeext conftest.$ac_ext 38450LIBS=$ac_check_lib_save_LIBS 38451fi 38452{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset" >&5 38453$as_echo "$ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset" >&6; } 38454if test "x$ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset" = xyes; then : 38455 ac_cv_libbfio_dummy=yes 38456else 38457 ac_cv_libbfio=no 38458fi 38459 38460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_write_buffer in -lbfio" >&5 38461$as_echo_n "checking for libbfio_handle_write_buffer in -lbfio... " >&6; } 38462if ${ac_cv_lib_bfio_libbfio_handle_write_buffer+:} false; then : 38463 $as_echo_n "(cached) " >&6 38464else 38465 ac_check_lib_save_LIBS=$LIBS 38466LIBS="-lbfio $LIBS" 38467cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38468/* end confdefs.h. */ 38469 38470/* Override any GCC internal prototype to avoid an error. 38471 Use char because int might match the return type of a GCC 38472 builtin and then its argument prototype would still apply. */ 38473#ifdef __cplusplus 38474extern "C" 38475#endif 38476char libbfio_handle_write_buffer (); 38477int 38478main () 38479{ 38480return libbfio_handle_write_buffer (); 38481 ; 38482 return 0; 38483} 38484_ACEOF 38485if ac_fn_c_try_link "$LINENO"; then : 38486 ac_cv_lib_bfio_libbfio_handle_write_buffer=yes 38487else 38488 ac_cv_lib_bfio_libbfio_handle_write_buffer=no 38489fi 38490rm -f core conftest.err conftest.$ac_objext \ 38491 conftest$ac_exeext conftest.$ac_ext 38492LIBS=$ac_check_lib_save_LIBS 38493fi 38494{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_write_buffer" >&5 38495$as_echo "$ac_cv_lib_bfio_libbfio_handle_write_buffer" >&6; } 38496if test "x$ac_cv_lib_bfio_libbfio_handle_write_buffer" = xyes; then : 38497 ac_cv_libbfio_dummy=yes 38498else 38499 ac_cv_libbfio=no 38500fi 38501 38502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_write_buffer_at_offset in -lbfio" >&5 38503$as_echo_n "checking for libbfio_handle_write_buffer_at_offset in -lbfio... " >&6; } 38504if ${ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset+:} false; then : 38505 $as_echo_n "(cached) " >&6 38506else 38507 ac_check_lib_save_LIBS=$LIBS 38508LIBS="-lbfio $LIBS" 38509cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38510/* end confdefs.h. */ 38511 38512/* Override any GCC internal prototype to avoid an error. 38513 Use char because int might match the return type of a GCC 38514 builtin and then its argument prototype would still apply. */ 38515#ifdef __cplusplus 38516extern "C" 38517#endif 38518char libbfio_handle_write_buffer_at_offset (); 38519int 38520main () 38521{ 38522return libbfio_handle_write_buffer_at_offset (); 38523 ; 38524 return 0; 38525} 38526_ACEOF 38527if ac_fn_c_try_link "$LINENO"; then : 38528 ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset=yes 38529else 38530 ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset=no 38531fi 38532rm -f core conftest.err conftest.$ac_objext \ 38533 conftest$ac_exeext conftest.$ac_ext 38534LIBS=$ac_check_lib_save_LIBS 38535fi 38536{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset" >&5 38537$as_echo "$ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset" >&6; } 38538if test "x$ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset" = xyes; then : 38539 ac_cv_libbfio_dummy=yes 38540else 38541 ac_cv_libbfio=no 38542fi 38543 38544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_seek_offset in -lbfio" >&5 38545$as_echo_n "checking for libbfio_handle_seek_offset in -lbfio... " >&6; } 38546if ${ac_cv_lib_bfio_libbfio_handle_seek_offset+:} false; then : 38547 $as_echo_n "(cached) " >&6 38548else 38549 ac_check_lib_save_LIBS=$LIBS 38550LIBS="-lbfio $LIBS" 38551cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38552/* end confdefs.h. */ 38553 38554/* Override any GCC internal prototype to avoid an error. 38555 Use char because int might match the return type of a GCC 38556 builtin and then its argument prototype would still apply. */ 38557#ifdef __cplusplus 38558extern "C" 38559#endif 38560char libbfio_handle_seek_offset (); 38561int 38562main () 38563{ 38564return libbfio_handle_seek_offset (); 38565 ; 38566 return 0; 38567} 38568_ACEOF 38569if ac_fn_c_try_link "$LINENO"; then : 38570 ac_cv_lib_bfio_libbfio_handle_seek_offset=yes 38571else 38572 ac_cv_lib_bfio_libbfio_handle_seek_offset=no 38573fi 38574rm -f core conftest.err conftest.$ac_objext \ 38575 conftest$ac_exeext conftest.$ac_ext 38576LIBS=$ac_check_lib_save_LIBS 38577fi 38578{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_seek_offset" >&5 38579$as_echo "$ac_cv_lib_bfio_libbfio_handle_seek_offset" >&6; } 38580if test "x$ac_cv_lib_bfio_libbfio_handle_seek_offset" = xyes; then : 38581 ac_cv_libbfio_dummy=yes 38582else 38583 ac_cv_libbfio=no 38584fi 38585 38586 38587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_is_open in -lbfio" >&5 38588$as_echo_n "checking for libbfio_handle_is_open in -lbfio... " >&6; } 38589if ${ac_cv_lib_bfio_libbfio_handle_is_open+:} false; then : 38590 $as_echo_n "(cached) " >&6 38591else 38592 ac_check_lib_save_LIBS=$LIBS 38593LIBS="-lbfio $LIBS" 38594cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38595/* end confdefs.h. */ 38596 38597/* Override any GCC internal prototype to avoid an error. 38598 Use char because int might match the return type of a GCC 38599 builtin and then its argument prototype would still apply. */ 38600#ifdef __cplusplus 38601extern "C" 38602#endif 38603char libbfio_handle_is_open (); 38604int 38605main () 38606{ 38607return libbfio_handle_is_open (); 38608 ; 38609 return 0; 38610} 38611_ACEOF 38612if ac_fn_c_try_link "$LINENO"; then : 38613 ac_cv_lib_bfio_libbfio_handle_is_open=yes 38614else 38615 ac_cv_lib_bfio_libbfio_handle_is_open=no 38616fi 38617rm -f core conftest.err conftest.$ac_objext \ 38618 conftest$ac_exeext conftest.$ac_ext 38619LIBS=$ac_check_lib_save_LIBS 38620fi 38621{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_is_open" >&5 38622$as_echo "$ac_cv_lib_bfio_libbfio_handle_is_open" >&6; } 38623if test "x$ac_cv_lib_bfio_libbfio_handle_is_open" = xyes; then : 38624 ac_cv_libbfio_dummy=yes 38625else 38626 ac_cv_libbfio=no 38627fi 38628 38629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_offset in -lbfio" >&5 38630$as_echo_n "checking for libbfio_handle_get_offset in -lbfio... " >&6; } 38631if ${ac_cv_lib_bfio_libbfio_handle_get_offset+:} false; then : 38632 $as_echo_n "(cached) " >&6 38633else 38634 ac_check_lib_save_LIBS=$LIBS 38635LIBS="-lbfio $LIBS" 38636cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38637/* end confdefs.h. */ 38638 38639/* Override any GCC internal prototype to avoid an error. 38640 Use char because int might match the return type of a GCC 38641 builtin and then its argument prototype would still apply. */ 38642#ifdef __cplusplus 38643extern "C" 38644#endif 38645char libbfio_handle_get_offset (); 38646int 38647main () 38648{ 38649return libbfio_handle_get_offset (); 38650 ; 38651 return 0; 38652} 38653_ACEOF 38654if ac_fn_c_try_link "$LINENO"; then : 38655 ac_cv_lib_bfio_libbfio_handle_get_offset=yes 38656else 38657 ac_cv_lib_bfio_libbfio_handle_get_offset=no 38658fi 38659rm -f core conftest.err conftest.$ac_objext \ 38660 conftest$ac_exeext conftest.$ac_ext 38661LIBS=$ac_check_lib_save_LIBS 38662fi 38663{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_offset" >&5 38664$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_offset" >&6; } 38665if test "x$ac_cv_lib_bfio_libbfio_handle_get_offset" = xyes; then : 38666 ac_cv_libbfio_dummy=yes 38667else 38668 ac_cv_libbfio=no 38669fi 38670 38671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_size in -lbfio" >&5 38672$as_echo_n "checking for libbfio_handle_get_size in -lbfio... " >&6; } 38673if ${ac_cv_lib_bfio_libbfio_handle_get_size+:} false; then : 38674 $as_echo_n "(cached) " >&6 38675else 38676 ac_check_lib_save_LIBS=$LIBS 38677LIBS="-lbfio $LIBS" 38678cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38679/* end confdefs.h. */ 38680 38681/* Override any GCC internal prototype to avoid an error. 38682 Use char because int might match the return type of a GCC 38683 builtin and then its argument prototype would still apply. */ 38684#ifdef __cplusplus 38685extern "C" 38686#endif 38687char libbfio_handle_get_size (); 38688int 38689main () 38690{ 38691return libbfio_handle_get_size (); 38692 ; 38693 return 0; 38694} 38695_ACEOF 38696if ac_fn_c_try_link "$LINENO"; then : 38697 ac_cv_lib_bfio_libbfio_handle_get_size=yes 38698else 38699 ac_cv_lib_bfio_libbfio_handle_get_size=no 38700fi 38701rm -f core conftest.err conftest.$ac_objext \ 38702 conftest$ac_exeext conftest.$ac_ext 38703LIBS=$ac_check_lib_save_LIBS 38704fi 38705{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_size" >&5 38706$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_size" >&6; } 38707if test "x$ac_cv_lib_bfio_libbfio_handle_get_size" = xyes; then : 38708 ac_cv_libbfio_dummy=yes 38709else 38710 ac_cv_libbfio=no 38711fi 38712 38713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_set_track_offsets_read in -lbfio" >&5 38714$as_echo_n "checking for libbfio_handle_set_track_offsets_read in -lbfio... " >&6; } 38715if ${ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read+:} false; then : 38716 $as_echo_n "(cached) " >&6 38717else 38718 ac_check_lib_save_LIBS=$LIBS 38719LIBS="-lbfio $LIBS" 38720cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38721/* end confdefs.h. */ 38722 38723/* Override any GCC internal prototype to avoid an error. 38724 Use char because int might match the return type of a GCC 38725 builtin and then its argument prototype would still apply. */ 38726#ifdef __cplusplus 38727extern "C" 38728#endif 38729char libbfio_handle_set_track_offsets_read (); 38730int 38731main () 38732{ 38733return libbfio_handle_set_track_offsets_read (); 38734 ; 38735 return 0; 38736} 38737_ACEOF 38738if ac_fn_c_try_link "$LINENO"; then : 38739 ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read=yes 38740else 38741 ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read=no 38742fi 38743rm -f core conftest.err conftest.$ac_objext \ 38744 conftest$ac_exeext conftest.$ac_ext 38745LIBS=$ac_check_lib_save_LIBS 38746fi 38747{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read" >&5 38748$as_echo "$ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read" >&6; } 38749if test "x$ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read" = xyes; then : 38750 ac_cv_libbfio_dummy=yes 38751else 38752 ac_cv_libbfio=no 38753fi 38754 38755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_number_of_offsets_read in -lbfio" >&5 38756$as_echo_n "checking for libbfio_handle_get_number_of_offsets_read in -lbfio... " >&6; } 38757if ${ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read+:} false; then : 38758 $as_echo_n "(cached) " >&6 38759else 38760 ac_check_lib_save_LIBS=$LIBS 38761LIBS="-lbfio $LIBS" 38762cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38763/* end confdefs.h. */ 38764 38765/* Override any GCC internal prototype to avoid an error. 38766 Use char because int might match the return type of a GCC 38767 builtin and then its argument prototype would still apply. */ 38768#ifdef __cplusplus 38769extern "C" 38770#endif 38771char libbfio_handle_get_number_of_offsets_read (); 38772int 38773main () 38774{ 38775return libbfio_handle_get_number_of_offsets_read (); 38776 ; 38777 return 0; 38778} 38779_ACEOF 38780if ac_fn_c_try_link "$LINENO"; then : 38781 ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read=yes 38782else 38783 ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read=no 38784fi 38785rm -f core conftest.err conftest.$ac_objext \ 38786 conftest$ac_exeext conftest.$ac_ext 38787LIBS=$ac_check_lib_save_LIBS 38788fi 38789{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read" >&5 38790$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read" >&6; } 38791if test "x$ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read" = xyes; then : 38792 ac_cv_libbfio_dummy=yes 38793else 38794 ac_cv_libbfio=no 38795fi 38796 38797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_offset_read in -lbfio" >&5 38798$as_echo_n "checking for libbfio_handle_get_offset_read in -lbfio... " >&6; } 38799if ${ac_cv_lib_bfio_libbfio_handle_get_offset_read+:} false; then : 38800 $as_echo_n "(cached) " >&6 38801else 38802 ac_check_lib_save_LIBS=$LIBS 38803LIBS="-lbfio $LIBS" 38804cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38805/* end confdefs.h. */ 38806 38807/* Override any GCC internal prototype to avoid an error. 38808 Use char because int might match the return type of a GCC 38809 builtin and then its argument prototype would still apply. */ 38810#ifdef __cplusplus 38811extern "C" 38812#endif 38813char libbfio_handle_get_offset_read (); 38814int 38815main () 38816{ 38817return libbfio_handle_get_offset_read (); 38818 ; 38819 return 0; 38820} 38821_ACEOF 38822if ac_fn_c_try_link "$LINENO"; then : 38823 ac_cv_lib_bfio_libbfio_handle_get_offset_read=yes 38824else 38825 ac_cv_lib_bfio_libbfio_handle_get_offset_read=no 38826fi 38827rm -f core conftest.err conftest.$ac_objext \ 38828 conftest$ac_exeext conftest.$ac_ext 38829LIBS=$ac_check_lib_save_LIBS 38830fi 38831{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_offset_read" >&5 38832$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_offset_read" >&6; } 38833if test "x$ac_cv_lib_bfio_libbfio_handle_get_offset_read" = xyes; then : 38834 ac_cv_libbfio_dummy=yes 38835else 38836 ac_cv_libbfio=no 38837fi 38838 38839 38840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_initialize in -lbfio" >&5 38841$as_echo_n "checking for libbfio_file_initialize in -lbfio... " >&6; } 38842if ${ac_cv_lib_bfio_libbfio_file_initialize+:} false; then : 38843 $as_echo_n "(cached) " >&6 38844else 38845 ac_check_lib_save_LIBS=$LIBS 38846LIBS="-lbfio $LIBS" 38847cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38848/* end confdefs.h. */ 38849 38850/* Override any GCC internal prototype to avoid an error. 38851 Use char because int might match the return type of a GCC 38852 builtin and then its argument prototype would still apply. */ 38853#ifdef __cplusplus 38854extern "C" 38855#endif 38856char libbfio_file_initialize (); 38857int 38858main () 38859{ 38860return libbfio_file_initialize (); 38861 ; 38862 return 0; 38863} 38864_ACEOF 38865if ac_fn_c_try_link "$LINENO"; then : 38866 ac_cv_lib_bfio_libbfio_file_initialize=yes 38867else 38868 ac_cv_lib_bfio_libbfio_file_initialize=no 38869fi 38870rm -f core conftest.err conftest.$ac_objext \ 38871 conftest$ac_exeext conftest.$ac_ext 38872LIBS=$ac_check_lib_save_LIBS 38873fi 38874{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_initialize" >&5 38875$as_echo "$ac_cv_lib_bfio_libbfio_file_initialize" >&6; } 38876if test "x$ac_cv_lib_bfio_libbfio_file_initialize" = xyes; then : 38877 ac_cv_libbfio_dummy=yes 38878else 38879 ac_cv_libbfio=no 38880fi 38881 38882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name_size in -lbfio" >&5 38883$as_echo_n "checking for libbfio_file_get_name_size in -lbfio... " >&6; } 38884if ${ac_cv_lib_bfio_libbfio_file_get_name_size+:} false; then : 38885 $as_echo_n "(cached) " >&6 38886else 38887 ac_check_lib_save_LIBS=$LIBS 38888LIBS="-lbfio $LIBS" 38889cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38890/* end confdefs.h. */ 38891 38892/* Override any GCC internal prototype to avoid an error. 38893 Use char because int might match the return type of a GCC 38894 builtin and then its argument prototype would still apply. */ 38895#ifdef __cplusplus 38896extern "C" 38897#endif 38898char libbfio_file_get_name_size (); 38899int 38900main () 38901{ 38902return libbfio_file_get_name_size (); 38903 ; 38904 return 0; 38905} 38906_ACEOF 38907if ac_fn_c_try_link "$LINENO"; then : 38908 ac_cv_lib_bfio_libbfio_file_get_name_size=yes 38909else 38910 ac_cv_lib_bfio_libbfio_file_get_name_size=no 38911fi 38912rm -f core conftest.err conftest.$ac_objext \ 38913 conftest$ac_exeext conftest.$ac_ext 38914LIBS=$ac_check_lib_save_LIBS 38915fi 38916{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name_size" >&5 38917$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name_size" >&6; } 38918if test "x$ac_cv_lib_bfio_libbfio_file_get_name_size" = xyes; then : 38919 ac_cv_libbfio_dummy=yes 38920else 38921 ac_cv_libbfio=no 38922fi 38923 38924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name in -lbfio" >&5 38925$as_echo_n "checking for libbfio_file_get_name in -lbfio... " >&6; } 38926if ${ac_cv_lib_bfio_libbfio_file_get_name+:} false; then : 38927 $as_echo_n "(cached) " >&6 38928else 38929 ac_check_lib_save_LIBS=$LIBS 38930LIBS="-lbfio $LIBS" 38931cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38932/* end confdefs.h. */ 38933 38934/* Override any GCC internal prototype to avoid an error. 38935 Use char because int might match the return type of a GCC 38936 builtin and then its argument prototype would still apply. */ 38937#ifdef __cplusplus 38938extern "C" 38939#endif 38940char libbfio_file_get_name (); 38941int 38942main () 38943{ 38944return libbfio_file_get_name (); 38945 ; 38946 return 0; 38947} 38948_ACEOF 38949if ac_fn_c_try_link "$LINENO"; then : 38950 ac_cv_lib_bfio_libbfio_file_get_name=yes 38951else 38952 ac_cv_lib_bfio_libbfio_file_get_name=no 38953fi 38954rm -f core conftest.err conftest.$ac_objext \ 38955 conftest$ac_exeext conftest.$ac_ext 38956LIBS=$ac_check_lib_save_LIBS 38957fi 38958{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name" >&5 38959$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name" >&6; } 38960if test "x$ac_cv_lib_bfio_libbfio_file_get_name" = xyes; then : 38961 ac_cv_libbfio_dummy=yes 38962else 38963 ac_cv_libbfio=no 38964fi 38965 38966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_set_name in -lbfio" >&5 38967$as_echo_n "checking for libbfio_file_set_name in -lbfio... " >&6; } 38968if ${ac_cv_lib_bfio_libbfio_file_set_name+:} false; then : 38969 $as_echo_n "(cached) " >&6 38970else 38971 ac_check_lib_save_LIBS=$LIBS 38972LIBS="-lbfio $LIBS" 38973cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38974/* end confdefs.h. */ 38975 38976/* Override any GCC internal prototype to avoid an error. 38977 Use char because int might match the return type of a GCC 38978 builtin and then its argument prototype would still apply. */ 38979#ifdef __cplusplus 38980extern "C" 38981#endif 38982char libbfio_file_set_name (); 38983int 38984main () 38985{ 38986return libbfio_file_set_name (); 38987 ; 38988 return 0; 38989} 38990_ACEOF 38991if ac_fn_c_try_link "$LINENO"; then : 38992 ac_cv_lib_bfio_libbfio_file_set_name=yes 38993else 38994 ac_cv_lib_bfio_libbfio_file_set_name=no 38995fi 38996rm -f core conftest.err conftest.$ac_objext \ 38997 conftest$ac_exeext conftest.$ac_ext 38998LIBS=$ac_check_lib_save_LIBS 38999fi 39000{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_set_name" >&5 39001$as_echo "$ac_cv_lib_bfio_libbfio_file_set_name" >&6; } 39002if test "x$ac_cv_lib_bfio_libbfio_file_set_name" = xyes; then : 39003 ac_cv_libbfio_dummy=yes 39004else 39005 ac_cv_libbfio=no 39006fi 39007 39008 39009 if test "x$ac_cv_enable_wide_character_type" != xno; then : 39010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name_size_wide in -lbfio" >&5 39011$as_echo_n "checking for libbfio_file_get_name_size_wide in -lbfio... " >&6; } 39012if ${ac_cv_lib_bfio_libbfio_file_get_name_size_wide+:} false; then : 39013 $as_echo_n "(cached) " >&6 39014else 39015 ac_check_lib_save_LIBS=$LIBS 39016LIBS="-lbfio $LIBS" 39017cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39018/* end confdefs.h. */ 39019 39020/* Override any GCC internal prototype to avoid an error. 39021 Use char because int might match the return type of a GCC 39022 builtin and then its argument prototype would still apply. */ 39023#ifdef __cplusplus 39024extern "C" 39025#endif 39026char libbfio_file_get_name_size_wide (); 39027int 39028main () 39029{ 39030return libbfio_file_get_name_size_wide (); 39031 ; 39032 return 0; 39033} 39034_ACEOF 39035if ac_fn_c_try_link "$LINENO"; then : 39036 ac_cv_lib_bfio_libbfio_file_get_name_size_wide=yes 39037else 39038 ac_cv_lib_bfio_libbfio_file_get_name_size_wide=no 39039fi 39040rm -f core conftest.err conftest.$ac_objext \ 39041 conftest$ac_exeext conftest.$ac_ext 39042LIBS=$ac_check_lib_save_LIBS 39043fi 39044{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name_size_wide" >&5 39045$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name_size_wide" >&6; } 39046if test "x$ac_cv_lib_bfio_libbfio_file_get_name_size_wide" = xyes; then : 39047 ac_cv_libbfio_dummy=yes 39048else 39049 ac_cv_libbfio=no 39050fi 39051 39052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name_wide in -lbfio" >&5 39053$as_echo_n "checking for libbfio_file_get_name_wide in -lbfio... " >&6; } 39054if ${ac_cv_lib_bfio_libbfio_file_get_name_wide+:} false; then : 39055 $as_echo_n "(cached) " >&6 39056else 39057 ac_check_lib_save_LIBS=$LIBS 39058LIBS="-lbfio $LIBS" 39059cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39060/* end confdefs.h. */ 39061 39062/* Override any GCC internal prototype to avoid an error. 39063 Use char because int might match the return type of a GCC 39064 builtin and then its argument prototype would still apply. */ 39065#ifdef __cplusplus 39066extern "C" 39067#endif 39068char libbfio_file_get_name_wide (); 39069int 39070main () 39071{ 39072return libbfio_file_get_name_wide (); 39073 ; 39074 return 0; 39075} 39076_ACEOF 39077if ac_fn_c_try_link "$LINENO"; then : 39078 ac_cv_lib_bfio_libbfio_file_get_name_wide=yes 39079else 39080 ac_cv_lib_bfio_libbfio_file_get_name_wide=no 39081fi 39082rm -f core conftest.err conftest.$ac_objext \ 39083 conftest$ac_exeext conftest.$ac_ext 39084LIBS=$ac_check_lib_save_LIBS 39085fi 39086{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name_wide" >&5 39087$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name_wide" >&6; } 39088if test "x$ac_cv_lib_bfio_libbfio_file_get_name_wide" = xyes; then : 39089 ac_cv_libbfio_dummy=yes 39090else 39091 ac_cv_libbfio=no 39092fi 39093 39094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_set_name_wide in -lbfio" >&5 39095$as_echo_n "checking for libbfio_file_set_name_wide in -lbfio... " >&6; } 39096if ${ac_cv_lib_bfio_libbfio_file_set_name_wide+:} false; then : 39097 $as_echo_n "(cached) " >&6 39098else 39099 ac_check_lib_save_LIBS=$LIBS 39100LIBS="-lbfio $LIBS" 39101cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39102/* end confdefs.h. */ 39103 39104/* Override any GCC internal prototype to avoid an error. 39105 Use char because int might match the return type of a GCC 39106 builtin and then its argument prototype would still apply. */ 39107#ifdef __cplusplus 39108extern "C" 39109#endif 39110char libbfio_file_set_name_wide (); 39111int 39112main () 39113{ 39114return libbfio_file_set_name_wide (); 39115 ; 39116 return 0; 39117} 39118_ACEOF 39119if ac_fn_c_try_link "$LINENO"; then : 39120 ac_cv_lib_bfio_libbfio_file_set_name_wide=yes 39121else 39122 ac_cv_lib_bfio_libbfio_file_set_name_wide=no 39123fi 39124rm -f core conftest.err conftest.$ac_objext \ 39125 conftest$ac_exeext conftest.$ac_ext 39126LIBS=$ac_check_lib_save_LIBS 39127fi 39128{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_set_name_wide" >&5 39129$as_echo "$ac_cv_lib_bfio_libbfio_file_set_name_wide" >&6; } 39130if test "x$ac_cv_lib_bfio_libbfio_file_set_name_wide" = xyes; then : 39131 ac_cv_libbfio_dummy=yes 39132else 39133 ac_cv_libbfio=no 39134fi 39135 39136 39137fi 39138 39139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_initialize in -lbfio" >&5 39140$as_echo_n "checking for libbfio_pool_initialize in -lbfio... " >&6; } 39141if ${ac_cv_lib_bfio_libbfio_pool_initialize+:} false; then : 39142 $as_echo_n "(cached) " >&6 39143else 39144 ac_check_lib_save_LIBS=$LIBS 39145LIBS="-lbfio $LIBS" 39146cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39147/* end confdefs.h. */ 39148 39149/* Override any GCC internal prototype to avoid an error. 39150 Use char because int might match the return type of a GCC 39151 builtin and then its argument prototype would still apply. */ 39152#ifdef __cplusplus 39153extern "C" 39154#endif 39155char libbfio_pool_initialize (); 39156int 39157main () 39158{ 39159return libbfio_pool_initialize (); 39160 ; 39161 return 0; 39162} 39163_ACEOF 39164if ac_fn_c_try_link "$LINENO"; then : 39165 ac_cv_lib_bfio_libbfio_pool_initialize=yes 39166else 39167 ac_cv_lib_bfio_libbfio_pool_initialize=no 39168fi 39169rm -f core conftest.err conftest.$ac_objext \ 39170 conftest$ac_exeext conftest.$ac_ext 39171LIBS=$ac_check_lib_save_LIBS 39172fi 39173{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_initialize" >&5 39174$as_echo "$ac_cv_lib_bfio_libbfio_pool_initialize" >&6; } 39175if test "x$ac_cv_lib_bfio_libbfio_pool_initialize" = xyes; then : 39176 ac_cv_libbfio_dummy=yes 39177else 39178 ac_cv_libbfio=no 39179fi 39180 39181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_free in -lbfio" >&5 39182$as_echo_n "checking for libbfio_pool_free in -lbfio... " >&6; } 39183if ${ac_cv_lib_bfio_libbfio_pool_free+:} false; then : 39184 $as_echo_n "(cached) " >&6 39185else 39186 ac_check_lib_save_LIBS=$LIBS 39187LIBS="-lbfio $LIBS" 39188cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39189/* end confdefs.h. */ 39190 39191/* Override any GCC internal prototype to avoid an error. 39192 Use char because int might match the return type of a GCC 39193 builtin and then its argument prototype would still apply. */ 39194#ifdef __cplusplus 39195extern "C" 39196#endif 39197char libbfio_pool_free (); 39198int 39199main () 39200{ 39201return libbfio_pool_free (); 39202 ; 39203 return 0; 39204} 39205_ACEOF 39206if ac_fn_c_try_link "$LINENO"; then : 39207 ac_cv_lib_bfio_libbfio_pool_free=yes 39208else 39209 ac_cv_lib_bfio_libbfio_pool_free=no 39210fi 39211rm -f core conftest.err conftest.$ac_objext \ 39212 conftest$ac_exeext conftest.$ac_ext 39213LIBS=$ac_check_lib_save_LIBS 39214fi 39215{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_free" >&5 39216$as_echo "$ac_cv_lib_bfio_libbfio_pool_free" >&6; } 39217if test "x$ac_cv_lib_bfio_libbfio_pool_free" = xyes; then : 39218 ac_cv_libbfio_dummy=yes 39219else 39220 ac_cv_libbfio=no 39221fi 39222 39223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_clone in -lbfio" >&5 39224$as_echo_n "checking for libbfio_pool_clone in -lbfio... " >&6; } 39225if ${ac_cv_lib_bfio_libbfio_pool_clone+:} false; then : 39226 $as_echo_n "(cached) " >&6 39227else 39228 ac_check_lib_save_LIBS=$LIBS 39229LIBS="-lbfio $LIBS" 39230cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39231/* end confdefs.h. */ 39232 39233/* Override any GCC internal prototype to avoid an error. 39234 Use char because int might match the return type of a GCC 39235 builtin and then its argument prototype would still apply. */ 39236#ifdef __cplusplus 39237extern "C" 39238#endif 39239char libbfio_pool_clone (); 39240int 39241main () 39242{ 39243return libbfio_pool_clone (); 39244 ; 39245 return 0; 39246} 39247_ACEOF 39248if ac_fn_c_try_link "$LINENO"; then : 39249 ac_cv_lib_bfio_libbfio_pool_clone=yes 39250else 39251 ac_cv_lib_bfio_libbfio_pool_clone=no 39252fi 39253rm -f core conftest.err conftest.$ac_objext \ 39254 conftest$ac_exeext conftest.$ac_ext 39255LIBS=$ac_check_lib_save_LIBS 39256fi 39257{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_clone" >&5 39258$as_echo "$ac_cv_lib_bfio_libbfio_pool_clone" >&6; } 39259if test "x$ac_cv_lib_bfio_libbfio_pool_clone" = xyes; then : 39260 ac_cv_libbfio_dummy=yes 39261else 39262 ac_cv_libbfio=no 39263fi 39264 39265 39266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_number_of_handles in -lbfio" >&5 39267$as_echo_n "checking for libbfio_pool_get_number_of_handles in -lbfio... " >&6; } 39268if ${ac_cv_lib_bfio_libbfio_pool_get_number_of_handles+:} false; then : 39269 $as_echo_n "(cached) " >&6 39270else 39271 ac_check_lib_save_LIBS=$LIBS 39272LIBS="-lbfio $LIBS" 39273cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39274/* end confdefs.h. */ 39275 39276/* Override any GCC internal prototype to avoid an error. 39277 Use char because int might match the return type of a GCC 39278 builtin and then its argument prototype would still apply. */ 39279#ifdef __cplusplus 39280extern "C" 39281#endif 39282char libbfio_pool_get_number_of_handles (); 39283int 39284main () 39285{ 39286return libbfio_pool_get_number_of_handles (); 39287 ; 39288 return 0; 39289} 39290_ACEOF 39291if ac_fn_c_try_link "$LINENO"; then : 39292 ac_cv_lib_bfio_libbfio_pool_get_number_of_handles=yes 39293else 39294 ac_cv_lib_bfio_libbfio_pool_get_number_of_handles=no 39295fi 39296rm -f core conftest.err conftest.$ac_objext \ 39297 conftest$ac_exeext conftest.$ac_ext 39298LIBS=$ac_check_lib_save_LIBS 39299fi 39300{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_number_of_handles" >&5 39301$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_number_of_handles" >&6; } 39302if test "x$ac_cv_lib_bfio_libbfio_pool_get_number_of_handles" = xyes; then : 39303 ac_cv_libbfio_dummy=yes 39304else 39305 ac_cv_libbfio=no 39306fi 39307 39308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_handle in -lbfio" >&5 39309$as_echo_n "checking for libbfio_pool_get_handle in -lbfio... " >&6; } 39310if ${ac_cv_lib_bfio_libbfio_pool_get_handle+:} false; then : 39311 $as_echo_n "(cached) " >&6 39312else 39313 ac_check_lib_save_LIBS=$LIBS 39314LIBS="-lbfio $LIBS" 39315cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39316/* end confdefs.h. */ 39317 39318/* Override any GCC internal prototype to avoid an error. 39319 Use char because int might match the return type of a GCC 39320 builtin and then its argument prototype would still apply. */ 39321#ifdef __cplusplus 39322extern "C" 39323#endif 39324char libbfio_pool_get_handle (); 39325int 39326main () 39327{ 39328return libbfio_pool_get_handle (); 39329 ; 39330 return 0; 39331} 39332_ACEOF 39333if ac_fn_c_try_link "$LINENO"; then : 39334 ac_cv_lib_bfio_libbfio_pool_get_handle=yes 39335else 39336 ac_cv_lib_bfio_libbfio_pool_get_handle=no 39337fi 39338rm -f core conftest.err conftest.$ac_objext \ 39339 conftest$ac_exeext conftest.$ac_ext 39340LIBS=$ac_check_lib_save_LIBS 39341fi 39342{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_handle" >&5 39343$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_handle" >&6; } 39344if test "x$ac_cv_lib_bfio_libbfio_pool_get_handle" = xyes; then : 39345 ac_cv_libbfio_dummy=yes 39346else 39347 ac_cv_libbfio=no 39348fi 39349 39350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_set_handle in -lbfio" >&5 39351$as_echo_n "checking for libbfio_pool_set_handle in -lbfio... " >&6; } 39352if ${ac_cv_lib_bfio_libbfio_pool_set_handle+:} false; then : 39353 $as_echo_n "(cached) " >&6 39354else 39355 ac_check_lib_save_LIBS=$LIBS 39356LIBS="-lbfio $LIBS" 39357cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39358/* end confdefs.h. */ 39359 39360/* Override any GCC internal prototype to avoid an error. 39361 Use char because int might match the return type of a GCC 39362 builtin and then its argument prototype would still apply. */ 39363#ifdef __cplusplus 39364extern "C" 39365#endif 39366char libbfio_pool_set_handle (); 39367int 39368main () 39369{ 39370return libbfio_pool_set_handle (); 39371 ; 39372 return 0; 39373} 39374_ACEOF 39375if ac_fn_c_try_link "$LINENO"; then : 39376 ac_cv_lib_bfio_libbfio_pool_set_handle=yes 39377else 39378 ac_cv_lib_bfio_libbfio_pool_set_handle=no 39379fi 39380rm -f core conftest.err conftest.$ac_objext \ 39381 conftest$ac_exeext conftest.$ac_ext 39382LIBS=$ac_check_lib_save_LIBS 39383fi 39384{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_set_handle" >&5 39385$as_echo "$ac_cv_lib_bfio_libbfio_pool_set_handle" >&6; } 39386if test "x$ac_cv_lib_bfio_libbfio_pool_set_handle" = xyes; then : 39387 ac_cv_libbfio_dummy=yes 39388else 39389 ac_cv_libbfio=no 39390fi 39391 39392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_append_handle in -lbfio" >&5 39393$as_echo_n "checking for libbfio_pool_append_handle in -lbfio... " >&6; } 39394if ${ac_cv_lib_bfio_libbfio_pool_append_handle+:} false; then : 39395 $as_echo_n "(cached) " >&6 39396else 39397 ac_check_lib_save_LIBS=$LIBS 39398LIBS="-lbfio $LIBS" 39399cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39400/* end confdefs.h. */ 39401 39402/* Override any GCC internal prototype to avoid an error. 39403 Use char because int might match the return type of a GCC 39404 builtin and then its argument prototype would still apply. */ 39405#ifdef __cplusplus 39406extern "C" 39407#endif 39408char libbfio_pool_append_handle (); 39409int 39410main () 39411{ 39412return libbfio_pool_append_handle (); 39413 ; 39414 return 0; 39415} 39416_ACEOF 39417if ac_fn_c_try_link "$LINENO"; then : 39418 ac_cv_lib_bfio_libbfio_pool_append_handle=yes 39419else 39420 ac_cv_lib_bfio_libbfio_pool_append_handle=no 39421fi 39422rm -f core conftest.err conftest.$ac_objext \ 39423 conftest$ac_exeext conftest.$ac_ext 39424LIBS=$ac_check_lib_save_LIBS 39425fi 39426{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_append_handle" >&5 39427$as_echo "$ac_cv_lib_bfio_libbfio_pool_append_handle" >&6; } 39428if test "x$ac_cv_lib_bfio_libbfio_pool_append_handle" = xyes; then : 39429 ac_cv_libbfio_dummy=yes 39430else 39431 ac_cv_libbfio=no 39432fi 39433 39434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_remove_handle in -lbfio" >&5 39435$as_echo_n "checking for libbfio_pool_remove_handle in -lbfio... " >&6; } 39436if ${ac_cv_lib_bfio_libbfio_pool_remove_handle+:} false; then : 39437 $as_echo_n "(cached) " >&6 39438else 39439 ac_check_lib_save_LIBS=$LIBS 39440LIBS="-lbfio $LIBS" 39441cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39442/* end confdefs.h. */ 39443 39444/* Override any GCC internal prototype to avoid an error. 39445 Use char because int might match the return type of a GCC 39446 builtin and then its argument prototype would still apply. */ 39447#ifdef __cplusplus 39448extern "C" 39449#endif 39450char libbfio_pool_remove_handle (); 39451int 39452main () 39453{ 39454return libbfio_pool_remove_handle (); 39455 ; 39456 return 0; 39457} 39458_ACEOF 39459if ac_fn_c_try_link "$LINENO"; then : 39460 ac_cv_lib_bfio_libbfio_pool_remove_handle=yes 39461else 39462 ac_cv_lib_bfio_libbfio_pool_remove_handle=no 39463fi 39464rm -f core conftest.err conftest.$ac_objext \ 39465 conftest$ac_exeext conftest.$ac_ext 39466LIBS=$ac_check_lib_save_LIBS 39467fi 39468{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_remove_handle" >&5 39469$as_echo "$ac_cv_lib_bfio_libbfio_pool_remove_handle" >&6; } 39470if test "x$ac_cv_lib_bfio_libbfio_pool_remove_handle" = xyes; then : 39471 ac_cv_libbfio_dummy=yes 39472else 39473 ac_cv_libbfio=no 39474fi 39475 39476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_maximum_number_of_open_handles in -lbfio" >&5 39477$as_echo_n "checking for libbfio_pool_get_maximum_number_of_open_handles in -lbfio... " >&6; } 39478if ${ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles+:} false; then : 39479 $as_echo_n "(cached) " >&6 39480else 39481 ac_check_lib_save_LIBS=$LIBS 39482LIBS="-lbfio $LIBS" 39483cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39484/* end confdefs.h. */ 39485 39486/* Override any GCC internal prototype to avoid an error. 39487 Use char because int might match the return type of a GCC 39488 builtin and then its argument prototype would still apply. */ 39489#ifdef __cplusplus 39490extern "C" 39491#endif 39492char libbfio_pool_get_maximum_number_of_open_handles (); 39493int 39494main () 39495{ 39496return libbfio_pool_get_maximum_number_of_open_handles (); 39497 ; 39498 return 0; 39499} 39500_ACEOF 39501if ac_fn_c_try_link "$LINENO"; then : 39502 ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles=yes 39503else 39504 ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles=no 39505fi 39506rm -f core conftest.err conftest.$ac_objext \ 39507 conftest$ac_exeext conftest.$ac_ext 39508LIBS=$ac_check_lib_save_LIBS 39509fi 39510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles" >&5 39511$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles" >&6; } 39512if test "x$ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles" = xyes; then : 39513 ac_cv_libbfio_dummy=yes 39514else 39515 ac_cv_libbfio=no 39516fi 39517 39518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_set_maximum_number_of_open_handles in -lbfio" >&5 39519$as_echo_n "checking for libbfio_pool_set_maximum_number_of_open_handles in -lbfio... " >&6; } 39520if ${ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles+:} false; then : 39521 $as_echo_n "(cached) " >&6 39522else 39523 ac_check_lib_save_LIBS=$LIBS 39524LIBS="-lbfio $LIBS" 39525cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39526/* end confdefs.h. */ 39527 39528/* Override any GCC internal prototype to avoid an error. 39529 Use char because int might match the return type of a GCC 39530 builtin and then its argument prototype would still apply. */ 39531#ifdef __cplusplus 39532extern "C" 39533#endif 39534char libbfio_pool_set_maximum_number_of_open_handles (); 39535int 39536main () 39537{ 39538return libbfio_pool_set_maximum_number_of_open_handles (); 39539 ; 39540 return 0; 39541} 39542_ACEOF 39543if ac_fn_c_try_link "$LINENO"; then : 39544 ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles=yes 39545else 39546 ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles=no 39547fi 39548rm -f core conftest.err conftest.$ac_objext \ 39549 conftest$ac_exeext conftest.$ac_ext 39550LIBS=$ac_check_lib_save_LIBS 39551fi 39552{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles" >&5 39553$as_echo "$ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles" >&6; } 39554if test "x$ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles" = xyes; then : 39555 ac_cv_libbfio_dummy=yes 39556else 39557 ac_cv_libbfio=no 39558fi 39559 39560 39561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_open in -lbfio" >&5 39562$as_echo_n "checking for libbfio_pool_open in -lbfio... " >&6; } 39563if ${ac_cv_lib_bfio_libbfio_pool_open+:} false; then : 39564 $as_echo_n "(cached) " >&6 39565else 39566 ac_check_lib_save_LIBS=$LIBS 39567LIBS="-lbfio $LIBS" 39568cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39569/* end confdefs.h. */ 39570 39571/* Override any GCC internal prototype to avoid an error. 39572 Use char because int might match the return type of a GCC 39573 builtin and then its argument prototype would still apply. */ 39574#ifdef __cplusplus 39575extern "C" 39576#endif 39577char libbfio_pool_open (); 39578int 39579main () 39580{ 39581return libbfio_pool_open (); 39582 ; 39583 return 0; 39584} 39585_ACEOF 39586if ac_fn_c_try_link "$LINENO"; then : 39587 ac_cv_lib_bfio_libbfio_pool_open=yes 39588else 39589 ac_cv_lib_bfio_libbfio_pool_open=no 39590fi 39591rm -f core conftest.err conftest.$ac_objext \ 39592 conftest$ac_exeext conftest.$ac_ext 39593LIBS=$ac_check_lib_save_LIBS 39594fi 39595{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_open" >&5 39596$as_echo "$ac_cv_lib_bfio_libbfio_pool_open" >&6; } 39597if test "x$ac_cv_lib_bfio_libbfio_pool_open" = xyes; then : 39598 ac_cv_libbfio_dummy=yes 39599else 39600 ac_cv_libbfio=no 39601fi 39602 39603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_reopen in -lbfio" >&5 39604$as_echo_n "checking for libbfio_pool_reopen in -lbfio... " >&6; } 39605if ${ac_cv_lib_bfio_libbfio_pool_reopen+:} false; then : 39606 $as_echo_n "(cached) " >&6 39607else 39608 ac_check_lib_save_LIBS=$LIBS 39609LIBS="-lbfio $LIBS" 39610cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39611/* end confdefs.h. */ 39612 39613/* Override any GCC internal prototype to avoid an error. 39614 Use char because int might match the return type of a GCC 39615 builtin and then its argument prototype would still apply. */ 39616#ifdef __cplusplus 39617extern "C" 39618#endif 39619char libbfio_pool_reopen (); 39620int 39621main () 39622{ 39623return libbfio_pool_reopen (); 39624 ; 39625 return 0; 39626} 39627_ACEOF 39628if ac_fn_c_try_link "$LINENO"; then : 39629 ac_cv_lib_bfio_libbfio_pool_reopen=yes 39630else 39631 ac_cv_lib_bfio_libbfio_pool_reopen=no 39632fi 39633rm -f core conftest.err conftest.$ac_objext \ 39634 conftest$ac_exeext conftest.$ac_ext 39635LIBS=$ac_check_lib_save_LIBS 39636fi 39637{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_reopen" >&5 39638$as_echo "$ac_cv_lib_bfio_libbfio_pool_reopen" >&6; } 39639if test "x$ac_cv_lib_bfio_libbfio_pool_reopen" = xyes; then : 39640 ac_cv_libbfio_dummy=yes 39641else 39642 ac_cv_libbfio=no 39643fi 39644 39645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_close in -lbfio" >&5 39646$as_echo_n "checking for libbfio_pool_close in -lbfio... " >&6; } 39647if ${ac_cv_lib_bfio_libbfio_pool_close+:} false; then : 39648 $as_echo_n "(cached) " >&6 39649else 39650 ac_check_lib_save_LIBS=$LIBS 39651LIBS="-lbfio $LIBS" 39652cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39653/* end confdefs.h. */ 39654 39655/* Override any GCC internal prototype to avoid an error. 39656 Use char because int might match the return type of a GCC 39657 builtin and then its argument prototype would still apply. */ 39658#ifdef __cplusplus 39659extern "C" 39660#endif 39661char libbfio_pool_close (); 39662int 39663main () 39664{ 39665return libbfio_pool_close (); 39666 ; 39667 return 0; 39668} 39669_ACEOF 39670if ac_fn_c_try_link "$LINENO"; then : 39671 ac_cv_lib_bfio_libbfio_pool_close=yes 39672else 39673 ac_cv_lib_bfio_libbfio_pool_close=no 39674fi 39675rm -f core conftest.err conftest.$ac_objext \ 39676 conftest$ac_exeext conftest.$ac_ext 39677LIBS=$ac_check_lib_save_LIBS 39678fi 39679{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_close" >&5 39680$as_echo "$ac_cv_lib_bfio_libbfio_pool_close" >&6; } 39681if test "x$ac_cv_lib_bfio_libbfio_pool_close" = xyes; then : 39682 ac_cv_libbfio_dummy=yes 39683else 39684 ac_cv_libbfio=no 39685fi 39686 39687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_close_all in -lbfio" >&5 39688$as_echo_n "checking for libbfio_pool_close_all in -lbfio... " >&6; } 39689if ${ac_cv_lib_bfio_libbfio_pool_close_all+:} false; then : 39690 $as_echo_n "(cached) " >&6 39691else 39692 ac_check_lib_save_LIBS=$LIBS 39693LIBS="-lbfio $LIBS" 39694cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39695/* end confdefs.h. */ 39696 39697/* Override any GCC internal prototype to avoid an error. 39698 Use char because int might match the return type of a GCC 39699 builtin and then its argument prototype would still apply. */ 39700#ifdef __cplusplus 39701extern "C" 39702#endif 39703char libbfio_pool_close_all (); 39704int 39705main () 39706{ 39707return libbfio_pool_close_all (); 39708 ; 39709 return 0; 39710} 39711_ACEOF 39712if ac_fn_c_try_link "$LINENO"; then : 39713 ac_cv_lib_bfio_libbfio_pool_close_all=yes 39714else 39715 ac_cv_lib_bfio_libbfio_pool_close_all=no 39716fi 39717rm -f core conftest.err conftest.$ac_objext \ 39718 conftest$ac_exeext conftest.$ac_ext 39719LIBS=$ac_check_lib_save_LIBS 39720fi 39721{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_close_all" >&5 39722$as_echo "$ac_cv_lib_bfio_libbfio_pool_close_all" >&6; } 39723if test "x$ac_cv_lib_bfio_libbfio_pool_close_all" = xyes; then : 39724 ac_cv_libbfio_dummy=yes 39725else 39726 ac_cv_libbfio=no 39727fi 39728 39729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_read_buffer in -lbfio" >&5 39730$as_echo_n "checking for libbfio_pool_read_buffer in -lbfio... " >&6; } 39731if ${ac_cv_lib_bfio_libbfio_pool_read_buffer+:} false; then : 39732 $as_echo_n "(cached) " >&6 39733else 39734 ac_check_lib_save_LIBS=$LIBS 39735LIBS="-lbfio $LIBS" 39736cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39737/* end confdefs.h. */ 39738 39739/* Override any GCC internal prototype to avoid an error. 39740 Use char because int might match the return type of a GCC 39741 builtin and then its argument prototype would still apply. */ 39742#ifdef __cplusplus 39743extern "C" 39744#endif 39745char libbfio_pool_read_buffer (); 39746int 39747main () 39748{ 39749return libbfio_pool_read_buffer (); 39750 ; 39751 return 0; 39752} 39753_ACEOF 39754if ac_fn_c_try_link "$LINENO"; then : 39755 ac_cv_lib_bfio_libbfio_pool_read_buffer=yes 39756else 39757 ac_cv_lib_bfio_libbfio_pool_read_buffer=no 39758fi 39759rm -f core conftest.err conftest.$ac_objext \ 39760 conftest$ac_exeext conftest.$ac_ext 39761LIBS=$ac_check_lib_save_LIBS 39762fi 39763{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_read_buffer" >&5 39764$as_echo "$ac_cv_lib_bfio_libbfio_pool_read_buffer" >&6; } 39765if test "x$ac_cv_lib_bfio_libbfio_pool_read_buffer" = xyes; then : 39766 ac_cv_libbfio_dummy=yes 39767else 39768 ac_cv_libbfio=no 39769fi 39770 39771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_read_buffer_at_offset in -lbfio" >&5 39772$as_echo_n "checking for libbfio_pool_read_buffer_at_offset in -lbfio... " >&6; } 39773if ${ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset+:} false; then : 39774 $as_echo_n "(cached) " >&6 39775else 39776 ac_check_lib_save_LIBS=$LIBS 39777LIBS="-lbfio $LIBS" 39778cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39779/* end confdefs.h. */ 39780 39781/* Override any GCC internal prototype to avoid an error. 39782 Use char because int might match the return type of a GCC 39783 builtin and then its argument prototype would still apply. */ 39784#ifdef __cplusplus 39785extern "C" 39786#endif 39787char libbfio_pool_read_buffer_at_offset (); 39788int 39789main () 39790{ 39791return libbfio_pool_read_buffer_at_offset (); 39792 ; 39793 return 0; 39794} 39795_ACEOF 39796if ac_fn_c_try_link "$LINENO"; then : 39797 ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset=yes 39798else 39799 ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset=no 39800fi 39801rm -f core conftest.err conftest.$ac_objext \ 39802 conftest$ac_exeext conftest.$ac_ext 39803LIBS=$ac_check_lib_save_LIBS 39804fi 39805{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset" >&5 39806$as_echo "$ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset" >&6; } 39807if test "x$ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset" = xyes; then : 39808 ac_cv_libbfio_dummy=yes 39809else 39810 ac_cv_libbfio=no 39811fi 39812 39813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_write_buffer in -lbfio" >&5 39814$as_echo_n "checking for libbfio_pool_write_buffer in -lbfio... " >&6; } 39815if ${ac_cv_lib_bfio_libbfio_pool_write_buffer+:} false; then : 39816 $as_echo_n "(cached) " >&6 39817else 39818 ac_check_lib_save_LIBS=$LIBS 39819LIBS="-lbfio $LIBS" 39820cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39821/* end confdefs.h. */ 39822 39823/* Override any GCC internal prototype to avoid an error. 39824 Use char because int might match the return type of a GCC 39825 builtin and then its argument prototype would still apply. */ 39826#ifdef __cplusplus 39827extern "C" 39828#endif 39829char libbfio_pool_write_buffer (); 39830int 39831main () 39832{ 39833return libbfio_pool_write_buffer (); 39834 ; 39835 return 0; 39836} 39837_ACEOF 39838if ac_fn_c_try_link "$LINENO"; then : 39839 ac_cv_lib_bfio_libbfio_pool_write_buffer=yes 39840else 39841 ac_cv_lib_bfio_libbfio_pool_write_buffer=no 39842fi 39843rm -f core conftest.err conftest.$ac_objext \ 39844 conftest$ac_exeext conftest.$ac_ext 39845LIBS=$ac_check_lib_save_LIBS 39846fi 39847{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_write_buffer" >&5 39848$as_echo "$ac_cv_lib_bfio_libbfio_pool_write_buffer" >&6; } 39849if test "x$ac_cv_lib_bfio_libbfio_pool_write_buffer" = xyes; then : 39850 ac_cv_libbfio_dummy=yes 39851else 39852 ac_cv_libbfio=no 39853fi 39854 39855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_write_buffer_at_offset in -lbfio" >&5 39856$as_echo_n "checking for libbfio_pool_write_buffer_at_offset in -lbfio... " >&6; } 39857if ${ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset+:} false; then : 39858 $as_echo_n "(cached) " >&6 39859else 39860 ac_check_lib_save_LIBS=$LIBS 39861LIBS="-lbfio $LIBS" 39862cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39863/* end confdefs.h. */ 39864 39865/* Override any GCC internal prototype to avoid an error. 39866 Use char because int might match the return type of a GCC 39867 builtin and then its argument prototype would still apply. */ 39868#ifdef __cplusplus 39869extern "C" 39870#endif 39871char libbfio_pool_write_buffer_at_offset (); 39872int 39873main () 39874{ 39875return libbfio_pool_write_buffer_at_offset (); 39876 ; 39877 return 0; 39878} 39879_ACEOF 39880if ac_fn_c_try_link "$LINENO"; then : 39881 ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset=yes 39882else 39883 ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset=no 39884fi 39885rm -f core conftest.err conftest.$ac_objext \ 39886 conftest$ac_exeext conftest.$ac_ext 39887LIBS=$ac_check_lib_save_LIBS 39888fi 39889{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset" >&5 39890$as_echo "$ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset" >&6; } 39891if test "x$ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset" = xyes; then : 39892 ac_cv_libbfio_dummy=yes 39893else 39894 ac_cv_libbfio=no 39895fi 39896 39897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_seek_offset in -lbfio" >&5 39898$as_echo_n "checking for libbfio_pool_seek_offset in -lbfio... " >&6; } 39899if ${ac_cv_lib_bfio_libbfio_pool_seek_offset+:} false; then : 39900 $as_echo_n "(cached) " >&6 39901else 39902 ac_check_lib_save_LIBS=$LIBS 39903LIBS="-lbfio $LIBS" 39904cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39905/* end confdefs.h. */ 39906 39907/* Override any GCC internal prototype to avoid an error. 39908 Use char because int might match the return type of a GCC 39909 builtin and then its argument prototype would still apply. */ 39910#ifdef __cplusplus 39911extern "C" 39912#endif 39913char libbfio_pool_seek_offset (); 39914int 39915main () 39916{ 39917return libbfio_pool_seek_offset (); 39918 ; 39919 return 0; 39920} 39921_ACEOF 39922if ac_fn_c_try_link "$LINENO"; then : 39923 ac_cv_lib_bfio_libbfio_pool_seek_offset=yes 39924else 39925 ac_cv_lib_bfio_libbfio_pool_seek_offset=no 39926fi 39927rm -f core conftest.err conftest.$ac_objext \ 39928 conftest$ac_exeext conftest.$ac_ext 39929LIBS=$ac_check_lib_save_LIBS 39930fi 39931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_seek_offset" >&5 39932$as_echo "$ac_cv_lib_bfio_libbfio_pool_seek_offset" >&6; } 39933if test "x$ac_cv_lib_bfio_libbfio_pool_seek_offset" = xyes; then : 39934 ac_cv_libbfio_dummy=yes 39935else 39936 ac_cv_libbfio=no 39937fi 39938 39939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_offset in -lbfio" >&5 39940$as_echo_n "checking for libbfio_pool_get_offset in -lbfio... " >&6; } 39941if ${ac_cv_lib_bfio_libbfio_pool_get_offset+:} false; then : 39942 $as_echo_n "(cached) " >&6 39943else 39944 ac_check_lib_save_LIBS=$LIBS 39945LIBS="-lbfio $LIBS" 39946cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39947/* end confdefs.h. */ 39948 39949/* Override any GCC internal prototype to avoid an error. 39950 Use char because int might match the return type of a GCC 39951 builtin and then its argument prototype would still apply. */ 39952#ifdef __cplusplus 39953extern "C" 39954#endif 39955char libbfio_pool_get_offset (); 39956int 39957main () 39958{ 39959return libbfio_pool_get_offset (); 39960 ; 39961 return 0; 39962} 39963_ACEOF 39964if ac_fn_c_try_link "$LINENO"; then : 39965 ac_cv_lib_bfio_libbfio_pool_get_offset=yes 39966else 39967 ac_cv_lib_bfio_libbfio_pool_get_offset=no 39968fi 39969rm -f core conftest.err conftest.$ac_objext \ 39970 conftest$ac_exeext conftest.$ac_ext 39971LIBS=$ac_check_lib_save_LIBS 39972fi 39973{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_offset" >&5 39974$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_offset" >&6; } 39975if test "x$ac_cv_lib_bfio_libbfio_pool_get_offset" = xyes; then : 39976 ac_cv_libbfio_dummy=yes 39977else 39978 ac_cv_libbfio=no 39979fi 39980 39981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_size in -lbfio" >&5 39982$as_echo_n "checking for libbfio_pool_get_size in -lbfio... " >&6; } 39983if ${ac_cv_lib_bfio_libbfio_pool_get_size+:} false; then : 39984 $as_echo_n "(cached) " >&6 39985else 39986 ac_check_lib_save_LIBS=$LIBS 39987LIBS="-lbfio $LIBS" 39988cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39989/* end confdefs.h. */ 39990 39991/* Override any GCC internal prototype to avoid an error. 39992 Use char because int might match the return type of a GCC 39993 builtin and then its argument prototype would still apply. */ 39994#ifdef __cplusplus 39995extern "C" 39996#endif 39997char libbfio_pool_get_size (); 39998int 39999main () 40000{ 40001return libbfio_pool_get_size (); 40002 ; 40003 return 0; 40004} 40005_ACEOF 40006if ac_fn_c_try_link "$LINENO"; then : 40007 ac_cv_lib_bfio_libbfio_pool_get_size=yes 40008else 40009 ac_cv_lib_bfio_libbfio_pool_get_size=no 40010fi 40011rm -f core conftest.err conftest.$ac_objext \ 40012 conftest$ac_exeext conftest.$ac_ext 40013LIBS=$ac_check_lib_save_LIBS 40014fi 40015{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_size" >&5 40016$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_size" >&6; } 40017if test "x$ac_cv_lib_bfio_libbfio_pool_get_size" = xyes; then : 40018 ac_cv_libbfio_dummy=yes 40019else 40020 ac_cv_libbfio=no 40021fi 40022 40023 40024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_pool_open in -lbfio" >&5 40025$as_echo_n "checking for libbfio_file_pool_open in -lbfio... " >&6; } 40026if ${ac_cv_lib_bfio_libbfio_file_pool_open+:} false; then : 40027 $as_echo_n "(cached) " >&6 40028else 40029 ac_check_lib_save_LIBS=$LIBS 40030LIBS="-lbfio $LIBS" 40031cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40032/* end confdefs.h. */ 40033 40034/* Override any GCC internal prototype to avoid an error. 40035 Use char because int might match the return type of a GCC 40036 builtin and then its argument prototype would still apply. */ 40037#ifdef __cplusplus 40038extern "C" 40039#endif 40040char libbfio_file_pool_open (); 40041int 40042main () 40043{ 40044return libbfio_file_pool_open (); 40045 ; 40046 return 0; 40047} 40048_ACEOF 40049if ac_fn_c_try_link "$LINENO"; then : 40050 ac_cv_lib_bfio_libbfio_file_pool_open=yes 40051else 40052 ac_cv_lib_bfio_libbfio_file_pool_open=no 40053fi 40054rm -f core conftest.err conftest.$ac_objext \ 40055 conftest$ac_exeext conftest.$ac_ext 40056LIBS=$ac_check_lib_save_LIBS 40057fi 40058{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_pool_open" >&5 40059$as_echo "$ac_cv_lib_bfio_libbfio_file_pool_open" >&6; } 40060if test "x$ac_cv_lib_bfio_libbfio_file_pool_open" = xyes; then : 40061 ac_cv_libbfio_dummy=yes 40062else 40063 ac_cv_libbfio=no 40064fi 40065 40066 40067 if test "x$ac_cv_enable_wide_character_type" != xno; then : 40068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_pool_open_wide in -lbfio" >&5 40069$as_echo_n "checking for libbfio_file_pool_open_wide in -lbfio... " >&6; } 40070if ${ac_cv_lib_bfio_libbfio_file_pool_open_wide+:} false; then : 40071 $as_echo_n "(cached) " >&6 40072else 40073 ac_check_lib_save_LIBS=$LIBS 40074LIBS="-lbfio $LIBS" 40075cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40076/* end confdefs.h. */ 40077 40078/* Override any GCC internal prototype to avoid an error. 40079 Use char because int might match the return type of a GCC 40080 builtin and then its argument prototype would still apply. */ 40081#ifdef __cplusplus 40082extern "C" 40083#endif 40084char libbfio_file_pool_open_wide (); 40085int 40086main () 40087{ 40088return libbfio_file_pool_open_wide (); 40089 ; 40090 return 0; 40091} 40092_ACEOF 40093if ac_fn_c_try_link "$LINENO"; then : 40094 ac_cv_lib_bfio_libbfio_file_pool_open_wide=yes 40095else 40096 ac_cv_lib_bfio_libbfio_file_pool_open_wide=no 40097fi 40098rm -f core conftest.err conftest.$ac_objext \ 40099 conftest$ac_exeext conftest.$ac_ext 40100LIBS=$ac_check_lib_save_LIBS 40101fi 40102{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_pool_open_wide" >&5 40103$as_echo "$ac_cv_lib_bfio_libbfio_file_pool_open_wide" >&6; } 40104if test "x$ac_cv_lib_bfio_libbfio_file_pool_open_wide" = xyes; then : 40105 ac_cv_libbfio_dummy=yes 40106else 40107 ac_cv_libbfio=no 40108fi 40109 40110 40111fi 40112 40113 ac_cv_libbfio_LIBADD="-lbfio" 40114fi 40115 40116fi 40117 if test "x$ac_cv_with_libbfio" != x && test "x$ac_cv_with_libbfio" != xauto-detect && test "x$ac_cv_libbfio" != xyes; then : 40118 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 40119$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 40120as_fn_error 1 "unable to find supported libbfio in directory: $ac_cv_with_libbfio 40121See \`config.log' for more details" "$LINENO" 5; } 40122 40123fi 40124 40125fi 40126 40127 if test "x$ac_cv_libbfio" = xyes; then : 40128 40129$as_echo "#define HAVE_LIBBFIO 1" >>confdefs.h 40130 40131 40132fi 40133 40134 if test "x$ac_cv_libbfio" = xyes; then : 40135 HAVE_LIBBFIO=1 40136 40137else 40138 HAVE_LIBBFIO=0 40139 40140 40141fi 40142 40143 40144 if test "x$ac_cv_libbfio" != xyes; then : 40145 40146 ac_cv_libbfio_CPPFLAGS="-I../libbfio"; 40147 ac_cv_libbfio_LIBADD="../libbfio/libbfio.la"; 40148 40149 ac_cv_libbfio=local 40150 40151 40152 40153$as_echo "#define HAVE_LOCAL_LIBBFIO 1" >>confdefs.h 40154 40155 HAVE_LOCAL_LIBBFIO=1 40156 40157 40158fi 40159 40160 if test "x$ac_cv_libbfio" = xlocal; then 40161 HAVE_LOCAL_LIBBFIO_TRUE= 40162 HAVE_LOCAL_LIBBFIO_FALSE='#' 40163else 40164 HAVE_LOCAL_LIBBFIO_TRUE='#' 40165 HAVE_LOCAL_LIBBFIO_FALSE= 40166fi 40167 40168 if test "x$ac_cv_libbfio_CPPFLAGS" != "x"; then : 40169 LIBBFIO_CPPFLAGS=$ac_cv_libbfio_CPPFLAGS 40170 40171 40172fi 40173 if test "x$ac_cv_libbfio_LIBADD" != "x"; then : 40174 LIBBFIO_LIBADD=$ac_cv_libbfio_LIBADD 40175 40176 40177fi 40178 40179 if test "x$ac_cv_libbfio" = xyes; then : 40180 ax_libbfio_pc_libs_private=-lbfio 40181 40182 40183fi 40184 40185 if test "x$ac_cv_libbfio" = xyes; then : 40186 ax_libbfio_spec_requires=libbfio 40187 40188 ax_libbfio_spec_build_requires=libbfio-devel 40189 40190 40191fi 40192 40193 40194 40195 40196# Check whether --with-libfcache was given. 40197if test "${with_libfcache+set}" = set; then : 40198 withval=$with_libfcache; ac_cv_with_libfcache=$withval 40199else 40200 ac_cv_with_libfcache=auto-detect 40201fi 40202 40203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use search for libfcache in includedir and libdir or in the specified DIR, or no if to use local version" >&5 40204$as_echo_n "checking whether to use search for libfcache in includedir and libdir or in the specified DIR, or no if to use local version... " >&6; } 40205if ${ac_cv_with_libfcache+:} false; then : 40206 $as_echo_n "(cached) " >&6 40207else 40208 ac_cv_with_libfcache=auto-detect 40209fi 40210{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfcache" >&5 40211$as_echo "$ac_cv_with_libfcache" >&6; } 40212 40213 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libfcache" = xno; then : 40214 ac_cv_libfcache=no 40215else 40216 ac_cv_libfcache=check 40217 if test "x$ac_cv_with_libfcache" != x && test "x$ac_cv_with_libfcache" != xauto-detect; then : 40218 if test -d "$ac_cv_with_libfcache"; then : 40219 CFLAGS="$CFLAGS -I${ac_cv_with_libfcache}/include" 40220 LDFLAGS="$LDFLAGS -L${ac_cv_with_libfcache}/lib" 40221else 40222 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 40223$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 40224as_fn_error 1 "no such directory: $ac_cv_with_libfcache 40225See \`config.log' for more details" "$LINENO" 5; } 40226 40227fi 40228 40229else 40230 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 40231 40232pkg_failed=no 40233{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache" >&5 40234$as_echo_n "checking for libfcache... " >&6; } 40235 40236if test -n "$libfcache_CFLAGS"; then 40237 pkg_cv_libfcache_CFLAGS="$libfcache_CFLAGS" 40238 elif test -n "$PKG_CONFIG"; then 40239 if test -n "$PKG_CONFIG" && \ 40240 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfcache >= 20191109\""; } >&5 40241 ($PKG_CONFIG --exists --print-errors "libfcache >= 20191109") 2>&5 40242 ac_status=$? 40243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 40244 test $ac_status = 0; }; then 40245 pkg_cv_libfcache_CFLAGS=`$PKG_CONFIG --cflags "libfcache >= 20191109" 2>/dev/null` 40246 test "x$?" != "x0" && pkg_failed=yes 40247else 40248 pkg_failed=yes 40249fi 40250 else 40251 pkg_failed=untried 40252fi 40253if test -n "$libfcache_LIBS"; then 40254 pkg_cv_libfcache_LIBS="$libfcache_LIBS" 40255 elif test -n "$PKG_CONFIG"; then 40256 if test -n "$PKG_CONFIG" && \ 40257 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfcache >= 20191109\""; } >&5 40258 ($PKG_CONFIG --exists --print-errors "libfcache >= 20191109") 2>&5 40259 ac_status=$? 40260 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 40261 test $ac_status = 0; }; then 40262 pkg_cv_libfcache_LIBS=`$PKG_CONFIG --libs "libfcache >= 20191109" 2>/dev/null` 40263 test "x$?" != "x0" && pkg_failed=yes 40264else 40265 pkg_failed=yes 40266fi 40267 else 40268 pkg_failed=untried 40269fi 40270 40271 40272 40273if test $pkg_failed = yes; then 40274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 40275$as_echo "no" >&6; } 40276 40277if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 40278 _pkg_short_errors_supported=yes 40279else 40280 _pkg_short_errors_supported=no 40281fi 40282 if test $_pkg_short_errors_supported = yes; then 40283 libfcache_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfcache >= 20191109" 2>&1` 40284 else 40285 libfcache_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfcache >= 20191109" 2>&1` 40286 fi 40287 # Put the nasty error message in config.log where it belongs 40288 echo "$libfcache_PKG_ERRORS" >&5 40289 40290 ac_cv_libfcache=check 40291elif test $pkg_failed = untried; then 40292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 40293$as_echo "no" >&6; } 40294 ac_cv_libfcache=check 40295else 40296 libfcache_CFLAGS=$pkg_cv_libfcache_CFLAGS 40297 libfcache_LIBS=$pkg_cv_libfcache_LIBS 40298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 40299$as_echo "yes" >&6; } 40300 ac_cv_libfcache=yes 40301fi 40302 40303fi 40304 if test "x$ac_cv_libfcache" = xyes; then : 40305 ac_cv_libfcache_CPPFLAGS="$pkg_cv_libfcache_CFLAGS" 40306 ac_cv_libfcache_LIBADD="$pkg_cv_libfcache_LIBS" 40307fi 40308 40309fi 40310 40311 if test "x$ac_cv_libfcache" = xcheck; then : 40312 for ac_header in libfcache.h 40313do : 40314 ac_fn_c_check_header_mongrel "$LINENO" "libfcache.h" "ac_cv_header_libfcache_h" "$ac_includes_default" 40315if test "x$ac_cv_header_libfcache_h" = xyes; then : 40316 cat >>confdefs.h <<_ACEOF 40317#define HAVE_LIBFCACHE_H 1 40318_ACEOF 40319 40320fi 40321 40322done 40323 40324 40325 if test "x$ac_cv_header_libfcache_h" = xno; then : 40326 ac_cv_libfcache=no 40327else 40328 ac_cv_libfcache=yes 40329 40330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_get_version in -lfcache" >&5 40331$as_echo_n "checking for libfcache_get_version in -lfcache... " >&6; } 40332if ${ac_cv_lib_fcache_libfcache_get_version+:} false; then : 40333 $as_echo_n "(cached) " >&6 40334else 40335 ac_check_lib_save_LIBS=$LIBS 40336LIBS="-lfcache $LIBS" 40337cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40338/* end confdefs.h. */ 40339 40340/* Override any GCC internal prototype to avoid an error. 40341 Use char because int might match the return type of a GCC 40342 builtin and then its argument prototype would still apply. */ 40343#ifdef __cplusplus 40344extern "C" 40345#endif 40346char libfcache_get_version (); 40347int 40348main () 40349{ 40350return libfcache_get_version (); 40351 ; 40352 return 0; 40353} 40354_ACEOF 40355if ac_fn_c_try_link "$LINENO"; then : 40356 ac_cv_lib_fcache_libfcache_get_version=yes 40357else 40358 ac_cv_lib_fcache_libfcache_get_version=no 40359fi 40360rm -f core conftest.err conftest.$ac_objext \ 40361 conftest$ac_exeext conftest.$ac_ext 40362LIBS=$ac_check_lib_save_LIBS 40363fi 40364{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_get_version" >&5 40365$as_echo "$ac_cv_lib_fcache_libfcache_get_version" >&6; } 40366if test "x$ac_cv_lib_fcache_libfcache_get_version" = xyes; then : 40367 ac_cv_libfcache_dummy=yes 40368else 40369 ac_cv_libfcache=no 40370fi 40371 40372 40373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_initialize in -lfcache" >&5 40374$as_echo_n "checking for libfcache_cache_initialize in -lfcache... " >&6; } 40375if ${ac_cv_lib_fcache_libfcache_cache_initialize+:} false; then : 40376 $as_echo_n "(cached) " >&6 40377else 40378 ac_check_lib_save_LIBS=$LIBS 40379LIBS="-lfcache $LIBS" 40380cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40381/* end confdefs.h. */ 40382 40383/* Override any GCC internal prototype to avoid an error. 40384 Use char because int might match the return type of a GCC 40385 builtin and then its argument prototype would still apply. */ 40386#ifdef __cplusplus 40387extern "C" 40388#endif 40389char libfcache_cache_initialize (); 40390int 40391main () 40392{ 40393return libfcache_cache_initialize (); 40394 ; 40395 return 0; 40396} 40397_ACEOF 40398if ac_fn_c_try_link "$LINENO"; then : 40399 ac_cv_lib_fcache_libfcache_cache_initialize=yes 40400else 40401 ac_cv_lib_fcache_libfcache_cache_initialize=no 40402fi 40403rm -f core conftest.err conftest.$ac_objext \ 40404 conftest$ac_exeext conftest.$ac_ext 40405LIBS=$ac_check_lib_save_LIBS 40406fi 40407{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_initialize" >&5 40408$as_echo "$ac_cv_lib_fcache_libfcache_cache_initialize" >&6; } 40409if test "x$ac_cv_lib_fcache_libfcache_cache_initialize" = xyes; then : 40410 ac_cv_libfcache_dummy=yes 40411else 40412 ac_cv_libfcache=no 40413fi 40414 40415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_free in -lfcache" >&5 40416$as_echo_n "checking for libfcache_cache_free in -lfcache... " >&6; } 40417if ${ac_cv_lib_fcache_libfcache_cache_free+:} false; then : 40418 $as_echo_n "(cached) " >&6 40419else 40420 ac_check_lib_save_LIBS=$LIBS 40421LIBS="-lfcache $LIBS" 40422cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40423/* end confdefs.h. */ 40424 40425/* Override any GCC internal prototype to avoid an error. 40426 Use char because int might match the return type of a GCC 40427 builtin and then its argument prototype would still apply. */ 40428#ifdef __cplusplus 40429extern "C" 40430#endif 40431char libfcache_cache_free (); 40432int 40433main () 40434{ 40435return libfcache_cache_free (); 40436 ; 40437 return 0; 40438} 40439_ACEOF 40440if ac_fn_c_try_link "$LINENO"; then : 40441 ac_cv_lib_fcache_libfcache_cache_free=yes 40442else 40443 ac_cv_lib_fcache_libfcache_cache_free=no 40444fi 40445rm -f core conftest.err conftest.$ac_objext \ 40446 conftest$ac_exeext conftest.$ac_ext 40447LIBS=$ac_check_lib_save_LIBS 40448fi 40449{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_free" >&5 40450$as_echo "$ac_cv_lib_fcache_libfcache_cache_free" >&6; } 40451if test "x$ac_cv_lib_fcache_libfcache_cache_free" = xyes; then : 40452 ac_cv_libfcache_dummy=yes 40453else 40454 ac_cv_libfcache=no 40455fi 40456 40457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_clone in -lfcache" >&5 40458$as_echo_n "checking for libfcache_cache_clone in -lfcache... " >&6; } 40459if ${ac_cv_lib_fcache_libfcache_cache_clone+:} false; then : 40460 $as_echo_n "(cached) " >&6 40461else 40462 ac_check_lib_save_LIBS=$LIBS 40463LIBS="-lfcache $LIBS" 40464cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40465/* end confdefs.h. */ 40466 40467/* Override any GCC internal prototype to avoid an error. 40468 Use char because int might match the return type of a GCC 40469 builtin and then its argument prototype would still apply. */ 40470#ifdef __cplusplus 40471extern "C" 40472#endif 40473char libfcache_cache_clone (); 40474int 40475main () 40476{ 40477return libfcache_cache_clone (); 40478 ; 40479 return 0; 40480} 40481_ACEOF 40482if ac_fn_c_try_link "$LINENO"; then : 40483 ac_cv_lib_fcache_libfcache_cache_clone=yes 40484else 40485 ac_cv_lib_fcache_libfcache_cache_clone=no 40486fi 40487rm -f core conftest.err conftest.$ac_objext \ 40488 conftest$ac_exeext conftest.$ac_ext 40489LIBS=$ac_check_lib_save_LIBS 40490fi 40491{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_clone" >&5 40492$as_echo "$ac_cv_lib_fcache_libfcache_cache_clone" >&6; } 40493if test "x$ac_cv_lib_fcache_libfcache_cache_clone" = xyes; then : 40494 ac_cv_libfcache_dummy=yes 40495else 40496 ac_cv_libfcache=no 40497fi 40498 40499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_clear in -lfcache" >&5 40500$as_echo_n "checking for libfcache_cache_clear in -lfcache... " >&6; } 40501if ${ac_cv_lib_fcache_libfcache_cache_clear+:} false; then : 40502 $as_echo_n "(cached) " >&6 40503else 40504 ac_check_lib_save_LIBS=$LIBS 40505LIBS="-lfcache $LIBS" 40506cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40507/* end confdefs.h. */ 40508 40509/* Override any GCC internal prototype to avoid an error. 40510 Use char because int might match the return type of a GCC 40511 builtin and then its argument prototype would still apply. */ 40512#ifdef __cplusplus 40513extern "C" 40514#endif 40515char libfcache_cache_clear (); 40516int 40517main () 40518{ 40519return libfcache_cache_clear (); 40520 ; 40521 return 0; 40522} 40523_ACEOF 40524if ac_fn_c_try_link "$LINENO"; then : 40525 ac_cv_lib_fcache_libfcache_cache_clear=yes 40526else 40527 ac_cv_lib_fcache_libfcache_cache_clear=no 40528fi 40529rm -f core conftest.err conftest.$ac_objext \ 40530 conftest$ac_exeext conftest.$ac_ext 40531LIBS=$ac_check_lib_save_LIBS 40532fi 40533{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_clear" >&5 40534$as_echo "$ac_cv_lib_fcache_libfcache_cache_clear" >&6; } 40535if test "x$ac_cv_lib_fcache_libfcache_cache_clear" = xyes; then : 40536 ac_cv_libfcache_dummy=yes 40537else 40538 ac_cv_libfcache=no 40539fi 40540 40541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_get_number_of_entries in -lfcache" >&5 40542$as_echo_n "checking for libfcache_cache_get_number_of_entries in -lfcache... " >&6; } 40543if ${ac_cv_lib_fcache_libfcache_cache_get_number_of_entries+:} false; then : 40544 $as_echo_n "(cached) " >&6 40545else 40546 ac_check_lib_save_LIBS=$LIBS 40547LIBS="-lfcache $LIBS" 40548cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40549/* end confdefs.h. */ 40550 40551/* Override any GCC internal prototype to avoid an error. 40552 Use char because int might match the return type of a GCC 40553 builtin and then its argument prototype would still apply. */ 40554#ifdef __cplusplus 40555extern "C" 40556#endif 40557char libfcache_cache_get_number_of_entries (); 40558int 40559main () 40560{ 40561return libfcache_cache_get_number_of_entries (); 40562 ; 40563 return 0; 40564} 40565_ACEOF 40566if ac_fn_c_try_link "$LINENO"; then : 40567 ac_cv_lib_fcache_libfcache_cache_get_number_of_entries=yes 40568else 40569 ac_cv_lib_fcache_libfcache_cache_get_number_of_entries=no 40570fi 40571rm -f core conftest.err conftest.$ac_objext \ 40572 conftest$ac_exeext conftest.$ac_ext 40573LIBS=$ac_check_lib_save_LIBS 40574fi 40575{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_get_number_of_entries" >&5 40576$as_echo "$ac_cv_lib_fcache_libfcache_cache_get_number_of_entries" >&6; } 40577if test "x$ac_cv_lib_fcache_libfcache_cache_get_number_of_entries" = xyes; then : 40578 ac_cv_libfcache_dummy=yes 40579else 40580 ac_cv_libfcache=no 40581fi 40582 40583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_get_number_of_cache_values in -lfcache" >&5 40584$as_echo_n "checking for libfcache_cache_get_number_of_cache_values in -lfcache... " >&6; } 40585if ${ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values+:} false; then : 40586 $as_echo_n "(cached) " >&6 40587else 40588 ac_check_lib_save_LIBS=$LIBS 40589LIBS="-lfcache $LIBS" 40590cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40591/* end confdefs.h. */ 40592 40593/* Override any GCC internal prototype to avoid an error. 40594 Use char because int might match the return type of a GCC 40595 builtin and then its argument prototype would still apply. */ 40596#ifdef __cplusplus 40597extern "C" 40598#endif 40599char libfcache_cache_get_number_of_cache_values (); 40600int 40601main () 40602{ 40603return libfcache_cache_get_number_of_cache_values (); 40604 ; 40605 return 0; 40606} 40607_ACEOF 40608if ac_fn_c_try_link "$LINENO"; then : 40609 ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values=yes 40610else 40611 ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values=no 40612fi 40613rm -f core conftest.err conftest.$ac_objext \ 40614 conftest$ac_exeext conftest.$ac_ext 40615LIBS=$ac_check_lib_save_LIBS 40616fi 40617{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values" >&5 40618$as_echo "$ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values" >&6; } 40619if test "x$ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values" = xyes; then : 40620 ac_cv_libfcache_dummy=yes 40621else 40622 ac_cv_libfcache=no 40623fi 40624 40625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_clear_value_by_index in -lfcache" >&5 40626$as_echo_n "checking for libfcache_cache_clear_value_by_index in -lfcache... " >&6; } 40627if ${ac_cv_lib_fcache_libfcache_cache_clear_value_by_index+:} false; then : 40628 $as_echo_n "(cached) " >&6 40629else 40630 ac_check_lib_save_LIBS=$LIBS 40631LIBS="-lfcache $LIBS" 40632cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40633/* end confdefs.h. */ 40634 40635/* Override any GCC internal prototype to avoid an error. 40636 Use char because int might match the return type of a GCC 40637 builtin and then its argument prototype would still apply. */ 40638#ifdef __cplusplus 40639extern "C" 40640#endif 40641char libfcache_cache_clear_value_by_index (); 40642int 40643main () 40644{ 40645return libfcache_cache_clear_value_by_index (); 40646 ; 40647 return 0; 40648} 40649_ACEOF 40650if ac_fn_c_try_link "$LINENO"; then : 40651 ac_cv_lib_fcache_libfcache_cache_clear_value_by_index=yes 40652else 40653 ac_cv_lib_fcache_libfcache_cache_clear_value_by_index=no 40654fi 40655rm -f core conftest.err conftest.$ac_objext \ 40656 conftest$ac_exeext conftest.$ac_ext 40657LIBS=$ac_check_lib_save_LIBS 40658fi 40659{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_clear_value_by_index" >&5 40660$as_echo "$ac_cv_lib_fcache_libfcache_cache_clear_value_by_index" >&6; } 40661if test "x$ac_cv_lib_fcache_libfcache_cache_clear_value_by_index" = xyes; then : 40662 ac_cv_libfcache_dummy=yes 40663else 40664 ac_cv_libfcache=no 40665fi 40666 40667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_get_value_by_identifier in -lfcache" >&5 40668$as_echo_n "checking for libfcache_cache_get_value_by_identifier in -lfcache... " >&6; } 40669if ${ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier+:} false; then : 40670 $as_echo_n "(cached) " >&6 40671else 40672 ac_check_lib_save_LIBS=$LIBS 40673LIBS="-lfcache $LIBS" 40674cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40675/* end confdefs.h. */ 40676 40677/* Override any GCC internal prototype to avoid an error. 40678 Use char because int might match the return type of a GCC 40679 builtin and then its argument prototype would still apply. */ 40680#ifdef __cplusplus 40681extern "C" 40682#endif 40683char libfcache_cache_get_value_by_identifier (); 40684int 40685main () 40686{ 40687return libfcache_cache_get_value_by_identifier (); 40688 ; 40689 return 0; 40690} 40691_ACEOF 40692if ac_fn_c_try_link "$LINENO"; then : 40693 ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier=yes 40694else 40695 ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier=no 40696fi 40697rm -f core conftest.err conftest.$ac_objext \ 40698 conftest$ac_exeext conftest.$ac_ext 40699LIBS=$ac_check_lib_save_LIBS 40700fi 40701{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier" >&5 40702$as_echo "$ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier" >&6; } 40703if test "x$ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier" = xyes; then : 40704 ac_cv_libfcache_dummy=yes 40705else 40706 ac_cv_libfcache=no 40707fi 40708 40709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_get_value_by_index in -lfcache" >&5 40710$as_echo_n "checking for libfcache_cache_get_value_by_index in -lfcache... " >&6; } 40711if ${ac_cv_lib_fcache_libfcache_cache_get_value_by_index+:} false; then : 40712 $as_echo_n "(cached) " >&6 40713else 40714 ac_check_lib_save_LIBS=$LIBS 40715LIBS="-lfcache $LIBS" 40716cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40717/* end confdefs.h. */ 40718 40719/* Override any GCC internal prototype to avoid an error. 40720 Use char because int might match the return type of a GCC 40721 builtin and then its argument prototype would still apply. */ 40722#ifdef __cplusplus 40723extern "C" 40724#endif 40725char libfcache_cache_get_value_by_index (); 40726int 40727main () 40728{ 40729return libfcache_cache_get_value_by_index (); 40730 ; 40731 return 0; 40732} 40733_ACEOF 40734if ac_fn_c_try_link "$LINENO"; then : 40735 ac_cv_lib_fcache_libfcache_cache_get_value_by_index=yes 40736else 40737 ac_cv_lib_fcache_libfcache_cache_get_value_by_index=no 40738fi 40739rm -f core conftest.err conftest.$ac_objext \ 40740 conftest$ac_exeext conftest.$ac_ext 40741LIBS=$ac_check_lib_save_LIBS 40742fi 40743{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_get_value_by_index" >&5 40744$as_echo "$ac_cv_lib_fcache_libfcache_cache_get_value_by_index" >&6; } 40745if test "x$ac_cv_lib_fcache_libfcache_cache_get_value_by_index" = xyes; then : 40746 ac_cv_libfcache_dummy=yes 40747else 40748 ac_cv_libfcache=no 40749fi 40750 40751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_set_value_by_identifier in -lfcache" >&5 40752$as_echo_n "checking for libfcache_cache_set_value_by_identifier in -lfcache... " >&6; } 40753if ${ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier+:} false; then : 40754 $as_echo_n "(cached) " >&6 40755else 40756 ac_check_lib_save_LIBS=$LIBS 40757LIBS="-lfcache $LIBS" 40758cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40759/* end confdefs.h. */ 40760 40761/* Override any GCC internal prototype to avoid an error. 40762 Use char because int might match the return type of a GCC 40763 builtin and then its argument prototype would still apply. */ 40764#ifdef __cplusplus 40765extern "C" 40766#endif 40767char libfcache_cache_set_value_by_identifier (); 40768int 40769main () 40770{ 40771return libfcache_cache_set_value_by_identifier (); 40772 ; 40773 return 0; 40774} 40775_ACEOF 40776if ac_fn_c_try_link "$LINENO"; then : 40777 ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier=yes 40778else 40779 ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier=no 40780fi 40781rm -f core conftest.err conftest.$ac_objext \ 40782 conftest$ac_exeext conftest.$ac_ext 40783LIBS=$ac_check_lib_save_LIBS 40784fi 40785{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier" >&5 40786$as_echo "$ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier" >&6; } 40787if test "x$ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier" = xyes; then : 40788 ac_cv_libfcache_dummy=yes 40789else 40790 ac_cv_libfcache=no 40791fi 40792 40793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_set_value_by_index in -lfcache" >&5 40794$as_echo_n "checking for libfcache_cache_set_value_by_index in -lfcache... " >&6; } 40795if ${ac_cv_lib_fcache_libfcache_cache_set_value_by_index+:} false; then : 40796 $as_echo_n "(cached) " >&6 40797else 40798 ac_check_lib_save_LIBS=$LIBS 40799LIBS="-lfcache $LIBS" 40800cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40801/* end confdefs.h. */ 40802 40803/* Override any GCC internal prototype to avoid an error. 40804 Use char because int might match the return type of a GCC 40805 builtin and then its argument prototype would still apply. */ 40806#ifdef __cplusplus 40807extern "C" 40808#endif 40809char libfcache_cache_set_value_by_index (); 40810int 40811main () 40812{ 40813return libfcache_cache_set_value_by_index (); 40814 ; 40815 return 0; 40816} 40817_ACEOF 40818if ac_fn_c_try_link "$LINENO"; then : 40819 ac_cv_lib_fcache_libfcache_cache_set_value_by_index=yes 40820else 40821 ac_cv_lib_fcache_libfcache_cache_set_value_by_index=no 40822fi 40823rm -f core conftest.err conftest.$ac_objext \ 40824 conftest$ac_exeext conftest.$ac_ext 40825LIBS=$ac_check_lib_save_LIBS 40826fi 40827{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_set_value_by_index" >&5 40828$as_echo "$ac_cv_lib_fcache_libfcache_cache_set_value_by_index" >&6; } 40829if test "x$ac_cv_lib_fcache_libfcache_cache_set_value_by_index" = xyes; then : 40830 ac_cv_libfcache_dummy=yes 40831else 40832 ac_cv_libfcache=no 40833fi 40834 40835 40836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_free in -lfcache" >&5 40837$as_echo_n "checking for libfcache_cache_value_free in -lfcache... " >&6; } 40838if ${ac_cv_lib_fcache_libfcache_cache_value_free+:} false; then : 40839 $as_echo_n "(cached) " >&6 40840else 40841 ac_check_lib_save_LIBS=$LIBS 40842LIBS="-lfcache $LIBS" 40843cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40844/* end confdefs.h. */ 40845 40846/* Override any GCC internal prototype to avoid an error. 40847 Use char because int might match the return type of a GCC 40848 builtin and then its argument prototype would still apply. */ 40849#ifdef __cplusplus 40850extern "C" 40851#endif 40852char libfcache_cache_value_free (); 40853int 40854main () 40855{ 40856return libfcache_cache_value_free (); 40857 ; 40858 return 0; 40859} 40860_ACEOF 40861if ac_fn_c_try_link "$LINENO"; then : 40862 ac_cv_lib_fcache_libfcache_cache_value_free=yes 40863else 40864 ac_cv_lib_fcache_libfcache_cache_value_free=no 40865fi 40866rm -f core conftest.err conftest.$ac_objext \ 40867 conftest$ac_exeext conftest.$ac_ext 40868LIBS=$ac_check_lib_save_LIBS 40869fi 40870{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_free" >&5 40871$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_free" >&6; } 40872if test "x$ac_cv_lib_fcache_libfcache_cache_value_free" = xyes; then : 40873 ac_cv_libfcache_dummy=yes 40874else 40875 ac_cv_libfcache=no 40876fi 40877 40878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_clear in -lfcache" >&5 40879$as_echo_n "checking for libfcache_cache_value_clear in -lfcache... " >&6; } 40880if ${ac_cv_lib_fcache_libfcache_cache_value_clear+:} false; then : 40881 $as_echo_n "(cached) " >&6 40882else 40883 ac_check_lib_save_LIBS=$LIBS 40884LIBS="-lfcache $LIBS" 40885cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40886/* end confdefs.h. */ 40887 40888/* Override any GCC internal prototype to avoid an error. 40889 Use char because int might match the return type of a GCC 40890 builtin and then its argument prototype would still apply. */ 40891#ifdef __cplusplus 40892extern "C" 40893#endif 40894char libfcache_cache_value_clear (); 40895int 40896main () 40897{ 40898return libfcache_cache_value_clear (); 40899 ; 40900 return 0; 40901} 40902_ACEOF 40903if ac_fn_c_try_link "$LINENO"; then : 40904 ac_cv_lib_fcache_libfcache_cache_value_clear=yes 40905else 40906 ac_cv_lib_fcache_libfcache_cache_value_clear=no 40907fi 40908rm -f core conftest.err conftest.$ac_objext \ 40909 conftest$ac_exeext conftest.$ac_ext 40910LIBS=$ac_check_lib_save_LIBS 40911fi 40912{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_clear" >&5 40913$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_clear" >&6; } 40914if test "x$ac_cv_lib_fcache_libfcache_cache_value_clear" = xyes; then : 40915 ac_cv_libfcache_dummy=yes 40916else 40917 ac_cv_libfcache=no 40918fi 40919 40920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_get_identifier in -lfcache" >&5 40921$as_echo_n "checking for libfcache_cache_value_get_identifier in -lfcache... " >&6; } 40922if ${ac_cv_lib_fcache_libfcache_cache_value_get_identifier+:} false; then : 40923 $as_echo_n "(cached) " >&6 40924else 40925 ac_check_lib_save_LIBS=$LIBS 40926LIBS="-lfcache $LIBS" 40927cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40928/* end confdefs.h. */ 40929 40930/* Override any GCC internal prototype to avoid an error. 40931 Use char because int might match the return type of a GCC 40932 builtin and then its argument prototype would still apply. */ 40933#ifdef __cplusplus 40934extern "C" 40935#endif 40936char libfcache_cache_value_get_identifier (); 40937int 40938main () 40939{ 40940return libfcache_cache_value_get_identifier (); 40941 ; 40942 return 0; 40943} 40944_ACEOF 40945if ac_fn_c_try_link "$LINENO"; then : 40946 ac_cv_lib_fcache_libfcache_cache_value_get_identifier=yes 40947else 40948 ac_cv_lib_fcache_libfcache_cache_value_get_identifier=no 40949fi 40950rm -f core conftest.err conftest.$ac_objext \ 40951 conftest$ac_exeext conftest.$ac_ext 40952LIBS=$ac_check_lib_save_LIBS 40953fi 40954{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_get_identifier" >&5 40955$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_get_identifier" >&6; } 40956if test "x$ac_cv_lib_fcache_libfcache_cache_value_get_identifier" = xyes; then : 40957 ac_cv_libfcache_dummy=yes 40958else 40959 ac_cv_libfcache=no 40960fi 40961 40962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_set_identifier in -lfcache" >&5 40963$as_echo_n "checking for libfcache_cache_value_set_identifier in -lfcache... " >&6; } 40964if ${ac_cv_lib_fcache_libfcache_cache_value_set_identifier+:} false; then : 40965 $as_echo_n "(cached) " >&6 40966else 40967 ac_check_lib_save_LIBS=$LIBS 40968LIBS="-lfcache $LIBS" 40969cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40970/* end confdefs.h. */ 40971 40972/* Override any GCC internal prototype to avoid an error. 40973 Use char because int might match the return type of a GCC 40974 builtin and then its argument prototype would still apply. */ 40975#ifdef __cplusplus 40976extern "C" 40977#endif 40978char libfcache_cache_value_set_identifier (); 40979int 40980main () 40981{ 40982return libfcache_cache_value_set_identifier (); 40983 ; 40984 return 0; 40985} 40986_ACEOF 40987if ac_fn_c_try_link "$LINENO"; then : 40988 ac_cv_lib_fcache_libfcache_cache_value_set_identifier=yes 40989else 40990 ac_cv_lib_fcache_libfcache_cache_value_set_identifier=no 40991fi 40992rm -f core conftest.err conftest.$ac_objext \ 40993 conftest$ac_exeext conftest.$ac_ext 40994LIBS=$ac_check_lib_save_LIBS 40995fi 40996{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_set_identifier" >&5 40997$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_set_identifier" >&6; } 40998if test "x$ac_cv_lib_fcache_libfcache_cache_value_set_identifier" = xyes; then : 40999 ac_cv_libfcache_dummy=yes 41000else 41001 ac_cv_libfcache=no 41002fi 41003 41004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_get_value in -lfcache" >&5 41005$as_echo_n "checking for libfcache_cache_value_get_value in -lfcache... " >&6; } 41006if ${ac_cv_lib_fcache_libfcache_cache_value_get_value+:} false; then : 41007 $as_echo_n "(cached) " >&6 41008else 41009 ac_check_lib_save_LIBS=$LIBS 41010LIBS="-lfcache $LIBS" 41011cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41012/* end confdefs.h. */ 41013 41014/* Override any GCC internal prototype to avoid an error. 41015 Use char because int might match the return type of a GCC 41016 builtin and then its argument prototype would still apply. */ 41017#ifdef __cplusplus 41018extern "C" 41019#endif 41020char libfcache_cache_value_get_value (); 41021int 41022main () 41023{ 41024return libfcache_cache_value_get_value (); 41025 ; 41026 return 0; 41027} 41028_ACEOF 41029if ac_fn_c_try_link "$LINENO"; then : 41030 ac_cv_lib_fcache_libfcache_cache_value_get_value=yes 41031else 41032 ac_cv_lib_fcache_libfcache_cache_value_get_value=no 41033fi 41034rm -f core conftest.err conftest.$ac_objext \ 41035 conftest$ac_exeext conftest.$ac_ext 41036LIBS=$ac_check_lib_save_LIBS 41037fi 41038{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_get_value" >&5 41039$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_get_value" >&6; } 41040if test "x$ac_cv_lib_fcache_libfcache_cache_value_get_value" = xyes; then : 41041 ac_cv_libfcache_dummy=yes 41042else 41043 ac_cv_libfcache=no 41044fi 41045 41046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_set_value in -lfcache" >&5 41047$as_echo_n "checking for libfcache_cache_value_set_value in -lfcache... " >&6; } 41048if ${ac_cv_lib_fcache_libfcache_cache_value_set_value+:} false; then : 41049 $as_echo_n "(cached) " >&6 41050else 41051 ac_check_lib_save_LIBS=$LIBS 41052LIBS="-lfcache $LIBS" 41053cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41054/* end confdefs.h. */ 41055 41056/* Override any GCC internal prototype to avoid an error. 41057 Use char because int might match the return type of a GCC 41058 builtin and then its argument prototype would still apply. */ 41059#ifdef __cplusplus 41060extern "C" 41061#endif 41062char libfcache_cache_value_set_value (); 41063int 41064main () 41065{ 41066return libfcache_cache_value_set_value (); 41067 ; 41068 return 0; 41069} 41070_ACEOF 41071if ac_fn_c_try_link "$LINENO"; then : 41072 ac_cv_lib_fcache_libfcache_cache_value_set_value=yes 41073else 41074 ac_cv_lib_fcache_libfcache_cache_value_set_value=no 41075fi 41076rm -f core conftest.err conftest.$ac_objext \ 41077 conftest$ac_exeext conftest.$ac_ext 41078LIBS=$ac_check_lib_save_LIBS 41079fi 41080{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_set_value" >&5 41081$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_set_value" >&6; } 41082if test "x$ac_cv_lib_fcache_libfcache_cache_value_set_value" = xyes; then : 41083 ac_cv_libfcache_dummy=yes 41084else 41085 ac_cv_libfcache=no 41086fi 41087 41088 41089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_date_time_get_timestamp in -lfcache" >&5 41090$as_echo_n "checking for libfcache_date_time_get_timestamp in -lfcache... " >&6; } 41091if ${ac_cv_lib_fcache_libfcache_date_time_get_timestamp+:} false; then : 41092 $as_echo_n "(cached) " >&6 41093else 41094 ac_check_lib_save_LIBS=$LIBS 41095LIBS="-lfcache $LIBS" 41096cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41097/* end confdefs.h. */ 41098 41099/* Override any GCC internal prototype to avoid an error. 41100 Use char because int might match the return type of a GCC 41101 builtin and then its argument prototype would still apply. */ 41102#ifdef __cplusplus 41103extern "C" 41104#endif 41105char libfcache_date_time_get_timestamp (); 41106int 41107main () 41108{ 41109return libfcache_date_time_get_timestamp (); 41110 ; 41111 return 0; 41112} 41113_ACEOF 41114if ac_fn_c_try_link "$LINENO"; then : 41115 ac_cv_lib_fcache_libfcache_date_time_get_timestamp=yes 41116else 41117 ac_cv_lib_fcache_libfcache_date_time_get_timestamp=no 41118fi 41119rm -f core conftest.err conftest.$ac_objext \ 41120 conftest$ac_exeext conftest.$ac_ext 41121LIBS=$ac_check_lib_save_LIBS 41122fi 41123{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_date_time_get_timestamp" >&5 41124$as_echo "$ac_cv_lib_fcache_libfcache_date_time_get_timestamp" >&6; } 41125if test "x$ac_cv_lib_fcache_libfcache_date_time_get_timestamp" = xyes; then : 41126 ac_cv_libfcache_dummy=yes 41127else 41128 ac_cv_libfcache=no 41129fi 41130 41131 41132 ac_cv_libfcache_LIBADD="-lfcache" 41133fi 41134 41135fi 41136 if test "x$ac_cv_with_libfcache" != x && test "x$ac_cv_with_libfcache" != xauto-detect && test "x$ac_cv_libfcache" != xyes; then : 41137 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 41138$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 41139as_fn_error 1 "unable to find supported libfcache in directory: $ac_cv_with_libfcache 41140See \`config.log' for more details" "$LINENO" 5; } 41141 41142fi 41143 41144fi 41145 41146 if test "x$ac_cv_libfcache" = xyes; then : 41147 41148$as_echo "#define HAVE_LIBFCACHE 1" >>confdefs.h 41149 41150 41151fi 41152 41153 if test "x$ac_cv_libfcache" = xyes; then : 41154 HAVE_LIBFCACHE=1 41155 41156else 41157 HAVE_LIBFCACHE=0 41158 41159 41160fi 41161 41162 41163 if test "x$ac_cv_libfcache" != xyes; then : 41164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 41165$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 41166if ${ac_cv_struct_tm+:} false; then : 41167 $as_echo_n "(cached) " >&6 41168else 41169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41170/* end confdefs.h. */ 41171#include <sys/types.h> 41172#include <time.h> 41173 41174int 41175main () 41176{ 41177struct tm tm; 41178 int *p = &tm.tm_sec; 41179 return !p; 41180 ; 41181 return 0; 41182} 41183_ACEOF 41184if ac_fn_c_try_compile "$LINENO"; then : 41185 ac_cv_struct_tm=time.h 41186else 41187 ac_cv_struct_tm=sys/time.h 41188fi 41189rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 41190fi 41191{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 41192$as_echo "$ac_cv_struct_tm" >&6; } 41193if test $ac_cv_struct_tm = sys/time.h; then 41194 41195$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h 41196 41197fi 41198 41199 41200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 41201$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 41202if ${ac_cv_header_time+:} false; then : 41203 $as_echo_n "(cached) " >&6 41204else 41205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41206/* end confdefs.h. */ 41207#include <sys/types.h> 41208#include <sys/time.h> 41209#include <time.h> 41210 41211int 41212main () 41213{ 41214if ((struct tm *) 0) 41215return 0; 41216 ; 41217 return 0; 41218} 41219_ACEOF 41220if ac_fn_c_try_compile "$LINENO"; then : 41221 ac_cv_header_time=yes 41222else 41223 ac_cv_header_time=no 41224fi 41225rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 41226fi 41227{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 41228$as_echo "$ac_cv_header_time" >&6; } 41229if test $ac_cv_header_time = yes; then 41230 41231$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h 41232 41233fi 41234 41235 41236 for ac_func in clock_gettime time 41237do : 41238 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 41239ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 41240if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 41241 cat >>confdefs.h <<_ACEOF 41242#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 41243_ACEOF 41244 41245fi 41246done 41247 41248 41249 if test "x$ac_cv_func_time" != xyes; then : 41250 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 41251$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 41252as_fn_error 1 "Missing function: time 41253See \`config.log' for more details" "$LINENO" 5; } 41254 41255fi 41256 41257 ac_cv_libfcache_CPPFLAGS="-I../libfcache"; 41258 ac_cv_libfcache_LIBADD="../libfcache/libfcache.la"; 41259 41260 ac_cv_libfcache=local 41261 41262 41263 41264$as_echo "#define HAVE_LOCAL_LIBFCACHE 1" >>confdefs.h 41265 41266 HAVE_LOCAL_LIBFCACHE=1 41267 41268 41269fi 41270 41271 if test "x$ac_cv_libfcache" = xlocal; then 41272 HAVE_LOCAL_LIBFCACHE_TRUE= 41273 HAVE_LOCAL_LIBFCACHE_FALSE='#' 41274else 41275 HAVE_LOCAL_LIBFCACHE_TRUE='#' 41276 HAVE_LOCAL_LIBFCACHE_FALSE= 41277fi 41278 41279 if test "x$ac_cv_libfcache_CPPFLAGS" != "x"; then : 41280 LIBFCACHE_CPPFLAGS=$ac_cv_libfcache_CPPFLAGS 41281 41282 41283fi 41284 if test "x$ac_cv_libfcache_LIBADD" != "x"; then : 41285 LIBFCACHE_LIBADD=$ac_cv_libfcache_LIBADD 41286 41287 41288fi 41289 41290 if test "x$ac_cv_libfcache" = xyes; then : 41291 ax_libfcache_pc_libs_private=-lfcache 41292 41293 41294fi 41295 41296 if test "x$ac_cv_libfcache" = xyes; then : 41297 ax_libfcache_spec_requires=libfcache 41298 41299 ax_libfcache_spec_build_requires=libfcache-devel 41300 41301 41302fi 41303 41304 41305 41306 41307# Check whether --with-libfdata was given. 41308if test "${with_libfdata+set}" = set; then : 41309 withval=$with_libfdata; ac_cv_with_libfdata=$withval 41310else 41311 ac_cv_with_libfdata=auto-detect 41312fi 41313 41314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use search for libfdata in includedir and libdir or in the specified DIR, or no if to use local version" >&5 41315$as_echo_n "checking whether to use search for libfdata in includedir and libdir or in the specified DIR, or no if to use local version... " >&6; } 41316if ${ac_cv_with_libfdata+:} false; then : 41317 $as_echo_n "(cached) " >&6 41318else 41319 ac_cv_with_libfdata=auto-detect 41320fi 41321{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfdata" >&5 41322$as_echo "$ac_cv_with_libfdata" >&6; } 41323 41324 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libfdata" = xno; then : 41325 ac_cv_libfdata=no 41326else 41327 ac_cv_libfdata=check 41328 if test "x$ac_cv_with_libfdata" != x && test "x$ac_cv_with_libfdata" != xauto-detect; then : 41329 if test -d "$ac_cv_with_libfdata"; then : 41330 CFLAGS="$CFLAGS -I${ac_cv_with_libfdata}/include" 41331 LDFLAGS="$LDFLAGS -L${ac_cv_with_libfdata}/lib" 41332else 41333 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 41334$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 41335as_fn_error 1 "no such directory: $ac_cv_with_libfdata 41336See \`config.log' for more details" "$LINENO" 5; } 41337 41338fi 41339 41340else 41341 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 41342 41343pkg_failed=no 41344{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata" >&5 41345$as_echo_n "checking for libfdata... " >&6; } 41346 41347if test -n "$libfdata_CFLAGS"; then 41348 pkg_cv_libfdata_CFLAGS="$libfdata_CFLAGS" 41349 elif test -n "$PKG_CONFIG"; then 41350 if test -n "$PKG_CONFIG" && \ 41351 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfdata >= 20201129\""; } >&5 41352 ($PKG_CONFIG --exists --print-errors "libfdata >= 20201129") 2>&5 41353 ac_status=$? 41354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 41355 test $ac_status = 0; }; then 41356 pkg_cv_libfdata_CFLAGS=`$PKG_CONFIG --cflags "libfdata >= 20201129" 2>/dev/null` 41357 test "x$?" != "x0" && pkg_failed=yes 41358else 41359 pkg_failed=yes 41360fi 41361 else 41362 pkg_failed=untried 41363fi 41364if test -n "$libfdata_LIBS"; then 41365 pkg_cv_libfdata_LIBS="$libfdata_LIBS" 41366 elif test -n "$PKG_CONFIG"; then 41367 if test -n "$PKG_CONFIG" && \ 41368 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfdata >= 20201129\""; } >&5 41369 ($PKG_CONFIG --exists --print-errors "libfdata >= 20201129") 2>&5 41370 ac_status=$? 41371 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 41372 test $ac_status = 0; }; then 41373 pkg_cv_libfdata_LIBS=`$PKG_CONFIG --libs "libfdata >= 20201129" 2>/dev/null` 41374 test "x$?" != "x0" && pkg_failed=yes 41375else 41376 pkg_failed=yes 41377fi 41378 else 41379 pkg_failed=untried 41380fi 41381 41382 41383 41384if test $pkg_failed = yes; then 41385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 41386$as_echo "no" >&6; } 41387 41388if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 41389 _pkg_short_errors_supported=yes 41390else 41391 _pkg_short_errors_supported=no 41392fi 41393 if test $_pkg_short_errors_supported = yes; then 41394 libfdata_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfdata >= 20201129" 2>&1` 41395 else 41396 libfdata_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfdata >= 20201129" 2>&1` 41397 fi 41398 # Put the nasty error message in config.log where it belongs 41399 echo "$libfdata_PKG_ERRORS" >&5 41400 41401 ac_cv_libfdata=check 41402elif test $pkg_failed = untried; then 41403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 41404$as_echo "no" >&6; } 41405 ac_cv_libfdata=check 41406else 41407 libfdata_CFLAGS=$pkg_cv_libfdata_CFLAGS 41408 libfdata_LIBS=$pkg_cv_libfdata_LIBS 41409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 41410$as_echo "yes" >&6; } 41411 ac_cv_libfdata=yes 41412fi 41413 41414fi 41415 if test "x$ac_cv_libfdata" = xyes; then : 41416 ac_cv_libfdata_CPPFLAGS="$pkg_cv_libfdata_CFLAGS" 41417 ac_cv_libfdata_LIBADD="$pkg_cv_libfdata_LIBS" 41418fi 41419 41420fi 41421 41422 if test "x$ac_cv_libfdata" = xcheck; then : 41423 for ac_header in libfdata.h 41424do : 41425 ac_fn_c_check_header_mongrel "$LINENO" "libfdata.h" "ac_cv_header_libfdata_h" "$ac_includes_default" 41426if test "x$ac_cv_header_libfdata_h" = xyes; then : 41427 cat >>confdefs.h <<_ACEOF 41428#define HAVE_LIBFDATA_H 1 41429_ACEOF 41430 41431fi 41432 41433done 41434 41435 41436 if test "x$ac_cv_header_libfdata_h" = xno; then : 41437 ac_cv_libfdata=no 41438else 41439 ac_cv_libfdata=yes 41440 41441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_get_version in -lfdata" >&5 41442$as_echo_n "checking for libfdata_get_version in -lfdata... " >&6; } 41443if ${ac_cv_lib_fdata_libfdata_get_version+:} false; then : 41444 $as_echo_n "(cached) " >&6 41445else 41446 ac_check_lib_save_LIBS=$LIBS 41447LIBS="-lfdata $LIBS" 41448cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41449/* end confdefs.h. */ 41450 41451/* Override any GCC internal prototype to avoid an error. 41452 Use char because int might match the return type of a GCC 41453 builtin and then its argument prototype would still apply. */ 41454#ifdef __cplusplus 41455extern "C" 41456#endif 41457char libfdata_get_version (); 41458int 41459main () 41460{ 41461return libfdata_get_version (); 41462 ; 41463 return 0; 41464} 41465_ACEOF 41466if ac_fn_c_try_link "$LINENO"; then : 41467 ac_cv_lib_fdata_libfdata_get_version=yes 41468else 41469 ac_cv_lib_fdata_libfdata_get_version=no 41470fi 41471rm -f core conftest.err conftest.$ac_objext \ 41472 conftest$ac_exeext conftest.$ac_ext 41473LIBS=$ac_check_lib_save_LIBS 41474fi 41475{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_get_version" >&5 41476$as_echo "$ac_cv_lib_fdata_libfdata_get_version" >&6; } 41477if test "x$ac_cv_lib_fdata_libfdata_get_version" = xyes; then : 41478 ac_cv_libfdata_dummy=yes 41479else 41480 ac_cv_libfdata=no 41481fi 41482 41483 41484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_initialize in -lfdata" >&5 41485$as_echo_n "checking for libfdata_area_initialize in -lfdata... " >&6; } 41486if ${ac_cv_lib_fdata_libfdata_area_initialize+:} false; then : 41487 $as_echo_n "(cached) " >&6 41488else 41489 ac_check_lib_save_LIBS=$LIBS 41490LIBS="-lfdata $LIBS" 41491cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41492/* end confdefs.h. */ 41493 41494/* Override any GCC internal prototype to avoid an error. 41495 Use char because int might match the return type of a GCC 41496 builtin and then its argument prototype would still apply. */ 41497#ifdef __cplusplus 41498extern "C" 41499#endif 41500char libfdata_area_initialize (); 41501int 41502main () 41503{ 41504return libfdata_area_initialize (); 41505 ; 41506 return 0; 41507} 41508_ACEOF 41509if ac_fn_c_try_link "$LINENO"; then : 41510 ac_cv_lib_fdata_libfdata_area_initialize=yes 41511else 41512 ac_cv_lib_fdata_libfdata_area_initialize=no 41513fi 41514rm -f core conftest.err conftest.$ac_objext \ 41515 conftest$ac_exeext conftest.$ac_ext 41516LIBS=$ac_check_lib_save_LIBS 41517fi 41518{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_initialize" >&5 41519$as_echo "$ac_cv_lib_fdata_libfdata_area_initialize" >&6; } 41520if test "x$ac_cv_lib_fdata_libfdata_area_initialize" = xyes; then : 41521 ac_cv_libfdata_dummy=yes 41522else 41523 ac_cv_libfdata=no 41524fi 41525 41526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_free in -lfdata" >&5 41527$as_echo_n "checking for libfdata_area_free in -lfdata... " >&6; } 41528if ${ac_cv_lib_fdata_libfdata_area_free+:} false; then : 41529 $as_echo_n "(cached) " >&6 41530else 41531 ac_check_lib_save_LIBS=$LIBS 41532LIBS="-lfdata $LIBS" 41533cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41534/* end confdefs.h. */ 41535 41536/* Override any GCC internal prototype to avoid an error. 41537 Use char because int might match the return type of a GCC 41538 builtin and then its argument prototype would still apply. */ 41539#ifdef __cplusplus 41540extern "C" 41541#endif 41542char libfdata_area_free (); 41543int 41544main () 41545{ 41546return libfdata_area_free (); 41547 ; 41548 return 0; 41549} 41550_ACEOF 41551if ac_fn_c_try_link "$LINENO"; then : 41552 ac_cv_lib_fdata_libfdata_area_free=yes 41553else 41554 ac_cv_lib_fdata_libfdata_area_free=no 41555fi 41556rm -f core conftest.err conftest.$ac_objext \ 41557 conftest$ac_exeext conftest.$ac_ext 41558LIBS=$ac_check_lib_save_LIBS 41559fi 41560{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_free" >&5 41561$as_echo "$ac_cv_lib_fdata_libfdata_area_free" >&6; } 41562if test "x$ac_cv_lib_fdata_libfdata_area_free" = xyes; then : 41563 ac_cv_libfdata_dummy=yes 41564else 41565 ac_cv_libfdata=no 41566fi 41567 41568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_clone in -lfdata" >&5 41569$as_echo_n "checking for libfdata_area_clone in -lfdata... " >&6; } 41570if ${ac_cv_lib_fdata_libfdata_area_clone+:} false; then : 41571 $as_echo_n "(cached) " >&6 41572else 41573 ac_check_lib_save_LIBS=$LIBS 41574LIBS="-lfdata $LIBS" 41575cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41576/* end confdefs.h. */ 41577 41578/* Override any GCC internal prototype to avoid an error. 41579 Use char because int might match the return type of a GCC 41580 builtin and then its argument prototype would still apply. */ 41581#ifdef __cplusplus 41582extern "C" 41583#endif 41584char libfdata_area_clone (); 41585int 41586main () 41587{ 41588return libfdata_area_clone (); 41589 ; 41590 return 0; 41591} 41592_ACEOF 41593if ac_fn_c_try_link "$LINENO"; then : 41594 ac_cv_lib_fdata_libfdata_area_clone=yes 41595else 41596 ac_cv_lib_fdata_libfdata_area_clone=no 41597fi 41598rm -f core conftest.err conftest.$ac_objext \ 41599 conftest$ac_exeext conftest.$ac_ext 41600LIBS=$ac_check_lib_save_LIBS 41601fi 41602{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_clone" >&5 41603$as_echo "$ac_cv_lib_fdata_libfdata_area_clone" >&6; } 41604if test "x$ac_cv_lib_fdata_libfdata_area_clone" = xyes; then : 41605 ac_cv_libfdata_dummy=yes 41606else 41607 ac_cv_libfdata=no 41608fi 41609 41610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_empty in -lfdata" >&5 41611$as_echo_n "checking for libfdata_area_empty in -lfdata... " >&6; } 41612if ${ac_cv_lib_fdata_libfdata_area_empty+:} false; then : 41613 $as_echo_n "(cached) " >&6 41614else 41615 ac_check_lib_save_LIBS=$LIBS 41616LIBS="-lfdata $LIBS" 41617cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41618/* end confdefs.h. */ 41619 41620/* Override any GCC internal prototype to avoid an error. 41621 Use char because int might match the return type of a GCC 41622 builtin and then its argument prototype would still apply. */ 41623#ifdef __cplusplus 41624extern "C" 41625#endif 41626char libfdata_area_empty (); 41627int 41628main () 41629{ 41630return libfdata_area_empty (); 41631 ; 41632 return 0; 41633} 41634_ACEOF 41635if ac_fn_c_try_link "$LINENO"; then : 41636 ac_cv_lib_fdata_libfdata_area_empty=yes 41637else 41638 ac_cv_lib_fdata_libfdata_area_empty=no 41639fi 41640rm -f core conftest.err conftest.$ac_objext \ 41641 conftest$ac_exeext conftest.$ac_ext 41642LIBS=$ac_check_lib_save_LIBS 41643fi 41644{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_empty" >&5 41645$as_echo "$ac_cv_lib_fdata_libfdata_area_empty" >&6; } 41646if test "x$ac_cv_lib_fdata_libfdata_area_empty" = xyes; then : 41647 ac_cv_libfdata_dummy=yes 41648else 41649 ac_cv_libfdata=no 41650fi 41651 41652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_resize in -lfdata" >&5 41653$as_echo_n "checking for libfdata_area_resize in -lfdata... " >&6; } 41654if ${ac_cv_lib_fdata_libfdata_area_resize+:} false; then : 41655 $as_echo_n "(cached) " >&6 41656else 41657 ac_check_lib_save_LIBS=$LIBS 41658LIBS="-lfdata $LIBS" 41659cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41660/* end confdefs.h. */ 41661 41662/* Override any GCC internal prototype to avoid an error. 41663 Use char because int might match the return type of a GCC 41664 builtin and then its argument prototype would still apply. */ 41665#ifdef __cplusplus 41666extern "C" 41667#endif 41668char libfdata_area_resize (); 41669int 41670main () 41671{ 41672return libfdata_area_resize (); 41673 ; 41674 return 0; 41675} 41676_ACEOF 41677if ac_fn_c_try_link "$LINENO"; then : 41678 ac_cv_lib_fdata_libfdata_area_resize=yes 41679else 41680 ac_cv_lib_fdata_libfdata_area_resize=no 41681fi 41682rm -f core conftest.err conftest.$ac_objext \ 41683 conftest$ac_exeext conftest.$ac_ext 41684LIBS=$ac_check_lib_save_LIBS 41685fi 41686{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_resize" >&5 41687$as_echo "$ac_cv_lib_fdata_libfdata_area_resize" >&6; } 41688if test "x$ac_cv_lib_fdata_libfdata_area_resize" = xyes; then : 41689 ac_cv_libfdata_dummy=yes 41690else 41691 ac_cv_libfdata=no 41692fi 41693 41694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_get_number_of_segments in -lfdata" >&5 41695$as_echo_n "checking for libfdata_area_get_number_of_segments in -lfdata... " >&6; } 41696if ${ac_cv_lib_fdata_libfdata_area_get_number_of_segments+:} false; then : 41697 $as_echo_n "(cached) " >&6 41698else 41699 ac_check_lib_save_LIBS=$LIBS 41700LIBS="-lfdata $LIBS" 41701cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41702/* end confdefs.h. */ 41703 41704/* Override any GCC internal prototype to avoid an error. 41705 Use char because int might match the return type of a GCC 41706 builtin and then its argument prototype would still apply. */ 41707#ifdef __cplusplus 41708extern "C" 41709#endif 41710char libfdata_area_get_number_of_segments (); 41711int 41712main () 41713{ 41714return libfdata_area_get_number_of_segments (); 41715 ; 41716 return 0; 41717} 41718_ACEOF 41719if ac_fn_c_try_link "$LINENO"; then : 41720 ac_cv_lib_fdata_libfdata_area_get_number_of_segments=yes 41721else 41722 ac_cv_lib_fdata_libfdata_area_get_number_of_segments=no 41723fi 41724rm -f core conftest.err conftest.$ac_objext \ 41725 conftest$ac_exeext conftest.$ac_ext 41726LIBS=$ac_check_lib_save_LIBS 41727fi 41728{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_get_number_of_segments" >&5 41729$as_echo "$ac_cv_lib_fdata_libfdata_area_get_number_of_segments" >&6; } 41730if test "x$ac_cv_lib_fdata_libfdata_area_get_number_of_segments" = xyes; then : 41731 ac_cv_libfdata_dummy=yes 41732else 41733 ac_cv_libfdata=no 41734fi 41735 41736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_get_segment_by_index in -lfdata" >&5 41737$as_echo_n "checking for libfdata_area_get_segment_by_index in -lfdata... " >&6; } 41738if ${ac_cv_lib_fdata_libfdata_area_get_segment_by_index+:} false; then : 41739 $as_echo_n "(cached) " >&6 41740else 41741 ac_check_lib_save_LIBS=$LIBS 41742LIBS="-lfdata $LIBS" 41743cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41744/* end confdefs.h. */ 41745 41746/* Override any GCC internal prototype to avoid an error. 41747 Use char because int might match the return type of a GCC 41748 builtin and then its argument prototype would still apply. */ 41749#ifdef __cplusplus 41750extern "C" 41751#endif 41752char libfdata_area_get_segment_by_index (); 41753int 41754main () 41755{ 41756return libfdata_area_get_segment_by_index (); 41757 ; 41758 return 0; 41759} 41760_ACEOF 41761if ac_fn_c_try_link "$LINENO"; then : 41762 ac_cv_lib_fdata_libfdata_area_get_segment_by_index=yes 41763else 41764 ac_cv_lib_fdata_libfdata_area_get_segment_by_index=no 41765fi 41766rm -f core conftest.err conftest.$ac_objext \ 41767 conftest$ac_exeext conftest.$ac_ext 41768LIBS=$ac_check_lib_save_LIBS 41769fi 41770{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_get_segment_by_index" >&5 41771$as_echo "$ac_cv_lib_fdata_libfdata_area_get_segment_by_index" >&6; } 41772if test "x$ac_cv_lib_fdata_libfdata_area_get_segment_by_index" = xyes; then : 41773 ac_cv_libfdata_dummy=yes 41774else 41775 ac_cv_libfdata=no 41776fi 41777 41778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_set_segment_by_index in -lfdata" >&5 41779$as_echo_n "checking for libfdata_area_set_segment_by_index in -lfdata... " >&6; } 41780if ${ac_cv_lib_fdata_libfdata_area_set_segment_by_index+:} false; then : 41781 $as_echo_n "(cached) " >&6 41782else 41783 ac_check_lib_save_LIBS=$LIBS 41784LIBS="-lfdata $LIBS" 41785cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41786/* end confdefs.h. */ 41787 41788/* Override any GCC internal prototype to avoid an error. 41789 Use char because int might match the return type of a GCC 41790 builtin and then its argument prototype would still apply. */ 41791#ifdef __cplusplus 41792extern "C" 41793#endif 41794char libfdata_area_set_segment_by_index (); 41795int 41796main () 41797{ 41798return libfdata_area_set_segment_by_index (); 41799 ; 41800 return 0; 41801} 41802_ACEOF 41803if ac_fn_c_try_link "$LINENO"; then : 41804 ac_cv_lib_fdata_libfdata_area_set_segment_by_index=yes 41805else 41806 ac_cv_lib_fdata_libfdata_area_set_segment_by_index=no 41807fi 41808rm -f core conftest.err conftest.$ac_objext \ 41809 conftest$ac_exeext conftest.$ac_ext 41810LIBS=$ac_check_lib_save_LIBS 41811fi 41812{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_set_segment_by_index" >&5 41813$as_echo "$ac_cv_lib_fdata_libfdata_area_set_segment_by_index" >&6; } 41814if test "x$ac_cv_lib_fdata_libfdata_area_set_segment_by_index" = xyes; then : 41815 ac_cv_libfdata_dummy=yes 41816else 41817 ac_cv_libfdata=no 41818fi 41819 41820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_prepend_segment in -lfdata" >&5 41821$as_echo_n "checking for libfdata_area_prepend_segment in -lfdata... " >&6; } 41822if ${ac_cv_lib_fdata_libfdata_area_prepend_segment+:} false; then : 41823 $as_echo_n "(cached) " >&6 41824else 41825 ac_check_lib_save_LIBS=$LIBS 41826LIBS="-lfdata $LIBS" 41827cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41828/* end confdefs.h. */ 41829 41830/* Override any GCC internal prototype to avoid an error. 41831 Use char because int might match the return type of a GCC 41832 builtin and then its argument prototype would still apply. */ 41833#ifdef __cplusplus 41834extern "C" 41835#endif 41836char libfdata_area_prepend_segment (); 41837int 41838main () 41839{ 41840return libfdata_area_prepend_segment (); 41841 ; 41842 return 0; 41843} 41844_ACEOF 41845if ac_fn_c_try_link "$LINENO"; then : 41846 ac_cv_lib_fdata_libfdata_area_prepend_segment=yes 41847else 41848 ac_cv_lib_fdata_libfdata_area_prepend_segment=no 41849fi 41850rm -f core conftest.err conftest.$ac_objext \ 41851 conftest$ac_exeext conftest.$ac_ext 41852LIBS=$ac_check_lib_save_LIBS 41853fi 41854{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_prepend_segment" >&5 41855$as_echo "$ac_cv_lib_fdata_libfdata_area_prepend_segment" >&6; } 41856if test "x$ac_cv_lib_fdata_libfdata_area_prepend_segment" = xyes; then : 41857 ac_cv_libfdata_dummy=yes 41858else 41859 ac_cv_libfdata=no 41860fi 41861 41862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_append_segment in -lfdata" >&5 41863$as_echo_n "checking for libfdata_area_append_segment in -lfdata... " >&6; } 41864if ${ac_cv_lib_fdata_libfdata_area_append_segment+:} false; then : 41865 $as_echo_n "(cached) " >&6 41866else 41867 ac_check_lib_save_LIBS=$LIBS 41868LIBS="-lfdata $LIBS" 41869cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41870/* end confdefs.h. */ 41871 41872/* Override any GCC internal prototype to avoid an error. 41873 Use char because int might match the return type of a GCC 41874 builtin and then its argument prototype would still apply. */ 41875#ifdef __cplusplus 41876extern "C" 41877#endif 41878char libfdata_area_append_segment (); 41879int 41880main () 41881{ 41882return libfdata_area_append_segment (); 41883 ; 41884 return 0; 41885} 41886_ACEOF 41887if ac_fn_c_try_link "$LINENO"; then : 41888 ac_cv_lib_fdata_libfdata_area_append_segment=yes 41889else 41890 ac_cv_lib_fdata_libfdata_area_append_segment=no 41891fi 41892rm -f core conftest.err conftest.$ac_objext \ 41893 conftest$ac_exeext conftest.$ac_ext 41894LIBS=$ac_check_lib_save_LIBS 41895fi 41896{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_append_segment" >&5 41897$as_echo "$ac_cv_lib_fdata_libfdata_area_append_segment" >&6; } 41898if test "x$ac_cv_lib_fdata_libfdata_area_append_segment" = xyes; then : 41899 ac_cv_libfdata_dummy=yes 41900else 41901 ac_cv_libfdata=no 41902fi 41903 41904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_get_element_data_size in -lfdata" >&5 41905$as_echo_n "checking for libfdata_area_get_element_data_size in -lfdata... " >&6; } 41906if ${ac_cv_lib_fdata_libfdata_area_get_element_data_size+:} false; then : 41907 $as_echo_n "(cached) " >&6 41908else 41909 ac_check_lib_save_LIBS=$LIBS 41910LIBS="-lfdata $LIBS" 41911cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41912/* end confdefs.h. */ 41913 41914/* Override any GCC internal prototype to avoid an error. 41915 Use char because int might match the return type of a GCC 41916 builtin and then its argument prototype would still apply. */ 41917#ifdef __cplusplus 41918extern "C" 41919#endif 41920char libfdata_area_get_element_data_size (); 41921int 41922main () 41923{ 41924return libfdata_area_get_element_data_size (); 41925 ; 41926 return 0; 41927} 41928_ACEOF 41929if ac_fn_c_try_link "$LINENO"; then : 41930 ac_cv_lib_fdata_libfdata_area_get_element_data_size=yes 41931else 41932 ac_cv_lib_fdata_libfdata_area_get_element_data_size=no 41933fi 41934rm -f core conftest.err conftest.$ac_objext \ 41935 conftest$ac_exeext conftest.$ac_ext 41936LIBS=$ac_check_lib_save_LIBS 41937fi 41938{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_get_element_data_size" >&5 41939$as_echo "$ac_cv_lib_fdata_libfdata_area_get_element_data_size" >&6; } 41940if test "x$ac_cv_lib_fdata_libfdata_area_get_element_data_size" = xyes; then : 41941 ac_cv_libfdata_dummy=yes 41942else 41943 ac_cv_libfdata=no 41944fi 41945 41946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_get_element_value_at_offset in -lfdata" >&5 41947$as_echo_n "checking for libfdata_area_get_element_value_at_offset in -lfdata... " >&6; } 41948if ${ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset+:} false; then : 41949 $as_echo_n "(cached) " >&6 41950else 41951 ac_check_lib_save_LIBS=$LIBS 41952LIBS="-lfdata $LIBS" 41953cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41954/* end confdefs.h. */ 41955 41956/* Override any GCC internal prototype to avoid an error. 41957 Use char because int might match the return type of a GCC 41958 builtin and then its argument prototype would still apply. */ 41959#ifdef __cplusplus 41960extern "C" 41961#endif 41962char libfdata_area_get_element_value_at_offset (); 41963int 41964main () 41965{ 41966return libfdata_area_get_element_value_at_offset (); 41967 ; 41968 return 0; 41969} 41970_ACEOF 41971if ac_fn_c_try_link "$LINENO"; then : 41972 ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset=yes 41973else 41974 ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset=no 41975fi 41976rm -f core conftest.err conftest.$ac_objext \ 41977 conftest$ac_exeext conftest.$ac_ext 41978LIBS=$ac_check_lib_save_LIBS 41979fi 41980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset" >&5 41981$as_echo "$ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset" >&6; } 41982if test "x$ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset" = xyes; then : 41983 ac_cv_libfdata_dummy=yes 41984else 41985 ac_cv_libfdata=no 41986fi 41987 41988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_set_element_value_at_offset in -lfdata" >&5 41989$as_echo_n "checking for libfdata_area_set_element_value_at_offset in -lfdata... " >&6; } 41990if ${ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset+:} false; then : 41991 $as_echo_n "(cached) " >&6 41992else 41993 ac_check_lib_save_LIBS=$LIBS 41994LIBS="-lfdata $LIBS" 41995cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41996/* end confdefs.h. */ 41997 41998/* Override any GCC internal prototype to avoid an error. 41999 Use char because int might match the return type of a GCC 42000 builtin and then its argument prototype would still apply. */ 42001#ifdef __cplusplus 42002extern "C" 42003#endif 42004char libfdata_area_set_element_value_at_offset (); 42005int 42006main () 42007{ 42008return libfdata_area_set_element_value_at_offset (); 42009 ; 42010 return 0; 42011} 42012_ACEOF 42013if ac_fn_c_try_link "$LINENO"; then : 42014 ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset=yes 42015else 42016 ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset=no 42017fi 42018rm -f core conftest.err conftest.$ac_objext \ 42019 conftest$ac_exeext conftest.$ac_ext 42020LIBS=$ac_check_lib_save_LIBS 42021fi 42022{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset" >&5 42023$as_echo "$ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset" >&6; } 42024if test "x$ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset" = xyes; then : 42025 ac_cv_libfdata_dummy=yes 42026else 42027 ac_cv_libfdata=no 42028fi 42029 42030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_get_size in -lfdata" >&5 42031$as_echo_n "checking for libfdata_area_get_size in -lfdata... " >&6; } 42032if ${ac_cv_lib_fdata_libfdata_area_get_size+:} false; then : 42033 $as_echo_n "(cached) " >&6 42034else 42035 ac_check_lib_save_LIBS=$LIBS 42036LIBS="-lfdata $LIBS" 42037cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42038/* end confdefs.h. */ 42039 42040/* Override any GCC internal prototype to avoid an error. 42041 Use char because int might match the return type of a GCC 42042 builtin and then its argument prototype would still apply. */ 42043#ifdef __cplusplus 42044extern "C" 42045#endif 42046char libfdata_area_get_size (); 42047int 42048main () 42049{ 42050return libfdata_area_get_size (); 42051 ; 42052 return 0; 42053} 42054_ACEOF 42055if ac_fn_c_try_link "$LINENO"; then : 42056 ac_cv_lib_fdata_libfdata_area_get_size=yes 42057else 42058 ac_cv_lib_fdata_libfdata_area_get_size=no 42059fi 42060rm -f core conftest.err conftest.$ac_objext \ 42061 conftest$ac_exeext conftest.$ac_ext 42062LIBS=$ac_check_lib_save_LIBS 42063fi 42064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_get_size" >&5 42065$as_echo "$ac_cv_lib_fdata_libfdata_area_get_size" >&6; } 42066if test "x$ac_cv_lib_fdata_libfdata_area_get_size" = xyes; then : 42067 ac_cv_libfdata_dummy=yes 42068else 42069 ac_cv_libfdata=no 42070fi 42071 42072 42073 42074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_initialize in -lfdata" >&5 42075$as_echo_n "checking for libfdata_list_initialize in -lfdata... " >&6; } 42076if ${ac_cv_lib_fdata_libfdata_list_initialize+:} false; then : 42077 $as_echo_n "(cached) " >&6 42078else 42079 ac_check_lib_save_LIBS=$LIBS 42080LIBS="-lfdata $LIBS" 42081cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42082/* end confdefs.h. */ 42083 42084/* Override any GCC internal prototype to avoid an error. 42085 Use char because int might match the return type of a GCC 42086 builtin and then its argument prototype would still apply. */ 42087#ifdef __cplusplus 42088extern "C" 42089#endif 42090char libfdata_list_initialize (); 42091int 42092main () 42093{ 42094return libfdata_list_initialize (); 42095 ; 42096 return 0; 42097} 42098_ACEOF 42099if ac_fn_c_try_link "$LINENO"; then : 42100 ac_cv_lib_fdata_libfdata_list_initialize=yes 42101else 42102 ac_cv_lib_fdata_libfdata_list_initialize=no 42103fi 42104rm -f core conftest.err conftest.$ac_objext \ 42105 conftest$ac_exeext conftest.$ac_ext 42106LIBS=$ac_check_lib_save_LIBS 42107fi 42108{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_initialize" >&5 42109$as_echo "$ac_cv_lib_fdata_libfdata_list_initialize" >&6; } 42110if test "x$ac_cv_lib_fdata_libfdata_list_initialize" = xyes; then : 42111 ac_cv_libfdata_dummy=yes 42112else 42113 ac_cv_libfdata=no 42114fi 42115 42116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_free in -lfdata" >&5 42117$as_echo_n "checking for libfdata_list_free in -lfdata... " >&6; } 42118if ${ac_cv_lib_fdata_libfdata_list_free+:} false; then : 42119 $as_echo_n "(cached) " >&6 42120else 42121 ac_check_lib_save_LIBS=$LIBS 42122LIBS="-lfdata $LIBS" 42123cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42124/* end confdefs.h. */ 42125 42126/* Override any GCC internal prototype to avoid an error. 42127 Use char because int might match the return type of a GCC 42128 builtin and then its argument prototype would still apply. */ 42129#ifdef __cplusplus 42130extern "C" 42131#endif 42132char libfdata_list_free (); 42133int 42134main () 42135{ 42136return libfdata_list_free (); 42137 ; 42138 return 0; 42139} 42140_ACEOF 42141if ac_fn_c_try_link "$LINENO"; then : 42142 ac_cv_lib_fdata_libfdata_list_free=yes 42143else 42144 ac_cv_lib_fdata_libfdata_list_free=no 42145fi 42146rm -f core conftest.err conftest.$ac_objext \ 42147 conftest$ac_exeext conftest.$ac_ext 42148LIBS=$ac_check_lib_save_LIBS 42149fi 42150{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_free" >&5 42151$as_echo "$ac_cv_lib_fdata_libfdata_list_free" >&6; } 42152if test "x$ac_cv_lib_fdata_libfdata_list_free" = xyes; then : 42153 ac_cv_libfdata_dummy=yes 42154else 42155 ac_cv_libfdata=no 42156fi 42157 42158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_clone in -lfdata" >&5 42159$as_echo_n "checking for libfdata_list_clone in -lfdata... " >&6; } 42160if ${ac_cv_lib_fdata_libfdata_list_clone+:} false; then : 42161 $as_echo_n "(cached) " >&6 42162else 42163 ac_check_lib_save_LIBS=$LIBS 42164LIBS="-lfdata $LIBS" 42165cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42166/* end confdefs.h. */ 42167 42168/* Override any GCC internal prototype to avoid an error. 42169 Use char because int might match the return type of a GCC 42170 builtin and then its argument prototype would still apply. */ 42171#ifdef __cplusplus 42172extern "C" 42173#endif 42174char libfdata_list_clone (); 42175int 42176main () 42177{ 42178return libfdata_list_clone (); 42179 ; 42180 return 0; 42181} 42182_ACEOF 42183if ac_fn_c_try_link "$LINENO"; then : 42184 ac_cv_lib_fdata_libfdata_list_clone=yes 42185else 42186 ac_cv_lib_fdata_libfdata_list_clone=no 42187fi 42188rm -f core conftest.err conftest.$ac_objext \ 42189 conftest$ac_exeext conftest.$ac_ext 42190LIBS=$ac_check_lib_save_LIBS 42191fi 42192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_clone" >&5 42193$as_echo "$ac_cv_lib_fdata_libfdata_list_clone" >&6; } 42194if test "x$ac_cv_lib_fdata_libfdata_list_clone" = xyes; then : 42195 ac_cv_libfdata_dummy=yes 42196else 42197 ac_cv_libfdata=no 42198fi 42199 42200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_empty in -lfdata" >&5 42201$as_echo_n "checking for libfdata_list_empty in -lfdata... " >&6; } 42202if ${ac_cv_lib_fdata_libfdata_list_empty+:} false; then : 42203 $as_echo_n "(cached) " >&6 42204else 42205 ac_check_lib_save_LIBS=$LIBS 42206LIBS="-lfdata $LIBS" 42207cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42208/* end confdefs.h. */ 42209 42210/* Override any GCC internal prototype to avoid an error. 42211 Use char because int might match the return type of a GCC 42212 builtin and then its argument prototype would still apply. */ 42213#ifdef __cplusplus 42214extern "C" 42215#endif 42216char libfdata_list_empty (); 42217int 42218main () 42219{ 42220return libfdata_list_empty (); 42221 ; 42222 return 0; 42223} 42224_ACEOF 42225if ac_fn_c_try_link "$LINENO"; then : 42226 ac_cv_lib_fdata_libfdata_list_empty=yes 42227else 42228 ac_cv_lib_fdata_libfdata_list_empty=no 42229fi 42230rm -f core conftest.err conftest.$ac_objext \ 42231 conftest$ac_exeext conftest.$ac_ext 42232LIBS=$ac_check_lib_save_LIBS 42233fi 42234{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_empty" >&5 42235$as_echo "$ac_cv_lib_fdata_libfdata_list_empty" >&6; } 42236if test "x$ac_cv_lib_fdata_libfdata_list_empty" = xyes; then : 42237 ac_cv_libfdata_dummy=yes 42238else 42239 ac_cv_libfdata=no 42240fi 42241 42242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_resize in -lfdata" >&5 42243$as_echo_n "checking for libfdata_list_resize in -lfdata... " >&6; } 42244if ${ac_cv_lib_fdata_libfdata_list_resize+:} false; then : 42245 $as_echo_n "(cached) " >&6 42246else 42247 ac_check_lib_save_LIBS=$LIBS 42248LIBS="-lfdata $LIBS" 42249cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42250/* end confdefs.h. */ 42251 42252/* Override any GCC internal prototype to avoid an error. 42253 Use char because int might match the return type of a GCC 42254 builtin and then its argument prototype would still apply. */ 42255#ifdef __cplusplus 42256extern "C" 42257#endif 42258char libfdata_list_resize (); 42259int 42260main () 42261{ 42262return libfdata_list_resize (); 42263 ; 42264 return 0; 42265} 42266_ACEOF 42267if ac_fn_c_try_link "$LINENO"; then : 42268 ac_cv_lib_fdata_libfdata_list_resize=yes 42269else 42270 ac_cv_lib_fdata_libfdata_list_resize=no 42271fi 42272rm -f core conftest.err conftest.$ac_objext \ 42273 conftest$ac_exeext conftest.$ac_ext 42274LIBS=$ac_check_lib_save_LIBS 42275fi 42276{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_resize" >&5 42277$as_echo "$ac_cv_lib_fdata_libfdata_list_resize" >&6; } 42278if test "x$ac_cv_lib_fdata_libfdata_list_resize" = xyes; then : 42279 ac_cv_libfdata_dummy=yes 42280else 42281 ac_cv_libfdata=no 42282fi 42283 42284 42285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_reverse in -lfdata" >&5 42286$as_echo_n "checking for libfdata_list_reverse in -lfdata... " >&6; } 42287if ${ac_cv_lib_fdata_libfdata_list_reverse+:} false; then : 42288 $as_echo_n "(cached) " >&6 42289else 42290 ac_check_lib_save_LIBS=$LIBS 42291LIBS="-lfdata $LIBS" 42292cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42293/* end confdefs.h. */ 42294 42295/* Override any GCC internal prototype to avoid an error. 42296 Use char because int might match the return type of a GCC 42297 builtin and then its argument prototype would still apply. */ 42298#ifdef __cplusplus 42299extern "C" 42300#endif 42301char libfdata_list_reverse (); 42302int 42303main () 42304{ 42305return libfdata_list_reverse (); 42306 ; 42307 return 0; 42308} 42309_ACEOF 42310if ac_fn_c_try_link "$LINENO"; then : 42311 ac_cv_lib_fdata_libfdata_list_reverse=yes 42312else 42313 ac_cv_lib_fdata_libfdata_list_reverse=no 42314fi 42315rm -f core conftest.err conftest.$ac_objext \ 42316 conftest$ac_exeext conftest.$ac_ext 42317LIBS=$ac_check_lib_save_LIBS 42318fi 42319{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_reverse" >&5 42320$as_echo "$ac_cv_lib_fdata_libfdata_list_reverse" >&6; } 42321if test "x$ac_cv_lib_fdata_libfdata_list_reverse" = xyes; then : 42322 ac_cv_libfdata_dummy=yes 42323else 42324 ac_cv_libfdata=no 42325fi 42326 42327 42328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_number_of_elements in -lfdata" >&5 42329$as_echo_n "checking for libfdata_list_get_number_of_elements in -lfdata... " >&6; } 42330if ${ac_cv_lib_fdata_libfdata_list_get_number_of_elements+:} false; then : 42331 $as_echo_n "(cached) " >&6 42332else 42333 ac_check_lib_save_LIBS=$LIBS 42334LIBS="-lfdata $LIBS" 42335cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42336/* end confdefs.h. */ 42337 42338/* Override any GCC internal prototype to avoid an error. 42339 Use char because int might match the return type of a GCC 42340 builtin and then its argument prototype would still apply. */ 42341#ifdef __cplusplus 42342extern "C" 42343#endif 42344char libfdata_list_get_number_of_elements (); 42345int 42346main () 42347{ 42348return libfdata_list_get_number_of_elements (); 42349 ; 42350 return 0; 42351} 42352_ACEOF 42353if ac_fn_c_try_link "$LINENO"; then : 42354 ac_cv_lib_fdata_libfdata_list_get_number_of_elements=yes 42355else 42356 ac_cv_lib_fdata_libfdata_list_get_number_of_elements=no 42357fi 42358rm -f core conftest.err conftest.$ac_objext \ 42359 conftest$ac_exeext conftest.$ac_ext 42360LIBS=$ac_check_lib_save_LIBS 42361fi 42362{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_number_of_elements" >&5 42363$as_echo "$ac_cv_lib_fdata_libfdata_list_get_number_of_elements" >&6; } 42364if test "x$ac_cv_lib_fdata_libfdata_list_get_number_of_elements" = xyes; then : 42365 ac_cv_libfdata_dummy=yes 42366else 42367 ac_cv_libfdata=no 42368fi 42369 42370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_list_element_by_index in -lfdata" >&5 42371$as_echo_n "checking for libfdata_list_get_list_element_by_index in -lfdata... " >&6; } 42372if ${ac_cv_lib_fdata_libfdata_list_get_list_element_by_index+:} false; then : 42373 $as_echo_n "(cached) " >&6 42374else 42375 ac_check_lib_save_LIBS=$LIBS 42376LIBS="-lfdata $LIBS" 42377cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42378/* end confdefs.h. */ 42379 42380/* Override any GCC internal prototype to avoid an error. 42381 Use char because int might match the return type of a GCC 42382 builtin and then its argument prototype would still apply. */ 42383#ifdef __cplusplus 42384extern "C" 42385#endif 42386char libfdata_list_get_list_element_by_index (); 42387int 42388main () 42389{ 42390return libfdata_list_get_list_element_by_index (); 42391 ; 42392 return 0; 42393} 42394_ACEOF 42395if ac_fn_c_try_link "$LINENO"; then : 42396 ac_cv_lib_fdata_libfdata_list_get_list_element_by_index=yes 42397else 42398 ac_cv_lib_fdata_libfdata_list_get_list_element_by_index=no 42399fi 42400rm -f core conftest.err conftest.$ac_objext \ 42401 conftest$ac_exeext conftest.$ac_ext 42402LIBS=$ac_check_lib_save_LIBS 42403fi 42404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_list_element_by_index" >&5 42405$as_echo "$ac_cv_lib_fdata_libfdata_list_get_list_element_by_index" >&6; } 42406if test "x$ac_cv_lib_fdata_libfdata_list_get_list_element_by_index" = xyes; then : 42407 ac_cv_libfdata_dummy=yes 42408else 42409 ac_cv_libfdata=no 42410fi 42411 42412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_by_index in -lfdata" >&5 42413$as_echo_n "checking for libfdata_list_get_element_by_index in -lfdata... " >&6; } 42414if ${ac_cv_lib_fdata_libfdata_list_get_element_by_index+:} false; then : 42415 $as_echo_n "(cached) " >&6 42416else 42417 ac_check_lib_save_LIBS=$LIBS 42418LIBS="-lfdata $LIBS" 42419cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42420/* end confdefs.h. */ 42421 42422/* Override any GCC internal prototype to avoid an error. 42423 Use char because int might match the return type of a GCC 42424 builtin and then its argument prototype would still apply. */ 42425#ifdef __cplusplus 42426extern "C" 42427#endif 42428char libfdata_list_get_element_by_index (); 42429int 42430main () 42431{ 42432return libfdata_list_get_element_by_index (); 42433 ; 42434 return 0; 42435} 42436_ACEOF 42437if ac_fn_c_try_link "$LINENO"; then : 42438 ac_cv_lib_fdata_libfdata_list_get_element_by_index=yes 42439else 42440 ac_cv_lib_fdata_libfdata_list_get_element_by_index=no 42441fi 42442rm -f core conftest.err conftest.$ac_objext \ 42443 conftest$ac_exeext conftest.$ac_ext 42444LIBS=$ac_check_lib_save_LIBS 42445fi 42446{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_by_index" >&5 42447$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_by_index" >&6; } 42448if test "x$ac_cv_lib_fdata_libfdata_list_get_element_by_index" = xyes; then : 42449 ac_cv_libfdata_dummy=yes 42450else 42451 ac_cv_libfdata=no 42452fi 42453 42454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_element_by_index in -lfdata" >&5 42455$as_echo_n "checking for libfdata_list_set_element_by_index in -lfdata... " >&6; } 42456if ${ac_cv_lib_fdata_libfdata_list_set_element_by_index+:} false; then : 42457 $as_echo_n "(cached) " >&6 42458else 42459 ac_check_lib_save_LIBS=$LIBS 42460LIBS="-lfdata $LIBS" 42461cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42462/* end confdefs.h. */ 42463 42464/* Override any GCC internal prototype to avoid an error. 42465 Use char because int might match the return type of a GCC 42466 builtin and then its argument prototype would still apply. */ 42467#ifdef __cplusplus 42468extern "C" 42469#endif 42470char libfdata_list_set_element_by_index (); 42471int 42472main () 42473{ 42474return libfdata_list_set_element_by_index (); 42475 ; 42476 return 0; 42477} 42478_ACEOF 42479if ac_fn_c_try_link "$LINENO"; then : 42480 ac_cv_lib_fdata_libfdata_list_set_element_by_index=yes 42481else 42482 ac_cv_lib_fdata_libfdata_list_set_element_by_index=no 42483fi 42484rm -f core conftest.err conftest.$ac_objext \ 42485 conftest$ac_exeext conftest.$ac_ext 42486LIBS=$ac_check_lib_save_LIBS 42487fi 42488{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_element_by_index" >&5 42489$as_echo "$ac_cv_lib_fdata_libfdata_list_set_element_by_index" >&6; } 42490if test "x$ac_cv_lib_fdata_libfdata_list_set_element_by_index" = xyes; then : 42491 ac_cv_libfdata_dummy=yes 42492else 42493 ac_cv_libfdata=no 42494fi 42495 42496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_prepend_element in -lfdata" >&5 42497$as_echo_n "checking for libfdata_list_prepend_element in -lfdata... " >&6; } 42498if ${ac_cv_lib_fdata_libfdata_list_prepend_element+:} false; then : 42499 $as_echo_n "(cached) " >&6 42500else 42501 ac_check_lib_save_LIBS=$LIBS 42502LIBS="-lfdata $LIBS" 42503cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42504/* end confdefs.h. */ 42505 42506/* Override any GCC internal prototype to avoid an error. 42507 Use char because int might match the return type of a GCC 42508 builtin and then its argument prototype would still apply. */ 42509#ifdef __cplusplus 42510extern "C" 42511#endif 42512char libfdata_list_prepend_element (); 42513int 42514main () 42515{ 42516return libfdata_list_prepend_element (); 42517 ; 42518 return 0; 42519} 42520_ACEOF 42521if ac_fn_c_try_link "$LINENO"; then : 42522 ac_cv_lib_fdata_libfdata_list_prepend_element=yes 42523else 42524 ac_cv_lib_fdata_libfdata_list_prepend_element=no 42525fi 42526rm -f core conftest.err conftest.$ac_objext \ 42527 conftest$ac_exeext conftest.$ac_ext 42528LIBS=$ac_check_lib_save_LIBS 42529fi 42530{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_prepend_element" >&5 42531$as_echo "$ac_cv_lib_fdata_libfdata_list_prepend_element" >&6; } 42532if test "x$ac_cv_lib_fdata_libfdata_list_prepend_element" = xyes; then : 42533 ac_cv_libfdata_dummy=yes 42534else 42535 ac_cv_libfdata=no 42536fi 42537 42538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_append_element in -lfdata" >&5 42539$as_echo_n "checking for libfdata_list_append_element in -lfdata... " >&6; } 42540if ${ac_cv_lib_fdata_libfdata_list_append_element+:} false; then : 42541 $as_echo_n "(cached) " >&6 42542else 42543 ac_check_lib_save_LIBS=$LIBS 42544LIBS="-lfdata $LIBS" 42545cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42546/* end confdefs.h. */ 42547 42548/* Override any GCC internal prototype to avoid an error. 42549 Use char because int might match the return type of a GCC 42550 builtin and then its argument prototype would still apply. */ 42551#ifdef __cplusplus 42552extern "C" 42553#endif 42554char libfdata_list_append_element (); 42555int 42556main () 42557{ 42558return libfdata_list_append_element (); 42559 ; 42560 return 0; 42561} 42562_ACEOF 42563if ac_fn_c_try_link "$LINENO"; then : 42564 ac_cv_lib_fdata_libfdata_list_append_element=yes 42565else 42566 ac_cv_lib_fdata_libfdata_list_append_element=no 42567fi 42568rm -f core conftest.err conftest.$ac_objext \ 42569 conftest$ac_exeext conftest.$ac_ext 42570LIBS=$ac_check_lib_save_LIBS 42571fi 42572{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_append_element" >&5 42573$as_echo "$ac_cv_lib_fdata_libfdata_list_append_element" >&6; } 42574if test "x$ac_cv_lib_fdata_libfdata_list_append_element" = xyes; then : 42575 ac_cv_libfdata_dummy=yes 42576else 42577 ac_cv_libfdata=no 42578fi 42579 42580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_append_list in -lfdata" >&5 42581$as_echo_n "checking for libfdata_list_append_list in -lfdata... " >&6; } 42582if ${ac_cv_lib_fdata_libfdata_list_append_list+:} false; then : 42583 $as_echo_n "(cached) " >&6 42584else 42585 ac_check_lib_save_LIBS=$LIBS 42586LIBS="-lfdata $LIBS" 42587cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42588/* end confdefs.h. */ 42589 42590/* Override any GCC internal prototype to avoid an error. 42591 Use char because int might match the return type of a GCC 42592 builtin and then its argument prototype would still apply. */ 42593#ifdef __cplusplus 42594extern "C" 42595#endif 42596char libfdata_list_append_list (); 42597int 42598main () 42599{ 42600return libfdata_list_append_list (); 42601 ; 42602 return 0; 42603} 42604_ACEOF 42605if ac_fn_c_try_link "$LINENO"; then : 42606 ac_cv_lib_fdata_libfdata_list_append_list=yes 42607else 42608 ac_cv_lib_fdata_libfdata_list_append_list=no 42609fi 42610rm -f core conftest.err conftest.$ac_objext \ 42611 conftest$ac_exeext conftest.$ac_ext 42612LIBS=$ac_check_lib_save_LIBS 42613fi 42614{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_append_list" >&5 42615$as_echo "$ac_cv_lib_fdata_libfdata_list_append_list" >&6; } 42616if test "x$ac_cv_lib_fdata_libfdata_list_append_list" = xyes; then : 42617 ac_cv_libfdata_dummy=yes 42618else 42619 ac_cv_libfdata=no 42620fi 42621 42622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_is_element_set in -lfdata" >&5 42623$as_echo_n "checking for libfdata_list_is_element_set in -lfdata... " >&6; } 42624if ${ac_cv_lib_fdata_libfdata_list_is_element_set+:} false; then : 42625 $as_echo_n "(cached) " >&6 42626else 42627 ac_check_lib_save_LIBS=$LIBS 42628LIBS="-lfdata $LIBS" 42629cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42630/* end confdefs.h. */ 42631 42632/* Override any GCC internal prototype to avoid an error. 42633 Use char because int might match the return type of a GCC 42634 builtin and then its argument prototype would still apply. */ 42635#ifdef __cplusplus 42636extern "C" 42637#endif 42638char libfdata_list_is_element_set (); 42639int 42640main () 42641{ 42642return libfdata_list_is_element_set (); 42643 ; 42644 return 0; 42645} 42646_ACEOF 42647if ac_fn_c_try_link "$LINENO"; then : 42648 ac_cv_lib_fdata_libfdata_list_is_element_set=yes 42649else 42650 ac_cv_lib_fdata_libfdata_list_is_element_set=no 42651fi 42652rm -f core conftest.err conftest.$ac_objext \ 42653 conftest$ac_exeext conftest.$ac_ext 42654LIBS=$ac_check_lib_save_LIBS 42655fi 42656{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_is_element_set" >&5 42657$as_echo "$ac_cv_lib_fdata_libfdata_list_is_element_set" >&6; } 42658if test "x$ac_cv_lib_fdata_libfdata_list_is_element_set" = xyes; then : 42659 ac_cv_libfdata_dummy=yes 42660else 42661 ac_cv_libfdata=no 42662fi 42663 42664 42665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_mapped_range in -lfdata" >&5 42666$as_echo_n "checking for libfdata_list_get_element_mapped_range in -lfdata... " >&6; } 42667if ${ac_cv_lib_fdata_libfdata_list_get_element_mapped_range+:} false; then : 42668 $as_echo_n "(cached) " >&6 42669else 42670 ac_check_lib_save_LIBS=$LIBS 42671LIBS="-lfdata $LIBS" 42672cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42673/* end confdefs.h. */ 42674 42675/* Override any GCC internal prototype to avoid an error. 42676 Use char because int might match the return type of a GCC 42677 builtin and then its argument prototype would still apply. */ 42678#ifdef __cplusplus 42679extern "C" 42680#endif 42681char libfdata_list_get_element_mapped_range (); 42682int 42683main () 42684{ 42685return libfdata_list_get_element_mapped_range (); 42686 ; 42687 return 0; 42688} 42689_ACEOF 42690if ac_fn_c_try_link "$LINENO"; then : 42691 ac_cv_lib_fdata_libfdata_list_get_element_mapped_range=yes 42692else 42693 ac_cv_lib_fdata_libfdata_list_get_element_mapped_range=no 42694fi 42695rm -f core conftest.err conftest.$ac_objext \ 42696 conftest$ac_exeext conftest.$ac_ext 42697LIBS=$ac_check_lib_save_LIBS 42698fi 42699{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_mapped_range" >&5 42700$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_mapped_range" >&6; } 42701if test "x$ac_cv_lib_fdata_libfdata_list_get_element_mapped_range" = xyes; then : 42702 ac_cv_libfdata_dummy=yes 42703else 42704 ac_cv_libfdata=no 42705fi 42706 42707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_mapped_offset in -lfdata" >&5 42708$as_echo_n "checking for libfdata_list_get_mapped_offset in -lfdata... " >&6; } 42709if ${ac_cv_lib_fdata_libfdata_list_get_mapped_offset+:} false; then : 42710 $as_echo_n "(cached) " >&6 42711else 42712 ac_check_lib_save_LIBS=$LIBS 42713LIBS="-lfdata $LIBS" 42714cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42715/* end confdefs.h. */ 42716 42717/* Override any GCC internal prototype to avoid an error. 42718 Use char because int might match the return type of a GCC 42719 builtin and then its argument prototype would still apply. */ 42720#ifdef __cplusplus 42721extern "C" 42722#endif 42723char libfdata_list_get_mapped_offset (); 42724int 42725main () 42726{ 42727return libfdata_list_get_mapped_offset (); 42728 ; 42729 return 0; 42730} 42731_ACEOF 42732if ac_fn_c_try_link "$LINENO"; then : 42733 ac_cv_lib_fdata_libfdata_list_get_mapped_offset=yes 42734else 42735 ac_cv_lib_fdata_libfdata_list_get_mapped_offset=no 42736fi 42737rm -f core conftest.err conftest.$ac_objext \ 42738 conftest$ac_exeext conftest.$ac_ext 42739LIBS=$ac_check_lib_save_LIBS 42740fi 42741{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_mapped_offset" >&5 42742$as_echo "$ac_cv_lib_fdata_libfdata_list_get_mapped_offset" >&6; } 42743if test "x$ac_cv_lib_fdata_libfdata_list_get_mapped_offset" = xyes; then : 42744 ac_cv_libfdata_dummy=yes 42745else 42746 ac_cv_libfdata=no 42747fi 42748 42749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_mapped_offset in -lfdata" >&5 42750$as_echo_n "checking for libfdata_list_set_mapped_offset in -lfdata... " >&6; } 42751if ${ac_cv_lib_fdata_libfdata_list_set_mapped_offset+:} false; then : 42752 $as_echo_n "(cached) " >&6 42753else 42754 ac_check_lib_save_LIBS=$LIBS 42755LIBS="-lfdata $LIBS" 42756cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42757/* end confdefs.h. */ 42758 42759/* Override any GCC internal prototype to avoid an error. 42760 Use char because int might match the return type of a GCC 42761 builtin and then its argument prototype would still apply. */ 42762#ifdef __cplusplus 42763extern "C" 42764#endif 42765char libfdata_list_set_mapped_offset (); 42766int 42767main () 42768{ 42769return libfdata_list_set_mapped_offset (); 42770 ; 42771 return 0; 42772} 42773_ACEOF 42774if ac_fn_c_try_link "$LINENO"; then : 42775 ac_cv_lib_fdata_libfdata_list_set_mapped_offset=yes 42776else 42777 ac_cv_lib_fdata_libfdata_list_set_mapped_offset=no 42778fi 42779rm -f core conftest.err conftest.$ac_objext \ 42780 conftest$ac_exeext conftest.$ac_ext 42781LIBS=$ac_check_lib_save_LIBS 42782fi 42783{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_mapped_offset" >&5 42784$as_echo "$ac_cv_lib_fdata_libfdata_list_set_mapped_offset" >&6; } 42785if test "x$ac_cv_lib_fdata_libfdata_list_set_mapped_offset" = xyes; then : 42786 ac_cv_libfdata_dummy=yes 42787else 42788 ac_cv_libfdata=no 42789fi 42790 42791 42792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_mapped_size_by_index in -lfdata" >&5 42793$as_echo_n "checking for libfdata_list_get_mapped_size_by_index in -lfdata... " >&6; } 42794if ${ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index+:} false; then : 42795 $as_echo_n "(cached) " >&6 42796else 42797 ac_check_lib_save_LIBS=$LIBS 42798LIBS="-lfdata $LIBS" 42799cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42800/* end confdefs.h. */ 42801 42802/* Override any GCC internal prototype to avoid an error. 42803 Use char because int might match the return type of a GCC 42804 builtin and then its argument prototype would still apply. */ 42805#ifdef __cplusplus 42806extern "C" 42807#endif 42808char libfdata_list_get_mapped_size_by_index (); 42809int 42810main () 42811{ 42812return libfdata_list_get_mapped_size_by_index (); 42813 ; 42814 return 0; 42815} 42816_ACEOF 42817if ac_fn_c_try_link "$LINENO"; then : 42818 ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index=yes 42819else 42820 ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index=no 42821fi 42822rm -f core conftest.err conftest.$ac_objext \ 42823 conftest$ac_exeext conftest.$ac_ext 42824LIBS=$ac_check_lib_save_LIBS 42825fi 42826{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index" >&5 42827$as_echo "$ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index" >&6; } 42828if test "x$ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index" = xyes; then : 42829 ac_cv_libfdata_dummy=yes 42830else 42831 ac_cv_libfdata=no 42832fi 42833 42834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_mapped_size_by_index in -lfdata" >&5 42835$as_echo_n "checking for libfdata_list_set_mapped_size_by_index in -lfdata... " >&6; } 42836if ${ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index+:} false; then : 42837 $as_echo_n "(cached) " >&6 42838else 42839 ac_check_lib_save_LIBS=$LIBS 42840LIBS="-lfdata $LIBS" 42841cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42842/* end confdefs.h. */ 42843 42844/* Override any GCC internal prototype to avoid an error. 42845 Use char because int might match the return type of a GCC 42846 builtin and then its argument prototype would still apply. */ 42847#ifdef __cplusplus 42848extern "C" 42849#endif 42850char libfdata_list_set_mapped_size_by_index (); 42851int 42852main () 42853{ 42854return libfdata_list_set_mapped_size_by_index (); 42855 ; 42856 return 0; 42857} 42858_ACEOF 42859if ac_fn_c_try_link "$LINENO"; then : 42860 ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index=yes 42861else 42862 ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index=no 42863fi 42864rm -f core conftest.err conftest.$ac_objext \ 42865 conftest$ac_exeext conftest.$ac_ext 42866LIBS=$ac_check_lib_save_LIBS 42867fi 42868{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index" >&5 42869$as_echo "$ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index" >&6; } 42870if test "x$ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index" = xyes; then : 42871 ac_cv_libfdata_dummy=yes 42872else 42873 ac_cv_libfdata=no 42874fi 42875 42876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_by_index_with_mapped_size in -lfdata" >&5 42877$as_echo_n "checking for libfdata_list_get_element_by_index_with_mapped_size in -lfdata... " >&6; } 42878if ${ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size+:} false; then : 42879 $as_echo_n "(cached) " >&6 42880else 42881 ac_check_lib_save_LIBS=$LIBS 42882LIBS="-lfdata $LIBS" 42883cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42884/* end confdefs.h. */ 42885 42886/* Override any GCC internal prototype to avoid an error. 42887 Use char because int might match the return type of a GCC 42888 builtin and then its argument prototype would still apply. */ 42889#ifdef __cplusplus 42890extern "C" 42891#endif 42892char libfdata_list_get_element_by_index_with_mapped_size (); 42893int 42894main () 42895{ 42896return libfdata_list_get_element_by_index_with_mapped_size (); 42897 ; 42898 return 0; 42899} 42900_ACEOF 42901if ac_fn_c_try_link "$LINENO"; then : 42902 ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size=yes 42903else 42904 ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size=no 42905fi 42906rm -f core conftest.err conftest.$ac_objext \ 42907 conftest$ac_exeext conftest.$ac_ext 42908LIBS=$ac_check_lib_save_LIBS 42909fi 42910{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size" >&5 42911$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size" >&6; } 42912if test "x$ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size" = xyes; then : 42913 ac_cv_libfdata_dummy=yes 42914else 42915 ac_cv_libfdata=no 42916fi 42917 42918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_element_by_index_with_mapped_size in -lfdata" >&5 42919$as_echo_n "checking for libfdata_list_set_element_by_index_with_mapped_size in -lfdata... " >&6; } 42920if ${ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size+:} false; then : 42921 $as_echo_n "(cached) " >&6 42922else 42923 ac_check_lib_save_LIBS=$LIBS 42924LIBS="-lfdata $LIBS" 42925cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42926/* end confdefs.h. */ 42927 42928/* Override any GCC internal prototype to avoid an error. 42929 Use char because int might match the return type of a GCC 42930 builtin and then its argument prototype would still apply. */ 42931#ifdef __cplusplus 42932extern "C" 42933#endif 42934char libfdata_list_set_element_by_index_with_mapped_size (); 42935int 42936main () 42937{ 42938return libfdata_list_set_element_by_index_with_mapped_size (); 42939 ; 42940 return 0; 42941} 42942_ACEOF 42943if ac_fn_c_try_link "$LINENO"; then : 42944 ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size=yes 42945else 42946 ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size=no 42947fi 42948rm -f core conftest.err conftest.$ac_objext \ 42949 conftest$ac_exeext conftest.$ac_ext 42950LIBS=$ac_check_lib_save_LIBS 42951fi 42952{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size" >&5 42953$as_echo "$ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size" >&6; } 42954if test "x$ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size" = xyes; then : 42955 ac_cv_libfdata_dummy=yes 42956else 42957 ac_cv_libfdata=no 42958fi 42959 42960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_append_element_with_mapped_size in -lfdata" >&5 42961$as_echo_n "checking for libfdata_list_append_element_with_mapped_size in -lfdata... " >&6; } 42962if ${ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size+:} false; then : 42963 $as_echo_n "(cached) " >&6 42964else 42965 ac_check_lib_save_LIBS=$LIBS 42966LIBS="-lfdata $LIBS" 42967cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42968/* end confdefs.h. */ 42969 42970/* Override any GCC internal prototype to avoid an error. 42971 Use char because int might match the return type of a GCC 42972 builtin and then its argument prototype would still apply. */ 42973#ifdef __cplusplus 42974extern "C" 42975#endif 42976char libfdata_list_append_element_with_mapped_size (); 42977int 42978main () 42979{ 42980return libfdata_list_append_element_with_mapped_size (); 42981 ; 42982 return 0; 42983} 42984_ACEOF 42985if ac_fn_c_try_link "$LINENO"; then : 42986 ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size=yes 42987else 42988 ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size=no 42989fi 42990rm -f core conftest.err conftest.$ac_objext \ 42991 conftest$ac_exeext conftest.$ac_ext 42992LIBS=$ac_check_lib_save_LIBS 42993fi 42994{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size" >&5 42995$as_echo "$ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size" >&6; } 42996if test "x$ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size" = xyes; then : 42997 ac_cv_libfdata_dummy=yes 42998else 42999 ac_cv_libfdata=no 43000fi 43001 43002 43003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_index_at_offset in -lfdata" >&5 43004$as_echo_n "checking for libfdata_list_get_element_index_at_offset in -lfdata... " >&6; } 43005if ${ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset+:} false; then : 43006 $as_echo_n "(cached) " >&6 43007else 43008 ac_check_lib_save_LIBS=$LIBS 43009LIBS="-lfdata $LIBS" 43010cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43011/* end confdefs.h. */ 43012 43013/* Override any GCC internal prototype to avoid an error. 43014 Use char because int might match the return type of a GCC 43015 builtin and then its argument prototype would still apply. */ 43016#ifdef __cplusplus 43017extern "C" 43018#endif 43019char libfdata_list_get_element_index_at_offset (); 43020int 43021main () 43022{ 43023return libfdata_list_get_element_index_at_offset (); 43024 ; 43025 return 0; 43026} 43027_ACEOF 43028if ac_fn_c_try_link "$LINENO"; then : 43029 ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset=yes 43030else 43031 ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset=no 43032fi 43033rm -f core conftest.err conftest.$ac_objext \ 43034 conftest$ac_exeext conftest.$ac_ext 43035LIBS=$ac_check_lib_save_LIBS 43036fi 43037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset" >&5 43038$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset" >&6; } 43039if test "x$ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset" = xyes; then : 43040 ac_cv_libfdata_dummy=yes 43041else 43042 ac_cv_libfdata=no 43043fi 43044 43045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_list_element_at_offset in -lfdata" >&5 43046$as_echo_n "checking for libfdata_list_get_list_element_at_offset in -lfdata... " >&6; } 43047if ${ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset+:} false; then : 43048 $as_echo_n "(cached) " >&6 43049else 43050 ac_check_lib_save_LIBS=$LIBS 43051LIBS="-lfdata $LIBS" 43052cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43053/* end confdefs.h. */ 43054 43055/* Override any GCC internal prototype to avoid an error. 43056 Use char because int might match the return type of a GCC 43057 builtin and then its argument prototype would still apply. */ 43058#ifdef __cplusplus 43059extern "C" 43060#endif 43061char libfdata_list_get_list_element_at_offset (); 43062int 43063main () 43064{ 43065return libfdata_list_get_list_element_at_offset (); 43066 ; 43067 return 0; 43068} 43069_ACEOF 43070if ac_fn_c_try_link "$LINENO"; then : 43071 ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset=yes 43072else 43073 ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset=no 43074fi 43075rm -f core conftest.err conftest.$ac_objext \ 43076 conftest$ac_exeext conftest.$ac_ext 43077LIBS=$ac_check_lib_save_LIBS 43078fi 43079{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset" >&5 43080$as_echo "$ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset" >&6; } 43081if test "x$ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset" = xyes; then : 43082 ac_cv_libfdata_dummy=yes 43083else 43084 ac_cv_libfdata=no 43085fi 43086 43087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_at_offset in -lfdata" >&5 43088$as_echo_n "checking for libfdata_list_get_element_at_offset in -lfdata... " >&6; } 43089if ${ac_cv_lib_fdata_libfdata_list_get_element_at_offset+:} false; then : 43090 $as_echo_n "(cached) " >&6 43091else 43092 ac_check_lib_save_LIBS=$LIBS 43093LIBS="-lfdata $LIBS" 43094cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43095/* end confdefs.h. */ 43096 43097/* Override any GCC internal prototype to avoid an error. 43098 Use char because int might match the return type of a GCC 43099 builtin and then its argument prototype would still apply. */ 43100#ifdef __cplusplus 43101extern "C" 43102#endif 43103char libfdata_list_get_element_at_offset (); 43104int 43105main () 43106{ 43107return libfdata_list_get_element_at_offset (); 43108 ; 43109 return 0; 43110} 43111_ACEOF 43112if ac_fn_c_try_link "$LINENO"; then : 43113 ac_cv_lib_fdata_libfdata_list_get_element_at_offset=yes 43114else 43115 ac_cv_lib_fdata_libfdata_list_get_element_at_offset=no 43116fi 43117rm -f core conftest.err conftest.$ac_objext \ 43118 conftest$ac_exeext conftest.$ac_ext 43119LIBS=$ac_check_lib_save_LIBS 43120fi 43121{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_at_offset" >&5 43122$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_at_offset" >&6; } 43123if test "x$ac_cv_lib_fdata_libfdata_list_get_element_at_offset" = xyes; then : 43124 ac_cv_libfdata_dummy=yes 43125else 43126 ac_cv_libfdata=no 43127fi 43128 43129 43130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_cache_element_value in -lfdata" >&5 43131$as_echo_n "checking for libfdata_list_cache_element_value in -lfdata... " >&6; } 43132if ${ac_cv_lib_fdata_libfdata_list_cache_element_value+:} false; then : 43133 $as_echo_n "(cached) " >&6 43134else 43135 ac_check_lib_save_LIBS=$LIBS 43136LIBS="-lfdata $LIBS" 43137cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43138/* end confdefs.h. */ 43139 43140/* Override any GCC internal prototype to avoid an error. 43141 Use char because int might match the return type of a GCC 43142 builtin and then its argument prototype would still apply. */ 43143#ifdef __cplusplus 43144extern "C" 43145#endif 43146char libfdata_list_cache_element_value (); 43147int 43148main () 43149{ 43150return libfdata_list_cache_element_value (); 43151 ; 43152 return 0; 43153} 43154_ACEOF 43155if ac_fn_c_try_link "$LINENO"; then : 43156 ac_cv_lib_fdata_libfdata_list_cache_element_value=yes 43157else 43158 ac_cv_lib_fdata_libfdata_list_cache_element_value=no 43159fi 43160rm -f core conftest.err conftest.$ac_objext \ 43161 conftest$ac_exeext conftest.$ac_ext 43162LIBS=$ac_check_lib_save_LIBS 43163fi 43164{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_cache_element_value" >&5 43165$as_echo "$ac_cv_lib_fdata_libfdata_list_cache_element_value" >&6; } 43166if test "x$ac_cv_lib_fdata_libfdata_list_cache_element_value" = xyes; then : 43167 ac_cv_libfdata_dummy=yes 43168else 43169 ac_cv_libfdata=no 43170fi 43171 43172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_value_by_index in -lfdata" >&5 43173$as_echo_n "checking for libfdata_list_get_element_value_by_index in -lfdata... " >&6; } 43174if ${ac_cv_lib_fdata_libfdata_list_get_element_value_by_index+:} false; then : 43175 $as_echo_n "(cached) " >&6 43176else 43177 ac_check_lib_save_LIBS=$LIBS 43178LIBS="-lfdata $LIBS" 43179cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43180/* end confdefs.h. */ 43181 43182/* Override any GCC internal prototype to avoid an error. 43183 Use char because int might match the return type of a GCC 43184 builtin and then its argument prototype would still apply. */ 43185#ifdef __cplusplus 43186extern "C" 43187#endif 43188char libfdata_list_get_element_value_by_index (); 43189int 43190main () 43191{ 43192return libfdata_list_get_element_value_by_index (); 43193 ; 43194 return 0; 43195} 43196_ACEOF 43197if ac_fn_c_try_link "$LINENO"; then : 43198 ac_cv_lib_fdata_libfdata_list_get_element_value_by_index=yes 43199else 43200 ac_cv_lib_fdata_libfdata_list_get_element_value_by_index=no 43201fi 43202rm -f core conftest.err conftest.$ac_objext \ 43203 conftest$ac_exeext conftest.$ac_ext 43204LIBS=$ac_check_lib_save_LIBS 43205fi 43206{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_value_by_index" >&5 43207$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_value_by_index" >&6; } 43208if test "x$ac_cv_lib_fdata_libfdata_list_get_element_value_by_index" = xyes; then : 43209 ac_cv_libfdata_dummy=yes 43210else 43211 ac_cv_libfdata=no 43212fi 43213 43214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_value_at_offset in -lfdata" >&5 43215$as_echo_n "checking for libfdata_list_get_element_value_at_offset in -lfdata... " >&6; } 43216if ${ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset+:} false; then : 43217 $as_echo_n "(cached) " >&6 43218else 43219 ac_check_lib_save_LIBS=$LIBS 43220LIBS="-lfdata $LIBS" 43221cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43222/* end confdefs.h. */ 43223 43224/* Override any GCC internal prototype to avoid an error. 43225 Use char because int might match the return type of a GCC 43226 builtin and then its argument prototype would still apply. */ 43227#ifdef __cplusplus 43228extern "C" 43229#endif 43230char libfdata_list_get_element_value_at_offset (); 43231int 43232main () 43233{ 43234return libfdata_list_get_element_value_at_offset (); 43235 ; 43236 return 0; 43237} 43238_ACEOF 43239if ac_fn_c_try_link "$LINENO"; then : 43240 ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset=yes 43241else 43242 ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset=no 43243fi 43244rm -f core conftest.err conftest.$ac_objext \ 43245 conftest$ac_exeext conftest.$ac_ext 43246LIBS=$ac_check_lib_save_LIBS 43247fi 43248{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset" >&5 43249$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset" >&6; } 43250if test "x$ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset" = xyes; then : 43251 ac_cv_libfdata_dummy=yes 43252else 43253 ac_cv_libfdata=no 43254fi 43255 43256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_element_value_by_index in -lfdata" >&5 43257$as_echo_n "checking for libfdata_list_set_element_value_by_index in -lfdata... " >&6; } 43258if ${ac_cv_lib_fdata_libfdata_list_set_element_value_by_index+:} false; then : 43259 $as_echo_n "(cached) " >&6 43260else 43261 ac_check_lib_save_LIBS=$LIBS 43262LIBS="-lfdata $LIBS" 43263cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43264/* end confdefs.h. */ 43265 43266/* Override any GCC internal prototype to avoid an error. 43267 Use char because int might match the return type of a GCC 43268 builtin and then its argument prototype would still apply. */ 43269#ifdef __cplusplus 43270extern "C" 43271#endif 43272char libfdata_list_set_element_value_by_index (); 43273int 43274main () 43275{ 43276return libfdata_list_set_element_value_by_index (); 43277 ; 43278 return 0; 43279} 43280_ACEOF 43281if ac_fn_c_try_link "$LINENO"; then : 43282 ac_cv_lib_fdata_libfdata_list_set_element_value_by_index=yes 43283else 43284 ac_cv_lib_fdata_libfdata_list_set_element_value_by_index=no 43285fi 43286rm -f core conftest.err conftest.$ac_objext \ 43287 conftest$ac_exeext conftest.$ac_ext 43288LIBS=$ac_check_lib_save_LIBS 43289fi 43290{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_element_value_by_index" >&5 43291$as_echo "$ac_cv_lib_fdata_libfdata_list_set_element_value_by_index" >&6; } 43292if test "x$ac_cv_lib_fdata_libfdata_list_set_element_value_by_index" = xyes; then : 43293 ac_cv_libfdata_dummy=yes 43294else 43295 ac_cv_libfdata=no 43296fi 43297 43298 43299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_element_value_at_offset in -lfdata" >&5 43300$as_echo_n "checking for libfdata_list_set_element_value_at_offset in -lfdata... " >&6; } 43301if ${ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset+:} false; then : 43302 $as_echo_n "(cached) " >&6 43303else 43304 ac_check_lib_save_LIBS=$LIBS 43305LIBS="-lfdata $LIBS" 43306cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43307/* end confdefs.h. */ 43308 43309/* Override any GCC internal prototype to avoid an error. 43310 Use char because int might match the return type of a GCC 43311 builtin and then its argument prototype would still apply. */ 43312#ifdef __cplusplus 43313extern "C" 43314#endif 43315char libfdata_list_set_element_value_at_offset (); 43316int 43317main () 43318{ 43319return libfdata_list_set_element_value_at_offset (); 43320 ; 43321 return 0; 43322} 43323_ACEOF 43324if ac_fn_c_try_link "$LINENO"; then : 43325 ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset=yes 43326else 43327 ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset=no 43328fi 43329rm -f core conftest.err conftest.$ac_objext \ 43330 conftest$ac_exeext conftest.$ac_ext 43331LIBS=$ac_check_lib_save_LIBS 43332fi 43333{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset" >&5 43334$as_echo "$ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset" >&6; } 43335if test "x$ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset" = xyes; then : 43336 ac_cv_libfdata_dummy=yes 43337else 43338 ac_cv_libfdata=no 43339fi 43340 43341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_size in -lfdata" >&5 43342$as_echo_n "checking for libfdata_list_get_size in -lfdata... " >&6; } 43343if ${ac_cv_lib_fdata_libfdata_list_get_size+:} false; then : 43344 $as_echo_n "(cached) " >&6 43345else 43346 ac_check_lib_save_LIBS=$LIBS 43347LIBS="-lfdata $LIBS" 43348cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43349/* end confdefs.h. */ 43350 43351/* Override any GCC internal prototype to avoid an error. 43352 Use char because int might match the return type of a GCC 43353 builtin and then its argument prototype would still apply. */ 43354#ifdef __cplusplus 43355extern "C" 43356#endif 43357char libfdata_list_get_size (); 43358int 43359main () 43360{ 43361return libfdata_list_get_size (); 43362 ; 43363 return 0; 43364} 43365_ACEOF 43366if ac_fn_c_try_link "$LINENO"; then : 43367 ac_cv_lib_fdata_libfdata_list_get_size=yes 43368else 43369 ac_cv_lib_fdata_libfdata_list_get_size=no 43370fi 43371rm -f core conftest.err conftest.$ac_objext \ 43372 conftest$ac_exeext conftest.$ac_ext 43373LIBS=$ac_check_lib_save_LIBS 43374fi 43375{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_size" >&5 43376$as_echo "$ac_cv_lib_fdata_libfdata_list_get_size" >&6; } 43377if test "x$ac_cv_lib_fdata_libfdata_list_get_size" = xyes; then : 43378 ac_cv_libfdata_dummy=yes 43379else 43380 ac_cv_libfdata=no 43381fi 43382 43383 43384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_get_mapped_size in -lfdata" >&5 43385$as_echo_n "checking for libfdata_list_element_get_mapped_size in -lfdata... " >&6; } 43386if ${ac_cv_lib_fdata_libfdata_list_element_get_mapped_size+:} false; then : 43387 $as_echo_n "(cached) " >&6 43388else 43389 ac_check_lib_save_LIBS=$LIBS 43390LIBS="-lfdata $LIBS" 43391cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43392/* end confdefs.h. */ 43393 43394/* Override any GCC internal prototype to avoid an error. 43395 Use char because int might match the return type of a GCC 43396 builtin and then its argument prototype would still apply. */ 43397#ifdef __cplusplus 43398extern "C" 43399#endif 43400char libfdata_list_element_get_mapped_size (); 43401int 43402main () 43403{ 43404return libfdata_list_element_get_mapped_size (); 43405 ; 43406 return 0; 43407} 43408_ACEOF 43409if ac_fn_c_try_link "$LINENO"; then : 43410 ac_cv_lib_fdata_libfdata_list_element_get_mapped_size=yes 43411else 43412 ac_cv_lib_fdata_libfdata_list_element_get_mapped_size=no 43413fi 43414rm -f core conftest.err conftest.$ac_objext \ 43415 conftest$ac_exeext conftest.$ac_ext 43416LIBS=$ac_check_lib_save_LIBS 43417fi 43418{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" >&5 43419$as_echo "$ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" >&6; } 43420if test "x$ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" = xyes; then : 43421 ac_cv_libfdata_dummy=yes 43422else 43423 ac_cv_libfdata=no 43424fi 43425 43426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_set_mapped_size in -lfdata" >&5 43427$as_echo_n "checking for libfdata_list_element_set_mapped_size in -lfdata... " >&6; } 43428if ${ac_cv_lib_fdata_libfdata_list_element_set_mapped_size+:} false; then : 43429 $as_echo_n "(cached) " >&6 43430else 43431 ac_check_lib_save_LIBS=$LIBS 43432LIBS="-lfdata $LIBS" 43433cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43434/* end confdefs.h. */ 43435 43436/* Override any GCC internal prototype to avoid an error. 43437 Use char because int might match the return type of a GCC 43438 builtin and then its argument prototype would still apply. */ 43439#ifdef __cplusplus 43440extern "C" 43441#endif 43442char libfdata_list_element_set_mapped_size (); 43443int 43444main () 43445{ 43446return libfdata_list_element_set_mapped_size (); 43447 ; 43448 return 0; 43449} 43450_ACEOF 43451if ac_fn_c_try_link "$LINENO"; then : 43452 ac_cv_lib_fdata_libfdata_list_element_set_mapped_size=yes 43453else 43454 ac_cv_lib_fdata_libfdata_list_element_set_mapped_size=no 43455fi 43456rm -f core conftest.err conftest.$ac_objext \ 43457 conftest$ac_exeext conftest.$ac_ext 43458LIBS=$ac_check_lib_save_LIBS 43459fi 43460{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" >&5 43461$as_echo "$ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" >&6; } 43462if test "x$ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" = xyes; then : 43463 ac_cv_libfdata_dummy=yes 43464else 43465 ac_cv_libfdata=no 43466fi 43467 43468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_get_element_value in -lfdata" >&5 43469$as_echo_n "checking for libfdata_list_element_get_element_value in -lfdata... " >&6; } 43470if ${ac_cv_lib_fdata_libfdata_list_element_get_element_value+:} false; then : 43471 $as_echo_n "(cached) " >&6 43472else 43473 ac_check_lib_save_LIBS=$LIBS 43474LIBS="-lfdata $LIBS" 43475cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43476/* end confdefs.h. */ 43477 43478/* Override any GCC internal prototype to avoid an error. 43479 Use char because int might match the return type of a GCC 43480 builtin and then its argument prototype would still apply. */ 43481#ifdef __cplusplus 43482extern "C" 43483#endif 43484char libfdata_list_element_get_element_value (); 43485int 43486main () 43487{ 43488return libfdata_list_element_get_element_value (); 43489 ; 43490 return 0; 43491} 43492_ACEOF 43493if ac_fn_c_try_link "$LINENO"; then : 43494 ac_cv_lib_fdata_libfdata_list_element_get_element_value=yes 43495else 43496 ac_cv_lib_fdata_libfdata_list_element_get_element_value=no 43497fi 43498rm -f core conftest.err conftest.$ac_objext \ 43499 conftest$ac_exeext conftest.$ac_ext 43500LIBS=$ac_check_lib_save_LIBS 43501fi 43502{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_get_element_value" >&5 43503$as_echo "$ac_cv_lib_fdata_libfdata_list_element_get_element_value" >&6; } 43504if test "x$ac_cv_lib_fdata_libfdata_list_element_get_element_value" = xyes; then : 43505 ac_cv_libfdata_dummy=yes 43506else 43507 ac_cv_libfdata=no 43508fi 43509 43510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_set_element_value in -lfdata" >&5 43511$as_echo_n "checking for libfdata_list_element_set_element_value in -lfdata... " >&6; } 43512if ${ac_cv_lib_fdata_libfdata_list_element_set_element_value+:} false; then : 43513 $as_echo_n "(cached) " >&6 43514else 43515 ac_check_lib_save_LIBS=$LIBS 43516LIBS="-lfdata $LIBS" 43517cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43518/* end confdefs.h. */ 43519 43520/* Override any GCC internal prototype to avoid an error. 43521 Use char because int might match the return type of a GCC 43522 builtin and then its argument prototype would still apply. */ 43523#ifdef __cplusplus 43524extern "C" 43525#endif 43526char libfdata_list_element_set_element_value (); 43527int 43528main () 43529{ 43530return libfdata_list_element_set_element_value (); 43531 ; 43532 return 0; 43533} 43534_ACEOF 43535if ac_fn_c_try_link "$LINENO"; then : 43536 ac_cv_lib_fdata_libfdata_list_element_set_element_value=yes 43537else 43538 ac_cv_lib_fdata_libfdata_list_element_set_element_value=no 43539fi 43540rm -f core conftest.err conftest.$ac_objext \ 43541 conftest$ac_exeext conftest.$ac_ext 43542LIBS=$ac_check_lib_save_LIBS 43543fi 43544{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_set_element_value" >&5 43545$as_echo "$ac_cv_lib_fdata_libfdata_list_element_set_element_value" >&6; } 43546if test "x$ac_cv_lib_fdata_libfdata_list_element_set_element_value" = xyes; then : 43547 ac_cv_libfdata_dummy=yes 43548else 43549 ac_cv_libfdata=no 43550fi 43551 43552 43553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_get_mapped_size in -lfdata" >&5 43554$as_echo_n "checking for libfdata_list_element_get_mapped_size in -lfdata... " >&6; } 43555if ${ac_cv_lib_fdata_libfdata_list_element_get_mapped_size+:} false; then : 43556 $as_echo_n "(cached) " >&6 43557else 43558 ac_check_lib_save_LIBS=$LIBS 43559LIBS="-lfdata $LIBS" 43560cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43561/* end confdefs.h. */ 43562 43563/* Override any GCC internal prototype to avoid an error. 43564 Use char because int might match the return type of a GCC 43565 builtin and then its argument prototype would still apply. */ 43566#ifdef __cplusplus 43567extern "C" 43568#endif 43569char libfdata_list_element_get_mapped_size (); 43570int 43571main () 43572{ 43573return libfdata_list_element_get_mapped_size (); 43574 ; 43575 return 0; 43576} 43577_ACEOF 43578if ac_fn_c_try_link "$LINENO"; then : 43579 ac_cv_lib_fdata_libfdata_list_element_get_mapped_size=yes 43580else 43581 ac_cv_lib_fdata_libfdata_list_element_get_mapped_size=no 43582fi 43583rm -f core conftest.err conftest.$ac_objext \ 43584 conftest$ac_exeext conftest.$ac_ext 43585LIBS=$ac_check_lib_save_LIBS 43586fi 43587{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" >&5 43588$as_echo "$ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" >&6; } 43589if test "x$ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" = xyes; then : 43590 ac_cv_libfdata_dummy=yes 43591else 43592 ac_cv_libfdata=no 43593fi 43594 43595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_set_mapped_size in -lfdata" >&5 43596$as_echo_n "checking for libfdata_list_element_set_mapped_size in -lfdata... " >&6; } 43597if ${ac_cv_lib_fdata_libfdata_list_element_set_mapped_size+:} false; then : 43598 $as_echo_n "(cached) " >&6 43599else 43600 ac_check_lib_save_LIBS=$LIBS 43601LIBS="-lfdata $LIBS" 43602cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43603/* end confdefs.h. */ 43604 43605/* Override any GCC internal prototype to avoid an error. 43606 Use char because int might match the return type of a GCC 43607 builtin and then its argument prototype would still apply. */ 43608#ifdef __cplusplus 43609extern "C" 43610#endif 43611char libfdata_list_element_set_mapped_size (); 43612int 43613main () 43614{ 43615return libfdata_list_element_set_mapped_size (); 43616 ; 43617 return 0; 43618} 43619_ACEOF 43620if ac_fn_c_try_link "$LINENO"; then : 43621 ac_cv_lib_fdata_libfdata_list_element_set_mapped_size=yes 43622else 43623 ac_cv_lib_fdata_libfdata_list_element_set_mapped_size=no 43624fi 43625rm -f core conftest.err conftest.$ac_objext \ 43626 conftest$ac_exeext conftest.$ac_ext 43627LIBS=$ac_check_lib_save_LIBS 43628fi 43629{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" >&5 43630$as_echo "$ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" >&6; } 43631if test "x$ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" = xyes; then : 43632 ac_cv_libfdata_dummy=yes 43633else 43634 ac_cv_libfdata=no 43635fi 43636 43637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_get_element_value in -lfdata" >&5 43638$as_echo_n "checking for libfdata_list_element_get_element_value in -lfdata... " >&6; } 43639if ${ac_cv_lib_fdata_libfdata_list_element_get_element_value+:} false; then : 43640 $as_echo_n "(cached) " >&6 43641else 43642 ac_check_lib_save_LIBS=$LIBS 43643LIBS="-lfdata $LIBS" 43644cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43645/* end confdefs.h. */ 43646 43647/* Override any GCC internal prototype to avoid an error. 43648 Use char because int might match the return type of a GCC 43649 builtin and then its argument prototype would still apply. */ 43650#ifdef __cplusplus 43651extern "C" 43652#endif 43653char libfdata_list_element_get_element_value (); 43654int 43655main () 43656{ 43657return libfdata_list_element_get_element_value (); 43658 ; 43659 return 0; 43660} 43661_ACEOF 43662if ac_fn_c_try_link "$LINENO"; then : 43663 ac_cv_lib_fdata_libfdata_list_element_get_element_value=yes 43664else 43665 ac_cv_lib_fdata_libfdata_list_element_get_element_value=no 43666fi 43667rm -f core conftest.err conftest.$ac_objext \ 43668 conftest$ac_exeext conftest.$ac_ext 43669LIBS=$ac_check_lib_save_LIBS 43670fi 43671{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_get_element_value" >&5 43672$as_echo "$ac_cv_lib_fdata_libfdata_list_element_get_element_value" >&6; } 43673if test "x$ac_cv_lib_fdata_libfdata_list_element_get_element_value" = xyes; then : 43674 ac_cv_libfdata_dummy=yes 43675else 43676 ac_cv_libfdata=no 43677fi 43678 43679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_set_element_value in -lfdata" >&5 43680$as_echo_n "checking for libfdata_list_element_set_element_value in -lfdata... " >&6; } 43681if ${ac_cv_lib_fdata_libfdata_list_element_set_element_value+:} false; then : 43682 $as_echo_n "(cached) " >&6 43683else 43684 ac_check_lib_save_LIBS=$LIBS 43685LIBS="-lfdata $LIBS" 43686cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43687/* end confdefs.h. */ 43688 43689/* Override any GCC internal prototype to avoid an error. 43690 Use char because int might match the return type of a GCC 43691 builtin and then its argument prototype would still apply. */ 43692#ifdef __cplusplus 43693extern "C" 43694#endif 43695char libfdata_list_element_set_element_value (); 43696int 43697main () 43698{ 43699return libfdata_list_element_set_element_value (); 43700 ; 43701 return 0; 43702} 43703_ACEOF 43704if ac_fn_c_try_link "$LINENO"; then : 43705 ac_cv_lib_fdata_libfdata_list_element_set_element_value=yes 43706else 43707 ac_cv_lib_fdata_libfdata_list_element_set_element_value=no 43708fi 43709rm -f core conftest.err conftest.$ac_objext \ 43710 conftest$ac_exeext conftest.$ac_ext 43711LIBS=$ac_check_lib_save_LIBS 43712fi 43713{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_set_element_value" >&5 43714$as_echo "$ac_cv_lib_fdata_libfdata_list_element_set_element_value" >&6; } 43715if test "x$ac_cv_lib_fdata_libfdata_list_element_set_element_value" = xyes; then : 43716 ac_cv_libfdata_dummy=yes 43717else 43718 ac_cv_libfdata=no 43719fi 43720 43721 43722 43723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_initialize in -lfdata" >&5 43724$as_echo_n "checking for libfdata_stream_initialize in -lfdata... " >&6; } 43725if ${ac_cv_lib_fdata_libfdata_stream_initialize+:} false; then : 43726 $as_echo_n "(cached) " >&6 43727else 43728 ac_check_lib_save_LIBS=$LIBS 43729LIBS="-lfdata $LIBS" 43730cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43731/* end confdefs.h. */ 43732 43733/* Override any GCC internal prototype to avoid an error. 43734 Use char because int might match the return type of a GCC 43735 builtin and then its argument prototype would still apply. */ 43736#ifdef __cplusplus 43737extern "C" 43738#endif 43739char libfdata_stream_initialize (); 43740int 43741main () 43742{ 43743return libfdata_stream_initialize (); 43744 ; 43745 return 0; 43746} 43747_ACEOF 43748if ac_fn_c_try_link "$LINENO"; then : 43749 ac_cv_lib_fdata_libfdata_stream_initialize=yes 43750else 43751 ac_cv_lib_fdata_libfdata_stream_initialize=no 43752fi 43753rm -f core conftest.err conftest.$ac_objext \ 43754 conftest$ac_exeext conftest.$ac_ext 43755LIBS=$ac_check_lib_save_LIBS 43756fi 43757{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_initialize" >&5 43758$as_echo "$ac_cv_lib_fdata_libfdata_stream_initialize" >&6; } 43759if test "x$ac_cv_lib_fdata_libfdata_stream_initialize" = xyes; then : 43760 ac_cv_libfdata_dummy=yes 43761else 43762 ac_cv_libfdata=no 43763fi 43764 43765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_free in -lfdata" >&5 43766$as_echo_n "checking for libfdata_stream_free in -lfdata... " >&6; } 43767if ${ac_cv_lib_fdata_libfdata_stream_free+:} false; then : 43768 $as_echo_n "(cached) " >&6 43769else 43770 ac_check_lib_save_LIBS=$LIBS 43771LIBS="-lfdata $LIBS" 43772cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43773/* end confdefs.h. */ 43774 43775/* Override any GCC internal prototype to avoid an error. 43776 Use char because int might match the return type of a GCC 43777 builtin and then its argument prototype would still apply. */ 43778#ifdef __cplusplus 43779extern "C" 43780#endif 43781char libfdata_stream_free (); 43782int 43783main () 43784{ 43785return libfdata_stream_free (); 43786 ; 43787 return 0; 43788} 43789_ACEOF 43790if ac_fn_c_try_link "$LINENO"; then : 43791 ac_cv_lib_fdata_libfdata_stream_free=yes 43792else 43793 ac_cv_lib_fdata_libfdata_stream_free=no 43794fi 43795rm -f core conftest.err conftest.$ac_objext \ 43796 conftest$ac_exeext conftest.$ac_ext 43797LIBS=$ac_check_lib_save_LIBS 43798fi 43799{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_free" >&5 43800$as_echo "$ac_cv_lib_fdata_libfdata_stream_free" >&6; } 43801if test "x$ac_cv_lib_fdata_libfdata_stream_free" = xyes; then : 43802 ac_cv_libfdata_dummy=yes 43803else 43804 ac_cv_libfdata=no 43805fi 43806 43807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_clone in -lfdata" >&5 43808$as_echo_n "checking for libfdata_stream_clone in -lfdata... " >&6; } 43809if ${ac_cv_lib_fdata_libfdata_stream_clone+:} false; then : 43810 $as_echo_n "(cached) " >&6 43811else 43812 ac_check_lib_save_LIBS=$LIBS 43813LIBS="-lfdata $LIBS" 43814cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43815/* end confdefs.h. */ 43816 43817/* Override any GCC internal prototype to avoid an error. 43818 Use char because int might match the return type of a GCC 43819 builtin and then its argument prototype would still apply. */ 43820#ifdef __cplusplus 43821extern "C" 43822#endif 43823char libfdata_stream_clone (); 43824int 43825main () 43826{ 43827return libfdata_stream_clone (); 43828 ; 43829 return 0; 43830} 43831_ACEOF 43832if ac_fn_c_try_link "$LINENO"; then : 43833 ac_cv_lib_fdata_libfdata_stream_clone=yes 43834else 43835 ac_cv_lib_fdata_libfdata_stream_clone=no 43836fi 43837rm -f core conftest.err conftest.$ac_objext \ 43838 conftest$ac_exeext conftest.$ac_ext 43839LIBS=$ac_check_lib_save_LIBS 43840fi 43841{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_clone" >&5 43842$as_echo "$ac_cv_lib_fdata_libfdata_stream_clone" >&6; } 43843if test "x$ac_cv_lib_fdata_libfdata_stream_clone" = xyes; then : 43844 ac_cv_libfdata_dummy=yes 43845else 43846 ac_cv_libfdata=no 43847fi 43848 43849 43850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_empty in -lfdata" >&5 43851$as_echo_n "checking for libfdata_stream_empty in -lfdata... " >&6; } 43852if ${ac_cv_lib_fdata_libfdata_stream_empty+:} false; then : 43853 $as_echo_n "(cached) " >&6 43854else 43855 ac_check_lib_save_LIBS=$LIBS 43856LIBS="-lfdata $LIBS" 43857cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43858/* end confdefs.h. */ 43859 43860/* Override any GCC internal prototype to avoid an error. 43861 Use char because int might match the return type of a GCC 43862 builtin and then its argument prototype would still apply. */ 43863#ifdef __cplusplus 43864extern "C" 43865#endif 43866char libfdata_stream_empty (); 43867int 43868main () 43869{ 43870return libfdata_stream_empty (); 43871 ; 43872 return 0; 43873} 43874_ACEOF 43875if ac_fn_c_try_link "$LINENO"; then : 43876 ac_cv_lib_fdata_libfdata_stream_empty=yes 43877else 43878 ac_cv_lib_fdata_libfdata_stream_empty=no 43879fi 43880rm -f core conftest.err conftest.$ac_objext \ 43881 conftest$ac_exeext conftest.$ac_ext 43882LIBS=$ac_check_lib_save_LIBS 43883fi 43884{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_empty" >&5 43885$as_echo "$ac_cv_lib_fdata_libfdata_stream_empty" >&6; } 43886if test "x$ac_cv_lib_fdata_libfdata_stream_empty" = xyes; then : 43887 ac_cv_libfdata_dummy=yes 43888else 43889 ac_cv_libfdata=no 43890fi 43891 43892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_resize in -lfdata" >&5 43893$as_echo_n "checking for libfdata_stream_resize in -lfdata... " >&6; } 43894if ${ac_cv_lib_fdata_libfdata_stream_resize+:} false; then : 43895 $as_echo_n "(cached) " >&6 43896else 43897 ac_check_lib_save_LIBS=$LIBS 43898LIBS="-lfdata $LIBS" 43899cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43900/* end confdefs.h. */ 43901 43902/* Override any GCC internal prototype to avoid an error. 43903 Use char because int might match the return type of a GCC 43904 builtin and then its argument prototype would still apply. */ 43905#ifdef __cplusplus 43906extern "C" 43907#endif 43908char libfdata_stream_resize (); 43909int 43910main () 43911{ 43912return libfdata_stream_resize (); 43913 ; 43914 return 0; 43915} 43916_ACEOF 43917if ac_fn_c_try_link "$LINENO"; then : 43918 ac_cv_lib_fdata_libfdata_stream_resize=yes 43919else 43920 ac_cv_lib_fdata_libfdata_stream_resize=no 43921fi 43922rm -f core conftest.err conftest.$ac_objext \ 43923 conftest$ac_exeext conftest.$ac_ext 43924LIBS=$ac_check_lib_save_LIBS 43925fi 43926{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_resize" >&5 43927$as_echo "$ac_cv_lib_fdata_libfdata_stream_resize" >&6; } 43928if test "x$ac_cv_lib_fdata_libfdata_stream_resize" = xyes; then : 43929 ac_cv_libfdata_dummy=yes 43930else 43931 ac_cv_libfdata=no 43932fi 43933 43934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_reverse in -lfdata" >&5 43935$as_echo_n "checking for libfdata_stream_reverse in -lfdata... " >&6; } 43936if ${ac_cv_lib_fdata_libfdata_stream_reverse+:} false; then : 43937 $as_echo_n "(cached) " >&6 43938else 43939 ac_check_lib_save_LIBS=$LIBS 43940LIBS="-lfdata $LIBS" 43941cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43942/* end confdefs.h. */ 43943 43944/* Override any GCC internal prototype to avoid an error. 43945 Use char because int might match the return type of a GCC 43946 builtin and then its argument prototype would still apply. */ 43947#ifdef __cplusplus 43948extern "C" 43949#endif 43950char libfdata_stream_reverse (); 43951int 43952main () 43953{ 43954return libfdata_stream_reverse (); 43955 ; 43956 return 0; 43957} 43958_ACEOF 43959if ac_fn_c_try_link "$LINENO"; then : 43960 ac_cv_lib_fdata_libfdata_stream_reverse=yes 43961else 43962 ac_cv_lib_fdata_libfdata_stream_reverse=no 43963fi 43964rm -f core conftest.err conftest.$ac_objext \ 43965 conftest$ac_exeext conftest.$ac_ext 43966LIBS=$ac_check_lib_save_LIBS 43967fi 43968{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_reverse" >&5 43969$as_echo "$ac_cv_lib_fdata_libfdata_stream_reverse" >&6; } 43970if test "x$ac_cv_lib_fdata_libfdata_stream_reverse" = xyes; then : 43971 ac_cv_libfdata_dummy=yes 43972else 43973 ac_cv_libfdata=no 43974fi 43975 43976 43977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_number_of_segments in -lfdata" >&5 43978$as_echo_n "checking for libfdata_stream_get_number_of_segments in -lfdata... " >&6; } 43979if ${ac_cv_lib_fdata_libfdata_stream_get_number_of_segments+:} false; then : 43980 $as_echo_n "(cached) " >&6 43981else 43982 ac_check_lib_save_LIBS=$LIBS 43983LIBS="-lfdata $LIBS" 43984cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43985/* end confdefs.h. */ 43986 43987/* Override any GCC internal prototype to avoid an error. 43988 Use char because int might match the return type of a GCC 43989 builtin and then its argument prototype would still apply. */ 43990#ifdef __cplusplus 43991extern "C" 43992#endif 43993char libfdata_stream_get_number_of_segments (); 43994int 43995main () 43996{ 43997return libfdata_stream_get_number_of_segments (); 43998 ; 43999 return 0; 44000} 44001_ACEOF 44002if ac_fn_c_try_link "$LINENO"; then : 44003 ac_cv_lib_fdata_libfdata_stream_get_number_of_segments=yes 44004else 44005 ac_cv_lib_fdata_libfdata_stream_get_number_of_segments=no 44006fi 44007rm -f core conftest.err conftest.$ac_objext \ 44008 conftest$ac_exeext conftest.$ac_ext 44009LIBS=$ac_check_lib_save_LIBS 44010fi 44011{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_number_of_segments" >&5 44012$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_number_of_segments" >&6; } 44013if test "x$ac_cv_lib_fdata_libfdata_stream_get_number_of_segments" = xyes; then : 44014 ac_cv_libfdata_dummy=yes 44015else 44016 ac_cv_libfdata=no 44017fi 44018 44019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_segment_by_index in -lfdata" >&5 44020$as_echo_n "checking for libfdata_stream_get_segment_by_index in -lfdata... " >&6; } 44021if ${ac_cv_lib_fdata_libfdata_stream_get_segment_by_index+:} false; then : 44022 $as_echo_n "(cached) " >&6 44023else 44024 ac_check_lib_save_LIBS=$LIBS 44025LIBS="-lfdata $LIBS" 44026cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44027/* end confdefs.h. */ 44028 44029/* Override any GCC internal prototype to avoid an error. 44030 Use char because int might match the return type of a GCC 44031 builtin and then its argument prototype would still apply. */ 44032#ifdef __cplusplus 44033extern "C" 44034#endif 44035char libfdata_stream_get_segment_by_index (); 44036int 44037main () 44038{ 44039return libfdata_stream_get_segment_by_index (); 44040 ; 44041 return 0; 44042} 44043_ACEOF 44044if ac_fn_c_try_link "$LINENO"; then : 44045 ac_cv_lib_fdata_libfdata_stream_get_segment_by_index=yes 44046else 44047 ac_cv_lib_fdata_libfdata_stream_get_segment_by_index=no 44048fi 44049rm -f core conftest.err conftest.$ac_objext \ 44050 conftest$ac_exeext conftest.$ac_ext 44051LIBS=$ac_check_lib_save_LIBS 44052fi 44053{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_segment_by_index" >&5 44054$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_segment_by_index" >&6; } 44055if test "x$ac_cv_lib_fdata_libfdata_stream_get_segment_by_index" = xyes; then : 44056 ac_cv_libfdata_dummy=yes 44057else 44058 ac_cv_libfdata=no 44059fi 44060 44061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_set_segment_by_index in -lfdata" >&5 44062$as_echo_n "checking for libfdata_stream_set_segment_by_index in -lfdata... " >&6; } 44063if ${ac_cv_lib_fdata_libfdata_stream_set_segment_by_index+:} false; then : 44064 $as_echo_n "(cached) " >&6 44065else 44066 ac_check_lib_save_LIBS=$LIBS 44067LIBS="-lfdata $LIBS" 44068cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44069/* end confdefs.h. */ 44070 44071/* Override any GCC internal prototype to avoid an error. 44072 Use char because int might match the return type of a GCC 44073 builtin and then its argument prototype would still apply. */ 44074#ifdef __cplusplus 44075extern "C" 44076#endif 44077char libfdata_stream_set_segment_by_index (); 44078int 44079main () 44080{ 44081return libfdata_stream_set_segment_by_index (); 44082 ; 44083 return 0; 44084} 44085_ACEOF 44086if ac_fn_c_try_link "$LINENO"; then : 44087 ac_cv_lib_fdata_libfdata_stream_set_segment_by_index=yes 44088else 44089 ac_cv_lib_fdata_libfdata_stream_set_segment_by_index=no 44090fi 44091rm -f core conftest.err conftest.$ac_objext \ 44092 conftest$ac_exeext conftest.$ac_ext 44093LIBS=$ac_check_lib_save_LIBS 44094fi 44095{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_set_segment_by_index" >&5 44096$as_echo "$ac_cv_lib_fdata_libfdata_stream_set_segment_by_index" >&6; } 44097if test "x$ac_cv_lib_fdata_libfdata_stream_set_segment_by_index" = xyes; then : 44098 ac_cv_libfdata_dummy=yes 44099else 44100 ac_cv_libfdata=no 44101fi 44102 44103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_prepend_segment in -lfdata" >&5 44104$as_echo_n "checking for libfdata_stream_prepend_segment in -lfdata... " >&6; } 44105if ${ac_cv_lib_fdata_libfdata_stream_prepend_segment+:} false; then : 44106 $as_echo_n "(cached) " >&6 44107else 44108 ac_check_lib_save_LIBS=$LIBS 44109LIBS="-lfdata $LIBS" 44110cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44111/* end confdefs.h. */ 44112 44113/* Override any GCC internal prototype to avoid an error. 44114 Use char because int might match the return type of a GCC 44115 builtin and then its argument prototype would still apply. */ 44116#ifdef __cplusplus 44117extern "C" 44118#endif 44119char libfdata_stream_prepend_segment (); 44120int 44121main () 44122{ 44123return libfdata_stream_prepend_segment (); 44124 ; 44125 return 0; 44126} 44127_ACEOF 44128if ac_fn_c_try_link "$LINENO"; then : 44129 ac_cv_lib_fdata_libfdata_stream_prepend_segment=yes 44130else 44131 ac_cv_lib_fdata_libfdata_stream_prepend_segment=no 44132fi 44133rm -f core conftest.err conftest.$ac_objext \ 44134 conftest$ac_exeext conftest.$ac_ext 44135LIBS=$ac_check_lib_save_LIBS 44136fi 44137{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_prepend_segment" >&5 44138$as_echo "$ac_cv_lib_fdata_libfdata_stream_prepend_segment" >&6; } 44139if test "x$ac_cv_lib_fdata_libfdata_stream_prepend_segment" = xyes; then : 44140 ac_cv_libfdata_dummy=yes 44141else 44142 ac_cv_libfdata=no 44143fi 44144 44145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_append_segment in -lfdata" >&5 44146$as_echo_n "checking for libfdata_stream_append_segment in -lfdata... " >&6; } 44147if ${ac_cv_lib_fdata_libfdata_stream_append_segment+:} false; then : 44148 $as_echo_n "(cached) " >&6 44149else 44150 ac_check_lib_save_LIBS=$LIBS 44151LIBS="-lfdata $LIBS" 44152cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44153/* end confdefs.h. */ 44154 44155/* Override any GCC internal prototype to avoid an error. 44156 Use char because int might match the return type of a GCC 44157 builtin and then its argument prototype would still apply. */ 44158#ifdef __cplusplus 44159extern "C" 44160#endif 44161char libfdata_stream_append_segment (); 44162int 44163main () 44164{ 44165return libfdata_stream_append_segment (); 44166 ; 44167 return 0; 44168} 44169_ACEOF 44170if ac_fn_c_try_link "$LINENO"; then : 44171 ac_cv_lib_fdata_libfdata_stream_append_segment=yes 44172else 44173 ac_cv_lib_fdata_libfdata_stream_append_segment=no 44174fi 44175rm -f core conftest.err conftest.$ac_objext \ 44176 conftest$ac_exeext conftest.$ac_ext 44177LIBS=$ac_check_lib_save_LIBS 44178fi 44179{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_append_segment" >&5 44180$as_echo "$ac_cv_lib_fdata_libfdata_stream_append_segment" >&6; } 44181if test "x$ac_cv_lib_fdata_libfdata_stream_append_segment" = xyes; then : 44182 ac_cv_libfdata_dummy=yes 44183else 44184 ac_cv_libfdata=no 44185fi 44186 44187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_set_mapped_size in -lfdata" >&5 44188$as_echo_n "checking for libfdata_stream_set_mapped_size in -lfdata... " >&6; } 44189if ${ac_cv_lib_fdata_libfdata_stream_set_mapped_size+:} false; then : 44190 $as_echo_n "(cached) " >&6 44191else 44192 ac_check_lib_save_LIBS=$LIBS 44193LIBS="-lfdata $LIBS" 44194cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44195/* end confdefs.h. */ 44196 44197/* Override any GCC internal prototype to avoid an error. 44198 Use char because int might match the return type of a GCC 44199 builtin and then its argument prototype would still apply. */ 44200#ifdef __cplusplus 44201extern "C" 44202#endif 44203char libfdata_stream_set_mapped_size (); 44204int 44205main () 44206{ 44207return libfdata_stream_set_mapped_size (); 44208 ; 44209 return 0; 44210} 44211_ACEOF 44212if ac_fn_c_try_link "$LINENO"; then : 44213 ac_cv_lib_fdata_libfdata_stream_set_mapped_size=yes 44214else 44215 ac_cv_lib_fdata_libfdata_stream_set_mapped_size=no 44216fi 44217rm -f core conftest.err conftest.$ac_objext \ 44218 conftest$ac_exeext conftest.$ac_ext 44219LIBS=$ac_check_lib_save_LIBS 44220fi 44221{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_set_mapped_size" >&5 44222$as_echo "$ac_cv_lib_fdata_libfdata_stream_set_mapped_size" >&6; } 44223if test "x$ac_cv_lib_fdata_libfdata_stream_set_mapped_size" = xyes; then : 44224 ac_cv_libfdata_dummy=yes 44225else 44226 ac_cv_libfdata=no 44227fi 44228 44229 44230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_segment_mapped_range in -lfdata" >&5 44231$as_echo_n "checking for libfdata_stream_get_segment_mapped_range in -lfdata... " >&6; } 44232if ${ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range+:} false; then : 44233 $as_echo_n "(cached) " >&6 44234else 44235 ac_check_lib_save_LIBS=$LIBS 44236LIBS="-lfdata $LIBS" 44237cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44238/* end confdefs.h. */ 44239 44240/* Override any GCC internal prototype to avoid an error. 44241 Use char because int might match the return type of a GCC 44242 builtin and then its argument prototype would still apply. */ 44243#ifdef __cplusplus 44244extern "C" 44245#endif 44246char libfdata_stream_get_segment_mapped_range (); 44247int 44248main () 44249{ 44250return libfdata_stream_get_segment_mapped_range (); 44251 ; 44252 return 0; 44253} 44254_ACEOF 44255if ac_fn_c_try_link "$LINENO"; then : 44256 ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range=yes 44257else 44258 ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range=no 44259fi 44260rm -f core conftest.err conftest.$ac_objext \ 44261 conftest$ac_exeext conftest.$ac_ext 44262LIBS=$ac_check_lib_save_LIBS 44263fi 44264{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range" >&5 44265$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range" >&6; } 44266if test "x$ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range" = xyes; then : 44267 ac_cv_libfdata_dummy=yes 44268else 44269 ac_cv_libfdata=no 44270fi 44271 44272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_segment_index_at_offset in -lfdata" >&5 44273$as_echo_n "checking for libfdata_stream_get_segment_index_at_offset in -lfdata... " >&6; } 44274if ${ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset+:} false; then : 44275 $as_echo_n "(cached) " >&6 44276else 44277 ac_check_lib_save_LIBS=$LIBS 44278LIBS="-lfdata $LIBS" 44279cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44280/* end confdefs.h. */ 44281 44282/* Override any GCC internal prototype to avoid an error. 44283 Use char because int might match the return type of a GCC 44284 builtin and then its argument prototype would still apply. */ 44285#ifdef __cplusplus 44286extern "C" 44287#endif 44288char libfdata_stream_get_segment_index_at_offset (); 44289int 44290main () 44291{ 44292return libfdata_stream_get_segment_index_at_offset (); 44293 ; 44294 return 0; 44295} 44296_ACEOF 44297if ac_fn_c_try_link "$LINENO"; then : 44298 ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset=yes 44299else 44300 ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset=no 44301fi 44302rm -f core conftest.err conftest.$ac_objext \ 44303 conftest$ac_exeext conftest.$ac_ext 44304LIBS=$ac_check_lib_save_LIBS 44305fi 44306{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset" >&5 44307$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset" >&6; } 44308if test "x$ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset" = xyes; then : 44309 ac_cv_libfdata_dummy=yes 44310else 44311 ac_cv_libfdata=no 44312fi 44313 44314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_segment_at_offset in -lfdata" >&5 44315$as_echo_n "checking for libfdata_stream_get_segment_at_offset in -lfdata... " >&6; } 44316if ${ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset+:} false; then : 44317 $as_echo_n "(cached) " >&6 44318else 44319 ac_check_lib_save_LIBS=$LIBS 44320LIBS="-lfdata $LIBS" 44321cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44322/* end confdefs.h. */ 44323 44324/* Override any GCC internal prototype to avoid an error. 44325 Use char because int might match the return type of a GCC 44326 builtin and then its argument prototype would still apply. */ 44327#ifdef __cplusplus 44328extern "C" 44329#endif 44330char libfdata_stream_get_segment_at_offset (); 44331int 44332main () 44333{ 44334return libfdata_stream_get_segment_at_offset (); 44335 ; 44336 return 0; 44337} 44338_ACEOF 44339if ac_fn_c_try_link "$LINENO"; then : 44340 ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset=yes 44341else 44342 ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset=no 44343fi 44344rm -f core conftest.err conftest.$ac_objext \ 44345 conftest$ac_exeext conftest.$ac_ext 44346LIBS=$ac_check_lib_save_LIBS 44347fi 44348{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset" >&5 44349$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset" >&6; } 44350if test "x$ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset" = xyes; then : 44351 ac_cv_libfdata_dummy=yes 44352else 44353 ac_cv_libfdata=no 44354fi 44355 44356 44357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_read_buffer in -lfdata" >&5 44358$as_echo_n "checking for libfdata_stream_read_buffer in -lfdata... " >&6; } 44359if ${ac_cv_lib_fdata_libfdata_stream_read_buffer+:} false; then : 44360 $as_echo_n "(cached) " >&6 44361else 44362 ac_check_lib_save_LIBS=$LIBS 44363LIBS="-lfdata $LIBS" 44364cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44365/* end confdefs.h. */ 44366 44367/* Override any GCC internal prototype to avoid an error. 44368 Use char because int might match the return type of a GCC 44369 builtin and then its argument prototype would still apply. */ 44370#ifdef __cplusplus 44371extern "C" 44372#endif 44373char libfdata_stream_read_buffer (); 44374int 44375main () 44376{ 44377return libfdata_stream_read_buffer (); 44378 ; 44379 return 0; 44380} 44381_ACEOF 44382if ac_fn_c_try_link "$LINENO"; then : 44383 ac_cv_lib_fdata_libfdata_stream_read_buffer=yes 44384else 44385 ac_cv_lib_fdata_libfdata_stream_read_buffer=no 44386fi 44387rm -f core conftest.err conftest.$ac_objext \ 44388 conftest$ac_exeext conftest.$ac_ext 44389LIBS=$ac_check_lib_save_LIBS 44390fi 44391{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_read_buffer" >&5 44392$as_echo "$ac_cv_lib_fdata_libfdata_stream_read_buffer" >&6; } 44393if test "x$ac_cv_lib_fdata_libfdata_stream_read_buffer" = xyes; then : 44394 ac_cv_libfdata_dummy=yes 44395else 44396 ac_cv_libfdata=no 44397fi 44398 44399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_read_buffer_at_offset in -lfdata" >&5 44400$as_echo_n "checking for libfdata_stream_read_buffer_at_offset in -lfdata... " >&6; } 44401if ${ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset+:} false; then : 44402 $as_echo_n "(cached) " >&6 44403else 44404 ac_check_lib_save_LIBS=$LIBS 44405LIBS="-lfdata $LIBS" 44406cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44407/* end confdefs.h. */ 44408 44409/* Override any GCC internal prototype to avoid an error. 44410 Use char because int might match the return type of a GCC 44411 builtin and then its argument prototype would still apply. */ 44412#ifdef __cplusplus 44413extern "C" 44414#endif 44415char libfdata_stream_read_buffer_at_offset (); 44416int 44417main () 44418{ 44419return libfdata_stream_read_buffer_at_offset (); 44420 ; 44421 return 0; 44422} 44423_ACEOF 44424if ac_fn_c_try_link "$LINENO"; then : 44425 ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset=yes 44426else 44427 ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset=no 44428fi 44429rm -f core conftest.err conftest.$ac_objext \ 44430 conftest$ac_exeext conftest.$ac_ext 44431LIBS=$ac_check_lib_save_LIBS 44432fi 44433{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset" >&5 44434$as_echo "$ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset" >&6; } 44435if test "x$ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset" = xyes; then : 44436 ac_cv_libfdata_dummy=yes 44437else 44438 ac_cv_libfdata=no 44439fi 44440 44441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_write_buffer in -lfdata" >&5 44442$as_echo_n "checking for libfdata_stream_write_buffer in -lfdata... " >&6; } 44443if ${ac_cv_lib_fdata_libfdata_stream_write_buffer+:} false; then : 44444 $as_echo_n "(cached) " >&6 44445else 44446 ac_check_lib_save_LIBS=$LIBS 44447LIBS="-lfdata $LIBS" 44448cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44449/* end confdefs.h. */ 44450 44451/* Override any GCC internal prototype to avoid an error. 44452 Use char because int might match the return type of a GCC 44453 builtin and then its argument prototype would still apply. */ 44454#ifdef __cplusplus 44455extern "C" 44456#endif 44457char libfdata_stream_write_buffer (); 44458int 44459main () 44460{ 44461return libfdata_stream_write_buffer (); 44462 ; 44463 return 0; 44464} 44465_ACEOF 44466if ac_fn_c_try_link "$LINENO"; then : 44467 ac_cv_lib_fdata_libfdata_stream_write_buffer=yes 44468else 44469 ac_cv_lib_fdata_libfdata_stream_write_buffer=no 44470fi 44471rm -f core conftest.err conftest.$ac_objext \ 44472 conftest$ac_exeext conftest.$ac_ext 44473LIBS=$ac_check_lib_save_LIBS 44474fi 44475{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_write_buffer" >&5 44476$as_echo "$ac_cv_lib_fdata_libfdata_stream_write_buffer" >&6; } 44477if test "x$ac_cv_lib_fdata_libfdata_stream_write_buffer" = xyes; then : 44478 ac_cv_libfdata_dummy=yes 44479else 44480 ac_cv_libfdata=no 44481fi 44482 44483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_seek_offset in -lfdata" >&5 44484$as_echo_n "checking for libfdata_stream_seek_offset in -lfdata... " >&6; } 44485if ${ac_cv_lib_fdata_libfdata_stream_seek_offset+:} false; then : 44486 $as_echo_n "(cached) " >&6 44487else 44488 ac_check_lib_save_LIBS=$LIBS 44489LIBS="-lfdata $LIBS" 44490cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44491/* end confdefs.h. */ 44492 44493/* Override any GCC internal prototype to avoid an error. 44494 Use char because int might match the return type of a GCC 44495 builtin and then its argument prototype would still apply. */ 44496#ifdef __cplusplus 44497extern "C" 44498#endif 44499char libfdata_stream_seek_offset (); 44500int 44501main () 44502{ 44503return libfdata_stream_seek_offset (); 44504 ; 44505 return 0; 44506} 44507_ACEOF 44508if ac_fn_c_try_link "$LINENO"; then : 44509 ac_cv_lib_fdata_libfdata_stream_seek_offset=yes 44510else 44511 ac_cv_lib_fdata_libfdata_stream_seek_offset=no 44512fi 44513rm -f core conftest.err conftest.$ac_objext \ 44514 conftest$ac_exeext conftest.$ac_ext 44515LIBS=$ac_check_lib_save_LIBS 44516fi 44517{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_seek_offset" >&5 44518$as_echo "$ac_cv_lib_fdata_libfdata_stream_seek_offset" >&6; } 44519if test "x$ac_cv_lib_fdata_libfdata_stream_seek_offset" = xyes; then : 44520 ac_cv_libfdata_dummy=yes 44521else 44522 ac_cv_libfdata=no 44523fi 44524 44525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_offset in -lfdata" >&5 44526$as_echo_n "checking for libfdata_stream_get_offset in -lfdata... " >&6; } 44527if ${ac_cv_lib_fdata_libfdata_stream_get_offset+:} false; then : 44528 $as_echo_n "(cached) " >&6 44529else 44530 ac_check_lib_save_LIBS=$LIBS 44531LIBS="-lfdata $LIBS" 44532cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44533/* end confdefs.h. */ 44534 44535/* Override any GCC internal prototype to avoid an error. 44536 Use char because int might match the return type of a GCC 44537 builtin and then its argument prototype would still apply. */ 44538#ifdef __cplusplus 44539extern "C" 44540#endif 44541char libfdata_stream_get_offset (); 44542int 44543main () 44544{ 44545return libfdata_stream_get_offset (); 44546 ; 44547 return 0; 44548} 44549_ACEOF 44550if ac_fn_c_try_link "$LINENO"; then : 44551 ac_cv_lib_fdata_libfdata_stream_get_offset=yes 44552else 44553 ac_cv_lib_fdata_libfdata_stream_get_offset=no 44554fi 44555rm -f core conftest.err conftest.$ac_objext \ 44556 conftest$ac_exeext conftest.$ac_ext 44557LIBS=$ac_check_lib_save_LIBS 44558fi 44559{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_offset" >&5 44560$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_offset" >&6; } 44561if test "x$ac_cv_lib_fdata_libfdata_stream_get_offset" = xyes; then : 44562 ac_cv_libfdata_dummy=yes 44563else 44564 ac_cv_libfdata=no 44565fi 44566 44567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_size in -lfdata" >&5 44568$as_echo_n "checking for libfdata_stream_get_size in -lfdata... " >&6; } 44569if ${ac_cv_lib_fdata_libfdata_stream_get_size+:} false; then : 44570 $as_echo_n "(cached) " >&6 44571else 44572 ac_check_lib_save_LIBS=$LIBS 44573LIBS="-lfdata $LIBS" 44574cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44575/* end confdefs.h. */ 44576 44577/* Override any GCC internal prototype to avoid an error. 44578 Use char because int might match the return type of a GCC 44579 builtin and then its argument prototype would still apply. */ 44580#ifdef __cplusplus 44581extern "C" 44582#endif 44583char libfdata_stream_get_size (); 44584int 44585main () 44586{ 44587return libfdata_stream_get_size (); 44588 ; 44589 return 0; 44590} 44591_ACEOF 44592if ac_fn_c_try_link "$LINENO"; then : 44593 ac_cv_lib_fdata_libfdata_stream_get_size=yes 44594else 44595 ac_cv_lib_fdata_libfdata_stream_get_size=no 44596fi 44597rm -f core conftest.err conftest.$ac_objext \ 44598 conftest$ac_exeext conftest.$ac_ext 44599LIBS=$ac_check_lib_save_LIBS 44600fi 44601{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_size" >&5 44602$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_size" >&6; } 44603if test "x$ac_cv_lib_fdata_libfdata_stream_get_size" = xyes; then : 44604 ac_cv_libfdata_dummy=yes 44605else 44606 ac_cv_libfdata=no 44607fi 44608 44609 44610 44611 44612 ac_cv_libfdata_LIBADD="-lfdata" 44613fi 44614 44615fi 44616 if test "x$ac_cv_with_libfdata" != x && test "x$ac_cv_with_libfdata" != xauto-detect && test "x$ac_cv_libfdata" != xyes; then : 44617 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 44618$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 44619as_fn_error 1 "unable to find supported libfdata in directory: $ac_cv_with_libfdata 44620See \`config.log' for more details" "$LINENO" 5; } 44621 44622fi 44623 44624fi 44625 44626 if test "x$ac_cv_libfdata" = xyes; then : 44627 44628$as_echo "#define HAVE_LIBFDATA 1" >>confdefs.h 44629 44630 44631fi 44632 44633 if test "x$ac_cv_libfdata" = xyes; then : 44634 HAVE_LIBFDATA=1 44635 44636else 44637 HAVE_LIBFDATA=0 44638 44639 44640fi 44641 44642 44643 if test "x$ac_cv_libfdata" != xyes; then : 44644 44645 ac_cv_libfdata_CPPFLAGS="-I../libfdata"; 44646 ac_cv_libfdata_LIBADD="../libfdata/libfdata.la"; 44647 44648 ac_cv_libfdata=local 44649 44650 44651 44652$as_echo "#define HAVE_LOCAL_LIBFDATA 1" >>confdefs.h 44653 44654 HAVE_LOCAL_LIBFDATA=1 44655 44656 44657fi 44658 44659 if test "x$ac_cv_libfdata" = xlocal; then 44660 HAVE_LOCAL_LIBFDATA_TRUE= 44661 HAVE_LOCAL_LIBFDATA_FALSE='#' 44662else 44663 HAVE_LOCAL_LIBFDATA_TRUE='#' 44664 HAVE_LOCAL_LIBFDATA_FALSE= 44665fi 44666 44667 if test "x$ac_cv_libfdata_CPPFLAGS" != "x"; then : 44668 LIBFDATA_CPPFLAGS=$ac_cv_libfdata_CPPFLAGS 44669 44670 44671fi 44672 if test "x$ac_cv_libfdata_LIBADD" != "x"; then : 44673 LIBFDATA_LIBADD=$ac_cv_libfdata_LIBADD 44674 44675 44676fi 44677 44678 if test "x$ac_cv_libfdata" = xyes; then : 44679 ax_libfdata_pc_libs_private=-lfdata 44680 44681 44682fi 44683 44684 if test "x$ac_cv_libfdata" = xyes; then : 44685 ax_libfdata_spec_requires=libfdata 44686 44687 ax_libfdata_spec_build_requires=libfdata-devel 44688 44689 44690fi 44691 44692 44693 44694 44695# Check whether --with-zlib was given. 44696if test "${with_zlib+set}" = set; then : 44697 withval=$with_zlib; ac_cv_with_zlib=$withval 44698else 44699 ac_cv_with_zlib=auto-detect 44700fi 44701 44702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use search for zlib in includedir and libdir or in the specified DIR, or no if not to use zlib" >&5 44703$as_echo_n "checking whether to use search for zlib in includedir and libdir or in the specified DIR, or no if not to use zlib... " >&6; } 44704if ${ac_cv_with_zlib+:} false; then : 44705 $as_echo_n "(cached) " >&6 44706else 44707 ac_cv_with_zlib=auto-detect 44708fi 44709{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_zlib" >&5 44710$as_echo "$ac_cv_with_zlib" >&6; } 44711 44712 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_zlib" = xno; then : 44713 ac_cv_zlib=no 44714else 44715 ac_cv_zlib=check 44716 if test "x$ac_cv_with_zlib" != x && test "x$ac_cv_with_zlib" != xauto-detect; then : 44717 if test -d "$ac_cv_with_zlib"; then : 44718 CFLAGS="$CFLAGS -I${ac_cv_with_zlib}/include" 44719 LDFLAGS="$LDFLAGS -L${ac_cv_with_zlib}/lib" 44720else 44721 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 44722$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 44723as_fn_error 1 "no such directory: $ac_cv_with_zlib 44724See \`config.log' for more details" "$LINENO" 5; } 44725 44726fi 44727 44728else 44729 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 44730 44731pkg_failed=no 44732{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib" >&5 44733$as_echo_n "checking for zlib... " >&6; } 44734 44735if test -n "$zlib_CFLAGS"; then 44736 pkg_cv_zlib_CFLAGS="$zlib_CFLAGS" 44737 elif test -n "$PKG_CONFIG"; then 44738 if test -n "$PKG_CONFIG" && \ 44739 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.2.5\""; } >&5 44740 ($PKG_CONFIG --exists --print-errors "zlib >= 1.2.5") 2>&5 44741 ac_status=$? 44742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 44743 test $ac_status = 0; }; then 44744 pkg_cv_zlib_CFLAGS=`$PKG_CONFIG --cflags "zlib >= 1.2.5" 2>/dev/null` 44745 test "x$?" != "x0" && pkg_failed=yes 44746else 44747 pkg_failed=yes 44748fi 44749 else 44750 pkg_failed=untried 44751fi 44752if test -n "$zlib_LIBS"; then 44753 pkg_cv_zlib_LIBS="$zlib_LIBS" 44754 elif test -n "$PKG_CONFIG"; then 44755 if test -n "$PKG_CONFIG" && \ 44756 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.2.5\""; } >&5 44757 ($PKG_CONFIG --exists --print-errors "zlib >= 1.2.5") 2>&5 44758 ac_status=$? 44759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 44760 test $ac_status = 0; }; then 44761 pkg_cv_zlib_LIBS=`$PKG_CONFIG --libs "zlib >= 1.2.5" 2>/dev/null` 44762 test "x$?" != "x0" && pkg_failed=yes 44763else 44764 pkg_failed=yes 44765fi 44766 else 44767 pkg_failed=untried 44768fi 44769 44770 44771 44772if test $pkg_failed = yes; then 44773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 44774$as_echo "no" >&6; } 44775 44776if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 44777 _pkg_short_errors_supported=yes 44778else 44779 _pkg_short_errors_supported=no 44780fi 44781 if test $_pkg_short_errors_supported = yes; then 44782 zlib_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "zlib >= 1.2.5" 2>&1` 44783 else 44784 zlib_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "zlib >= 1.2.5" 2>&1` 44785 fi 44786 # Put the nasty error message in config.log where it belongs 44787 echo "$zlib_PKG_ERRORS" >&5 44788 44789 ac_cv_zlib=check 44790elif test $pkg_failed = untried; then 44791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 44792$as_echo "no" >&6; } 44793 ac_cv_zlib=check 44794else 44795 zlib_CFLAGS=$pkg_cv_zlib_CFLAGS 44796 zlib_LIBS=$pkg_cv_zlib_LIBS 44797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 44798$as_echo "yes" >&6; } 44799 ac_cv_zlib=zlib 44800fi 44801 44802fi 44803 if test "x$ac_cv_zlib" = xzlib; then : 44804 ac_cv_zlib_CPPFLAGS="$pkg_cv_zlib_CFLAGS" 44805 ac_cv_zlib_LIBADD="$pkg_cv_zlib_LIBS" 44806fi 44807 44808fi 44809 44810 if test "x$ac_cv_zlib" = xcheck; then : 44811 for ac_header in zlib.h 44812do : 44813 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" 44814if test "x$ac_cv_header_zlib_h" = xyes; then : 44815 cat >>confdefs.h <<_ACEOF 44816#define HAVE_ZLIB_H 1 44817_ACEOF 44818 44819fi 44820 44821done 44822 44823 44824 if test "x$ac_cv_header_zlib_h" = xno; then : 44825 ac_cv_zlib=no 44826else 44827 ac_cv_zlib=zlib 44828 44829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5 44830$as_echo_n "checking for zlibVersion in -lz... " >&6; } 44831if ${ac_cv_lib_z_zlibVersion+:} false; then : 44832 $as_echo_n "(cached) " >&6 44833else 44834 ac_check_lib_save_LIBS=$LIBS 44835LIBS="-lz $LIBS" 44836cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44837/* end confdefs.h. */ 44838 44839/* Override any GCC internal prototype to avoid an error. 44840 Use char because int might match the return type of a GCC 44841 builtin and then its argument prototype would still apply. */ 44842#ifdef __cplusplus 44843extern "C" 44844#endif 44845char zlibVersion (); 44846int 44847main () 44848{ 44849return zlibVersion (); 44850 ; 44851 return 0; 44852} 44853_ACEOF 44854if ac_fn_c_try_link "$LINENO"; then : 44855 ac_cv_lib_z_zlibVersion=yes 44856else 44857 ac_cv_lib_z_zlibVersion=no 44858fi 44859rm -f core conftest.err conftest.$ac_objext \ 44860 conftest$ac_exeext conftest.$ac_ext 44861LIBS=$ac_check_lib_save_LIBS 44862fi 44863{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5 44864$as_echo "$ac_cv_lib_z_zlibVersion" >&6; } 44865if test "x$ac_cv_lib_z_zlibVersion" = xyes; then : 44866 cat >>confdefs.h <<_ACEOF 44867#define HAVE_LIBZ 1 44868_ACEOF 44869 44870 LIBS="-lz $LIBS" 44871 44872else 44873 ac_cv_zlib=no 44874fi 44875 44876 44877 if test "x$ac_cv_lib_z_zlibVersion" = xno; then : 44878 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 44879$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 44880as_fn_error 1 "Missing function: zlibVersion in library: zlib. 44881See \`config.log' for more details" "$LINENO" 5; } 44882 44883fi 44884 44885 ac_cv_zlib_LIBADD="-lz"; 44886 44887fi 44888 44889fi 44890 44891fi 44892 44893 if test "x$ac_cv_zlib" = xzlib; then : 44894 44895$as_echo "#define HAVE_ZLIB 1" >>confdefs.h 44896 44897 44898fi 44899 44900 if test "x$ac_cv_zlib" != xno; then : 44901 HAVE_ZLIB=1 44902 44903else 44904 HAVE_ZLIB=0 44905 44906 44907fi 44908 44909 44910 if test "x$ac_cv_zlib_CPPFLAGS" != "x"; then : 44911 ZLIB_CPPFLAGS=$ac_cv_zlib_CPPFLAGS 44912 44913 44914fi 44915 if test "x$ac_cv_zlib_LIBADD" != "x"; then : 44916 ZLIB_LIBADD=$ac_cv_zlib_LIBADD 44917 44918 44919fi 44920 44921 if test "x$ac_cv_zlib" = xzlib; then : 44922 ax_zlib_pc_libs_private=-lz 44923 44924 44925fi 44926 44927 if test "x$ac_cv_zlib" = xzlib; then : 44928 ax_zlib_spec_requires=zlib 44929 44930 ax_zlib_spec_build_requires=zlib-devel 44931 44932 ax_zlib_static_spec_requires=zlib-static 44933 44934 ax_zlib_static_spec_build_requires=zlib-static 44935 44936 44937fi 44938 44939if test "x$ac_cv_zlib" != xzlib; then : 44940 ac_cv_inflate=local 44941else 44942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5 44943$as_echo_n "checking for inflate in -lz... " >&6; } 44944if ${ac_cv_lib_z_inflate+:} false; then : 44945 $as_echo_n "(cached) " >&6 44946else 44947 ac_check_lib_save_LIBS=$LIBS 44948LIBS="-lz $LIBS" 44949cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44950/* end confdefs.h. */ 44951 44952/* Override any GCC internal prototype to avoid an error. 44953 Use char because int might match the return type of a GCC 44954 builtin and then its argument prototype would still apply. */ 44955#ifdef __cplusplus 44956extern "C" 44957#endif 44958char inflate (); 44959int 44960main () 44961{ 44962return inflate (); 44963 ; 44964 return 0; 44965} 44966_ACEOF 44967if ac_fn_c_try_link "$LINENO"; then : 44968 ac_cv_lib_z_inflate=yes 44969else 44970 ac_cv_lib_z_inflate=no 44971fi 44972rm -f core conftest.err conftest.$ac_objext \ 44973 conftest$ac_exeext conftest.$ac_ext 44974LIBS=$ac_check_lib_save_LIBS 44975fi 44976{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5 44977$as_echo "$ac_cv_lib_z_inflate" >&6; } 44978if test "x$ac_cv_lib_z_inflate" = xyes; then : 44979 ac_cv_inflate=zlib 44980else 44981 ac_cv_inflate=local 44982fi 44983 44984 44985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflateInit2 in -lz" >&5 44986$as_echo_n "checking for inflateInit2 in -lz... " >&6; } 44987if ${ac_cv_lib_z_inflateInit2+:} false; then : 44988 $as_echo_n "(cached) " >&6 44989else 44990 ac_check_lib_save_LIBS=$LIBS 44991LIBS="-lz $LIBS" 44992cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44993/* end confdefs.h. */ 44994 44995/* Override any GCC internal prototype to avoid an error. 44996 Use char because int might match the return type of a GCC 44997 builtin and then its argument prototype would still apply. */ 44998#ifdef __cplusplus 44999extern "C" 45000#endif 45001char inflateInit2 (); 45002int 45003main () 45004{ 45005return inflateInit2 (); 45006 ; 45007 return 0; 45008} 45009_ACEOF 45010if ac_fn_c_try_link "$LINENO"; then : 45011 ac_cv_lib_z_inflateInit2=yes 45012else 45013 ac_cv_lib_z_inflateInit2=no 45014fi 45015rm -f core conftest.err conftest.$ac_objext \ 45016 conftest$ac_exeext conftest.$ac_ext 45017LIBS=$ac_check_lib_save_LIBS 45018fi 45019{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflateInit2" >&5 45020$as_echo "$ac_cv_lib_z_inflateInit2" >&6; } 45021if test "x$ac_cv_lib_z_inflateInit2" = xyes; then : 45022 ac_zlib_dummy=yes 45023fi 45024 45025 45026 if test "x$ac_cv_lib_z_inflateinit2" = xno; then : 45027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflateInit2_ in -lz" >&5 45028$as_echo_n "checking for inflateInit2_ in -lz... " >&6; } 45029if ${ac_cv_lib_z_inflateInit2_+:} false; then : 45030 $as_echo_n "(cached) " >&6 45031else 45032 ac_check_lib_save_LIBS=$LIBS 45033LIBS="-lz $LIBS" 45034cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45035/* end confdefs.h. */ 45036 45037/* Override any GCC internal prototype to avoid an error. 45038 Use char because int might match the return type of a GCC 45039 builtin and then its argument prototype would still apply. */ 45040#ifdef __cplusplus 45041extern "C" 45042#endif 45043char inflateInit2_ (); 45044int 45045main () 45046{ 45047return inflateInit2_ (); 45048 ; 45049 return 0; 45050} 45051_ACEOF 45052if ac_fn_c_try_link "$LINENO"; then : 45053 ac_cv_lib_z_inflateInit2_=yes 45054else 45055 ac_cv_lib_z_inflateInit2_=no 45056fi 45057rm -f core conftest.err conftest.$ac_objext \ 45058 conftest$ac_exeext conftest.$ac_ext 45059LIBS=$ac_check_lib_save_LIBS 45060fi 45061{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflateInit2_" >&5 45062$as_echo "$ac_cv_lib_z_inflateInit2_" >&6; } 45063if test "x$ac_cv_lib_z_inflateInit2_" = xyes; then : 45064 ac_zlib_dummy=yes 45065else 45066 ac_cv_inflate=local 45067fi 45068 45069 45070fi 45071 45072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflateEnd in -lz" >&5 45073$as_echo_n "checking for inflateEnd in -lz... " >&6; } 45074if ${ac_cv_lib_z_inflateEnd+:} false; then : 45075 $as_echo_n "(cached) " >&6 45076else 45077 ac_check_lib_save_LIBS=$LIBS 45078LIBS="-lz $LIBS" 45079cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45080/* end confdefs.h. */ 45081 45082/* Override any GCC internal prototype to avoid an error. 45083 Use char because int might match the return type of a GCC 45084 builtin and then its argument prototype would still apply. */ 45085#ifdef __cplusplus 45086extern "C" 45087#endif 45088char inflateEnd (); 45089int 45090main () 45091{ 45092return inflateEnd (); 45093 ; 45094 return 0; 45095} 45096_ACEOF 45097if ac_fn_c_try_link "$LINENO"; then : 45098 ac_cv_lib_z_inflateEnd=yes 45099else 45100 ac_cv_lib_z_inflateEnd=no 45101fi 45102rm -f core conftest.err conftest.$ac_objext \ 45103 conftest$ac_exeext conftest.$ac_ext 45104LIBS=$ac_check_lib_save_LIBS 45105fi 45106{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflateEnd" >&5 45107$as_echo "$ac_cv_lib_z_inflateEnd" >&6; } 45108if test "x$ac_cv_lib_z_inflateEnd" = xyes; then : 45109 ac_zlib_dummy=yes 45110else 45111 ac_cv_inflate=local 45112fi 45113 45114 45115 if test "x$ac_cv_inflate" = xzlib; then : 45116 45117$as_echo "#define HAVE_ZLIB_INFLATE 1" >>confdefs.h 45118 45119 45120fi 45121 45122 if test "x$ac_cv_lib_z_inflateinit2" != xno; then : 45123 45124$as_echo "#define HAVE_ZLIB_INFLATE_INIT2 1" >>confdefs.h 45125 45126 45127fi 45128 45129fi 45130 45131 45132 45133 45134# Check whether --with-libcaes was given. 45135if test "${with_libcaes+set}" = set; then : 45136 withval=$with_libcaes; ac_cv_with_libcaes=$withval 45137else 45138 ac_cv_with_libcaes=auto-detect 45139fi 45140 45141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use search for libcaes in includedir and libdir or in the specified DIR, or no if to use local version" >&5 45142$as_echo_n "checking whether to use search for libcaes in includedir and libdir or in the specified DIR, or no if to use local version... " >&6; } 45143if ${ac_cv_with_libcaes+:} false; then : 45144 $as_echo_n "(cached) " >&6 45145else 45146 ac_cv_with_libcaes=auto-detect 45147fi 45148{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcaes" >&5 45149$as_echo "$ac_cv_with_libcaes" >&6; } 45150 45151 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcaes" = xno; then : 45152 ac_cv_libcaes=no 45153else 45154 ac_cv_libcaes=check 45155 if test "x$ac_cv_with_libcaes" != x && test "x$ac_cv_with_libcaes" != xauto-detect; then : 45156 if test -d "$ac_cv_with_libcaes"; then : 45157 CFLAGS="$CFLAGS -I${ac_cv_with_libcaes}/include" 45158 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcaes}/lib" 45159else 45160 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 45161$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 45162as_fn_error 1 "no such directory: $ac_cv_with_libcaes 45163See \`config.log' for more details" "$LINENO" 5; } 45164 45165fi 45166 45167else 45168 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 45169 45170pkg_failed=no 45171{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes" >&5 45172$as_echo_n "checking for libcaes... " >&6; } 45173 45174if test -n "$libcaes_CFLAGS"; then 45175 pkg_cv_libcaes_CFLAGS="$libcaes_CFLAGS" 45176 elif test -n "$PKG_CONFIG"; then 45177 if test -n "$PKG_CONFIG" && \ 45178 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcaes >= 20161025\""; } >&5 45179 ($PKG_CONFIG --exists --print-errors "libcaes >= 20161025") 2>&5 45180 ac_status=$? 45181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 45182 test $ac_status = 0; }; then 45183 pkg_cv_libcaes_CFLAGS=`$PKG_CONFIG --cflags "libcaes >= 20161025" 2>/dev/null` 45184 test "x$?" != "x0" && pkg_failed=yes 45185else 45186 pkg_failed=yes 45187fi 45188 else 45189 pkg_failed=untried 45190fi 45191if test -n "$libcaes_LIBS"; then 45192 pkg_cv_libcaes_LIBS="$libcaes_LIBS" 45193 elif test -n "$PKG_CONFIG"; then 45194 if test -n "$PKG_CONFIG" && \ 45195 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcaes >= 20161025\""; } >&5 45196 ($PKG_CONFIG --exists --print-errors "libcaes >= 20161025") 2>&5 45197 ac_status=$? 45198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 45199 test $ac_status = 0; }; then 45200 pkg_cv_libcaes_LIBS=`$PKG_CONFIG --libs "libcaes >= 20161025" 2>/dev/null` 45201 test "x$?" != "x0" && pkg_failed=yes 45202else 45203 pkg_failed=yes 45204fi 45205 else 45206 pkg_failed=untried 45207fi 45208 45209 45210 45211if test $pkg_failed = yes; then 45212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 45213$as_echo "no" >&6; } 45214 45215if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 45216 _pkg_short_errors_supported=yes 45217else 45218 _pkg_short_errors_supported=no 45219fi 45220 if test $_pkg_short_errors_supported = yes; then 45221 libcaes_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcaes >= 20161025" 2>&1` 45222 else 45223 libcaes_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcaes >= 20161025" 2>&1` 45224 fi 45225 # Put the nasty error message in config.log where it belongs 45226 echo "$libcaes_PKG_ERRORS" >&5 45227 45228 ac_cv_libcaes=check 45229elif test $pkg_failed = untried; then 45230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 45231$as_echo "no" >&6; } 45232 ac_cv_libcaes=check 45233else 45234 libcaes_CFLAGS=$pkg_cv_libcaes_CFLAGS 45235 libcaes_LIBS=$pkg_cv_libcaes_LIBS 45236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 45237$as_echo "yes" >&6; } 45238 ac_cv_libcaes=yes 45239fi 45240 45241fi 45242 if test "x$ac_cv_libcaes" = xyes; then : 45243 ac_cv_libcaes_CPPFLAGS="$pkg_cv_libcaes_CFLAGS" 45244 ac_cv_libcaes_LIBADD="$pkg_cv_libcaes_LIBS" 45245fi 45246 45247fi 45248 45249 if test "x$ac_cv_libcaes" = xcheck; then : 45250 for ac_header in libcaes.h 45251do : 45252 ac_fn_c_check_header_mongrel "$LINENO" "libcaes.h" "ac_cv_header_libcaes_h" "$ac_includes_default" 45253if test "x$ac_cv_header_libcaes_h" = xyes; then : 45254 cat >>confdefs.h <<_ACEOF 45255#define HAVE_LIBCAES_H 1 45256_ACEOF 45257 45258fi 45259 45260done 45261 45262 45263 if test "x$ac_cv_header_libcaes_h" = xno; then : 45264 ac_cv_libcaes=no 45265else 45266 ac_cv_libcaes=yes 45267 45268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_get_version in -lcaes" >&5 45269$as_echo_n "checking for libcaes_get_version in -lcaes... " >&6; } 45270if ${ac_cv_lib_caes_libcaes_get_version+:} false; then : 45271 $as_echo_n "(cached) " >&6 45272else 45273 ac_check_lib_save_LIBS=$LIBS 45274LIBS="-lcaes $LIBS" 45275cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45276/* end confdefs.h. */ 45277 45278/* Override any GCC internal prototype to avoid an error. 45279 Use char because int might match the return type of a GCC 45280 builtin and then its argument prototype would still apply. */ 45281#ifdef __cplusplus 45282extern "C" 45283#endif 45284char libcaes_get_version (); 45285int 45286main () 45287{ 45288return libcaes_get_version (); 45289 ; 45290 return 0; 45291} 45292_ACEOF 45293if ac_fn_c_try_link "$LINENO"; then : 45294 ac_cv_lib_caes_libcaes_get_version=yes 45295else 45296 ac_cv_lib_caes_libcaes_get_version=no 45297fi 45298rm -f core conftest.err conftest.$ac_objext \ 45299 conftest$ac_exeext conftest.$ac_ext 45300LIBS=$ac_check_lib_save_LIBS 45301fi 45302{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_get_version" >&5 45303$as_echo "$ac_cv_lib_caes_libcaes_get_version" >&6; } 45304if test "x$ac_cv_lib_caes_libcaes_get_version" = xyes; then : 45305 ac_cv_libcaes_dummy=yes 45306else 45307 ac_cv_libcaes=no 45308fi 45309 45310 45311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_context_initialize in -lcaes" >&5 45312$as_echo_n "checking for libcaes_context_initialize in -lcaes... " >&6; } 45313if ${ac_cv_lib_caes_libcaes_context_initialize+:} false; then : 45314 $as_echo_n "(cached) " >&6 45315else 45316 ac_check_lib_save_LIBS=$LIBS 45317LIBS="-lcaes $LIBS" 45318cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45319/* end confdefs.h. */ 45320 45321/* Override any GCC internal prototype to avoid an error. 45322 Use char because int might match the return type of a GCC 45323 builtin and then its argument prototype would still apply. */ 45324#ifdef __cplusplus 45325extern "C" 45326#endif 45327char libcaes_context_initialize (); 45328int 45329main () 45330{ 45331return libcaes_context_initialize (); 45332 ; 45333 return 0; 45334} 45335_ACEOF 45336if ac_fn_c_try_link "$LINENO"; then : 45337 ac_cv_lib_caes_libcaes_context_initialize=yes 45338else 45339 ac_cv_lib_caes_libcaes_context_initialize=no 45340fi 45341rm -f core conftest.err conftest.$ac_objext \ 45342 conftest$ac_exeext conftest.$ac_ext 45343LIBS=$ac_check_lib_save_LIBS 45344fi 45345{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_context_initialize" >&5 45346$as_echo "$ac_cv_lib_caes_libcaes_context_initialize" >&6; } 45347if test "x$ac_cv_lib_caes_libcaes_context_initialize" = xyes; then : 45348 ac_cv_libcaes_dummy=yes 45349else 45350 ac_cv_libcaes=no 45351fi 45352 45353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_context_free in -lcaes" >&5 45354$as_echo_n "checking for libcaes_context_free in -lcaes... " >&6; } 45355if ${ac_cv_lib_caes_libcaes_context_free+:} false; then : 45356 $as_echo_n "(cached) " >&6 45357else 45358 ac_check_lib_save_LIBS=$LIBS 45359LIBS="-lcaes $LIBS" 45360cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45361/* end confdefs.h. */ 45362 45363/* Override any GCC internal prototype to avoid an error. 45364 Use char because int might match the return type of a GCC 45365 builtin and then its argument prototype would still apply. */ 45366#ifdef __cplusplus 45367extern "C" 45368#endif 45369char libcaes_context_free (); 45370int 45371main () 45372{ 45373return libcaes_context_free (); 45374 ; 45375 return 0; 45376} 45377_ACEOF 45378if ac_fn_c_try_link "$LINENO"; then : 45379 ac_cv_lib_caes_libcaes_context_free=yes 45380else 45381 ac_cv_lib_caes_libcaes_context_free=no 45382fi 45383rm -f core conftest.err conftest.$ac_objext \ 45384 conftest$ac_exeext conftest.$ac_ext 45385LIBS=$ac_check_lib_save_LIBS 45386fi 45387{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_context_free" >&5 45388$as_echo "$ac_cv_lib_caes_libcaes_context_free" >&6; } 45389if test "x$ac_cv_lib_caes_libcaes_context_free" = xyes; then : 45390 ac_cv_libcaes_dummy=yes 45391else 45392 ac_cv_libcaes=no 45393fi 45394 45395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_context_set_key in -lcaes" >&5 45396$as_echo_n "checking for libcaes_context_set_key in -lcaes... " >&6; } 45397if ${ac_cv_lib_caes_libcaes_context_set_key+:} false; then : 45398 $as_echo_n "(cached) " >&6 45399else 45400 ac_check_lib_save_LIBS=$LIBS 45401LIBS="-lcaes $LIBS" 45402cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45403/* end confdefs.h. */ 45404 45405/* Override any GCC internal prototype to avoid an error. 45406 Use char because int might match the return type of a GCC 45407 builtin and then its argument prototype would still apply. */ 45408#ifdef __cplusplus 45409extern "C" 45410#endif 45411char libcaes_context_set_key (); 45412int 45413main () 45414{ 45415return libcaes_context_set_key (); 45416 ; 45417 return 0; 45418} 45419_ACEOF 45420if ac_fn_c_try_link "$LINENO"; then : 45421 ac_cv_lib_caes_libcaes_context_set_key=yes 45422else 45423 ac_cv_lib_caes_libcaes_context_set_key=no 45424fi 45425rm -f core conftest.err conftest.$ac_objext \ 45426 conftest$ac_exeext conftest.$ac_ext 45427LIBS=$ac_check_lib_save_LIBS 45428fi 45429{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_context_set_key" >&5 45430$as_echo "$ac_cv_lib_caes_libcaes_context_set_key" >&6; } 45431if test "x$ac_cv_lib_caes_libcaes_context_set_key" = xyes; then : 45432 ac_cv_libcaes_dummy=yes 45433else 45434 ac_cv_libcaes=no 45435fi 45436 45437 45438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_tweaked_context_initialize in -lcaes" >&5 45439$as_echo_n "checking for libcaes_tweaked_context_initialize in -lcaes... " >&6; } 45440if ${ac_cv_lib_caes_libcaes_tweaked_context_initialize+:} false; then : 45441 $as_echo_n "(cached) " >&6 45442else 45443 ac_check_lib_save_LIBS=$LIBS 45444LIBS="-lcaes $LIBS" 45445cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45446/* end confdefs.h. */ 45447 45448/* Override any GCC internal prototype to avoid an error. 45449 Use char because int might match the return type of a GCC 45450 builtin and then its argument prototype would still apply. */ 45451#ifdef __cplusplus 45452extern "C" 45453#endif 45454char libcaes_tweaked_context_initialize (); 45455int 45456main () 45457{ 45458return libcaes_tweaked_context_initialize (); 45459 ; 45460 return 0; 45461} 45462_ACEOF 45463if ac_fn_c_try_link "$LINENO"; then : 45464 ac_cv_lib_caes_libcaes_tweaked_context_initialize=yes 45465else 45466 ac_cv_lib_caes_libcaes_tweaked_context_initialize=no 45467fi 45468rm -f core conftest.err conftest.$ac_objext \ 45469 conftest$ac_exeext conftest.$ac_ext 45470LIBS=$ac_check_lib_save_LIBS 45471fi 45472{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_tweaked_context_initialize" >&5 45473$as_echo "$ac_cv_lib_caes_libcaes_tweaked_context_initialize" >&6; } 45474if test "x$ac_cv_lib_caes_libcaes_tweaked_context_initialize" = xyes; then : 45475 ac_cv_libcaes_dummy=yes 45476else 45477 ac_cv_libcaes=no 45478fi 45479 45480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_tweaked_context_free in -lcaes" >&5 45481$as_echo_n "checking for libcaes_tweaked_context_free in -lcaes... " >&6; } 45482if ${ac_cv_lib_caes_libcaes_tweaked_context_free+:} false; then : 45483 $as_echo_n "(cached) " >&6 45484else 45485 ac_check_lib_save_LIBS=$LIBS 45486LIBS="-lcaes $LIBS" 45487cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45488/* end confdefs.h. */ 45489 45490/* Override any GCC internal prototype to avoid an error. 45491 Use char because int might match the return type of a GCC 45492 builtin and then its argument prototype would still apply. */ 45493#ifdef __cplusplus 45494extern "C" 45495#endif 45496char libcaes_tweaked_context_free (); 45497int 45498main () 45499{ 45500return libcaes_tweaked_context_free (); 45501 ; 45502 return 0; 45503} 45504_ACEOF 45505if ac_fn_c_try_link "$LINENO"; then : 45506 ac_cv_lib_caes_libcaes_tweaked_context_free=yes 45507else 45508 ac_cv_lib_caes_libcaes_tweaked_context_free=no 45509fi 45510rm -f core conftest.err conftest.$ac_objext \ 45511 conftest$ac_exeext conftest.$ac_ext 45512LIBS=$ac_check_lib_save_LIBS 45513fi 45514{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_tweaked_context_free" >&5 45515$as_echo "$ac_cv_lib_caes_libcaes_tweaked_context_free" >&6; } 45516if test "x$ac_cv_lib_caes_libcaes_tweaked_context_free" = xyes; then : 45517 ac_cv_libcaes_dummy=yes 45518else 45519 ac_cv_libcaes=no 45520fi 45521 45522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_tweaked_context_set_keys in -lcaes" >&5 45523$as_echo_n "checking for libcaes_tweaked_context_set_keys in -lcaes... " >&6; } 45524if ${ac_cv_lib_caes_libcaes_tweaked_context_set_keys+:} false; then : 45525 $as_echo_n "(cached) " >&6 45526else 45527 ac_check_lib_save_LIBS=$LIBS 45528LIBS="-lcaes $LIBS" 45529cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45530/* end confdefs.h. */ 45531 45532/* Override any GCC internal prototype to avoid an error. 45533 Use char because int might match the return type of a GCC 45534 builtin and then its argument prototype would still apply. */ 45535#ifdef __cplusplus 45536extern "C" 45537#endif 45538char libcaes_tweaked_context_set_keys (); 45539int 45540main () 45541{ 45542return libcaes_tweaked_context_set_keys (); 45543 ; 45544 return 0; 45545} 45546_ACEOF 45547if ac_fn_c_try_link "$LINENO"; then : 45548 ac_cv_lib_caes_libcaes_tweaked_context_set_keys=yes 45549else 45550 ac_cv_lib_caes_libcaes_tweaked_context_set_keys=no 45551fi 45552rm -f core conftest.err conftest.$ac_objext \ 45553 conftest$ac_exeext conftest.$ac_ext 45554LIBS=$ac_check_lib_save_LIBS 45555fi 45556{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_tweaked_context_set_keys" >&5 45557$as_echo "$ac_cv_lib_caes_libcaes_tweaked_context_set_keys" >&6; } 45558if test "x$ac_cv_lib_caes_libcaes_tweaked_context_set_keys" = xyes; then : 45559 ac_cv_libcaes_dummy=yes 45560else 45561 ac_cv_libcaes=no 45562fi 45563 45564 45565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_crypt_cbc in -lcaes" >&5 45566$as_echo_n "checking for libcaes_crypt_cbc in -lcaes... " >&6; } 45567if ${ac_cv_lib_caes_libcaes_crypt_cbc+:} false; then : 45568 $as_echo_n "(cached) " >&6 45569else 45570 ac_check_lib_save_LIBS=$LIBS 45571LIBS="-lcaes $LIBS" 45572cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45573/* end confdefs.h. */ 45574 45575/* Override any GCC internal prototype to avoid an error. 45576 Use char because int might match the return type of a GCC 45577 builtin and then its argument prototype would still apply. */ 45578#ifdef __cplusplus 45579extern "C" 45580#endif 45581char libcaes_crypt_cbc (); 45582int 45583main () 45584{ 45585return libcaes_crypt_cbc (); 45586 ; 45587 return 0; 45588} 45589_ACEOF 45590if ac_fn_c_try_link "$LINENO"; then : 45591 ac_cv_lib_caes_libcaes_crypt_cbc=yes 45592else 45593 ac_cv_lib_caes_libcaes_crypt_cbc=no 45594fi 45595rm -f core conftest.err conftest.$ac_objext \ 45596 conftest$ac_exeext conftest.$ac_ext 45597LIBS=$ac_check_lib_save_LIBS 45598fi 45599{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_crypt_cbc" >&5 45600$as_echo "$ac_cv_lib_caes_libcaes_crypt_cbc" >&6; } 45601if test "x$ac_cv_lib_caes_libcaes_crypt_cbc" = xyes; then : 45602 ac_cv_libcaes_dummy=yes 45603else 45604 ac_cv_libcaes=no 45605fi 45606 45607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_crypt_ccm in -lcaes" >&5 45608$as_echo_n "checking for libcaes_crypt_ccm in -lcaes... " >&6; } 45609if ${ac_cv_lib_caes_libcaes_crypt_ccm+:} false; then : 45610 $as_echo_n "(cached) " >&6 45611else 45612 ac_check_lib_save_LIBS=$LIBS 45613LIBS="-lcaes $LIBS" 45614cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45615/* end confdefs.h. */ 45616 45617/* Override any GCC internal prototype to avoid an error. 45618 Use char because int might match the return type of a GCC 45619 builtin and then its argument prototype would still apply. */ 45620#ifdef __cplusplus 45621extern "C" 45622#endif 45623char libcaes_crypt_ccm (); 45624int 45625main () 45626{ 45627return libcaes_crypt_ccm (); 45628 ; 45629 return 0; 45630} 45631_ACEOF 45632if ac_fn_c_try_link "$LINENO"; then : 45633 ac_cv_lib_caes_libcaes_crypt_ccm=yes 45634else 45635 ac_cv_lib_caes_libcaes_crypt_ccm=no 45636fi 45637rm -f core conftest.err conftest.$ac_objext \ 45638 conftest$ac_exeext conftest.$ac_ext 45639LIBS=$ac_check_lib_save_LIBS 45640fi 45641{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_crypt_ccm" >&5 45642$as_echo "$ac_cv_lib_caes_libcaes_crypt_ccm" >&6; } 45643if test "x$ac_cv_lib_caes_libcaes_crypt_ccm" = xyes; then : 45644 ac_cv_libcaes_dummy=yes 45645else 45646 ac_cv_libcaes=no 45647fi 45648 45649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_crypt_ecb in -lcaes" >&5 45650$as_echo_n "checking for libcaes_crypt_ecb in -lcaes... " >&6; } 45651if ${ac_cv_lib_caes_libcaes_crypt_ecb+:} false; then : 45652 $as_echo_n "(cached) " >&6 45653else 45654 ac_check_lib_save_LIBS=$LIBS 45655LIBS="-lcaes $LIBS" 45656cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45657/* end confdefs.h. */ 45658 45659/* Override any GCC internal prototype to avoid an error. 45660 Use char because int might match the return type of a GCC 45661 builtin and then its argument prototype would still apply. */ 45662#ifdef __cplusplus 45663extern "C" 45664#endif 45665char libcaes_crypt_ecb (); 45666int 45667main () 45668{ 45669return libcaes_crypt_ecb (); 45670 ; 45671 return 0; 45672} 45673_ACEOF 45674if ac_fn_c_try_link "$LINENO"; then : 45675 ac_cv_lib_caes_libcaes_crypt_ecb=yes 45676else 45677 ac_cv_lib_caes_libcaes_crypt_ecb=no 45678fi 45679rm -f core conftest.err conftest.$ac_objext \ 45680 conftest$ac_exeext conftest.$ac_ext 45681LIBS=$ac_check_lib_save_LIBS 45682fi 45683{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_crypt_ecb" >&5 45684$as_echo "$ac_cv_lib_caes_libcaes_crypt_ecb" >&6; } 45685if test "x$ac_cv_lib_caes_libcaes_crypt_ecb" = xyes; then : 45686 ac_cv_libcaes_dummy=yes 45687else 45688 ac_cv_libcaes=no 45689fi 45690 45691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcaes_crypt_xts in -lcaes" >&5 45692$as_echo_n "checking for libcaes_crypt_xts in -lcaes... " >&6; } 45693if ${ac_cv_lib_caes_libcaes_crypt_xts+:} false; then : 45694 $as_echo_n "(cached) " >&6 45695else 45696 ac_check_lib_save_LIBS=$LIBS 45697LIBS="-lcaes $LIBS" 45698cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45699/* end confdefs.h. */ 45700 45701/* Override any GCC internal prototype to avoid an error. 45702 Use char because int might match the return type of a GCC 45703 builtin and then its argument prototype would still apply. */ 45704#ifdef __cplusplus 45705extern "C" 45706#endif 45707char libcaes_crypt_xts (); 45708int 45709main () 45710{ 45711return libcaes_crypt_xts (); 45712 ; 45713 return 0; 45714} 45715_ACEOF 45716if ac_fn_c_try_link "$LINENO"; then : 45717 ac_cv_lib_caes_libcaes_crypt_xts=yes 45718else 45719 ac_cv_lib_caes_libcaes_crypt_xts=no 45720fi 45721rm -f core conftest.err conftest.$ac_objext \ 45722 conftest$ac_exeext conftest.$ac_ext 45723LIBS=$ac_check_lib_save_LIBS 45724fi 45725{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caes_libcaes_crypt_xts" >&5 45726$as_echo "$ac_cv_lib_caes_libcaes_crypt_xts" >&6; } 45727if test "x$ac_cv_lib_caes_libcaes_crypt_xts" = xyes; then : 45728 ac_cv_libcaes_dummy=yes 45729else 45730 ac_cv_libcaes=no 45731fi 45732 45733 45734 ac_cv_libcaes_LIBADD="-lcaes" 45735fi 45736 45737fi 45738 if test "x$ac_cv_with_libcaes" != x && test "x$ac_cv_with_libcaes" != xauto-detect && test "x$ac_cv_libcaes" != xyes; then : 45739 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 45740$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 45741as_fn_error 1 "unable to find supported libcaes in directory: $ac_cv_with_libcaes 45742See \`config.log' for more details" "$LINENO" 5; } 45743 45744fi 45745 45746fi 45747 45748 if test "x$ac_cv_libcaes" = xyes; then : 45749 45750$as_echo "#define HAVE_LIBCAES 1" >>confdefs.h 45751 45752 45753fi 45754 45755 if test "x$ac_cv_libcaes" = xyes; then : 45756 ac_cv_libcaes_aes=libcaes 45757else 45758 ac_cv_libcaes_aes=no 45759fi 45760 45761 if test "x$ac_cv_libcaes" = xyes; then : 45762 HAVE_LIBCAES=1 45763 45764else 45765 HAVE_LIBCAES=0 45766 45767 45768fi 45769 45770 45771 if test "x$ac_cv_libcaes" != xyes; then : 45772 45773 45774# Check whether --with-openssl was given. 45775if test "${with_openssl+set}" = set; then : 45776 withval=$with_openssl; ac_cv_with_openssl=$withval 45777else 45778 ac_cv_with_openssl=auto-detect 45779fi 45780 45781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use search for OpenSSL in includedir and libdir or in the specified DIR, or no if not to use OpenSSL" >&5 45782$as_echo_n "checking whether to use search for OpenSSL in includedir and libdir or in the specified DIR, or no if not to use OpenSSL... " >&6; } 45783if ${ac_cv_with_openssl+:} false; then : 45784 $as_echo_n "(cached) " >&6 45785else 45786 ac_cv_with_openssl=auto-detect 45787fi 45788{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_openssl" >&5 45789$as_echo "$ac_cv_with_openssl" >&6; } 45790 45791 45792 # Check whether --enable-openssl-evp-cipher was given. 45793if test "${enable_openssl_evp_cipher+set}" = set; then : 45794 enableval=$enable_openssl_evp_cipher; ac_cv_enable_openssl_evp_cipher=$enableval 45795else 45796 ac_cv_enable_openssl_evp_cipher=auto-detect 45797fi 45798 45799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable OpenSSL EVP CIPHER support, or no to disable" >&5 45800$as_echo_n "checking whether to enable enable OpenSSL EVP CIPHER support, or no to disable... " >&6; } 45801if ${ac_cv_enable_openssl_evp_cipher+:} false; then : 45802 $as_echo_n "(cached) " >&6 45803else 45804 ac_cv_enable_openssl_evp_cipher=auto-detect 45805fi 45806{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_openssl_evp_cipher" >&5 45807$as_echo "$ac_cv_enable_openssl_evp_cipher" >&6; } 45808 45809 45810 # Check whether --enable-openssl-evp-md was given. 45811if test "${enable_openssl_evp_md+set}" = set; then : 45812 enableval=$enable_openssl_evp_md; ac_cv_enable_openssl_evp_md=$enableval 45813else 45814 ac_cv_enable_openssl_evp_md=auto-detect 45815fi 45816 45817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable OpenSSL EVP MD support, or no to disable" >&5 45818$as_echo_n "checking whether to enable enable OpenSSL EVP MD support, or no to disable... " >&6; } 45819if ${ac_cv_enable_openssl_evp_md+:} false; then : 45820 $as_echo_n "(cached) " >&6 45821else 45822 ac_cv_enable_openssl_evp_md=auto-detect 45823fi 45824{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_openssl_evp_md" >&5 45825$as_echo "$ac_cv_enable_openssl_evp_md" >&6; } 45826 45827 if test "x$ac_cv_enable_static_executables" = xno; then : 45828 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_openssl" = xno; then : 45829 ac_cv_libcrypto=no 45830else 45831 if test "x$ac_cv_with_openssl" != x && test "x$ac_cv_with_openssl" != xauto-detect; then : 45832 if test -d "$ac_cv_with_openssl"; then : 45833 CFLAGS="$CFLAGS -I${ac_cv_with_openssl}/include" 45834 LDFLAGS="$LDFLAGS -L${ac_cv_with_openssl}/lib" 45835else 45836 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 45837$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 45838as_fn_error 1 "no such directory: $ac_cv_with_openssl 45839See \`config.log' for more details" "$LINENO" 5; } 45840 45841fi 45842else 45843 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 45844 45845pkg_failed=no 45846{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for openssl" >&5 45847$as_echo_n "checking for openssl... " >&6; } 45848 45849if test -n "$openssl_CFLAGS"; then 45850 pkg_cv_openssl_CFLAGS="$openssl_CFLAGS" 45851 elif test -n "$PKG_CONFIG"; then 45852 if test -n "$PKG_CONFIG" && \ 45853 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 1.0\""; } >&5 45854 ($PKG_CONFIG --exists --print-errors "openssl >= 1.0") 2>&5 45855 ac_status=$? 45856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 45857 test $ac_status = 0; }; then 45858 pkg_cv_openssl_CFLAGS=`$PKG_CONFIG --cflags "openssl >= 1.0" 2>/dev/null` 45859 test "x$?" != "x0" && pkg_failed=yes 45860else 45861 pkg_failed=yes 45862fi 45863 else 45864 pkg_failed=untried 45865fi 45866if test -n "$openssl_LIBS"; then 45867 pkg_cv_openssl_LIBS="$openssl_LIBS" 45868 elif test -n "$PKG_CONFIG"; then 45869 if test -n "$PKG_CONFIG" && \ 45870 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 1.0\""; } >&5 45871 ($PKG_CONFIG --exists --print-errors "openssl >= 1.0") 2>&5 45872 ac_status=$? 45873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 45874 test $ac_status = 0; }; then 45875 pkg_cv_openssl_LIBS=`$PKG_CONFIG --libs "openssl >= 1.0" 2>/dev/null` 45876 test "x$?" != "x0" && pkg_failed=yes 45877else 45878 pkg_failed=yes 45879fi 45880 else 45881 pkg_failed=untried 45882fi 45883 45884 45885 45886if test $pkg_failed = yes; then 45887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 45888$as_echo "no" >&6; } 45889 45890if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 45891 _pkg_short_errors_supported=yes 45892else 45893 _pkg_short_errors_supported=no 45894fi 45895 if test $_pkg_short_errors_supported = yes; then 45896 openssl_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openssl >= 1.0" 2>&1` 45897 else 45898 openssl_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "openssl >= 1.0" 2>&1` 45899 fi 45900 # Put the nasty error message in config.log where it belongs 45901 echo "$openssl_PKG_ERRORS" >&5 45902 45903 ac_cv_libcrypto=no 45904 ac_cv_libcrypto_evp=no 45905elif test $pkg_failed = untried; then 45906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 45907$as_echo "no" >&6; } 45908 ac_cv_libcrypto=no 45909 ac_cv_libcrypto_evp=no 45910else 45911 openssl_CFLAGS=$pkg_cv_openssl_CFLAGS 45912 openssl_LIBS=$pkg_cv_openssl_LIBS 45913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 45914$as_echo "yes" >&6; } 45915 ac_cv_libcrypto=yes 45916 ac_cv_libcrypto_evp=yes 45917fi 45918 45919fi 45920 if test "x$ac_cv_libcrypto" = xyes; then : 45921 ac_cv_libcrypto_CPPFLAGS="$pkg_cv_openssl_CFLAGS" 45922 ac_cv_libcrypto_LIBADD="$pkg_cv_openssl_LIBS" 45923fi 45924 45925fi 45926 45927 if test "x$ac_cv_libcrypto" != xyes; then : 45928 for ac_header in openssl/opensslv.h 45929do : 45930 ac_fn_c_check_header_mongrel "$LINENO" "openssl/opensslv.h" "ac_cv_header_openssl_opensslv_h" "$ac_includes_default" 45931if test "x$ac_cv_header_openssl_opensslv_h" = xyes; then : 45932 cat >>confdefs.h <<_ACEOF 45933#define HAVE_OPENSSL_OPENSSLV_H 1 45934_ACEOF 45935 45936fi 45937 45938done 45939 45940 45941 for ac_header in openssl/evp.h 45942do : 45943 ac_fn_c_check_header_mongrel "$LINENO" "openssl/evp.h" "ac_cv_header_openssl_evp_h" "$ac_includes_default" 45944if test "x$ac_cv_header_openssl_evp_h" = xyes; then : 45945 cat >>confdefs.h <<_ACEOF 45946#define HAVE_OPENSSL_EVP_H 1 45947_ACEOF 45948 45949fi 45950 45951done 45952 45953 45954 if test "x$ac_cv_header_openssl_evp_h" = xno; then : 45955 ac_cv_libcrypto=no 45956 ac_cv_libcrypto_evp=no 45957else 45958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if openssl/evp.h can be used in combination with zlib.h" >&5 45959$as_echo_n "checking if openssl/evp.h can be used in combination with zlib.h... " >&6; } 45960if ${ac_cv_openssl_evp_zlib_compatible+:} false; then : 45961 $as_echo_n "(cached) " >&6 45962else 45963 ac_ext=c 45964ac_cpp='$CPP $CPPFLAGS' 45965ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 45966ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 45967ac_compiler_gnu=$ac_cv_c_compiler_gnu 45968 45969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45970/* end confdefs.h. */ 45971#include <zlib.h> 45972#include <openssl/evp.h> 45973int 45974main () 45975{ 45976 45977 ; 45978 return 0; 45979} 45980_ACEOF 45981if ac_fn_c_try_link "$LINENO"; then : 45982 ac_cv_openssl_evp_zlib_compatible=yes 45983else 45984 ac_cv_openssl_evp_zlib_compatible=no 45985fi 45986rm -f core conftest.err conftest.$ac_objext \ 45987 conftest$ac_exeext conftest.$ac_ext 45988 ac_ext=c 45989ac_cpp='$CPP $CPPFLAGS' 45990ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 45991ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 45992ac_compiler_gnu=$ac_cv_c_compiler_gnu 45993 45994fi 45995{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_openssl_evp_zlib_compatible" >&5 45996$as_echo "$ac_cv_openssl_evp_zlib_compatible" >&6; } 45997 45998 45999 if test "x$ac_cv_openssl_evp_zlib_compatible" = xyes; then : 46000 ac_cv_libcrypto=yes 46001 ac_cv_libcrypto_evp=yes 46002else 46003 ac_cv_libcrypto=no 46004 ac_cv_libcrypto_evp=no 46005fi 46006 46007fi 46008 46009 46010 if test "x$ac_cv_libcrypto_evp" != xyes && test "$ac_cv_header_openssl_opensslv" = xyes; then : 46011 ac_cv_libcrypto=yes 46012fi 46013 46014fi 46015 46016 if test "x$ac_cv_libcrypto" = xyes && test "x$ac_cv_libcrypto_evp" = xyes; then : 46017 46018$as_echo "#define HAVE_OPENSSL_EVP_H 1" >>confdefs.h 46019 46020 HAVE_OPENSSL_EVP_H=1 46021 46022else 46023 HAVE_OPENSSL_EVP_H=0 46024 46025 46026fi 46027 46028 if test "x$ac_cv_libcrypto" != xno; then : 46029 46030$as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h 46031 46032 46033 ac_cv_libcrypto_LIBADD="-lcrypto" 46034 46035 case $host in #( 46036 *cygwin*) : 46037 ac_cv_libcrypto_LIBADD="-lcrypto -lz" ;; #( 46038 *) : 46039 ;; 46040esac 46041 46042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 46043$as_echo_n "checking for dlopen in -ldl... " >&6; } 46044if ${ac_cv_lib_dl_dlopen+:} false; then : 46045 $as_echo_n "(cached) " >&6 46046else 46047 ac_check_lib_save_LIBS=$LIBS 46048LIBS="-ldl $LIBS" 46049cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46050/* end confdefs.h. */ 46051 46052/* Override any GCC internal prototype to avoid an error. 46053 Use char because int might match the return type of a GCC 46054 builtin and then its argument prototype would still apply. */ 46055#ifdef __cplusplus 46056extern "C" 46057#endif 46058char dlopen (); 46059int 46060main () 46061{ 46062return dlopen (); 46063 ; 46064 return 0; 46065} 46066_ACEOF 46067if ac_fn_c_try_link "$LINENO"; then : 46068 ac_cv_lib_dl_dlopen=yes 46069else 46070 ac_cv_lib_dl_dlopen=no 46071fi 46072rm -f core conftest.err conftest.$ac_objext \ 46073 conftest$ac_exeext conftest.$ac_ext 46074LIBS=$ac_check_lib_save_LIBS 46075fi 46076{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 46077$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 46078if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 46079 LIBDL_LIBADD="-ldl" 46080 46081fi 46082 46083 46084fi 46085 46086fi 46087 46088fi 46089 46090 if test "x$ac_cv_libcrypto_CPPFLAGS" != "x"; then : 46091 LIBCRYPTO_CPPFLAGS=$ac_cv_libcrypto_CPPFLAGS 46092 46093 46094fi 46095 if test "x$ac_cv_libcrypto_LIBADD" != "x"; then : 46096 LIBCRYPTO_LIBADD=$ac_cv_libcrypto_LIBADD 46097 46098 46099fi 46100 46101 if test "x$ac_cv_libcrypto" != xno; then : 46102 ax_libcrypto_pc_libs_private=-lcrypto 46103 46104 46105fi 46106 46107 if test "x$ac_cv_libcrypto" != xno; then : 46108 ax_libcrypto_spec_requires=openssl 46109 46110 ax_libcrypto_spec_build_requires=openssl-devel 46111 46112 46113fi 46114 46115 46116 if test "x$ac_cv_libcrypto" != xno; then : 46117 if test "x$ac_cv_libcrypto_evp" = xyes && test "x$ac_cv_enable_openssl_evp_cipher" != xno && test "x$ac_cv_libcrypto_evp_cipher" != xyes; then : 46118 ac_cv_libcrypto_evp_cipher=yes 46119 46120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_new in -lcrypto" >&5 46121$as_echo_n "checking for EVP_CIPHER_CTX_new in -lcrypto... " >&6; } 46122if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_new+:} false; then : 46123 $as_echo_n "(cached) " >&6 46124else 46125 ac_check_lib_save_LIBS=$LIBS 46126LIBS="-lcrypto $LIBS" 46127cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46128/* end confdefs.h. */ 46129 46130/* Override any GCC internal prototype to avoid an error. 46131 Use char because int might match the return type of a GCC 46132 builtin and then its argument prototype would still apply. */ 46133#ifdef __cplusplus 46134extern "C" 46135#endif 46136char EVP_CIPHER_CTX_new (); 46137int 46138main () 46139{ 46140return EVP_CIPHER_CTX_new (); 46141 ; 46142 return 0; 46143} 46144_ACEOF 46145if ac_fn_c_try_link "$LINENO"; then : 46146 ac_cv_lib_crypto_EVP_CIPHER_CTX_new=yes 46147else 46148 ac_cv_lib_crypto_EVP_CIPHER_CTX_new=no 46149fi 46150rm -f core conftest.err conftest.$ac_objext \ 46151 conftest$ac_exeext conftest.$ac_ext 46152LIBS=$ac_check_lib_save_LIBS 46153fi 46154{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_new" >&5 46155$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_new" >&6; } 46156if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_new" = xyes; then : 46157 ac_cv_libcrypto_dummy=yes 46158else 46159 ac_cv_libcrypto_dummy=no 46160fi 46161 46162 46163 if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_new" = xyes; then : 46164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_free in -lcrypto" >&5 46165$as_echo_n "checking for EVP_CIPHER_CTX_free in -lcrypto... " >&6; } 46166if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_free+:} false; then : 46167 $as_echo_n "(cached) " >&6 46168else 46169 ac_check_lib_save_LIBS=$LIBS 46170LIBS="-lcrypto $LIBS" 46171cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46172/* end confdefs.h. */ 46173 46174/* Override any GCC internal prototype to avoid an error. 46175 Use char because int might match the return type of a GCC 46176 builtin and then its argument prototype would still apply. */ 46177#ifdef __cplusplus 46178extern "C" 46179#endif 46180char EVP_CIPHER_CTX_free (); 46181int 46182main () 46183{ 46184return EVP_CIPHER_CTX_free (); 46185 ; 46186 return 0; 46187} 46188_ACEOF 46189if ac_fn_c_try_link "$LINENO"; then : 46190 ac_cv_lib_crypto_EVP_CIPHER_CTX_free=yes 46191else 46192 ac_cv_lib_crypto_EVP_CIPHER_CTX_free=no 46193fi 46194rm -f core conftest.err conftest.$ac_objext \ 46195 conftest$ac_exeext conftest.$ac_ext 46196LIBS=$ac_check_lib_save_LIBS 46197fi 46198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_free" >&5 46199$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_free" >&6; } 46200if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_free" = xyes; then : 46201 ac_cv_libcrypto_dummy=yes 46202else 46203 ac_cv_libcrypto_evp_cipher=no 46204fi 46205 46206 46207else 46208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_init in -lcrypto" >&5 46209$as_echo_n "checking for EVP_CIPHER_CTX_init in -lcrypto... " >&6; } 46210if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_init+:} false; then : 46211 $as_echo_n "(cached) " >&6 46212else 46213 ac_check_lib_save_LIBS=$LIBS 46214LIBS="-lcrypto $LIBS" 46215cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46216/* end confdefs.h. */ 46217 46218/* Override any GCC internal prototype to avoid an error. 46219 Use char because int might match the return type of a GCC 46220 builtin and then its argument prototype would still apply. */ 46221#ifdef __cplusplus 46222extern "C" 46223#endif 46224char EVP_CIPHER_CTX_init (); 46225int 46226main () 46227{ 46228return EVP_CIPHER_CTX_init (); 46229 ; 46230 return 0; 46231} 46232_ACEOF 46233if ac_fn_c_try_link "$LINENO"; then : 46234 ac_cv_lib_crypto_EVP_CIPHER_CTX_init=yes 46235else 46236 ac_cv_lib_crypto_EVP_CIPHER_CTX_init=no 46237fi 46238rm -f core conftest.err conftest.$ac_objext \ 46239 conftest$ac_exeext conftest.$ac_ext 46240LIBS=$ac_check_lib_save_LIBS 46241fi 46242{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_init" >&5 46243$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_init" >&6; } 46244if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_init" = xyes; then : 46245 ac_cv_libcrypto_dummy=yes 46246else 46247 ac_cv_libcrypto_evp_cipher=no 46248fi 46249 46250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_cleanup in -lcrypto" >&5 46251$as_echo_n "checking for EVP_CIPHER_CTX_cleanup in -lcrypto... " >&6; } 46252if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup+:} false; then : 46253 $as_echo_n "(cached) " >&6 46254else 46255 ac_check_lib_save_LIBS=$LIBS 46256LIBS="-lcrypto $LIBS" 46257cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46258/* end confdefs.h. */ 46259 46260/* Override any GCC internal prototype to avoid an error. 46261 Use char because int might match the return type of a GCC 46262 builtin and then its argument prototype would still apply. */ 46263#ifdef __cplusplus 46264extern "C" 46265#endif 46266char EVP_CIPHER_CTX_cleanup (); 46267int 46268main () 46269{ 46270return EVP_CIPHER_CTX_cleanup (); 46271 ; 46272 return 0; 46273} 46274_ACEOF 46275if ac_fn_c_try_link "$LINENO"; then : 46276 ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup=yes 46277else 46278 ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup=no 46279fi 46280rm -f core conftest.err conftest.$ac_objext \ 46281 conftest$ac_exeext conftest.$ac_ext 46282LIBS=$ac_check_lib_save_LIBS 46283fi 46284{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" >&5 46285$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" >&6; } 46286if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" = xyes; then : 46287 ac_cv_libcrypto_dummy=yes 46288else 46289 ac_cv_libcrypto_evp_cipher=no 46290fi 46291 46292 46293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_remove_thread_state in -lcrypto" >&5 46294$as_echo_n "checking for ERR_remove_thread_state in -lcrypto... " >&6; } 46295if ${ac_cv_lib_crypto_ERR_remove_thread_state+:} false; then : 46296 $as_echo_n "(cached) " >&6 46297else 46298 ac_check_lib_save_LIBS=$LIBS 46299LIBS="-lcrypto $LIBS" 46300cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46301/* end confdefs.h. */ 46302 46303/* Override any GCC internal prototype to avoid an error. 46304 Use char because int might match the return type of a GCC 46305 builtin and then its argument prototype would still apply. */ 46306#ifdef __cplusplus 46307extern "C" 46308#endif 46309char ERR_remove_thread_state (); 46310int 46311main () 46312{ 46313return ERR_remove_thread_state (); 46314 ; 46315 return 0; 46316} 46317_ACEOF 46318if ac_fn_c_try_link "$LINENO"; then : 46319 ac_cv_lib_crypto_ERR_remove_thread_state=yes 46320else 46321 ac_cv_lib_crypto_ERR_remove_thread_state=no 46322fi 46323rm -f core conftest.err conftest.$ac_objext \ 46324 conftest$ac_exeext conftest.$ac_ext 46325LIBS=$ac_check_lib_save_LIBS 46326fi 46327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_remove_thread_state" >&5 46328$as_echo "$ac_cv_lib_crypto_ERR_remove_thread_state" >&6; } 46329if test "x$ac_cv_lib_crypto_ERR_remove_thread_state" = xyes; then : 46330 ac_cv_libcrypto_dummy=yes 46331else 46332 ac_cv_libcrypto_evp_cipher=no 46333fi 46334 46335 46336fi 46337 46338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_set_padding in -lcrypto" >&5 46339$as_echo_n "checking for EVP_CIPHER_CTX_set_padding in -lcrypto... " >&6; } 46340if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding+:} false; then : 46341 $as_echo_n "(cached) " >&6 46342else 46343 ac_check_lib_save_LIBS=$LIBS 46344LIBS="-lcrypto $LIBS" 46345cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46346/* end confdefs.h. */ 46347 46348/* Override any GCC internal prototype to avoid an error. 46349 Use char because int might match the return type of a GCC 46350 builtin and then its argument prototype would still apply. */ 46351#ifdef __cplusplus 46352extern "C" 46353#endif 46354char EVP_CIPHER_CTX_set_padding (); 46355int 46356main () 46357{ 46358return EVP_CIPHER_CTX_set_padding (); 46359 ; 46360 return 0; 46361} 46362_ACEOF 46363if ac_fn_c_try_link "$LINENO"; then : 46364 ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding=yes 46365else 46366 ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding=no 46367fi 46368rm -f core conftest.err conftest.$ac_objext \ 46369 conftest$ac_exeext conftest.$ac_ext 46370LIBS=$ac_check_lib_save_LIBS 46371fi 46372{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" >&5 46373$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" >&6; } 46374if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" = xyes; then : 46375 ac_cv_libcrypto_dummy=yes 46376else 46377 ac_cv_libcrypto_evp_cipher=no 46378fi 46379 46380 46381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CipherInit_ex in -lcrypto" >&5 46382$as_echo_n "checking for EVP_CipherInit_ex in -lcrypto... " >&6; } 46383if ${ac_cv_lib_crypto_EVP_CipherInit_ex+:} false; then : 46384 $as_echo_n "(cached) " >&6 46385else 46386 ac_check_lib_save_LIBS=$LIBS 46387LIBS="-lcrypto $LIBS" 46388cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46389/* end confdefs.h. */ 46390 46391/* Override any GCC internal prototype to avoid an error. 46392 Use char because int might match the return type of a GCC 46393 builtin and then its argument prototype would still apply. */ 46394#ifdef __cplusplus 46395extern "C" 46396#endif 46397char EVP_CipherInit_ex (); 46398int 46399main () 46400{ 46401return EVP_CipherInit_ex (); 46402 ; 46403 return 0; 46404} 46405_ACEOF 46406if ac_fn_c_try_link "$LINENO"; then : 46407 ac_cv_lib_crypto_EVP_CipherInit_ex=yes 46408else 46409 ac_cv_lib_crypto_EVP_CipherInit_ex=no 46410fi 46411rm -f core conftest.err conftest.$ac_objext \ 46412 conftest$ac_exeext conftest.$ac_ext 46413LIBS=$ac_check_lib_save_LIBS 46414fi 46415{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CipherInit_ex" >&5 46416$as_echo "$ac_cv_lib_crypto_EVP_CipherInit_ex" >&6; } 46417if test "x$ac_cv_lib_crypto_EVP_CipherInit_ex" = xyes; then : 46418 ac_cv_libcrypto_dummy=yes 46419else 46420 ac_cv_libcrypto_evp_cipher=no 46421fi 46422 46423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CipherUpdate in -lcrypto" >&5 46424$as_echo_n "checking for EVP_CipherUpdate in -lcrypto... " >&6; } 46425if ${ac_cv_lib_crypto_EVP_CipherUpdate+:} false; then : 46426 $as_echo_n "(cached) " >&6 46427else 46428 ac_check_lib_save_LIBS=$LIBS 46429LIBS="-lcrypto $LIBS" 46430cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46431/* end confdefs.h. */ 46432 46433/* Override any GCC internal prototype to avoid an error. 46434 Use char because int might match the return type of a GCC 46435 builtin and then its argument prototype would still apply. */ 46436#ifdef __cplusplus 46437extern "C" 46438#endif 46439char EVP_CipherUpdate (); 46440int 46441main () 46442{ 46443return EVP_CipherUpdate (); 46444 ; 46445 return 0; 46446} 46447_ACEOF 46448if ac_fn_c_try_link "$LINENO"; then : 46449 ac_cv_lib_crypto_EVP_CipherUpdate=yes 46450else 46451 ac_cv_lib_crypto_EVP_CipherUpdate=no 46452fi 46453rm -f core conftest.err conftest.$ac_objext \ 46454 conftest$ac_exeext conftest.$ac_ext 46455LIBS=$ac_check_lib_save_LIBS 46456fi 46457{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CipherUpdate" >&5 46458$as_echo "$ac_cv_lib_crypto_EVP_CipherUpdate" >&6; } 46459if test "x$ac_cv_lib_crypto_EVP_CipherUpdate" = xyes; then : 46460 ac_cv_libcrypto_dummy=yes 46461else 46462 ac_cv_libcrypto_evp_cipher=no 46463fi 46464 46465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CipherFinal_ex in -lcrypto" >&5 46466$as_echo_n "checking for EVP_CipherFinal_ex in -lcrypto... " >&6; } 46467if ${ac_cv_lib_crypto_EVP_CipherFinal_ex+:} false; then : 46468 $as_echo_n "(cached) " >&6 46469else 46470 ac_check_lib_save_LIBS=$LIBS 46471LIBS="-lcrypto $LIBS" 46472cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46473/* end confdefs.h. */ 46474 46475/* Override any GCC internal prototype to avoid an error. 46476 Use char because int might match the return type of a GCC 46477 builtin and then its argument prototype would still apply. */ 46478#ifdef __cplusplus 46479extern "C" 46480#endif 46481char EVP_CipherFinal_ex (); 46482int 46483main () 46484{ 46485return EVP_CipherFinal_ex (); 46486 ; 46487 return 0; 46488} 46489_ACEOF 46490if ac_fn_c_try_link "$LINENO"; then : 46491 ac_cv_lib_crypto_EVP_CipherFinal_ex=yes 46492else 46493 ac_cv_lib_crypto_EVP_CipherFinal_ex=no 46494fi 46495rm -f core conftest.err conftest.$ac_objext \ 46496 conftest$ac_exeext conftest.$ac_ext 46497LIBS=$ac_check_lib_save_LIBS 46498fi 46499{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CipherFinal_ex" >&5 46500$as_echo "$ac_cv_lib_crypto_EVP_CipherFinal_ex" >&6; } 46501if test "x$ac_cv_lib_crypto_EVP_CipherFinal_ex" = xyes; then : 46502 ac_cv_libcrypto_dummy=yes 46503else 46504 ac_cv_libcrypto_evp_cipher=no 46505fi 46506 46507 46508 if test "x$ac_cv_enable_openssl_evp_cipher" = xyes && "x$ac_cv_libcrypto_evp_cipher" = xno; then : 46509 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 46510$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 46511as_fn_error 1 "Missing OpenSSL EVP CIPHER support 46512See \`config.log' for more details" "$LINENO" 5; } 46513 46514fi 46515 46516 if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_init" = xyes; then : 46517 46518$as_echo "#define HAVE_EVP_CIPHER_CTX_INIT 1" >>confdefs.h 46519 46520 46521fi 46522 46523 if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" = xyes; then : 46524 46525$as_echo "#define HAVE_EVP_CIPHER_CTX_CLEANUP 1" >>confdefs.h 46526 46527 46528fi 46529 46530fi 46531 46532 if test "x$ac_cv_libcrypto_evp_cipher" != xyes; then : 46533 ac_cv_libcrypto_aes_cbc=no 46534else 46535 ac_cv_libcrypto_aes_cbc=libcrypto_evp 46536 46537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_aes_128_cbc in -lcrypto" >&5 46538$as_echo_n "checking for EVP_aes_128_cbc in -lcrypto... " >&6; } 46539if ${ac_cv_lib_crypto_EVP_aes_128_cbc+:} false; then : 46540 $as_echo_n "(cached) " >&6 46541else 46542 ac_check_lib_save_LIBS=$LIBS 46543LIBS="-lcrypto $LIBS" 46544cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46545/* end confdefs.h. */ 46546 46547/* Override any GCC internal prototype to avoid an error. 46548 Use char because int might match the return type of a GCC 46549 builtin and then its argument prototype would still apply. */ 46550#ifdef __cplusplus 46551extern "C" 46552#endif 46553char EVP_aes_128_cbc (); 46554int 46555main () 46556{ 46557return EVP_aes_128_cbc (); 46558 ; 46559 return 0; 46560} 46561_ACEOF 46562if ac_fn_c_try_link "$LINENO"; then : 46563 ac_cv_lib_crypto_EVP_aes_128_cbc=yes 46564else 46565 ac_cv_lib_crypto_EVP_aes_128_cbc=no 46566fi 46567rm -f core conftest.err conftest.$ac_objext \ 46568 conftest$ac_exeext conftest.$ac_ext 46569LIBS=$ac_check_lib_save_LIBS 46570fi 46571{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_aes_128_cbc" >&5 46572$as_echo "$ac_cv_lib_crypto_EVP_aes_128_cbc" >&6; } 46573if test "x$ac_cv_lib_crypto_EVP_aes_128_cbc" = xyes; then : 46574 ac_cv_libcrypto_dummy=yes 46575else 46576 ac_cv_libcrypto_aes_cbc=no 46577fi 46578 46579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_aes_192_cbc in -lcrypto" >&5 46580$as_echo_n "checking for EVP_aes_192_cbc in -lcrypto... " >&6; } 46581if ${ac_cv_lib_crypto_EVP_aes_192_cbc+:} false; then : 46582 $as_echo_n "(cached) " >&6 46583else 46584 ac_check_lib_save_LIBS=$LIBS 46585LIBS="-lcrypto $LIBS" 46586cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46587/* end confdefs.h. */ 46588 46589/* Override any GCC internal prototype to avoid an error. 46590 Use char because int might match the return type of a GCC 46591 builtin and then its argument prototype would still apply. */ 46592#ifdef __cplusplus 46593extern "C" 46594#endif 46595char EVP_aes_192_cbc (); 46596int 46597main () 46598{ 46599return EVP_aes_192_cbc (); 46600 ; 46601 return 0; 46602} 46603_ACEOF 46604if ac_fn_c_try_link "$LINENO"; then : 46605 ac_cv_lib_crypto_EVP_aes_192_cbc=yes 46606else 46607 ac_cv_lib_crypto_EVP_aes_192_cbc=no 46608fi 46609rm -f core conftest.err conftest.$ac_objext \ 46610 conftest$ac_exeext conftest.$ac_ext 46611LIBS=$ac_check_lib_save_LIBS 46612fi 46613{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_aes_192_cbc" >&5 46614$as_echo "$ac_cv_lib_crypto_EVP_aes_192_cbc" >&6; } 46615if test "x$ac_cv_lib_crypto_EVP_aes_192_cbc" = xyes; then : 46616 ac_cv_libcrypto_dummy=yes 46617else 46618 ac_cv_libcrypto_aes_cbc=no 46619fi 46620 46621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_aes_256_cbc in -lcrypto" >&5 46622$as_echo_n "checking for EVP_aes_256_cbc in -lcrypto... " >&6; } 46623if ${ac_cv_lib_crypto_EVP_aes_256_cbc+:} false; then : 46624 $as_echo_n "(cached) " >&6 46625else 46626 ac_check_lib_save_LIBS=$LIBS 46627LIBS="-lcrypto $LIBS" 46628cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46629/* end confdefs.h. */ 46630 46631/* Override any GCC internal prototype to avoid an error. 46632 Use char because int might match the return type of a GCC 46633 builtin and then its argument prototype would still apply. */ 46634#ifdef __cplusplus 46635extern "C" 46636#endif 46637char EVP_aes_256_cbc (); 46638int 46639main () 46640{ 46641return EVP_aes_256_cbc (); 46642 ; 46643 return 0; 46644} 46645_ACEOF 46646if ac_fn_c_try_link "$LINENO"; then : 46647 ac_cv_lib_crypto_EVP_aes_256_cbc=yes 46648else 46649 ac_cv_lib_crypto_EVP_aes_256_cbc=no 46650fi 46651rm -f core conftest.err conftest.$ac_objext \ 46652 conftest$ac_exeext conftest.$ac_ext 46653LIBS=$ac_check_lib_save_LIBS 46654fi 46655{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_aes_256_cbc" >&5 46656$as_echo "$ac_cv_lib_crypto_EVP_aes_256_cbc" >&6; } 46657if test "x$ac_cv_lib_crypto_EVP_aes_256_cbc" = xyes; then : 46658 ac_cv_libcrypto_dummy=yes 46659else 46660 ac_cv_libcrypto_aes_cbc=no 46661fi 46662 46663 46664 if test "x$ac_cv_lib_crypto_EVP_aes_128_cbc" = xyes && test "x$ac_cv_lib_crypto_EVP_aes_192_cbc" = xyes && test "x$ac_cv_lib_crypto_EVP_aes_256_cbc" = xyes; then : 46665 46666$as_echo "#define HAVE_EVP_CRYPTO_AES_CBC 1" >>confdefs.h 46667 46668 46669fi 46670 46671fi 46672 46673 if test "x$ac_cv_libcrypto_evp" = xyes && test "x$ac_cv_enable_openssl_evp_cipher" != xno && test "x$ac_cv_libcrypto_evp_cipher" != xyes; then : 46674 ac_cv_libcrypto_evp_cipher=yes 46675 46676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_new in -lcrypto" >&5 46677$as_echo_n "checking for EVP_CIPHER_CTX_new in -lcrypto... " >&6; } 46678if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_new+:} false; then : 46679 $as_echo_n "(cached) " >&6 46680else 46681 ac_check_lib_save_LIBS=$LIBS 46682LIBS="-lcrypto $LIBS" 46683cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46684/* end confdefs.h. */ 46685 46686/* Override any GCC internal prototype to avoid an error. 46687 Use char because int might match the return type of a GCC 46688 builtin and then its argument prototype would still apply. */ 46689#ifdef __cplusplus 46690extern "C" 46691#endif 46692char EVP_CIPHER_CTX_new (); 46693int 46694main () 46695{ 46696return EVP_CIPHER_CTX_new (); 46697 ; 46698 return 0; 46699} 46700_ACEOF 46701if ac_fn_c_try_link "$LINENO"; then : 46702 ac_cv_lib_crypto_EVP_CIPHER_CTX_new=yes 46703else 46704 ac_cv_lib_crypto_EVP_CIPHER_CTX_new=no 46705fi 46706rm -f core conftest.err conftest.$ac_objext \ 46707 conftest$ac_exeext conftest.$ac_ext 46708LIBS=$ac_check_lib_save_LIBS 46709fi 46710{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_new" >&5 46711$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_new" >&6; } 46712if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_new" = xyes; then : 46713 ac_cv_libcrypto_dummy=yes 46714else 46715 ac_cv_libcrypto_dummy=no 46716fi 46717 46718 46719 if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_new" = xyes; then : 46720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_free in -lcrypto" >&5 46721$as_echo_n "checking for EVP_CIPHER_CTX_free in -lcrypto... " >&6; } 46722if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_free+:} false; then : 46723 $as_echo_n "(cached) " >&6 46724else 46725 ac_check_lib_save_LIBS=$LIBS 46726LIBS="-lcrypto $LIBS" 46727cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46728/* end confdefs.h. */ 46729 46730/* Override any GCC internal prototype to avoid an error. 46731 Use char because int might match the return type of a GCC 46732 builtin and then its argument prototype would still apply. */ 46733#ifdef __cplusplus 46734extern "C" 46735#endif 46736char EVP_CIPHER_CTX_free (); 46737int 46738main () 46739{ 46740return EVP_CIPHER_CTX_free (); 46741 ; 46742 return 0; 46743} 46744_ACEOF 46745if ac_fn_c_try_link "$LINENO"; then : 46746 ac_cv_lib_crypto_EVP_CIPHER_CTX_free=yes 46747else 46748 ac_cv_lib_crypto_EVP_CIPHER_CTX_free=no 46749fi 46750rm -f core conftest.err conftest.$ac_objext \ 46751 conftest$ac_exeext conftest.$ac_ext 46752LIBS=$ac_check_lib_save_LIBS 46753fi 46754{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_free" >&5 46755$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_free" >&6; } 46756if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_free" = xyes; then : 46757 ac_cv_libcrypto_dummy=yes 46758else 46759 ac_cv_libcrypto_evp_cipher=no 46760fi 46761 46762 46763else 46764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_init in -lcrypto" >&5 46765$as_echo_n "checking for EVP_CIPHER_CTX_init in -lcrypto... " >&6; } 46766if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_init+:} false; then : 46767 $as_echo_n "(cached) " >&6 46768else 46769 ac_check_lib_save_LIBS=$LIBS 46770LIBS="-lcrypto $LIBS" 46771cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46772/* end confdefs.h. */ 46773 46774/* Override any GCC internal prototype to avoid an error. 46775 Use char because int might match the return type of a GCC 46776 builtin and then its argument prototype would still apply. */ 46777#ifdef __cplusplus 46778extern "C" 46779#endif 46780char EVP_CIPHER_CTX_init (); 46781int 46782main () 46783{ 46784return EVP_CIPHER_CTX_init (); 46785 ; 46786 return 0; 46787} 46788_ACEOF 46789if ac_fn_c_try_link "$LINENO"; then : 46790 ac_cv_lib_crypto_EVP_CIPHER_CTX_init=yes 46791else 46792 ac_cv_lib_crypto_EVP_CIPHER_CTX_init=no 46793fi 46794rm -f core conftest.err conftest.$ac_objext \ 46795 conftest$ac_exeext conftest.$ac_ext 46796LIBS=$ac_check_lib_save_LIBS 46797fi 46798{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_init" >&5 46799$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_init" >&6; } 46800if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_init" = xyes; then : 46801 ac_cv_libcrypto_dummy=yes 46802else 46803 ac_cv_libcrypto_evp_cipher=no 46804fi 46805 46806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_cleanup in -lcrypto" >&5 46807$as_echo_n "checking for EVP_CIPHER_CTX_cleanup in -lcrypto... " >&6; } 46808if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup+:} false; then : 46809 $as_echo_n "(cached) " >&6 46810else 46811 ac_check_lib_save_LIBS=$LIBS 46812LIBS="-lcrypto $LIBS" 46813cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46814/* end confdefs.h. */ 46815 46816/* Override any GCC internal prototype to avoid an error. 46817 Use char because int might match the return type of a GCC 46818 builtin and then its argument prototype would still apply. */ 46819#ifdef __cplusplus 46820extern "C" 46821#endif 46822char EVP_CIPHER_CTX_cleanup (); 46823int 46824main () 46825{ 46826return EVP_CIPHER_CTX_cleanup (); 46827 ; 46828 return 0; 46829} 46830_ACEOF 46831if ac_fn_c_try_link "$LINENO"; then : 46832 ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup=yes 46833else 46834 ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup=no 46835fi 46836rm -f core conftest.err conftest.$ac_objext \ 46837 conftest$ac_exeext conftest.$ac_ext 46838LIBS=$ac_check_lib_save_LIBS 46839fi 46840{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" >&5 46841$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" >&6; } 46842if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" = xyes; then : 46843 ac_cv_libcrypto_dummy=yes 46844else 46845 ac_cv_libcrypto_evp_cipher=no 46846fi 46847 46848 46849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_remove_thread_state in -lcrypto" >&5 46850$as_echo_n "checking for ERR_remove_thread_state in -lcrypto... " >&6; } 46851if ${ac_cv_lib_crypto_ERR_remove_thread_state+:} false; then : 46852 $as_echo_n "(cached) " >&6 46853else 46854 ac_check_lib_save_LIBS=$LIBS 46855LIBS="-lcrypto $LIBS" 46856cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46857/* end confdefs.h. */ 46858 46859/* Override any GCC internal prototype to avoid an error. 46860 Use char because int might match the return type of a GCC 46861 builtin and then its argument prototype would still apply. */ 46862#ifdef __cplusplus 46863extern "C" 46864#endif 46865char ERR_remove_thread_state (); 46866int 46867main () 46868{ 46869return ERR_remove_thread_state (); 46870 ; 46871 return 0; 46872} 46873_ACEOF 46874if ac_fn_c_try_link "$LINENO"; then : 46875 ac_cv_lib_crypto_ERR_remove_thread_state=yes 46876else 46877 ac_cv_lib_crypto_ERR_remove_thread_state=no 46878fi 46879rm -f core conftest.err conftest.$ac_objext \ 46880 conftest$ac_exeext conftest.$ac_ext 46881LIBS=$ac_check_lib_save_LIBS 46882fi 46883{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_remove_thread_state" >&5 46884$as_echo "$ac_cv_lib_crypto_ERR_remove_thread_state" >&6; } 46885if test "x$ac_cv_lib_crypto_ERR_remove_thread_state" = xyes; then : 46886 ac_cv_libcrypto_dummy=yes 46887else 46888 ac_cv_libcrypto_evp_cipher=no 46889fi 46890 46891 46892fi 46893 46894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_set_padding in -lcrypto" >&5 46895$as_echo_n "checking for EVP_CIPHER_CTX_set_padding in -lcrypto... " >&6; } 46896if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding+:} false; then : 46897 $as_echo_n "(cached) " >&6 46898else 46899 ac_check_lib_save_LIBS=$LIBS 46900LIBS="-lcrypto $LIBS" 46901cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46902/* end confdefs.h. */ 46903 46904/* Override any GCC internal prototype to avoid an error. 46905 Use char because int might match the return type of a GCC 46906 builtin and then its argument prototype would still apply. */ 46907#ifdef __cplusplus 46908extern "C" 46909#endif 46910char EVP_CIPHER_CTX_set_padding (); 46911int 46912main () 46913{ 46914return EVP_CIPHER_CTX_set_padding (); 46915 ; 46916 return 0; 46917} 46918_ACEOF 46919if ac_fn_c_try_link "$LINENO"; then : 46920 ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding=yes 46921else 46922 ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding=no 46923fi 46924rm -f core conftest.err conftest.$ac_objext \ 46925 conftest$ac_exeext conftest.$ac_ext 46926LIBS=$ac_check_lib_save_LIBS 46927fi 46928{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" >&5 46929$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" >&6; } 46930if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" = xyes; then : 46931 ac_cv_libcrypto_dummy=yes 46932else 46933 ac_cv_libcrypto_evp_cipher=no 46934fi 46935 46936 46937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CipherInit_ex in -lcrypto" >&5 46938$as_echo_n "checking for EVP_CipherInit_ex in -lcrypto... " >&6; } 46939if ${ac_cv_lib_crypto_EVP_CipherInit_ex+:} false; then : 46940 $as_echo_n "(cached) " >&6 46941else 46942 ac_check_lib_save_LIBS=$LIBS 46943LIBS="-lcrypto $LIBS" 46944cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46945/* end confdefs.h. */ 46946 46947/* Override any GCC internal prototype to avoid an error. 46948 Use char because int might match the return type of a GCC 46949 builtin and then its argument prototype would still apply. */ 46950#ifdef __cplusplus 46951extern "C" 46952#endif 46953char EVP_CipherInit_ex (); 46954int 46955main () 46956{ 46957return EVP_CipherInit_ex (); 46958 ; 46959 return 0; 46960} 46961_ACEOF 46962if ac_fn_c_try_link "$LINENO"; then : 46963 ac_cv_lib_crypto_EVP_CipherInit_ex=yes 46964else 46965 ac_cv_lib_crypto_EVP_CipherInit_ex=no 46966fi 46967rm -f core conftest.err conftest.$ac_objext \ 46968 conftest$ac_exeext conftest.$ac_ext 46969LIBS=$ac_check_lib_save_LIBS 46970fi 46971{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CipherInit_ex" >&5 46972$as_echo "$ac_cv_lib_crypto_EVP_CipherInit_ex" >&6; } 46973if test "x$ac_cv_lib_crypto_EVP_CipherInit_ex" = xyes; then : 46974 ac_cv_libcrypto_dummy=yes 46975else 46976 ac_cv_libcrypto_evp_cipher=no 46977fi 46978 46979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CipherUpdate in -lcrypto" >&5 46980$as_echo_n "checking for EVP_CipherUpdate in -lcrypto... " >&6; } 46981if ${ac_cv_lib_crypto_EVP_CipherUpdate+:} false; then : 46982 $as_echo_n "(cached) " >&6 46983else 46984 ac_check_lib_save_LIBS=$LIBS 46985LIBS="-lcrypto $LIBS" 46986cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46987/* end confdefs.h. */ 46988 46989/* Override any GCC internal prototype to avoid an error. 46990 Use char because int might match the return type of a GCC 46991 builtin and then its argument prototype would still apply. */ 46992#ifdef __cplusplus 46993extern "C" 46994#endif 46995char EVP_CipherUpdate (); 46996int 46997main () 46998{ 46999return EVP_CipherUpdate (); 47000 ; 47001 return 0; 47002} 47003_ACEOF 47004if ac_fn_c_try_link "$LINENO"; then : 47005 ac_cv_lib_crypto_EVP_CipherUpdate=yes 47006else 47007 ac_cv_lib_crypto_EVP_CipherUpdate=no 47008fi 47009rm -f core conftest.err conftest.$ac_objext \ 47010 conftest$ac_exeext conftest.$ac_ext 47011LIBS=$ac_check_lib_save_LIBS 47012fi 47013{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CipherUpdate" >&5 47014$as_echo "$ac_cv_lib_crypto_EVP_CipherUpdate" >&6; } 47015if test "x$ac_cv_lib_crypto_EVP_CipherUpdate" = xyes; then : 47016 ac_cv_libcrypto_dummy=yes 47017else 47018 ac_cv_libcrypto_evp_cipher=no 47019fi 47020 47021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CipherFinal_ex in -lcrypto" >&5 47022$as_echo_n "checking for EVP_CipherFinal_ex in -lcrypto... " >&6; } 47023if ${ac_cv_lib_crypto_EVP_CipherFinal_ex+:} false; then : 47024 $as_echo_n "(cached) " >&6 47025else 47026 ac_check_lib_save_LIBS=$LIBS 47027LIBS="-lcrypto $LIBS" 47028cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47029/* end confdefs.h. */ 47030 47031/* Override any GCC internal prototype to avoid an error. 47032 Use char because int might match the return type of a GCC 47033 builtin and then its argument prototype would still apply. */ 47034#ifdef __cplusplus 47035extern "C" 47036#endif 47037char EVP_CipherFinal_ex (); 47038int 47039main () 47040{ 47041return EVP_CipherFinal_ex (); 47042 ; 47043 return 0; 47044} 47045_ACEOF 47046if ac_fn_c_try_link "$LINENO"; then : 47047 ac_cv_lib_crypto_EVP_CipherFinal_ex=yes 47048else 47049 ac_cv_lib_crypto_EVP_CipherFinal_ex=no 47050fi 47051rm -f core conftest.err conftest.$ac_objext \ 47052 conftest$ac_exeext conftest.$ac_ext 47053LIBS=$ac_check_lib_save_LIBS 47054fi 47055{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CipherFinal_ex" >&5 47056$as_echo "$ac_cv_lib_crypto_EVP_CipherFinal_ex" >&6; } 47057if test "x$ac_cv_lib_crypto_EVP_CipherFinal_ex" = xyes; then : 47058 ac_cv_libcrypto_dummy=yes 47059else 47060 ac_cv_libcrypto_evp_cipher=no 47061fi 47062 47063 47064 if test "x$ac_cv_enable_openssl_evp_cipher" = xyes && "x$ac_cv_libcrypto_evp_cipher" = xno; then : 47065 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 47066$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 47067as_fn_error 1 "Missing OpenSSL EVP CIPHER support 47068See \`config.log' for more details" "$LINENO" 5; } 47069 47070fi 47071 47072 if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_init" = xyes; then : 47073 47074$as_echo "#define HAVE_EVP_CIPHER_CTX_INIT 1" >>confdefs.h 47075 47076 47077fi 47078 47079 if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" = xyes; then : 47080 47081$as_echo "#define HAVE_EVP_CIPHER_CTX_CLEANUP 1" >>confdefs.h 47082 47083 47084fi 47085 47086fi 47087 47088 if test "x$ac_cv_libcrypto_evp_cipher" != xyes; then : 47089 ac_cv_libcrypto_aes_ecb=no 47090else 47091 ac_cv_libcrypto_aes_ecb=libcrypto_evp 47092 47093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_aes_128_ecb in -lcrypto" >&5 47094$as_echo_n "checking for EVP_aes_128_ecb in -lcrypto... " >&6; } 47095if ${ac_cv_lib_crypto_EVP_aes_128_ecb+:} false; then : 47096 $as_echo_n "(cached) " >&6 47097else 47098 ac_check_lib_save_LIBS=$LIBS 47099LIBS="-lcrypto $LIBS" 47100cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47101/* end confdefs.h. */ 47102 47103/* Override any GCC internal prototype to avoid an error. 47104 Use char because int might match the return type of a GCC 47105 builtin and then its argument prototype would still apply. */ 47106#ifdef __cplusplus 47107extern "C" 47108#endif 47109char EVP_aes_128_ecb (); 47110int 47111main () 47112{ 47113return EVP_aes_128_ecb (); 47114 ; 47115 return 0; 47116} 47117_ACEOF 47118if ac_fn_c_try_link "$LINENO"; then : 47119 ac_cv_lib_crypto_EVP_aes_128_ecb=yes 47120else 47121 ac_cv_lib_crypto_EVP_aes_128_ecb=no 47122fi 47123rm -f core conftest.err conftest.$ac_objext \ 47124 conftest$ac_exeext conftest.$ac_ext 47125LIBS=$ac_check_lib_save_LIBS 47126fi 47127{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_aes_128_ecb" >&5 47128$as_echo "$ac_cv_lib_crypto_EVP_aes_128_ecb" >&6; } 47129if test "x$ac_cv_lib_crypto_EVP_aes_128_ecb" = xyes; then : 47130 ac_cv_libcrypto_dummy=yes 47131else 47132 ac_cv_libcrypto_aes_ecb=no 47133fi 47134 47135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_aes_192_ecb in -lcrypto" >&5 47136$as_echo_n "checking for EVP_aes_192_ecb in -lcrypto... " >&6; } 47137if ${ac_cv_lib_crypto_EVP_aes_192_ecb+:} false; then : 47138 $as_echo_n "(cached) " >&6 47139else 47140 ac_check_lib_save_LIBS=$LIBS 47141LIBS="-lcrypto $LIBS" 47142cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47143/* end confdefs.h. */ 47144 47145/* Override any GCC internal prototype to avoid an error. 47146 Use char because int might match the return type of a GCC 47147 builtin and then its argument prototype would still apply. */ 47148#ifdef __cplusplus 47149extern "C" 47150#endif 47151char EVP_aes_192_ecb (); 47152int 47153main () 47154{ 47155return EVP_aes_192_ecb (); 47156 ; 47157 return 0; 47158} 47159_ACEOF 47160if ac_fn_c_try_link "$LINENO"; then : 47161 ac_cv_lib_crypto_EVP_aes_192_ecb=yes 47162else 47163 ac_cv_lib_crypto_EVP_aes_192_ecb=no 47164fi 47165rm -f core conftest.err conftest.$ac_objext \ 47166 conftest$ac_exeext conftest.$ac_ext 47167LIBS=$ac_check_lib_save_LIBS 47168fi 47169{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_aes_192_ecb" >&5 47170$as_echo "$ac_cv_lib_crypto_EVP_aes_192_ecb" >&6; } 47171if test "x$ac_cv_lib_crypto_EVP_aes_192_ecb" = xyes; then : 47172 ac_cv_libcrypto_dummy=yes 47173else 47174 ac_cv_libcrypto_aes_ecb=no 47175fi 47176 47177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_aes_256_ecb in -lcrypto" >&5 47178$as_echo_n "checking for EVP_aes_256_ecb in -lcrypto... " >&6; } 47179if ${ac_cv_lib_crypto_EVP_aes_256_ecb+:} false; then : 47180 $as_echo_n "(cached) " >&6 47181else 47182 ac_check_lib_save_LIBS=$LIBS 47183LIBS="-lcrypto $LIBS" 47184cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47185/* end confdefs.h. */ 47186 47187/* Override any GCC internal prototype to avoid an error. 47188 Use char because int might match the return type of a GCC 47189 builtin and then its argument prototype would still apply. */ 47190#ifdef __cplusplus 47191extern "C" 47192#endif 47193char EVP_aes_256_ecb (); 47194int 47195main () 47196{ 47197return EVP_aes_256_ecb (); 47198 ; 47199 return 0; 47200} 47201_ACEOF 47202if ac_fn_c_try_link "$LINENO"; then : 47203 ac_cv_lib_crypto_EVP_aes_256_ecb=yes 47204else 47205 ac_cv_lib_crypto_EVP_aes_256_ecb=no 47206fi 47207rm -f core conftest.err conftest.$ac_objext \ 47208 conftest$ac_exeext conftest.$ac_ext 47209LIBS=$ac_check_lib_save_LIBS 47210fi 47211{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_aes_256_ecb" >&5 47212$as_echo "$ac_cv_lib_crypto_EVP_aes_256_ecb" >&6; } 47213if test "x$ac_cv_lib_crypto_EVP_aes_256_ecb" = xyes; then : 47214 ac_cv_libcrypto_dummy=yes 47215else 47216 ac_cv_libcrypto_aes_ecb=no 47217fi 47218 47219 47220 if test "x$ac_cv_lib_crypto_EVP_aes_128_ecb" = xyes && test "x$ac_cv_lib_crypto_EVP_aes_192_ecb" = xyes && test "x$ac_cv_lib_crypto_EVP_aes_256_ecb" = xyes; then : 47221 47222$as_echo "#define HAVE_EVP_CRYPTO_AES_ECB 1" >>confdefs.h 47223 47224 47225fi 47226 47227fi 47228 47229 47230 if test "x$ac_cv_libcrypto_aes_cbc" = xno || test "x$ac_cv_libcrypto_aes_ecb" = xno; then : 47231 ac_cv_libcrypto_aes=no 47232else 47233 ac_cv_libcrypto_aes=libcrypto_evp 47234fi 47235 47236 if test "x$ac_cv_libcrypto_aes_cbc" = xno || test "x$ac_cv_libcrypto_aes_ecb" = xno; then : 47237 for ac_header in openssl/aes.h 47238do : 47239 ac_fn_c_check_header_mongrel "$LINENO" "openssl/aes.h" "ac_cv_header_openssl_aes_h" "$ac_includes_default" 47240if test "x$ac_cv_header_openssl_aes_h" = xyes; then : 47241 cat >>confdefs.h <<_ACEOF 47242#define HAVE_OPENSSL_AES_H 1 47243_ACEOF 47244 47245fi 47246 47247done 47248 47249 47250 if test "x$ac_cv_header_openssl_aes_h" = xno; then : 47251 ac_cv_libcrypto_aes_cbc=no 47252 ac_cv_libcrypto_aes_ecb=no 47253else 47254 ac_cv_libcrypto_aes_cbc=libcrypto 47255 ac_cv_libcrypto_aes_ecb=libcrypto 47256 47257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AES_set_decrypt_key in -lcrypto" >&5 47258$as_echo_n "checking for AES_set_decrypt_key in -lcrypto... " >&6; } 47259if ${ac_cv_lib_crypto_AES_set_decrypt_key+:} false; then : 47260 $as_echo_n "(cached) " >&6 47261else 47262 ac_check_lib_save_LIBS=$LIBS 47263LIBS="-lcrypto $LIBS" 47264cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47265/* end confdefs.h. */ 47266 47267/* Override any GCC internal prototype to avoid an error. 47268 Use char because int might match the return type of a GCC 47269 builtin and then its argument prototype would still apply. */ 47270#ifdef __cplusplus 47271extern "C" 47272#endif 47273char AES_set_decrypt_key (); 47274int 47275main () 47276{ 47277return AES_set_decrypt_key (); 47278 ; 47279 return 0; 47280} 47281_ACEOF 47282if ac_fn_c_try_link "$LINENO"; then : 47283 ac_cv_lib_crypto_AES_set_decrypt_key=yes 47284else 47285 ac_cv_lib_crypto_AES_set_decrypt_key=no 47286fi 47287rm -f core conftest.err conftest.$ac_objext \ 47288 conftest$ac_exeext conftest.$ac_ext 47289LIBS=$ac_check_lib_save_LIBS 47290fi 47291{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_AES_set_decrypt_key" >&5 47292$as_echo "$ac_cv_lib_crypto_AES_set_decrypt_key" >&6; } 47293if test "x$ac_cv_lib_crypto_AES_set_decrypt_key" = xyes; then : 47294 ac_cv_libcrypto_dummy=yes 47295else 47296 ac_cv_libcrypto_aes_cbc=no, 47297 ac_cv_libcrypto_aes_ecb=no 47298fi 47299 47300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AES_set_encrypt_key in -lcrypto" >&5 47301$as_echo_n "checking for AES_set_encrypt_key in -lcrypto... " >&6; } 47302if ${ac_cv_lib_crypto_AES_set_encrypt_key+:} false; then : 47303 $as_echo_n "(cached) " >&6 47304else 47305 ac_check_lib_save_LIBS=$LIBS 47306LIBS="-lcrypto $LIBS" 47307cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47308/* end confdefs.h. */ 47309 47310/* Override any GCC internal prototype to avoid an error. 47311 Use char because int might match the return type of a GCC 47312 builtin and then its argument prototype would still apply. */ 47313#ifdef __cplusplus 47314extern "C" 47315#endif 47316char AES_set_encrypt_key (); 47317int 47318main () 47319{ 47320return AES_set_encrypt_key (); 47321 ; 47322 return 0; 47323} 47324_ACEOF 47325if ac_fn_c_try_link "$LINENO"; then : 47326 ac_cv_lib_crypto_AES_set_encrypt_key=yes 47327else 47328 ac_cv_lib_crypto_AES_set_encrypt_key=no 47329fi 47330rm -f core conftest.err conftest.$ac_objext \ 47331 conftest$ac_exeext conftest.$ac_ext 47332LIBS=$ac_check_lib_save_LIBS 47333fi 47334{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_AES_set_encrypt_key" >&5 47335$as_echo "$ac_cv_lib_crypto_AES_set_encrypt_key" >&6; } 47336if test "x$ac_cv_lib_crypto_AES_set_encrypt_key" = xyes; then : 47337 ac_cv_libcrypto_dummy=yes 47338else 47339 ac_cv_libcrypto_aes_cbc=no, 47340 ac_cv_libcrypto_aes_ecb=no 47341fi 47342 47343 47344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AES_cbc_encrypt in -lcrypto" >&5 47345$as_echo_n "checking for AES_cbc_encrypt in -lcrypto... " >&6; } 47346if ${ac_cv_lib_crypto_AES_cbc_encrypt+:} false; then : 47347 $as_echo_n "(cached) " >&6 47348else 47349 ac_check_lib_save_LIBS=$LIBS 47350LIBS="-lcrypto $LIBS" 47351cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47352/* end confdefs.h. */ 47353 47354/* Override any GCC internal prototype to avoid an error. 47355 Use char because int might match the return type of a GCC 47356 builtin and then its argument prototype would still apply. */ 47357#ifdef __cplusplus 47358extern "C" 47359#endif 47360char AES_cbc_encrypt (); 47361int 47362main () 47363{ 47364return AES_cbc_encrypt (); 47365 ; 47366 return 0; 47367} 47368_ACEOF 47369if ac_fn_c_try_link "$LINENO"; then : 47370 ac_cv_lib_crypto_AES_cbc_encrypt=yes 47371else 47372 ac_cv_lib_crypto_AES_cbc_encrypt=no 47373fi 47374rm -f core conftest.err conftest.$ac_objext \ 47375 conftest$ac_exeext conftest.$ac_ext 47376LIBS=$ac_check_lib_save_LIBS 47377fi 47378{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_AES_cbc_encrypt" >&5 47379$as_echo "$ac_cv_lib_crypto_AES_cbc_encrypt" >&6; } 47380if test "x$ac_cv_lib_crypto_AES_cbc_encrypt" = xyes; then : 47381 ac_cv_libcrypto_dummy=yes 47382else 47383 ac_cv_libcrypto_aes_cbc=no 47384fi 47385 47386 47387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AES_ecb_encrypt in -lcrypto" >&5 47388$as_echo_n "checking for AES_ecb_encrypt in -lcrypto... " >&6; } 47389if ${ac_cv_lib_crypto_AES_ecb_encrypt+:} false; then : 47390 $as_echo_n "(cached) " >&6 47391else 47392 ac_check_lib_save_LIBS=$LIBS 47393LIBS="-lcrypto $LIBS" 47394cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47395/* end confdefs.h. */ 47396 47397/* Override any GCC internal prototype to avoid an error. 47398 Use char because int might match the return type of a GCC 47399 builtin and then its argument prototype would still apply. */ 47400#ifdef __cplusplus 47401extern "C" 47402#endif 47403char AES_ecb_encrypt (); 47404int 47405main () 47406{ 47407return AES_ecb_encrypt (); 47408 ; 47409 return 0; 47410} 47411_ACEOF 47412if ac_fn_c_try_link "$LINENO"; then : 47413 ac_cv_lib_crypto_AES_ecb_encrypt=yes 47414else 47415 ac_cv_lib_crypto_AES_ecb_encrypt=no 47416fi 47417rm -f core conftest.err conftest.$ac_objext \ 47418 conftest$ac_exeext conftest.$ac_ext 47419LIBS=$ac_check_lib_save_LIBS 47420fi 47421{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_AES_ecb_encrypt" >&5 47422$as_echo "$ac_cv_lib_crypto_AES_ecb_encrypt" >&6; } 47423if test "x$ac_cv_lib_crypto_AES_ecb_encrypt" = xyes; then : 47424 ac_cv_libcrypto_dummy=yes 47425else 47426 ac_cv_libcrypto_aes_ecb=no 47427fi 47428 47429 47430 if test "x$ac_cv_lib_crypto_AES_cbc_encrypt" = xyes; then : 47431 47432$as_echo "#define HAVE_AES_CBC_ENCRYPT 1" >>confdefs.h 47433 47434 47435fi 47436 47437 if test "x$ac_cv_lib_crypto_AES_ecb_encrypt" = xyes; then : 47438 47439$as_echo "#define HAVE_AES_ECB_ENCRYPT 1" >>confdefs.h 47440 47441 47442fi 47443 47444fi 47445 47446 if test "x$ac_cv_libcrypto" = xno; then : 47447 if test "x$ac_cv_libcrypto_aes_cbc" = xno || test "x$ac_cv_libcrypto_aes_ecb" = xno; then : 47448 ac_cv_libcrypto=yes 47449fi 47450 47451fi 47452 47453 if test "x$ac_cv_libcrypto_aes_cbc" = xno || test "x$ac_cv_libcrypto_aes_ecb" = xno; then : 47454 ac_cv_libcrypto_aes=no 47455else 47456 ac_cv_libcrypto_aes=libcrypto 47457fi 47458 47459fi 47460 47461 if test "x$ac_cv_libcrypto_evp" = xyes && test "x$ac_cv_enable_openssl_evp_cipher" != xno && test "x$ac_cv_libcrypto_evp_cipher" != xyes; then : 47462 ac_cv_libcrypto_evp_cipher=yes 47463 47464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_new in -lcrypto" >&5 47465$as_echo_n "checking for EVP_CIPHER_CTX_new in -lcrypto... " >&6; } 47466if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_new+:} false; then : 47467 $as_echo_n "(cached) " >&6 47468else 47469 ac_check_lib_save_LIBS=$LIBS 47470LIBS="-lcrypto $LIBS" 47471cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47472/* end confdefs.h. */ 47473 47474/* Override any GCC internal prototype to avoid an error. 47475 Use char because int might match the return type of a GCC 47476 builtin and then its argument prototype would still apply. */ 47477#ifdef __cplusplus 47478extern "C" 47479#endif 47480char EVP_CIPHER_CTX_new (); 47481int 47482main () 47483{ 47484return EVP_CIPHER_CTX_new (); 47485 ; 47486 return 0; 47487} 47488_ACEOF 47489if ac_fn_c_try_link "$LINENO"; then : 47490 ac_cv_lib_crypto_EVP_CIPHER_CTX_new=yes 47491else 47492 ac_cv_lib_crypto_EVP_CIPHER_CTX_new=no 47493fi 47494rm -f core conftest.err conftest.$ac_objext \ 47495 conftest$ac_exeext conftest.$ac_ext 47496LIBS=$ac_check_lib_save_LIBS 47497fi 47498{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_new" >&5 47499$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_new" >&6; } 47500if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_new" = xyes; then : 47501 ac_cv_libcrypto_dummy=yes 47502else 47503 ac_cv_libcrypto_dummy=no 47504fi 47505 47506 47507 if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_new" = xyes; then : 47508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_free in -lcrypto" >&5 47509$as_echo_n "checking for EVP_CIPHER_CTX_free in -lcrypto... " >&6; } 47510if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_free+:} false; then : 47511 $as_echo_n "(cached) " >&6 47512else 47513 ac_check_lib_save_LIBS=$LIBS 47514LIBS="-lcrypto $LIBS" 47515cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47516/* end confdefs.h. */ 47517 47518/* Override any GCC internal prototype to avoid an error. 47519 Use char because int might match the return type of a GCC 47520 builtin and then its argument prototype would still apply. */ 47521#ifdef __cplusplus 47522extern "C" 47523#endif 47524char EVP_CIPHER_CTX_free (); 47525int 47526main () 47527{ 47528return EVP_CIPHER_CTX_free (); 47529 ; 47530 return 0; 47531} 47532_ACEOF 47533if ac_fn_c_try_link "$LINENO"; then : 47534 ac_cv_lib_crypto_EVP_CIPHER_CTX_free=yes 47535else 47536 ac_cv_lib_crypto_EVP_CIPHER_CTX_free=no 47537fi 47538rm -f core conftest.err conftest.$ac_objext \ 47539 conftest$ac_exeext conftest.$ac_ext 47540LIBS=$ac_check_lib_save_LIBS 47541fi 47542{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_free" >&5 47543$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_free" >&6; } 47544if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_free" = xyes; then : 47545 ac_cv_libcrypto_dummy=yes 47546else 47547 ac_cv_libcrypto_evp_cipher=no 47548fi 47549 47550 47551else 47552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_init in -lcrypto" >&5 47553$as_echo_n "checking for EVP_CIPHER_CTX_init in -lcrypto... " >&6; } 47554if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_init+:} false; then : 47555 $as_echo_n "(cached) " >&6 47556else 47557 ac_check_lib_save_LIBS=$LIBS 47558LIBS="-lcrypto $LIBS" 47559cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47560/* end confdefs.h. */ 47561 47562/* Override any GCC internal prototype to avoid an error. 47563 Use char because int might match the return type of a GCC 47564 builtin and then its argument prototype would still apply. */ 47565#ifdef __cplusplus 47566extern "C" 47567#endif 47568char EVP_CIPHER_CTX_init (); 47569int 47570main () 47571{ 47572return EVP_CIPHER_CTX_init (); 47573 ; 47574 return 0; 47575} 47576_ACEOF 47577if ac_fn_c_try_link "$LINENO"; then : 47578 ac_cv_lib_crypto_EVP_CIPHER_CTX_init=yes 47579else 47580 ac_cv_lib_crypto_EVP_CIPHER_CTX_init=no 47581fi 47582rm -f core conftest.err conftest.$ac_objext \ 47583 conftest$ac_exeext conftest.$ac_ext 47584LIBS=$ac_check_lib_save_LIBS 47585fi 47586{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_init" >&5 47587$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_init" >&6; } 47588if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_init" = xyes; then : 47589 ac_cv_libcrypto_dummy=yes 47590else 47591 ac_cv_libcrypto_evp_cipher=no 47592fi 47593 47594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_cleanup in -lcrypto" >&5 47595$as_echo_n "checking for EVP_CIPHER_CTX_cleanup in -lcrypto... " >&6; } 47596if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup+:} false; then : 47597 $as_echo_n "(cached) " >&6 47598else 47599 ac_check_lib_save_LIBS=$LIBS 47600LIBS="-lcrypto $LIBS" 47601cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47602/* end confdefs.h. */ 47603 47604/* Override any GCC internal prototype to avoid an error. 47605 Use char because int might match the return type of a GCC 47606 builtin and then its argument prototype would still apply. */ 47607#ifdef __cplusplus 47608extern "C" 47609#endif 47610char EVP_CIPHER_CTX_cleanup (); 47611int 47612main () 47613{ 47614return EVP_CIPHER_CTX_cleanup (); 47615 ; 47616 return 0; 47617} 47618_ACEOF 47619if ac_fn_c_try_link "$LINENO"; then : 47620 ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup=yes 47621else 47622 ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup=no 47623fi 47624rm -f core conftest.err conftest.$ac_objext \ 47625 conftest$ac_exeext conftest.$ac_ext 47626LIBS=$ac_check_lib_save_LIBS 47627fi 47628{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" >&5 47629$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" >&6; } 47630if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" = xyes; then : 47631 ac_cv_libcrypto_dummy=yes 47632else 47633 ac_cv_libcrypto_evp_cipher=no 47634fi 47635 47636 47637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_remove_thread_state in -lcrypto" >&5 47638$as_echo_n "checking for ERR_remove_thread_state in -lcrypto... " >&6; } 47639if ${ac_cv_lib_crypto_ERR_remove_thread_state+:} false; then : 47640 $as_echo_n "(cached) " >&6 47641else 47642 ac_check_lib_save_LIBS=$LIBS 47643LIBS="-lcrypto $LIBS" 47644cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47645/* end confdefs.h. */ 47646 47647/* Override any GCC internal prototype to avoid an error. 47648 Use char because int might match the return type of a GCC 47649 builtin and then its argument prototype would still apply. */ 47650#ifdef __cplusplus 47651extern "C" 47652#endif 47653char ERR_remove_thread_state (); 47654int 47655main () 47656{ 47657return ERR_remove_thread_state (); 47658 ; 47659 return 0; 47660} 47661_ACEOF 47662if ac_fn_c_try_link "$LINENO"; then : 47663 ac_cv_lib_crypto_ERR_remove_thread_state=yes 47664else 47665 ac_cv_lib_crypto_ERR_remove_thread_state=no 47666fi 47667rm -f core conftest.err conftest.$ac_objext \ 47668 conftest$ac_exeext conftest.$ac_ext 47669LIBS=$ac_check_lib_save_LIBS 47670fi 47671{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_remove_thread_state" >&5 47672$as_echo "$ac_cv_lib_crypto_ERR_remove_thread_state" >&6; } 47673if test "x$ac_cv_lib_crypto_ERR_remove_thread_state" = xyes; then : 47674 ac_cv_libcrypto_dummy=yes 47675else 47676 ac_cv_libcrypto_evp_cipher=no 47677fi 47678 47679 47680fi 47681 47682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_set_padding in -lcrypto" >&5 47683$as_echo_n "checking for EVP_CIPHER_CTX_set_padding in -lcrypto... " >&6; } 47684if ${ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding+:} false; then : 47685 $as_echo_n "(cached) " >&6 47686else 47687 ac_check_lib_save_LIBS=$LIBS 47688LIBS="-lcrypto $LIBS" 47689cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47690/* end confdefs.h. */ 47691 47692/* Override any GCC internal prototype to avoid an error. 47693 Use char because int might match the return type of a GCC 47694 builtin and then its argument prototype would still apply. */ 47695#ifdef __cplusplus 47696extern "C" 47697#endif 47698char EVP_CIPHER_CTX_set_padding (); 47699int 47700main () 47701{ 47702return EVP_CIPHER_CTX_set_padding (); 47703 ; 47704 return 0; 47705} 47706_ACEOF 47707if ac_fn_c_try_link "$LINENO"; then : 47708 ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding=yes 47709else 47710 ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding=no 47711fi 47712rm -f core conftest.err conftest.$ac_objext \ 47713 conftest$ac_exeext conftest.$ac_ext 47714LIBS=$ac_check_lib_save_LIBS 47715fi 47716{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" >&5 47717$as_echo "$ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" >&6; } 47718if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" = xyes; then : 47719 ac_cv_libcrypto_dummy=yes 47720else 47721 ac_cv_libcrypto_evp_cipher=no 47722fi 47723 47724 47725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CipherInit_ex in -lcrypto" >&5 47726$as_echo_n "checking for EVP_CipherInit_ex in -lcrypto... " >&6; } 47727if ${ac_cv_lib_crypto_EVP_CipherInit_ex+:} false; then : 47728 $as_echo_n "(cached) " >&6 47729else 47730 ac_check_lib_save_LIBS=$LIBS 47731LIBS="-lcrypto $LIBS" 47732cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47733/* end confdefs.h. */ 47734 47735/* Override any GCC internal prototype to avoid an error. 47736 Use char because int might match the return type of a GCC 47737 builtin and then its argument prototype would still apply. */ 47738#ifdef __cplusplus 47739extern "C" 47740#endif 47741char EVP_CipherInit_ex (); 47742int 47743main () 47744{ 47745return EVP_CipherInit_ex (); 47746 ; 47747 return 0; 47748} 47749_ACEOF 47750if ac_fn_c_try_link "$LINENO"; then : 47751 ac_cv_lib_crypto_EVP_CipherInit_ex=yes 47752else 47753 ac_cv_lib_crypto_EVP_CipherInit_ex=no 47754fi 47755rm -f core conftest.err conftest.$ac_objext \ 47756 conftest$ac_exeext conftest.$ac_ext 47757LIBS=$ac_check_lib_save_LIBS 47758fi 47759{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CipherInit_ex" >&5 47760$as_echo "$ac_cv_lib_crypto_EVP_CipherInit_ex" >&6; } 47761if test "x$ac_cv_lib_crypto_EVP_CipherInit_ex" = xyes; then : 47762 ac_cv_libcrypto_dummy=yes 47763else 47764 ac_cv_libcrypto_evp_cipher=no 47765fi 47766 47767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CipherUpdate in -lcrypto" >&5 47768$as_echo_n "checking for EVP_CipherUpdate in -lcrypto... " >&6; } 47769if ${ac_cv_lib_crypto_EVP_CipherUpdate+:} false; then : 47770 $as_echo_n "(cached) " >&6 47771else 47772 ac_check_lib_save_LIBS=$LIBS 47773LIBS="-lcrypto $LIBS" 47774cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47775/* end confdefs.h. */ 47776 47777/* Override any GCC internal prototype to avoid an error. 47778 Use char because int might match the return type of a GCC 47779 builtin and then its argument prototype would still apply. */ 47780#ifdef __cplusplus 47781extern "C" 47782#endif 47783char EVP_CipherUpdate (); 47784int 47785main () 47786{ 47787return EVP_CipherUpdate (); 47788 ; 47789 return 0; 47790} 47791_ACEOF 47792if ac_fn_c_try_link "$LINENO"; then : 47793 ac_cv_lib_crypto_EVP_CipherUpdate=yes 47794else 47795 ac_cv_lib_crypto_EVP_CipherUpdate=no 47796fi 47797rm -f core conftest.err conftest.$ac_objext \ 47798 conftest$ac_exeext conftest.$ac_ext 47799LIBS=$ac_check_lib_save_LIBS 47800fi 47801{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CipherUpdate" >&5 47802$as_echo "$ac_cv_lib_crypto_EVP_CipherUpdate" >&6; } 47803if test "x$ac_cv_lib_crypto_EVP_CipherUpdate" = xyes; then : 47804 ac_cv_libcrypto_dummy=yes 47805else 47806 ac_cv_libcrypto_evp_cipher=no 47807fi 47808 47809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CipherFinal_ex in -lcrypto" >&5 47810$as_echo_n "checking for EVP_CipherFinal_ex in -lcrypto... " >&6; } 47811if ${ac_cv_lib_crypto_EVP_CipherFinal_ex+:} false; then : 47812 $as_echo_n "(cached) " >&6 47813else 47814 ac_check_lib_save_LIBS=$LIBS 47815LIBS="-lcrypto $LIBS" 47816cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47817/* end confdefs.h. */ 47818 47819/* Override any GCC internal prototype to avoid an error. 47820 Use char because int might match the return type of a GCC 47821 builtin and then its argument prototype would still apply. */ 47822#ifdef __cplusplus 47823extern "C" 47824#endif 47825char EVP_CipherFinal_ex (); 47826int 47827main () 47828{ 47829return EVP_CipherFinal_ex (); 47830 ; 47831 return 0; 47832} 47833_ACEOF 47834if ac_fn_c_try_link "$LINENO"; then : 47835 ac_cv_lib_crypto_EVP_CipherFinal_ex=yes 47836else 47837 ac_cv_lib_crypto_EVP_CipherFinal_ex=no 47838fi 47839rm -f core conftest.err conftest.$ac_objext \ 47840 conftest$ac_exeext conftest.$ac_ext 47841LIBS=$ac_check_lib_save_LIBS 47842fi 47843{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_CipherFinal_ex" >&5 47844$as_echo "$ac_cv_lib_crypto_EVP_CipherFinal_ex" >&6; } 47845if test "x$ac_cv_lib_crypto_EVP_CipherFinal_ex" = xyes; then : 47846 ac_cv_libcrypto_dummy=yes 47847else 47848 ac_cv_libcrypto_evp_cipher=no 47849fi 47850 47851 47852 if test "x$ac_cv_enable_openssl_evp_cipher" = xyes && "x$ac_cv_libcrypto_evp_cipher" = xno; then : 47853 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 47854$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 47855as_fn_error 1 "Missing OpenSSL EVP CIPHER support 47856See \`config.log' for more details" "$LINENO" 5; } 47857 47858fi 47859 47860 if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_init" = xyes; then : 47861 47862$as_echo "#define HAVE_EVP_CIPHER_CTX_INIT 1" >>confdefs.h 47863 47864 47865fi 47866 47867 if test "x$ac_cv_lib_crypto_EVP_CIPHER_CTX_cleanup" = xyes; then : 47868 47869$as_echo "#define HAVE_EVP_CIPHER_CTX_CLEANUP 1" >>confdefs.h 47870 47871 47872fi 47873 47874fi 47875 47876 if test "x$ac_cv_libcrypto_evp_cipher" != xyes; then : 47877 ac_cv_libcrypto_aes_xts=no 47878else 47879 ac_cv_libcrypto_aes_xts=libcrypto_evp 47880 47881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_aes_128_xts in -lcrypto" >&5 47882$as_echo_n "checking for EVP_aes_128_xts in -lcrypto... " >&6; } 47883if ${ac_cv_lib_crypto_EVP_aes_128_xts+:} false; then : 47884 $as_echo_n "(cached) " >&6 47885else 47886 ac_check_lib_save_LIBS=$LIBS 47887LIBS="-lcrypto $LIBS" 47888cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47889/* end confdefs.h. */ 47890 47891/* Override any GCC internal prototype to avoid an error. 47892 Use char because int might match the return type of a GCC 47893 builtin and then its argument prototype would still apply. */ 47894#ifdef __cplusplus 47895extern "C" 47896#endif 47897char EVP_aes_128_xts (); 47898int 47899main () 47900{ 47901return EVP_aes_128_xts (); 47902 ; 47903 return 0; 47904} 47905_ACEOF 47906if ac_fn_c_try_link "$LINENO"; then : 47907 ac_cv_lib_crypto_EVP_aes_128_xts=yes 47908else 47909 ac_cv_lib_crypto_EVP_aes_128_xts=no 47910fi 47911rm -f core conftest.err conftest.$ac_objext \ 47912 conftest$ac_exeext conftest.$ac_ext 47913LIBS=$ac_check_lib_save_LIBS 47914fi 47915{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_aes_128_xts" >&5 47916$as_echo "$ac_cv_lib_crypto_EVP_aes_128_xts" >&6; } 47917if test "x$ac_cv_lib_crypto_EVP_aes_128_xts" = xyes; then : 47918 ac_cv_libcrypto_dummy=yes 47919else 47920 ac_cv_libcrypto_aes_xts=no 47921fi 47922 47923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_aes_256_xts in -lcrypto" >&5 47924$as_echo_n "checking for EVP_aes_256_xts in -lcrypto... " >&6; } 47925if ${ac_cv_lib_crypto_EVP_aes_256_xts+:} false; then : 47926 $as_echo_n "(cached) " >&6 47927else 47928 ac_check_lib_save_LIBS=$LIBS 47929LIBS="-lcrypto $LIBS" 47930cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47931/* end confdefs.h. */ 47932 47933/* Override any GCC internal prototype to avoid an error. 47934 Use char because int might match the return type of a GCC 47935 builtin and then its argument prototype would still apply. */ 47936#ifdef __cplusplus 47937extern "C" 47938#endif 47939char EVP_aes_256_xts (); 47940int 47941main () 47942{ 47943return EVP_aes_256_xts (); 47944 ; 47945 return 0; 47946} 47947_ACEOF 47948if ac_fn_c_try_link "$LINENO"; then : 47949 ac_cv_lib_crypto_EVP_aes_256_xts=yes 47950else 47951 ac_cv_lib_crypto_EVP_aes_256_xts=no 47952fi 47953rm -f core conftest.err conftest.$ac_objext \ 47954 conftest$ac_exeext conftest.$ac_ext 47955LIBS=$ac_check_lib_save_LIBS 47956fi 47957{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_aes_256_xts" >&5 47958$as_echo "$ac_cv_lib_crypto_EVP_aes_256_xts" >&6; } 47959if test "x$ac_cv_lib_crypto_EVP_aes_256_xts" = xyes; then : 47960 ac_cv_libcrypto_dummy=yes 47961else 47962 ac_cv_libcrypto_aes_xts=no 47963fi 47964 47965 47966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \`EVP_CipherInit_ex' can be used with duplicate keys" >&5 47967$as_echo_n "checking if \`EVP_CipherInit_ex' can be used with duplicate keys... " >&6; } 47968if ${ac_cv_openssl_xts_duplicate_keys+:} false; then : 47969 $as_echo_n "(cached) " >&6 47970else 47971 ac_ext=c 47972ac_cpp='$CPP $CPPFLAGS' 47973ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 47974ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 47975ac_compiler_gnu=$ac_cv_c_compiler_gnu 47976 47977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47978/* end confdefs.h. */ 47979#include <openssl/err.h> 47980#include <openssl/evp.h> 47981int 47982main () 47983{ 47984unsigned char key[ 16 ] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 }; 47985EVP_CIPHER_CTX ctx; 47986int result; 47987 47988EVP_CIPHER_CTX_init( &ctx ); 47989result = EVP_CipherInit_ex(ctx, EVP_aes_128_xts(), NULL, key, key, 0); 47990EVP_CIPHER_CTX_cleanup( &ctx ); 47991 47992return( result == 1 ); 47993 ; 47994 return 0; 47995} 47996_ACEOF 47997if ac_fn_c_try_link "$LINENO"; then : 47998 ac_cv_openssl_xts_duplicate_keys=yes 47999else 48000 ac_cv_openssl_xts_duplicate_keys=no 48001fi 48002rm -f core conftest.err conftest.$ac_objext \ 48003 conftest$ac_exeext conftest.$ac_ext 48004 ac_ext=c 48005ac_cpp='$CPP $CPPFLAGS' 48006ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 48007ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 48008ac_compiler_gnu=$ac_cv_c_compiler_gnu 48009 48010fi 48011{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_openssl_xts_duplicate_keys" >&5 48012$as_echo "$ac_cv_openssl_xts_duplicate_keys" >&6; } 48013 48014 if test "x$ac_cv_openssl_xts_duplicate_keys" = xno; then : 48015 ac_cv_libcrypto_aes_xts=no 48016else 48017 if test "x$ac_cv_lib_crypto_EVP_aes_128_xts" = xyes && test "x$ac_cv_lib_crypto_EVP_aes_256_xts" = xyes; then : 48018 48019$as_echo "#define HAVE_EVP_CRYPTO_AES_XTS 1" >>confdefs.h 48020 48021 48022fi 48023 48024fi 48025 48026fi 48027 48028fi 48029 48030 if test "x$ac_cv_libcrypto" = xno || test "x$ac_cv_libcrypto_aes_cbc" = xno; then : 48031 ac_cv_libcaes_aes_cbc=local 48032else 48033 ac_cv_libcaes_aes_cbc=$ac_cv_libcrypto_aes_cbc 48034fi 48035 48036 if test "x$ac_cv_libcrypto" = xno || test "x$ac_cv_libcrypto_aes_ecb" = xno; then : 48037 ac_cv_libcaes_aes_ecb=local 48038else 48039 ac_cv_libcaes_aes_ecb=$ac_cv_libcrypto_aes_ecb 48040fi 48041 48042 if test "x$ac_cv_libcrypto" = xno || test "x$ac_cv_libcrypto_aes_xts" = xno; then : 48043 ac_cv_libcaes_aes_xts=local 48044else 48045 ac_cv_libcaes_aes_xts=$ac_cv_libcrypto_aes_xts 48046fi 48047 48048 ac_cv_libcaes_CPPFLAGS="-I../libcaes"; 48049 ac_cv_libcaes_LIBADD="../libcaes/libcaes.la"; 48050 48051 ac_cv_libcaes=local 48052 48053 48054 48055$as_echo "#define HAVE_LOCAL_LIBCAES 1" >>confdefs.h 48056 48057 HAVE_LOCAL_LIBCAES=1 48058 48059 48060fi 48061 48062 if test "x$ac_cv_libcaes" = xlocal; then 48063 HAVE_LOCAL_LIBCAES_TRUE= 48064 HAVE_LOCAL_LIBCAES_FALSE='#' 48065else 48066 HAVE_LOCAL_LIBCAES_TRUE='#' 48067 HAVE_LOCAL_LIBCAES_FALSE= 48068fi 48069 48070 if test "x$ac_cv_libcaes_CPPFLAGS" != "x"; then : 48071 LIBCAES_CPPFLAGS=$ac_cv_libcaes_CPPFLAGS 48072 48073 48074fi 48075 if test "x$ac_cv_libcaes_LIBADD" != "x"; then : 48076 LIBCAES_LIBADD=$ac_cv_libcaes_LIBADD 48077 48078 48079fi 48080 48081 if test "x$ac_cv_libcaes" = xyes; then : 48082 ax_libcaes_pc_libs_private=-lcaes 48083 48084 48085fi 48086 48087 if test "x$ac_cv_libcaes" = xyes; then : 48088 ax_libcaes_spec_requires=libcaes 48089 48090 ax_libcaes_spec_build_requires=libcaes-devel 48091 48092 48093fi 48094 48095 48096 for ac_func in bindtextdomain 48097do : 48098 ac_fn_c_check_func "$LINENO" "bindtextdomain" "ac_cv_func_bindtextdomain" 48099if test "x$ac_cv_func_bindtextdomain" = xyes; then : 48100 cat >>confdefs.h <<_ACEOF 48101#define HAVE_BINDTEXTDOMAIN 1 48102_ACEOF 48103 48104fi 48105done 48106 48107 48108 48109 48110 48111# Check whether --with-pyprefix was given. 48112if test "${with_pyprefix+set}" = set; then : 48113 withval=$with_pyprefix; ac_cv_with_pyprefix=$withval 48114else 48115 ac_cv_with_pyprefix=no 48116fi 48117 48118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use use \`python-config --prefix' to determine the prefix of pythondir instead of --prefix" >&5 48119$as_echo_n "checking whether to use use \`python-config --prefix' to determine the prefix of pythondir instead of --prefix... " >&6; } 48120if ${ac_cv_with_pyprefix+:} false; then : 48121 $as_echo_n "(cached) " >&6 48122else 48123 ac_cv_with_pyprefix=no 48124fi 48125{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pyprefix" >&5 48126$as_echo "$ac_cv_with_pyprefix" >&6; } 48127 48128 48129 48130 # Check whether --enable-python was given. 48131if test "${enable_python+set}" = set; then : 48132 enableval=$enable_python; ac_cv_enable_python=$enableval 48133else 48134 ac_cv_enable_python=no 48135fi 48136 48137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build Python bindings" >&5 48138$as_echo_n "checking whether to enable build Python bindings... " >&6; } 48139if ${ac_cv_enable_python+:} false; then : 48140 $as_echo_n "(cached) " >&6 48141else 48142 ac_cv_enable_python=no 48143fi 48144{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_python" >&5 48145$as_echo "$ac_cv_enable_python" >&6; } 48146 48147 48148# Check whether --with-pythondir was given. 48149if test "${with_pythondir+set}" = set; then : 48150 withval=$with_pythondir; ac_cv_with_pythondir=$withval 48151else 48152 ac_cv_with_pythondir=no 48153fi 48154 48155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use use to specify the Python directory (pythondir)" >&5 48156$as_echo_n "checking whether to use use to specify the Python directory (pythondir)... " >&6; } 48157if ${ac_cv_with_pythondir+:} false; then : 48158 $as_echo_n "(cached) " >&6 48159else 48160 ac_cv_with_pythondir=no 48161fi 48162{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pythondir" >&5 48163$as_echo "$ac_cv_with_pythondir" >&6; } 48164 48165 48166 # Check whether --enable-python2 was given. 48167if test "${enable_python2+set}" = set; then : 48168 enableval=$enable_python2; ac_cv_enable_python2=$enableval 48169else 48170 ac_cv_enable_python2=no 48171fi 48172 48173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build Python 2 bindings" >&5 48174$as_echo_n "checking whether to enable build Python 2 bindings... " >&6; } 48175if ${ac_cv_enable_python2+:} false; then : 48176 $as_echo_n "(cached) " >&6 48177else 48178 ac_cv_enable_python2=no 48179fi 48180{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_python2" >&5 48181$as_echo "$ac_cv_enable_python2" >&6; } 48182 48183 48184# Check whether --with-pythondir2 was given. 48185if test "${with_pythondir2+set}" = set; then : 48186 withval=$with_pythondir2; ac_cv_with_pythondir2=$withval 48187else 48188 ac_cv_with_pythondir2=no 48189fi 48190 48191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use use to specify the Python 2 directory (pythondir2)" >&5 48192$as_echo_n "checking whether to use use to specify the Python 2 directory (pythondir2)... " >&6; } 48193if ${ac_cv_with_pythondir2+:} false; then : 48194 $as_echo_n "(cached) " >&6 48195else 48196 ac_cv_with_pythondir2=no 48197fi 48198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pythondir2" >&5 48199$as_echo "$ac_cv_with_pythondir2" >&6; } 48200 48201 48202 # Check whether --enable-python3 was given. 48203if test "${enable_python3+set}" = set; then : 48204 enableval=$enable_python3; ac_cv_enable_python3=$enableval 48205else 48206 ac_cv_enable_python3=no 48207fi 48208 48209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build Python 3 bindings" >&5 48210$as_echo_n "checking whether to enable build Python 3 bindings... " >&6; } 48211if ${ac_cv_enable_python3+:} false; then : 48212 $as_echo_n "(cached) " >&6 48213else 48214 ac_cv_enable_python3=no 48215fi 48216{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_python3" >&5 48217$as_echo "$ac_cv_enable_python3" >&6; } 48218 48219 48220# Check whether --with-pythondir3 was given. 48221if test "${with_pythondir3+set}" = set; then : 48222 withval=$with_pythondir3; ac_cv_with_pythondir3=$withval 48223else 48224 ac_cv_with_pythondir3=no 48225fi 48226 48227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use use to specify the Python 3 directory (pythondir3)" >&5 48228$as_echo_n "checking whether to use use to specify the Python 3 directory (pythondir3)... " >&6; } 48229if ${ac_cv_with_pythondir3+:} false; then : 48230 $as_echo_n "(cached) " >&6 48231else 48232 ac_cv_with_pythondir3=no 48233fi 48234{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pythondir3" >&5 48235$as_echo "$ac_cv_with_pythondir3" >&6; } 48236 48237 if test "x${ac_cv_enable_python}" != xno; then : 48238 if test "x${PYTHON_VERSION}" != x; then : 48239 ax_python_progs="python${PYTHON_VERSION}" 48240else 48241 ax_python_progs="python python3 python3.10 python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python2 python2.7 python2.6 python2.5" 48242fi 48243 for ac_prog in $ax_python_progs 48244do 48245 # Extract the first word of "$ac_prog", so it can be a program name with args. 48246set dummy $ac_prog; ac_word=$2 48247{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 48248$as_echo_n "checking for $ac_word... " >&6; } 48249if ${ac_cv_prog_PYTHON+:} false; then : 48250 $as_echo_n "(cached) " >&6 48251else 48252 if test -n "$PYTHON"; then 48253 ac_cv_prog_PYTHON="$PYTHON" # Let the user override the test. 48254else 48255as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 48256for as_dir in $PATH 48257do 48258 IFS=$as_save_IFS 48259 test -z "$as_dir" && as_dir=. 48260 for ac_exec_ext in '' $ac_executable_extensions; do 48261 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 48262 ac_cv_prog_PYTHON="$ac_prog" 48263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 48264 break 2 48265 fi 48266done 48267 done 48268IFS=$as_save_IFS 48269 48270fi 48271fi 48272PYTHON=$ac_cv_prog_PYTHON 48273if test -n "$PYTHON"; then 48274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 48275$as_echo "$PYTHON" >&6; } 48276else 48277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 48278$as_echo "no" >&6; } 48279fi 48280 48281 48282 test -n "$PYTHON" && break 48283done 48284 48285 if test "x${PYTHON}" != x; then : 48286 ax_prog_python_version=`${PYTHON} -c "import sys; sys.stdout.write(sys.version[:3])" 2>/dev/null`; 48287 ax_prog_python_platform=`${PYTHON} -c "import sys; sys.stdout.write(sys.platform)" 2>/dev/null`; 48288 PYTHON_PLATFORM=$ax_prog_python_platform 48289 48290 48291else 48292 as_fn_error $? "Unable to find python" "$LINENO" 5 48293 48294fi 48295 PYTHON=$PYTHON 48296 48297 48298 if test "x${PYTHON_CONFIG}" = x && test "x${PYTHON_VERSION}" != x; then : 48299 for ac_prog in python${PYTHON_VERSION}-config 48300do 48301 # Extract the first word of "$ac_prog", so it can be a program name with args. 48302set dummy $ac_prog; ac_word=$2 48303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 48304$as_echo_n "checking for $ac_word... " >&6; } 48305if ${ac_cv_prog_PYTHON_CONFIG+:} false; then : 48306 $as_echo_n "(cached) " >&6 48307else 48308 if test -n "$PYTHON_CONFIG"; then 48309 ac_cv_prog_PYTHON_CONFIG="$PYTHON_CONFIG" # Let the user override the test. 48310else 48311as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 48312for as_dir in $PATH 48313do 48314 IFS=$as_save_IFS 48315 test -z "$as_dir" && as_dir=. 48316 for ac_exec_ext in '' $ac_executable_extensions; do 48317 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 48318 ac_cv_prog_PYTHON_CONFIG="$ac_prog" 48319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 48320 break 2 48321 fi 48322done 48323 done 48324IFS=$as_save_IFS 48325 48326fi 48327fi 48328PYTHON_CONFIG=$ac_cv_prog_PYTHON_CONFIG 48329if test -n "$PYTHON_CONFIG"; then 48330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CONFIG" >&5 48331$as_echo "$PYTHON_CONFIG" >&6; } 48332else 48333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 48334$as_echo "no" >&6; } 48335fi 48336 48337 48338 test -n "$PYTHON_CONFIG" && break 48339done 48340 48341 48342fi 48343 if test "x${PYTHON_CONFIG}" = x; then : 48344 for ac_prog in python-config python3-config python3.10-config python3.9-config python3.8-config python3.7-config python3.6-config python3.5-config python3.4-config python3.3-config python3.2-config python3.1-config python3.0-config python2-config python2.7-config python2.6-config python2.5-config 48345do 48346 # Extract the first word of "$ac_prog", so it can be a program name with args. 48347set dummy $ac_prog; ac_word=$2 48348{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 48349$as_echo_n "checking for $ac_word... " >&6; } 48350if ${ac_cv_prog_PYTHON_CONFIG+:} false; then : 48351 $as_echo_n "(cached) " >&6 48352else 48353 if test -n "$PYTHON_CONFIG"; then 48354 ac_cv_prog_PYTHON_CONFIG="$PYTHON_CONFIG" # Let the user override the test. 48355else 48356as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 48357for as_dir in $PATH 48358do 48359 IFS=$as_save_IFS 48360 test -z "$as_dir" && as_dir=. 48361 for ac_exec_ext in '' $ac_executable_extensions; do 48362 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 48363 ac_cv_prog_PYTHON_CONFIG="$ac_prog" 48364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 48365 break 2 48366 fi 48367done 48368 done 48369IFS=$as_save_IFS 48370 48371fi 48372fi 48373PYTHON_CONFIG=$ac_cv_prog_PYTHON_CONFIG 48374if test -n "$PYTHON_CONFIG"; then 48375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CONFIG" >&5 48376$as_echo "$PYTHON_CONFIG" >&6; } 48377else 48378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 48379$as_echo "no" >&6; } 48380fi 48381 48382 48383 test -n "$PYTHON_CONFIG" && break 48384done 48385 48386 48387fi 48388 if test "x${PYTHON_CONFIG}" = x; then : 48389 as_fn_error $? "Unable to find python-config" "$LINENO" 5 48390 48391fi 48392 PYTHON_CONFIG=$PYTHON_CONFIG 48393 48394 48395 48396 if test "x${PYTHON_CONFIG}" != x; then : 48397 PYTHON_INCLUDES=`${PYTHON_CONFIG} --includes 2>/dev/null`; 48398 48399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python includes" >&5 48400$as_echo_n "checking for Python includes... " >&6; } 48401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INCLUDES" >&5 48402$as_echo "$PYTHON_INCLUDES" >&6; } 48403 48404 PYTHON_LDFLAGS=`${PYTHON_CONFIG} --ldflags 2>/dev/null`; 48405 48406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python libraries" >&5 48407$as_echo_n "checking for Python libraries... " >&6; } 48408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_LDFLAGS" >&5 48409$as_echo "$PYTHON_LDFLAGS" >&6; } 48410 48411 case $host_os in #( 48412 cygwin*) : 48413 PYTHON_LDFLAGS="${PYTHON_LDFLAGS} -no-undefined" ;; #( 48414 *) : 48415 ;; #( 48416 *) : 48417 ;; 48418esac 48419 48420 BACKUP_CPPFLAGS="${CPPFLAGS}" 48421 CPPFLAGS="${CPPFLAGS} ${PYTHON_INCLUDES}" 48422 48423 for ac_header in Python.h 48424do : 48425 ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" 48426if test "x$ac_cv_header_Python_h" = xyes; then : 48427 cat >>confdefs.h <<_ACEOF 48428#define HAVE_PYTHON_H 1 48429_ACEOF 48430 ac_cv_header_python_h=yes 48431else 48432 ac_cv_header_python_h=no 48433fi 48434 48435done 48436 48437 48438 CPPFLAGS="${BACKUP_CPPFLAGS}" 48439 48440fi 48441 48442 if test "x${ac_cv_header_python_h}" != xyes; then : 48443 ac_cv_enable_python=no 48444else 48445 ac_cv_enable_python=${ax_prog_python_version} 48446 PYTHON_CPPFLAGS=$PYTHON_INCLUDES 48447 48448 48449 PYTHON_LDFLAGS=$PYTHON_LDFLAGS 48450 48451 48452 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 48453 ax_python_prefix="\${prefix}" 48454else 48455 ax_python_prefix=`${PYTHON_CONFIG} --prefix 2>/dev/null` 48456fi 48457 48458 PYTHON_PREFIX=$ax_python_prefix 48459 48460 48461 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 48462 ax_python_exec_prefix="\${exec_prefix}" 48463else 48464 ax_python_exec_prefix=`${PYTHON_CONFIG} --exec-prefix 2>/dev/null` 48465fi 48466 48467 PYTHON_EXEC_PREFIX=$ax_python_exec_prefix 48468 48469 48470 ax_python_pythondir_suffix=`${PYTHON} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib(0, 0, prefix=''))" 2>/dev/null`; 48471 48472 if test "x${ac_cv_with_pythondir}" = x || test "x${ac_cv_with_pythondir}" = xno; then : 48473 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 48474 ax_python_pythondir="${ax_python_prefix}/${ax_python_pythondir_suffix}" 48475else 48476 ax_python_pythondir=`${PYTHON} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib()) " 2>/dev/null` 48477fi 48478else 48479 ax_python_pythondir=$ac_cv_with_pythondir 48480fi 48481 48482 pythondir=$ax_python_pythondir 48483 48484 48485 ax_python_pyexecdir_suffix=`${PYTHON} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib(1, 0, prefix=''))" 2>/dev/null`; 48486 ax_python_library_dir=`${PYTHON} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib(True)) " 2>/dev/null`; 48487 48488 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 48489 ax_python_pyexecdir="${ax_python_exec_prefix}/${ax_python_pyexecdir_suffix}" 48490else 48491 ax_python_pyexecdir=$ax_python_library_dir 48492fi 48493 48494 pyexecdir=$ax_python_pyexecdir 48495 48496 48497 PYTHON_LIBRARY_DIR=$ax_python_pyexecdir_suffix 48498 48499 48500 PYTHON_PACKAGE_DIR=$ax_python_library_dir 48501 48502 48503fi 48504 48505fi 48506 48507 if test "x${ac_cv_enable_python2}" != xno; then : 48508 ax_python2_progs="python2 python2.7 python2.6 python2.5" 48509 for ac_prog in $ax_python2_progs 48510do 48511 # Extract the first word of "$ac_prog", so it can be a program name with args. 48512set dummy $ac_prog; ac_word=$2 48513{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 48514$as_echo_n "checking for $ac_word... " >&6; } 48515if ${ac_cv_prog_PYTHON2+:} false; then : 48516 $as_echo_n "(cached) " >&6 48517else 48518 if test -n "$PYTHON2"; then 48519 ac_cv_prog_PYTHON2="$PYTHON2" # Let the user override the test. 48520else 48521as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 48522for as_dir in $PATH 48523do 48524 IFS=$as_save_IFS 48525 test -z "$as_dir" && as_dir=. 48526 for ac_exec_ext in '' $ac_executable_extensions; do 48527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 48528 ac_cv_prog_PYTHON2="$ac_prog" 48529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 48530 break 2 48531 fi 48532done 48533 done 48534IFS=$as_save_IFS 48535 48536fi 48537fi 48538PYTHON2=$ac_cv_prog_PYTHON2 48539if test -n "$PYTHON2"; then 48540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2" >&5 48541$as_echo "$PYTHON2" >&6; } 48542else 48543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 48544$as_echo "no" >&6; } 48545fi 48546 48547 48548 test -n "$PYTHON2" && break 48549done 48550 48551 if test "x${PYTHON2}" != x; then : 48552 ax_prog_python2_version=`${PYTHON2} -c "import sys; sys.stdout.write(sys.version[:3])" 2>/dev/null`; 48553 PYTHON2_VERSION=$ax_prog_python2_version 48554 48555 48556 ax_prog_python2_platform=`${PYTHON2} -c "import sys; sys.stdout.write(sys.platform)" 2>/dev/null`; 48557 PYTHON2_PLATFORM=$ax_prog_python2_platform 48558 48559 48560else 48561 as_fn_error $? "Unable to find python2" "$LINENO" 5 48562 48563fi 48564 PYTHON2=$PYTHON2 48565 48566 48567 if test "x${PYTHON2_CONFIG}" = x; then : 48568 for ac_prog in python2-config python2.7-config python2.6-config python2.5-config 48569do 48570 # Extract the first word of "$ac_prog", so it can be a program name with args. 48571set dummy $ac_prog; ac_word=$2 48572{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 48573$as_echo_n "checking for $ac_word... " >&6; } 48574if ${ac_cv_prog_PYTHON2_CONFIG+:} false; then : 48575 $as_echo_n "(cached) " >&6 48576else 48577 if test -n "$PYTHON2_CONFIG"; then 48578 ac_cv_prog_PYTHON2_CONFIG="$PYTHON2_CONFIG" # Let the user override the test. 48579else 48580as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 48581for as_dir in $PATH 48582do 48583 IFS=$as_save_IFS 48584 test -z "$as_dir" && as_dir=. 48585 for ac_exec_ext in '' $ac_executable_extensions; do 48586 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 48587 ac_cv_prog_PYTHON2_CONFIG="$ac_prog" 48588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 48589 break 2 48590 fi 48591done 48592 done 48593IFS=$as_save_IFS 48594 48595fi 48596fi 48597PYTHON2_CONFIG=$ac_cv_prog_PYTHON2_CONFIG 48598if test -n "$PYTHON2_CONFIG"; then 48599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_CONFIG" >&5 48600$as_echo "$PYTHON2_CONFIG" >&6; } 48601else 48602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 48603$as_echo "no" >&6; } 48604fi 48605 48606 48607 test -n "$PYTHON2_CONFIG" && break 48608done 48609 48610 48611fi 48612 if test "x${PYTHON2_CONFIG}" = x; then : 48613 as_fn_error $? "Unable to find python2-config" "$LINENO" 5 48614 48615fi 48616 PYTHON2_CONFIG=$PYTHON2_CONFIG 48617 48618 48619 48620 if test "x${PYTHON2_CONFIG}" != x; then : 48621 PYTHON2_INCLUDES=`${PYTHON2_CONFIG} --includes 2>/dev/null`; 48622 48623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python verison 2 includes" >&5 48624$as_echo_n "checking for Python verison 2 includes... " >&6; } 48625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_INCLUDES" >&5 48626$as_echo "$PYTHON2_INCLUDES" >&6; } 48627 48628 PYTHON2_LDFLAGS=`${PYTHON2_CONFIG} --ldflags 2>/dev/null`; 48629 48630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python 2 libraries" >&5 48631$as_echo_n "checking for Python 2 libraries... " >&6; } 48632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_LDFLAGS" >&5 48633$as_echo "$PYTHON2_LDFLAGS" >&6; } 48634 48635 case $host_os in #( 48636 cygwin*) : 48637 PYTHON2_LDFLAGS="${PYTHON2_LDFLAGS} -no-undefined" ;; #( 48638 *) : 48639 ;; #( 48640 *) : 48641 ;; 48642esac 48643 48644 BACKUP_CPPFLAGS="${CPPFLAGS}" 48645 CPPFLAGS="${CPPFLAGS} ${PYTHON2_INCLUDES}" 48646 48647 for ac_header in Python.h 48648do : 48649 ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" 48650if test "x$ac_cv_header_Python_h" = xyes; then : 48651 cat >>confdefs.h <<_ACEOF 48652#define HAVE_PYTHON_H 1 48653_ACEOF 48654 ac_cv_header_python2_h=yes 48655else 48656 ac_cv_header_python2_h=no 48657fi 48658 48659done 48660 48661 48662 CPPFLAGS="${BACKUP_CPPFLAGS}" 48663 48664fi 48665 48666 if test "x${ac_cv_header_python2_h}" != xyes; then : 48667 ac_cv_enable_python2=no 48668else 48669 ac_cv_enable_python2=$PYTHON2_VERSION 48670 PYTHON2_CPPFLAGS=$PYTHON2_INCLUDES 48671 48672 48673 PYTHON2_LDFLAGS=$PYTHON2_LDFLAGS 48674 48675 48676 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 48677 ax_python2_prefix="\${prefix}" 48678else 48679 ax_python2_prefix=`${PYTHON2_CONFIG} --prefix 2>/dev/null` 48680fi 48681 48682 PYTHON2_PREFIX=$ax_python2_prefix 48683 48684 48685 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 48686 ax_python2_exec_prefix="\${exec_prefix}" 48687else 48688 ax_python2_exec_prefix=`${PYTHON2_CONFIG} --exec-prefix 2>/dev/null` 48689fi 48690 48691 PYTHON2_EXEC_PREFIX=$ax_python2_exec_prefix 48692 48693 48694 ax_python2_pythondir_suffix=`${PYTHON2} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib(0, 0, prefix=''))" 2>/dev/null`; 48695 48696 if test "x${ac_cv_with_pythondir2}" = x || test "x${ac_cv_with_pythondir2}" = xno; then : 48697 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 48698 ax_python2_pythondir="${ax_python_prefix}/${ax_python2_pythondir_suffix}" 48699else 48700 ax_python2_pythondir=`${PYTHON2} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib()) " 2>/dev/null` 48701fi 48702else 48703 ax_python2_pythondir=$ac_cv_with_pythondir2 48704fi 48705 48706 pythondir2=$ax_python2_pythondir 48707 48708 48709 ax_python2_pyexecdir_suffix=`${PYTHON2} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib(1, 0, prefix=''))" 2>/dev/null`; 48710 ax_python2_library_dir=`${PYTHON2} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib(True)) " 2>/dev/null`; 48711 48712 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 48713 ax_python2_pyexecdir="${ax_python2_exec_prefix}/${ax_python2_pyexecdir_suffix}" 48714else 48715 ax_python2_pyexecdir=$ax_python2_library_dir 48716fi 48717 48718 pyexecdir2=$ax_python2_pyexecdir 48719 48720 48721 PYTHON2_LIBRARY_DIR=$ax_python2_pyexecdir_suffix 48722 48723 48724 PYTHON2_PACKAGE_DIR=$ax_python2_library_dir 48725 48726 48727fi 48728 48729fi 48730 48731 if test "x${ac_cv_enable_python3}" != xno; then : 48732 ax_python3_progs="python3 python3.10 python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0" 48733 for ac_prog in $ax_python3_progs 48734do 48735 # Extract the first word of "$ac_prog", so it can be a program name with args. 48736set dummy $ac_prog; ac_word=$2 48737{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 48738$as_echo_n "checking for $ac_word... " >&6; } 48739if ${ac_cv_prog_PYTHON3+:} false; then : 48740 $as_echo_n "(cached) " >&6 48741else 48742 if test -n "$PYTHON3"; then 48743 ac_cv_prog_PYTHON3="$PYTHON3" # Let the user override the test. 48744else 48745as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 48746for as_dir in $PATH 48747do 48748 IFS=$as_save_IFS 48749 test -z "$as_dir" && as_dir=. 48750 for ac_exec_ext in '' $ac_executable_extensions; do 48751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 48752 ac_cv_prog_PYTHON3="$ac_prog" 48753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 48754 break 2 48755 fi 48756done 48757 done 48758IFS=$as_save_IFS 48759 48760fi 48761fi 48762PYTHON3=$ac_cv_prog_PYTHON3 48763if test -n "$PYTHON3"; then 48764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3" >&5 48765$as_echo "$PYTHON3" >&6; } 48766else 48767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 48768$as_echo "no" >&6; } 48769fi 48770 48771 48772 test -n "$PYTHON3" && break 48773done 48774 48775 if test "x${PYTHON3}" != x; then : 48776 ax_prog_python3_version=`${PYTHON3} -c "import sys; sys.stdout.write(sys.version[:3])" 2>/dev/null`; 48777 PYTHON3_VERSION=$ax_prog_python3_version 48778 48779 48780 ax_prog_python3_platform=`${PYTHON3} -c "import sys; sys.stdout.write(sys.platform)" 2>/dev/null`; 48781 PYTHON3_PLATFORM=$ax_prog_python3_platform 48782 48783 48784else 48785 as_fn_error $? "Unable to find python3" "$LINENO" 5 48786 48787fi 48788 PYTHON3=$PYTHON3 48789 48790 48791 if test "x${PYTHON3_CONFIG}" = x; then : 48792 for ac_prog in python3-config python3.10-config python3.9-config python3.8-config python3.7-config python3.6-config python3.5-config python3.4-config python3.3-config python3.2-config python3.1-config python3.0-config 48793do 48794 # Extract the first word of "$ac_prog", so it can be a program name with args. 48795set dummy $ac_prog; ac_word=$2 48796{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 48797$as_echo_n "checking for $ac_word... " >&6; } 48798if ${ac_cv_prog_PYTHON3_CONFIG+:} false; then : 48799 $as_echo_n "(cached) " >&6 48800else 48801 if test -n "$PYTHON3_CONFIG"; then 48802 ac_cv_prog_PYTHON3_CONFIG="$PYTHON3_CONFIG" # Let the user override the test. 48803else 48804as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 48805for as_dir in $PATH 48806do 48807 IFS=$as_save_IFS 48808 test -z "$as_dir" && as_dir=. 48809 for ac_exec_ext in '' $ac_executable_extensions; do 48810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 48811 ac_cv_prog_PYTHON3_CONFIG="$ac_prog" 48812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 48813 break 2 48814 fi 48815done 48816 done 48817IFS=$as_save_IFS 48818 48819fi 48820fi 48821PYTHON3_CONFIG=$ac_cv_prog_PYTHON3_CONFIG 48822if test -n "$PYTHON3_CONFIG"; then 48823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3_CONFIG" >&5 48824$as_echo "$PYTHON3_CONFIG" >&6; } 48825else 48826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 48827$as_echo "no" >&6; } 48828fi 48829 48830 48831 test -n "$PYTHON3_CONFIG" && break 48832done 48833 48834 48835fi 48836 if test "x${PYTHON3_CONFIG}" = x; then : 48837 as_fn_error $? "Unable to find python3-config" "$LINENO" 5 48838 48839fi 48840 PYTHON3_CONFIG=$PYTHON3_CONFIG 48841 48842 48843 48844 if test "x${PYTHON3_CONFIG}" != x; then : 48845 PYTHON3_INCLUDES=`${PYTHON3_CONFIG} --includes 2>/dev/null`; 48846 48847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python verison 3 includes" >&5 48848$as_echo_n "checking for Python verison 3 includes... " >&6; } 48849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3_INCLUDES" >&5 48850$as_echo "$PYTHON3_INCLUDES" >&6; } 48851 48852 PYTHON3_LDFLAGS=`${PYTHON3_CONFIG} --ldflags 2>/dev/null`; 48853 48854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python 3 libraries" >&5 48855$as_echo_n "checking for Python 3 libraries... " >&6; } 48856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3_LDFLAGS" >&5 48857$as_echo "$PYTHON3_LDFLAGS" >&6; } 48858 48859 case $host_os in #( 48860 cygwin*) : 48861 PYTHON3_LDFLAGS="${PYTHON3_LDFLAGS} -no-undefined" ;; #( 48862 *) : 48863 ;; #( 48864 *) : 48865 ;; 48866esac 48867 48868 BACKUP_CPPFLAGS="${CPPFLAGS}" 48869 CPPFLAGS="${CPPFLAGS} ${PYTHON3_INCLUDES}" 48870 48871 for ac_header in Python.h 48872do : 48873 ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" 48874if test "x$ac_cv_header_Python_h" = xyes; then : 48875 cat >>confdefs.h <<_ACEOF 48876#define HAVE_PYTHON_H 1 48877_ACEOF 48878 ac_cv_header_python3_h=yes 48879else 48880 ac_cv_header_python3_h=no 48881fi 48882 48883done 48884 48885 48886 CPPFLAGS="${BACKUP_CPPFLAGS}" 48887 48888fi 48889 48890 if test "x${ac_cv_header_python3_h}" != xyes; then : 48891 ac_cv_enable_python3=no 48892else 48893 ac_cv_enable_python3=$PYTHON3_VERSION 48894 PYTHON3_CPPFLAGS=$PYTHON3_INCLUDES 48895 48896 48897 PYTHON3_LDFLAGS=$PYTHON3_LDFLAGS 48898 48899 48900 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 48901 ax_python3_prefix="\${prefix}" 48902else 48903 ax_python3_prefix=`${PYTHON3_CONFIG} --prefix 2>/dev/null` 48904fi 48905 48906 PYTHON3_PREFIX=$ax_python3_prefix 48907 48908 48909 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 48910 ax_python3_exec_prefix="\${exec_prefix}" 48911else 48912 ax_python3_exec_prefix=`${PYTHON3_CONFIG} --exec-prefix 2>/dev/null` 48913fi 48914 48915 PYTHON3_EXEC_PREFIX=$ax_python3_exec_prefix 48916 48917 48918 ax_python3_pythondir_suffix=`${PYTHON3} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib(0, 0, prefix=''))" 2>/dev/null`; 48919 48920 if test "x${ac_cv_with_pythondir3}" = x || test "x${ac_cv_with_pythondir3}" = xno; then : 48921 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 48922 ax_python3_pythondir="${ax_python_prefix}/${ax_python3_pythondir_suffix}" 48923else 48924 ax_python3_pythondir=`${PYTHON3} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib()) " 2>/dev/null` 48925fi 48926else 48927 ax_python3_pythondir=$ac_cv_with_pythondir3 48928fi 48929 48930 pythondir3=$ax_python3_pythondir 48931 48932 48933 ax_python3_pyexecdir_suffix=`${PYTHON3} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib(1, 0, prefix=''))" 2>/dev/null`; 48934 ax_python3_library_dir=`${PYTHON3} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib(True)) " 2>/dev/null`; 48935 48936 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 48937 ax_python3_pyexecdir="${ax_python3_exec_prefix}/${ax_python3_pyexecdir_suffix}" 48938else 48939 ax_python3_pyexecdir=$ax_python3_library_dir 48940fi 48941 48942 pyexecdir3=$ax_python3_pyexecdir 48943 48944 48945 PYTHON3_LIBRARY_DIR=$ax_python3_pyexecdir_suffix 48946 48947 48948 PYTHON3_PACKAGE_DIR=$ax_python3_library_dir 48949 48950 48951fi 48952 48953fi 48954 48955 if test "x${ac_cv_enable_python}" != xno; then 48956 HAVE_PYTHON_TRUE= 48957 HAVE_PYTHON_FALSE='#' 48958else 48959 HAVE_PYTHON_TRUE='#' 48960 HAVE_PYTHON_FALSE= 48961fi 48962 48963 48964 if test "x${ac_cv_enable_python2}" != xno; then 48965 HAVE_PYTHON2_TRUE= 48966 HAVE_PYTHON2_FALSE='#' 48967else 48968 HAVE_PYTHON2_TRUE='#' 48969 HAVE_PYTHON2_FALSE= 48970fi 48971 48972 48973 if test "x${ac_cv_enable_python3}" != xno; then 48974 HAVE_PYTHON3_TRUE= 48975 HAVE_PYTHON3_FALSE='#' 48976else 48977 HAVE_PYTHON3_TRUE='#' 48978 HAVE_PYTHON3_FALSE= 48979fi 48980 48981 48982 if test "x${ac_cv_enable_python}" != xno || test "x${ac_cv_enable_python2}" != xno || test "x${ac_cv_enable_python3}" != xno; then 48983 HAVE_PYTHON_TESTS_TRUE= 48984 HAVE_PYTHON_TESTS_FALSE='#' 48985else 48986 HAVE_PYTHON_TESTS_TRUE='#' 48987 HAVE_PYTHON_TESTS_FALSE= 48988fi 48989 48990 48991 if test "x${ac_cv_enable_python}" = xno; then : 48992 if test "x${ac_cv_enable_python2}" != xno || test "x${ac_cv_enable_python3}" != xno; then : 48993 if test "x${ac_cv_enable_python2}" != xno; then : 48994 ac_cv_enable_python=${ac_cv_enable_python2} 48995else 48996 ac_cv_enable_python="" 48997fi 48998 if test "x${ac_cv_enable_python3}" != xno; then : 48999 if test "x${ac_cv_enable_python}" != x; then : 49000 ac_cv_enable_python="${ac_cv_enable_python}, " 49001fi 49002 ac_cv_enable_python="${ac_cv_enable_python}${ac_cv_enable_python3}" 49003fi 49004 49005fi 49006 49007fi 49008 49009 49010if test "x${ac_cv_enable_python}" != xno || test "x${ac_cv_enable_python2}" != xno || test "x${ac_cv_enable_python3}" != xno; then : 49011 for ac_header in stdarg.h varargs.h 49012do : 49013 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 49014ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 49015if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 49016 cat >>confdefs.h <<_ACEOF 49017#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 49018_ACEOF 49019 49020fi 49021 49022done 49023 49024 49025 if test "x$ac_cv_header_stdarg_h" != xyes && test "x$ac_cv_header_varargs_h" != xyes; then : 49026 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 49027$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 49028as_fn_error 1 "Missing headers: stdarg.h and varargs.h 49029See \`config.log' for more details" "$LINENO" 5; } 49030 49031fi 49032 49033fi 49034 49035 49036 49037# Check whether --with-libfuse was given. 49038if test "${with_libfuse+set}" = set; then : 49039 withval=$with_libfuse; ac_cv_with_libfuse=$withval 49040else 49041 ac_cv_with_libfuse=auto-detect 49042fi 49043 49044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use search for libfuse in includedir and libdir or in the specified DIR, or no if not to use libfuse" >&5 49045$as_echo_n "checking whether to use search for libfuse in includedir and libdir or in the specified DIR, or no if not to use libfuse... " >&6; } 49046if ${ac_cv_with_libfuse+:} false; then : 49047 $as_echo_n "(cached) " >&6 49048else 49049 ac_cv_with_libfuse=auto-detect 49050fi 49051{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfuse" >&5 49052$as_echo "$ac_cv_with_libfuse" >&6; } 49053 49054 if test "x$ac_cv_with_libfuse" != x && test "x$ac_cv_with_libfuse" != xno && test "x$ac_cv_with_libfuse" != xauto-detect; then : 49055 if test -d "$ac_cv_with_libfuse"; then : 49056 CFLAGS="$CFLAGS -I${ac_cv_with_libfuse}/include" 49057 LDFLAGS="$LDFLAGS -L${ac_cv_with_libfuse}/lib" 49058else 49059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no such directory: $ac_cv_with_libfuse" >&5 49060$as_echo "$as_me: WARNING: no such directory: $ac_cv_with_libfuse" >&2;} 49061 49062fi 49063 49064fi 49065 49066 if test "x$ac_cv_with_libfuse" = xno; then : 49067 ac_cv_libfuse=no 49068else 49069 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 49070 49071pkg_failed=no 49072{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse" >&5 49073$as_echo_n "checking for fuse... " >&6; } 49074 49075if test -n "$fuse_CFLAGS"; then 49076 pkg_cv_fuse_CFLAGS="$fuse_CFLAGS" 49077 elif test -n "$PKG_CONFIG"; then 49078 if test -n "$PKG_CONFIG" && \ 49079 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.6\""; } >&5 49080 ($PKG_CONFIG --exists --print-errors "fuse >= 2.6") 2>&5 49081 ac_status=$? 49082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 49083 test $ac_status = 0; }; then 49084 pkg_cv_fuse_CFLAGS=`$PKG_CONFIG --cflags "fuse >= 2.6" 2>/dev/null` 49085 test "x$?" != "x0" && pkg_failed=yes 49086else 49087 pkg_failed=yes 49088fi 49089 else 49090 pkg_failed=untried 49091fi 49092if test -n "$fuse_LIBS"; then 49093 pkg_cv_fuse_LIBS="$fuse_LIBS" 49094 elif test -n "$PKG_CONFIG"; then 49095 if test -n "$PKG_CONFIG" && \ 49096 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.6\""; } >&5 49097 ($PKG_CONFIG --exists --print-errors "fuse >= 2.6") 2>&5 49098 ac_status=$? 49099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 49100 test $ac_status = 0; }; then 49101 pkg_cv_fuse_LIBS=`$PKG_CONFIG --libs "fuse >= 2.6" 2>/dev/null` 49102 test "x$?" != "x0" && pkg_failed=yes 49103else 49104 pkg_failed=yes 49105fi 49106 else 49107 pkg_failed=untried 49108fi 49109 49110 49111 49112if test $pkg_failed = yes; then 49113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 49114$as_echo "no" >&6; } 49115 49116if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 49117 _pkg_short_errors_supported=yes 49118else 49119 _pkg_short_errors_supported=no 49120fi 49121 if test $_pkg_short_errors_supported = yes; then 49122 fuse_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fuse >= 2.6" 2>&1` 49123 else 49124 fuse_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fuse >= 2.6" 2>&1` 49125 fi 49126 # Put the nasty error message in config.log where it belongs 49127 echo "$fuse_PKG_ERRORS" >&5 49128 49129 ac_cv_libfuse=no 49130elif test $pkg_failed = untried; then 49131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 49132$as_echo "no" >&6; } 49133 ac_cv_libfuse=no 49134else 49135 fuse_CFLAGS=$pkg_cv_fuse_CFLAGS 49136 fuse_LIBS=$pkg_cv_fuse_LIBS 49137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 49138$as_echo "yes" >&6; } 49139 ac_cv_libfuse=libfuse 49140fi 49141 49142fi 49143 49144 if test "x$ac_cv_libfuse" = xlibfuse; then : 49145 ac_cv_libfuse_CPPFLAGS="$pkg_cv_fuse_CFLAGS" 49146 ac_cv_libfuse_LIBADD="$pkg_cv_fuse_LIBS" 49147else 49148 for ac_header in fuse.h 49149do : 49150 ac_fn_c_check_header_mongrel "$LINENO" "fuse.h" "ac_cv_header_fuse_h" "$ac_includes_default" 49151if test "x$ac_cv_header_fuse_h" = xyes; then : 49152 cat >>confdefs.h <<_ACEOF 49153#define HAVE_FUSE_H 1 49154_ACEOF 49155 ac_cv_header_fuse_h=yes 49156else 49157 ac_cv_header_fuse_h=no 49158fi 49159 49160done 49161 49162 49163 if test "x$ac_cv_header_fuse_h" = xno; then : 49164 { ac_cv_header_fuse_h=; unset ac_cv_header_fuse_h;} 49165 CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64" 49166 for ac_header in fuse.h 49167do : 49168 ac_fn_c_check_header_mongrel "$LINENO" "fuse.h" "ac_cv_header_fuse_h" "$ac_includes_default" 49169if test "x$ac_cv_header_fuse_h" = xyes; then : 49170 cat >>confdefs.h <<_ACEOF 49171#define HAVE_FUSE_H 1 49172_ACEOF 49173 49174fi 49175 49176done 49177 49178 49179fi 49180 49181 if test "x$ac_cv_header_fuse_h" = xno; then : 49182 ac_cv_libfuse=no 49183else 49184 ac_cv_libfuse=libfuse 49185 49186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_daemonize in -lfuse" >&5 49187$as_echo_n "checking for fuse_daemonize in -lfuse... " >&6; } 49188if ${ac_cv_lib_fuse_fuse_daemonize+:} false; then : 49189 $as_echo_n "(cached) " >&6 49190else 49191 ac_check_lib_save_LIBS=$LIBS 49192LIBS="-lfuse $LIBS" 49193cat confdefs.h - <<_ACEOF >conftest.$ac_ext 49194/* end confdefs.h. */ 49195 49196/* Override any GCC internal prototype to avoid an error. 49197 Use char because int might match the return type of a GCC 49198 builtin and then its argument prototype would still apply. */ 49199#ifdef __cplusplus 49200extern "C" 49201#endif 49202char fuse_daemonize (); 49203int 49204main () 49205{ 49206return fuse_daemonize (); 49207 ; 49208 return 0; 49209} 49210_ACEOF 49211if ac_fn_c_try_link "$LINENO"; then : 49212 ac_cv_lib_fuse_fuse_daemonize=yes 49213else 49214 ac_cv_lib_fuse_fuse_daemonize=no 49215fi 49216rm -f core conftest.err conftest.$ac_objext \ 49217 conftest$ac_exeext conftest.$ac_ext 49218LIBS=$ac_check_lib_save_LIBS 49219fi 49220{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_daemonize" >&5 49221$as_echo "$ac_cv_lib_fuse_fuse_daemonize" >&6; } 49222if test "x$ac_cv_lib_fuse_fuse_daemonize" = xyes; then : 49223 ac_cv_libfuse_dummy=yes 49224else 49225 ac_cv_libfuse=no 49226fi 49227 49228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_destroy in -lfuse" >&5 49229$as_echo_n "checking for fuse_destroy in -lfuse... " >&6; } 49230if ${ac_cv_lib_fuse_fuse_destroy+:} false; then : 49231 $as_echo_n "(cached) " >&6 49232else 49233 ac_check_lib_save_LIBS=$LIBS 49234LIBS="-lfuse $LIBS" 49235cat confdefs.h - <<_ACEOF >conftest.$ac_ext 49236/* end confdefs.h. */ 49237 49238/* Override any GCC internal prototype to avoid an error. 49239 Use char because int might match the return type of a GCC 49240 builtin and then its argument prototype would still apply. */ 49241#ifdef __cplusplus 49242extern "C" 49243#endif 49244char fuse_destroy (); 49245int 49246main () 49247{ 49248return fuse_destroy (); 49249 ; 49250 return 0; 49251} 49252_ACEOF 49253if ac_fn_c_try_link "$LINENO"; then : 49254 ac_cv_lib_fuse_fuse_destroy=yes 49255else 49256 ac_cv_lib_fuse_fuse_destroy=no 49257fi 49258rm -f core conftest.err conftest.$ac_objext \ 49259 conftest$ac_exeext conftest.$ac_ext 49260LIBS=$ac_check_lib_save_LIBS 49261fi 49262{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_destroy" >&5 49263$as_echo "$ac_cv_lib_fuse_fuse_destroy" >&6; } 49264if test "x$ac_cv_lib_fuse_fuse_destroy" = xyes; then : 49265 ac_cv_libfuse_dummy=yes 49266else 49267 ac_cv_libfuse=no 49268fi 49269 49270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_mount in -lfuse" >&5 49271$as_echo_n "checking for fuse_mount in -lfuse... " >&6; } 49272if ${ac_cv_lib_fuse_fuse_mount+:} false; then : 49273 $as_echo_n "(cached) " >&6 49274else 49275 ac_check_lib_save_LIBS=$LIBS 49276LIBS="-lfuse $LIBS" 49277cat confdefs.h - <<_ACEOF >conftest.$ac_ext 49278/* end confdefs.h. */ 49279 49280/* Override any GCC internal prototype to avoid an error. 49281 Use char because int might match the return type of a GCC 49282 builtin and then its argument prototype would still apply. */ 49283#ifdef __cplusplus 49284extern "C" 49285#endif 49286char fuse_mount (); 49287int 49288main () 49289{ 49290return fuse_mount (); 49291 ; 49292 return 0; 49293} 49294_ACEOF 49295if ac_fn_c_try_link "$LINENO"; then : 49296 ac_cv_lib_fuse_fuse_mount=yes 49297else 49298 ac_cv_lib_fuse_fuse_mount=no 49299fi 49300rm -f core conftest.err conftest.$ac_objext \ 49301 conftest$ac_exeext conftest.$ac_ext 49302LIBS=$ac_check_lib_save_LIBS 49303fi 49304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_mount" >&5 49305$as_echo "$ac_cv_lib_fuse_fuse_mount" >&6; } 49306if test "x$ac_cv_lib_fuse_fuse_mount" = xyes; then : 49307 ac_cv_libfuse_dummy=yes 49308else 49309 ac_cv_libfuse=no 49310fi 49311 49312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_new in -lfuse" >&5 49313$as_echo_n "checking for fuse_new in -lfuse... " >&6; } 49314if ${ac_cv_lib_fuse_fuse_new+:} false; then : 49315 $as_echo_n "(cached) " >&6 49316else 49317 ac_check_lib_save_LIBS=$LIBS 49318LIBS="-lfuse $LIBS" 49319cat confdefs.h - <<_ACEOF >conftest.$ac_ext 49320/* end confdefs.h. */ 49321 49322/* Override any GCC internal prototype to avoid an error. 49323 Use char because int might match the return type of a GCC 49324 builtin and then its argument prototype would still apply. */ 49325#ifdef __cplusplus 49326extern "C" 49327#endif 49328char fuse_new (); 49329int 49330main () 49331{ 49332return fuse_new (); 49333 ; 49334 return 0; 49335} 49336_ACEOF 49337if ac_fn_c_try_link "$LINENO"; then : 49338 ac_cv_lib_fuse_fuse_new=yes 49339else 49340 ac_cv_lib_fuse_fuse_new=no 49341fi 49342rm -f core conftest.err conftest.$ac_objext \ 49343 conftest$ac_exeext conftest.$ac_ext 49344LIBS=$ac_check_lib_save_LIBS 49345fi 49346{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_new" >&5 49347$as_echo "$ac_cv_lib_fuse_fuse_new" >&6; } 49348if test "x$ac_cv_lib_fuse_fuse_new" = xyes; then : 49349 ac_cv_libfuse_dummy=yes 49350else 49351 ac_cv_libfuse=no 49352fi 49353 49354 49355 ac_cv_libfuse_LIBADD="-lfuse"; 49356 49357fi 49358 49359fi 49360 49361 if test "x$ac_cv_with_libfuse" != xno && test "x$ac_cv_header_fuse_h" = xno; then : 49362 CPPFLAGS="$CPPFLAGS -DFUSE_USE_VERSION=26" 49363 for ac_header in osxfuse/fuse.h 49364do : 49365 ac_fn_c_check_header_mongrel "$LINENO" "osxfuse/fuse.h" "ac_cv_header_osxfuse_fuse_h" "$ac_includes_default" 49366if test "x$ac_cv_header_osxfuse_fuse_h" = xyes; then : 49367 cat >>confdefs.h <<_ACEOF 49368#define HAVE_OSXFUSE_FUSE_H 1 49369_ACEOF 49370 49371fi 49372 49373done 49374 49375 49376 if test "x$ac_cv_header_osxfuse_fuse_h" = xno; then : 49377 { ac_cv_header_osxfuse_fuse_h=; unset ac_cv_header_osxfuse_fuse_h;} 49378 CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64" 49379 for ac_header in osxfuse/fuse.h 49380do : 49381 ac_fn_c_check_header_mongrel "$LINENO" "osxfuse/fuse.h" "ac_cv_header_osxfuse_fuse_h" "$ac_includes_default" 49382if test "x$ac_cv_header_osxfuse_fuse_h" = xyes; then : 49383 cat >>confdefs.h <<_ACEOF 49384#define HAVE_OSXFUSE_FUSE_H 1 49385_ACEOF 49386 49387fi 49388 49389done 49390 49391 49392fi 49393 49394 if test "x$ac_cv_header_osxfuse_fuse_h" = xno; then : 49395 ac_cv_libfuse=no 49396else 49397 ac_cv_libfuse=libosxfuse 49398 49399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_daemonize in -losxfuse" >&5 49400$as_echo_n "checking for fuse_daemonize in -losxfuse... " >&6; } 49401if ${ac_cv_lib_osxfuse_fuse_daemonize+:} false; then : 49402 $as_echo_n "(cached) " >&6 49403else 49404 ac_check_lib_save_LIBS=$LIBS 49405LIBS="-losxfuse $LIBS" 49406cat confdefs.h - <<_ACEOF >conftest.$ac_ext 49407/* end confdefs.h. */ 49408 49409/* Override any GCC internal prototype to avoid an error. 49410 Use char because int might match the return type of a GCC 49411 builtin and then its argument prototype would still apply. */ 49412#ifdef __cplusplus 49413extern "C" 49414#endif 49415char fuse_daemonize (); 49416int 49417main () 49418{ 49419return fuse_daemonize (); 49420 ; 49421 return 0; 49422} 49423_ACEOF 49424if ac_fn_c_try_link "$LINENO"; then : 49425 ac_cv_lib_osxfuse_fuse_daemonize=yes 49426else 49427 ac_cv_lib_osxfuse_fuse_daemonize=no 49428fi 49429rm -f core conftest.err conftest.$ac_objext \ 49430 conftest$ac_exeext conftest.$ac_ext 49431LIBS=$ac_check_lib_save_LIBS 49432fi 49433{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_daemonize" >&5 49434$as_echo "$ac_cv_lib_osxfuse_fuse_daemonize" >&6; } 49435if test "x$ac_cv_lib_osxfuse_fuse_daemonize" = xyes; then : 49436 ac_cv_libfuse_dummy=yes 49437else 49438 ac_cv_libfuse=no 49439fi 49440 49441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_destroy in -losxfuse" >&5 49442$as_echo_n "checking for fuse_destroy in -losxfuse... " >&6; } 49443if ${ac_cv_lib_osxfuse_fuse_destroy+:} false; then : 49444 $as_echo_n "(cached) " >&6 49445else 49446 ac_check_lib_save_LIBS=$LIBS 49447LIBS="-losxfuse $LIBS" 49448cat confdefs.h - <<_ACEOF >conftest.$ac_ext 49449/* end confdefs.h. */ 49450 49451/* Override any GCC internal prototype to avoid an error. 49452 Use char because int might match the return type of a GCC 49453 builtin and then its argument prototype would still apply. */ 49454#ifdef __cplusplus 49455extern "C" 49456#endif 49457char fuse_destroy (); 49458int 49459main () 49460{ 49461return fuse_destroy (); 49462 ; 49463 return 0; 49464} 49465_ACEOF 49466if ac_fn_c_try_link "$LINENO"; then : 49467 ac_cv_lib_osxfuse_fuse_destroy=yes 49468else 49469 ac_cv_lib_osxfuse_fuse_destroy=no 49470fi 49471rm -f core conftest.err conftest.$ac_objext \ 49472 conftest$ac_exeext conftest.$ac_ext 49473LIBS=$ac_check_lib_save_LIBS 49474fi 49475{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_destroy" >&5 49476$as_echo "$ac_cv_lib_osxfuse_fuse_destroy" >&6; } 49477if test "x$ac_cv_lib_osxfuse_fuse_destroy" = xyes; then : 49478 ac_cv_libfuse_dummy=yes 49479else 49480 ac_cv_libfuse=no 49481fi 49482 49483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_mount in -losxfuse" >&5 49484$as_echo_n "checking for fuse_mount in -losxfuse... " >&6; } 49485if ${ac_cv_lib_osxfuse_fuse_mount+:} false; then : 49486 $as_echo_n "(cached) " >&6 49487else 49488 ac_check_lib_save_LIBS=$LIBS 49489LIBS="-losxfuse $LIBS" 49490cat confdefs.h - <<_ACEOF >conftest.$ac_ext 49491/* end confdefs.h. */ 49492 49493/* Override any GCC internal prototype to avoid an error. 49494 Use char because int might match the return type of a GCC 49495 builtin and then its argument prototype would still apply. */ 49496#ifdef __cplusplus 49497extern "C" 49498#endif 49499char fuse_mount (); 49500int 49501main () 49502{ 49503return fuse_mount (); 49504 ; 49505 return 0; 49506} 49507_ACEOF 49508if ac_fn_c_try_link "$LINENO"; then : 49509 ac_cv_lib_osxfuse_fuse_mount=yes 49510else 49511 ac_cv_lib_osxfuse_fuse_mount=no 49512fi 49513rm -f core conftest.err conftest.$ac_objext \ 49514 conftest$ac_exeext conftest.$ac_ext 49515LIBS=$ac_check_lib_save_LIBS 49516fi 49517{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_mount" >&5 49518$as_echo "$ac_cv_lib_osxfuse_fuse_mount" >&6; } 49519if test "x$ac_cv_lib_osxfuse_fuse_mount" = xyes; then : 49520 ac_cv_libfuse_dummy=yes 49521else 49522 ac_cv_libfuse=no 49523fi 49524 49525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_new in -losxfuse" >&5 49526$as_echo_n "checking for fuse_new in -losxfuse... " >&6; } 49527if ${ac_cv_lib_osxfuse_fuse_new+:} false; then : 49528 $as_echo_n "(cached) " >&6 49529else 49530 ac_check_lib_save_LIBS=$LIBS 49531LIBS="-losxfuse $LIBS" 49532cat confdefs.h - <<_ACEOF >conftest.$ac_ext 49533/* end confdefs.h. */ 49534 49535/* Override any GCC internal prototype to avoid an error. 49536 Use char because int might match the return type of a GCC 49537 builtin and then its argument prototype would still apply. */ 49538#ifdef __cplusplus 49539extern "C" 49540#endif 49541char fuse_new (); 49542int 49543main () 49544{ 49545return fuse_new (); 49546 ; 49547 return 0; 49548} 49549_ACEOF 49550if ac_fn_c_try_link "$LINENO"; then : 49551 ac_cv_lib_osxfuse_fuse_new=yes 49552else 49553 ac_cv_lib_osxfuse_fuse_new=no 49554fi 49555rm -f core conftest.err conftest.$ac_objext \ 49556 conftest$ac_exeext conftest.$ac_ext 49557LIBS=$ac_check_lib_save_LIBS 49558fi 49559{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_new" >&5 49560$as_echo "$ac_cv_lib_osxfuse_fuse_new" >&6; } 49561if test "x$ac_cv_lib_osxfuse_fuse_new" = xyes; then : 49562 ac_cv_libfuse_dummy=yes 49563else 49564 ac_cv_libfuse=no 49565fi 49566 49567 49568 ac_cv_libfuse_LIBADD="-losxfuse"; 49569 49570fi 49571 49572fi 49573 49574fi 49575 49576 if test "x$ac_cv_libfuse" = xlibfuse; then : 49577 49578$as_echo "#define HAVE_LIBFUSE 1" >>confdefs.h 49579 49580 49581fi 49582 if test "x$ac_cv_libfuse" = xlibosxfuse; then : 49583 49584$as_echo "#define HAVE_LIBOSXFUSE 1" >>confdefs.h 49585 49586 49587fi 49588 49589 if test "x$ac_cv_libfuse" != xno; then : 49590 HAVE_LIBFUSE=1 49591 49592else 49593 HAVE_LIBFUSE=0 49594 49595 49596fi 49597 49598 49599 if test "x$ac_cv_libfuse_CPPFLAGS" != "x"; then : 49600 LIBFUSE_CPPFLAGS=$ac_cv_libfuse_CPPFLAGS 49601 49602 49603fi 49604 if test "x$ac_cv_libfuse_LIBADD" != "x"; then : 49605 LIBFUSE_LIBADD=$ac_cv_libfuse_LIBADD 49606 49607 49608fi 49609 49610 if test "x$ac_cv_libfuse" = xlibfuse; then : 49611 ax_libfuse_pc_libs_private=-lfuse 49612 49613 49614fi 49615 if test "x$ac_cv_libfuse" = xlibosxfuse; then : 49616 ax_libfuse_pc_libs_private=-losxfuse 49617 49618 49619fi 49620 49621 if test "x$ac_cv_libfuse" = xlibfuse; then : 49622 ax_libfuse_spec_requires=fuse-libs 49623 49624 ax_libfuse_spec_build_requires=fuse-devel 49625 49626 49627fi 49628 49629 49630for ac_header in signal.h sys/signal.h unistd.h 49631do : 49632 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 49633ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 49634if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 49635 cat >>confdefs.h <<_ACEOF 49636#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 49637_ACEOF 49638 49639fi 49640 49641done 49642 49643 49644 for ac_func in close getopt setvbuf 49645do : 49646 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 49647ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 49648if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 49649 cat >>confdefs.h <<_ACEOF 49650#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 49651_ACEOF 49652 49653fi 49654done 49655 49656 49657 if test "x$ac_cv_func_close" != xyes; then : 49658 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 49659$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 49660as_fn_error 1 "Missing function: close 49661See \`config.log' for more details" "$LINENO" 5; } 49662 49663fi 49664 49665 for ac_header in errno.h 49666do : 49667 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 49668if test "x$ac_cv_header_errno_h" = xyes; then : 49669 cat >>confdefs.h <<_ACEOF 49670#define HAVE_ERRNO_H 1 49671_ACEOF 49672 49673fi 49674 49675done 49676 49677 49678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 49679$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 49680if ${ac_cv_header_time+:} false; then : 49681 $as_echo_n "(cached) " >&6 49682else 49683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 49684/* end confdefs.h. */ 49685#include <sys/types.h> 49686#include <sys/time.h> 49687#include <time.h> 49688 49689int 49690main () 49691{ 49692if ((struct tm *) 0) 49693return 0; 49694 ; 49695 return 0; 49696} 49697_ACEOF 49698if ac_fn_c_try_compile "$LINENO"; then : 49699 ac_cv_header_time=yes 49700else 49701 ac_cv_header_time=no 49702fi 49703rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 49704fi 49705{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 49706$as_echo "$ac_cv_header_time" >&6; } 49707if test $ac_cv_header_time = yes; then 49708 49709$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h 49710 49711fi 49712 49713 49714 if test "x$ac_cv_enable_winapi" = xno; then : 49715 for ac_func in clock_gettime getegid geteuid time 49716do : 49717 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 49718ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 49719if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 49720 cat >>confdefs.h <<_ACEOF 49721#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 49722_ACEOF 49723 49724fi 49725done 49726 49727 49728fi 49729 49730 49731if test "x$enable_shared" = xyes && test "x$ac_cv_enable_static_executables" = xno; then : 49732 case $host in #( 49733 *cygwin* | *mingw* | *msys*) : 49734 49735$as_echo "#define HAVE_DLLMAIN 1" >>confdefs.h 49736 49737 HAVE_DLLMAIN=1 49738 49739 49740 LIBQCOW_DLL_EXPORT="-DLIBQCOW_DLL_EXPORT" 49741 49742 49743 LIBQCOW_DLL_IMPORT="-DLIBQCOW_DLL_IMPORT" 49744 49745 ;; #( 49746 *) : 49747 ;; 49748esac 49749 49750fi 49751 49752 49753for ac_header in dlfcn.h 49754do : 49755 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 49756if test "x$ac_cv_header_dlfcn_h" = xyes; then : 49757 cat >>confdefs.h <<_ACEOF 49758#define HAVE_DLFCN_H 1 49759_ACEOF 49760 49761fi 49762 49763done 49764 49765 49766 for ac_func in fmemopen getopt mkstemp setenv tzset unlink 49767do : 49768 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 49769ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 49770if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 49771 cat >>confdefs.h <<_ACEOF 49772#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 49773_ACEOF 49774 49775fi 49776done 49777 49778 49779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5 49780$as_echo_n "checking for dlsym in -ldl... " >&6; } 49781if ${ac_cv_lib_dl_dlsym+:} false; then : 49782 $as_echo_n "(cached) " >&6 49783else 49784 ac_check_lib_save_LIBS=$LIBS 49785LIBS="-ldl $LIBS" 49786cat confdefs.h - <<_ACEOF >conftest.$ac_ext 49787/* end confdefs.h. */ 49788 49789/* Override any GCC internal prototype to avoid an error. 49790 Use char because int might match the return type of a GCC 49791 builtin and then its argument prototype would still apply. */ 49792#ifdef __cplusplus 49793extern "C" 49794#endif 49795char dlsym (); 49796int 49797main () 49798{ 49799return dlsym (); 49800 ; 49801 return 0; 49802} 49803_ACEOF 49804if ac_fn_c_try_link "$LINENO"; then : 49805 ac_cv_lib_dl_dlsym=yes 49806else 49807 ac_cv_lib_dl_dlsym=no 49808fi 49809rm -f core conftest.err conftest.$ac_objext \ 49810 conftest$ac_exeext conftest.$ac_ext 49811LIBS=$ac_check_lib_save_LIBS 49812fi 49813{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5 49814$as_echo "$ac_cv_lib_dl_dlsym" >&6; } 49815if test "x$ac_cv_lib_dl_dlsym" = xyes; then : 49816 cat >>confdefs.h <<_ACEOF 49817#define HAVE_LIBDL 1 49818_ACEOF 49819 49820 LIBS="-ldl $LIBS" 49821 49822fi 49823 49824 49825 if test "x$lt_cv_prog_gnu_ld" = xyes && test "x$ac_cv_lib_dl_dlsym" = xyes; then : 49826 49827$as_echo "#define HAVE_GNU_DL_DLSYM 1" >>confdefs.h 49828 49829 49830fi 49831 49832 if test "x${LIB_FUZZING_ENGINE}" != x; then 49833 HAVE_LIB_FUZZING_ENGINE_TRUE= 49834 HAVE_LIB_FUZZING_ENGINE_FALSE='#' 49835else 49836 HAVE_LIB_FUZZING_ENGINE_TRUE='#' 49837 HAVE_LIB_FUZZING_ENGINE_FALSE= 49838fi 49839 49840 LIB_FUZZING_ENGINE="${LIB_FUZZING_ENGINE}" 49841 49842 49843 49844CFLAGS="$CFLAGS -Wall"; 49845 49846if test "x$ac_cv_libcerror" = xyes || test "x$ac_cv_libcthreads" = xyes || test "x$ac_cv_libcdata" = xyes || test "x$ac_cv_libclocale" = xyes || test "x$ac_cv_libcnotify" = xyes || test "x$ac_cv_libcsplit" = xyes || test "x$ac_cv_libuna" = xyes || test "x$ac_cv_libcfile" = xyes || test "x$ac_cv_libcpath" = xyes || test "x$ac_cv_libbfio" = xyes || test "x$ac_cv_libfcache" = xyes || test "x$ac_cv_libfdata" = xyes || test "x$ac_cv_zlib" != xno || test "x$ac_cv_libcaes" = xyes || test "x$ac_cv_libcrypto" != xno; then : 49847 libqcow_spec_requires=Requires: 49848 49849 49850fi 49851 49852if test "x$ac_cv_libfuse" != xno; then : 49853 libqcow_spec_tools_build_requires=BuildRequires: 49854 49855 49856fi 49857 49858DPKG_DATE=`date -R 2> /dev/null` 49859 49860 49861SPEC_DATE=`date +"%a %b %e %Y" 2> /dev/null` 49862 49863 49864ac_config_files="$ac_config_files Makefile" 49865 49866ac_config_files="$ac_config_files include/Makefile" 49867 49868ac_config_files="$ac_config_files common/Makefile" 49869 49870ac_config_files="$ac_config_files libcerror/Makefile" 49871 49872ac_config_files="$ac_config_files libcthreads/Makefile" 49873 49874ac_config_files="$ac_config_files libcdata/Makefile" 49875 49876ac_config_files="$ac_config_files libclocale/Makefile" 49877 49878ac_config_files="$ac_config_files libcnotify/Makefile" 49879 49880ac_config_files="$ac_config_files libcsplit/Makefile" 49881 49882ac_config_files="$ac_config_files libuna/Makefile" 49883 49884ac_config_files="$ac_config_files libcfile/Makefile" 49885 49886ac_config_files="$ac_config_files libcpath/Makefile" 49887 49888ac_config_files="$ac_config_files libbfio/Makefile" 49889 49890ac_config_files="$ac_config_files libfcache/Makefile" 49891 49892ac_config_files="$ac_config_files libfdata/Makefile" 49893 49894ac_config_files="$ac_config_files libcaes/Makefile" 49895 49896ac_config_files="$ac_config_files libqcow/Makefile" 49897 49898ac_config_files="$ac_config_files pyqcow/Makefile" 49899 49900ac_config_files="$ac_config_files pyqcow-python2/Makefile" 49901 49902ac_config_files="$ac_config_files pyqcow-python3/Makefile" 49903 49904ac_config_files="$ac_config_files qcowtools/Makefile" 49905 49906ac_config_files="$ac_config_files po/Makefile.in" 49907 49908ac_config_files="$ac_config_files po/Makevars" 49909 49910ac_config_files="$ac_config_files manuals/Makefile" 49911 49912ac_config_files="$ac_config_files tests/Makefile" 49913 49914ac_config_files="$ac_config_files ossfuzz/Makefile" 49915 49916ac_config_files="$ac_config_files msvscpp/Makefile" 49917 49918ac_config_files="$ac_config_files include/libqcow.h" 49919 49920ac_config_files="$ac_config_files include/libqcow/definitions.h" 49921 49922ac_config_files="$ac_config_files include/libqcow/features.h" 49923 49924ac_config_files="$ac_config_files include/libqcow/types.h" 49925 49926ac_config_files="$ac_config_files libqcow/libqcow_definitions.h" 49927 49928ac_config_files="$ac_config_files common/types.h" 49929 49930ac_config_files="$ac_config_files dpkg/changelog" 49931 49932ac_config_files="$ac_config_files libqcow/libqcow.rc" 49933 49934ac_config_files="$ac_config_files libqcow.pc" 49935 49936ac_config_files="$ac_config_files libqcow.spec" 49937 49938ac_config_headers="$ac_config_headers common/config.h" 49939 49940 49941cat >confcache <<\_ACEOF 49942# This file is a shell script that caches the results of configure 49943# tests run on this system so they can be shared between configure 49944# scripts and configure runs, see configure's option --config-cache. 49945# It is not useful on other systems. If it contains results you don't 49946# want to keep, you may remove or edit it. 49947# 49948# config.status only pays attention to the cache file if you give it 49949# the --recheck option to rerun configure. 49950# 49951# `ac_cv_env_foo' variables (set or unset) will be overridden when 49952# loading this file, other *unset* `ac_cv_foo' will be assigned the 49953# following values. 49954 49955_ACEOF 49956 49957# The following way of writing the cache mishandles newlines in values, 49958# but we know of no workaround that is simple, portable, and efficient. 49959# So, we kill variables containing newlines. 49960# Ultrix sh set writes to stderr and can't be redirected directly, 49961# and sets the high bit in the cache file unless we assign to the vars. 49962( 49963 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 49964 eval ac_val=\$$ac_var 49965 case $ac_val in #( 49966 *${as_nl}*) 49967 case $ac_var in #( 49968 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 49969$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 49970 esac 49971 case $ac_var in #( 49972 _ | IFS | as_nl) ;; #( 49973 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 49974 *) { eval $ac_var=; unset $ac_var;} ;; 49975 esac ;; 49976 esac 49977 done 49978 49979 (set) 2>&1 | 49980 case $as_nl`(ac_space=' '; set) 2>&1` in #( 49981 *${as_nl}ac_space=\ *) 49982 # `set' does not quote correctly, so add quotes: double-quote 49983 # substitution turns \\\\ into \\, and sed turns \\ into \. 49984 sed -n \ 49985 "s/'/'\\\\''/g; 49986 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 49987 ;; #( 49988 *) 49989 # `set' quotes correctly as required by POSIX, so do not add quotes. 49990 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 49991 ;; 49992 esac | 49993 sort 49994) | 49995 sed ' 49996 /^ac_cv_env_/b end 49997 t clear 49998 :clear 49999 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 50000 t end 50001 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 50002 :end' >>confcache 50003if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 50004 if test -w "$cache_file"; then 50005 if test "x$cache_file" != "x/dev/null"; then 50006 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 50007$as_echo "$as_me: updating cache $cache_file" >&6;} 50008 if test ! -f "$cache_file" || test -h "$cache_file"; then 50009 cat confcache >"$cache_file" 50010 else 50011 case $cache_file in #( 50012 */* | ?:*) 50013 mv -f confcache "$cache_file"$$ && 50014 mv -f "$cache_file"$$ "$cache_file" ;; #( 50015 *) 50016 mv -f confcache "$cache_file" ;; 50017 esac 50018 fi 50019 fi 50020 else 50021 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 50022$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 50023 fi 50024fi 50025rm -f confcache 50026 50027test "x$prefix" = xNONE && prefix=$ac_default_prefix 50028# Let make expand exec_prefix. 50029test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 50030 50031DEFS=-DHAVE_CONFIG_H 50032 50033ac_libobjs= 50034ac_ltlibobjs= 50035U= 50036for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 50037 # 1. Remove the extension, and $U if already installed. 50038 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 50039 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 50040 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 50041 # will be set to the directory where LIBOBJS objects are built. 50042 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 50043 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 50044done 50045LIBOBJS=$ac_libobjs 50046 50047LTLIBOBJS=$ac_ltlibobjs 50048 50049 50050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 50051$as_echo_n "checking that generated files are newer than configure... " >&6; } 50052 if test -n "$am_sleep_pid"; then 50053 # Hide warnings about reused PIDs. 50054 wait $am_sleep_pid 2>/dev/null 50055 fi 50056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 50057$as_echo "done" >&6; } 50058 if test -n "$EXEEXT"; then 50059 am__EXEEXT_TRUE= 50060 am__EXEEXT_FALSE='#' 50061else 50062 am__EXEEXT_TRUE='#' 50063 am__EXEEXT_FALSE= 50064fi 50065 50066if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 50067 as_fn_error $? "conditional \"AMDEP\" was never defined. 50068Usually this means the macro was only invoked conditionally." "$LINENO" 5 50069fi 50070if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 50071 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 50072Usually this means the macro was only invoked conditionally." "$LINENO" 5 50073fi 50074if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 50075 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. 50076Usually this means the macro was only invoked conditionally." "$LINENO" 5 50077fi 50078if test -z "${HAVE_LOCAL_LIBCERROR_TRUE}" && test -z "${HAVE_LOCAL_LIBCERROR_FALSE}"; then 50079 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCERROR\" was never defined. 50080Usually this means the macro was only invoked conditionally." "$LINENO" 5 50081fi 50082if test -z "${HAVE_LOCAL_LIBCTHREADS_TRUE}" && test -z "${HAVE_LOCAL_LIBCTHREADS_FALSE}"; then 50083 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCTHREADS\" was never defined. 50084Usually this means the macro was only invoked conditionally." "$LINENO" 5 50085fi 50086if test -z "${HAVE_LOCAL_LIBCDATA_TRUE}" && test -z "${HAVE_LOCAL_LIBCDATA_FALSE}"; then 50087 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCDATA\" was never defined. 50088Usually this means the macro was only invoked conditionally." "$LINENO" 5 50089fi 50090if test -z "${HAVE_LOCAL_LIBCLOCALE_TRUE}" && test -z "${HAVE_LOCAL_LIBCLOCALE_FALSE}"; then 50091 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCLOCALE\" was never defined. 50092Usually this means the macro was only invoked conditionally." "$LINENO" 5 50093fi 50094if test -z "${HAVE_LOCAL_LIBCNOTIFY_TRUE}" && test -z "${HAVE_LOCAL_LIBCNOTIFY_FALSE}"; then 50095 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCNOTIFY\" was never defined. 50096Usually this means the macro was only invoked conditionally." "$LINENO" 5 50097fi 50098if test -z "${HAVE_LOCAL_LIBCSPLIT_TRUE}" && test -z "${HAVE_LOCAL_LIBCSPLIT_FALSE}"; then 50099 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCSPLIT\" was never defined. 50100Usually this means the macro was only invoked conditionally." "$LINENO" 5 50101fi 50102if test -z "${HAVE_LOCAL_LIBUNA_TRUE}" && test -z "${HAVE_LOCAL_LIBUNA_FALSE}"; then 50103 as_fn_error $? "conditional \"HAVE_LOCAL_LIBUNA\" was never defined. 50104Usually this means the macro was only invoked conditionally." "$LINENO" 5 50105fi 50106if test -z "${HAVE_LOCAL_LIBCFILE_TRUE}" && test -z "${HAVE_LOCAL_LIBCFILE_FALSE}"; then 50107 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCFILE\" was never defined. 50108Usually this means the macro was only invoked conditionally." "$LINENO" 5 50109fi 50110if test -z "${HAVE_LOCAL_LIBCPATH_TRUE}" && test -z "${HAVE_LOCAL_LIBCPATH_FALSE}"; then 50111 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCPATH\" was never defined. 50112Usually this means the macro was only invoked conditionally." "$LINENO" 5 50113fi 50114if test -z "${HAVE_LOCAL_LIBBFIO_TRUE}" && test -z "${HAVE_LOCAL_LIBBFIO_FALSE}"; then 50115 as_fn_error $? "conditional \"HAVE_LOCAL_LIBBFIO\" was never defined. 50116Usually this means the macro was only invoked conditionally." "$LINENO" 5 50117fi 50118if test -z "${HAVE_LOCAL_LIBFCACHE_TRUE}" && test -z "${HAVE_LOCAL_LIBFCACHE_FALSE}"; then 50119 as_fn_error $? "conditional \"HAVE_LOCAL_LIBFCACHE\" was never defined. 50120Usually this means the macro was only invoked conditionally." "$LINENO" 5 50121fi 50122if test -z "${HAVE_LOCAL_LIBFDATA_TRUE}" && test -z "${HAVE_LOCAL_LIBFDATA_FALSE}"; then 50123 as_fn_error $? "conditional \"HAVE_LOCAL_LIBFDATA\" was never defined. 50124Usually this means the macro was only invoked conditionally." "$LINENO" 5 50125fi 50126if test -z "${HAVE_LOCAL_LIBCAES_TRUE}" && test -z "${HAVE_LOCAL_LIBCAES_FALSE}"; then 50127 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCAES\" was never defined. 50128Usually this means the macro was only invoked conditionally." "$LINENO" 5 50129fi 50130if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then 50131 as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined. 50132Usually this means the macro was only invoked conditionally." "$LINENO" 5 50133fi 50134if test -z "${HAVE_PYTHON2_TRUE}" && test -z "${HAVE_PYTHON2_FALSE}"; then 50135 as_fn_error $? "conditional \"HAVE_PYTHON2\" was never defined. 50136Usually this means the macro was only invoked conditionally." "$LINENO" 5 50137fi 50138if test -z "${HAVE_PYTHON3_TRUE}" && test -z "${HAVE_PYTHON3_FALSE}"; then 50139 as_fn_error $? "conditional \"HAVE_PYTHON3\" was never defined. 50140Usually this means the macro was only invoked conditionally." "$LINENO" 5 50141fi 50142if test -z "${HAVE_PYTHON_TESTS_TRUE}" && test -z "${HAVE_PYTHON_TESTS_FALSE}"; then 50143 as_fn_error $? "conditional \"HAVE_PYTHON_TESTS\" was never defined. 50144Usually this means the macro was only invoked conditionally." "$LINENO" 5 50145fi 50146if test -z "${HAVE_LIB_FUZZING_ENGINE_TRUE}" && test -z "${HAVE_LIB_FUZZING_ENGINE_FALSE}"; then 50147 as_fn_error $? "conditional \"HAVE_LIB_FUZZING_ENGINE\" was never defined. 50148Usually this means the macro was only invoked conditionally." "$LINENO" 5 50149fi 50150 50151: "${CONFIG_STATUS=./config.status}" 50152ac_write_fail=0 50153ac_clean_files_save=$ac_clean_files 50154ac_clean_files="$ac_clean_files $CONFIG_STATUS" 50155{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 50156$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 50157as_write_fail=0 50158cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 50159#! $SHELL 50160# Generated by $as_me. 50161# Run this file to recreate the current configuration. 50162# Compiler output produced by configure, useful for debugging 50163# configure, is in config.log if it exists. 50164 50165debug=false 50166ac_cs_recheck=false 50167ac_cs_silent=false 50168 50169SHELL=\${CONFIG_SHELL-$SHELL} 50170export SHELL 50171_ASEOF 50172cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 50173## -------------------- ## 50174## M4sh Initialization. ## 50175## -------------------- ## 50176 50177# Be more Bourne compatible 50178DUALCASE=1; export DUALCASE # for MKS sh 50179if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 50180 emulate sh 50181 NULLCMD=: 50182 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 50183 # is contrary to our usage. Disable this feature. 50184 alias -g '${1+"$@"}'='"$@"' 50185 setopt NO_GLOB_SUBST 50186else 50187 case `(set -o) 2>/dev/null` in #( 50188 *posix*) : 50189 set -o posix ;; #( 50190 *) : 50191 ;; 50192esac 50193fi 50194 50195 50196as_nl=' 50197' 50198export as_nl 50199# Printing a long string crashes Solaris 7 /usr/bin/printf. 50200as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 50201as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 50202as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 50203# Prefer a ksh shell builtin over an external printf program on Solaris, 50204# but without wasting forks for bash or zsh. 50205if test -z "$BASH_VERSION$ZSH_VERSION" \ 50206 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 50207 as_echo='print -r --' 50208 as_echo_n='print -rn --' 50209elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50210 as_echo='printf %s\n' 50211 as_echo_n='printf %s' 50212else 50213 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 50214 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 50215 as_echo_n='/usr/ucb/echo -n' 50216 else 50217 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 50218 as_echo_n_body='eval 50219 arg=$1; 50220 case $arg in #( 50221 *"$as_nl"*) 50222 expr "X$arg" : "X\\(.*\\)$as_nl"; 50223 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 50224 esac; 50225 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 50226 ' 50227 export as_echo_n_body 50228 as_echo_n='sh -c $as_echo_n_body as_echo' 50229 fi 50230 export as_echo_body 50231 as_echo='sh -c $as_echo_body as_echo' 50232fi 50233 50234# The user is always right. 50235if test "${PATH_SEPARATOR+set}" != set; then 50236 PATH_SEPARATOR=: 50237 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 50238 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 50239 PATH_SEPARATOR=';' 50240 } 50241fi 50242 50243 50244# IFS 50245# We need space, tab and new line, in precisely that order. Quoting is 50246# there to prevent editors from complaining about space-tab. 50247# (If _AS_PATH_WALK were called with IFS unset, it would disable word 50248# splitting by setting IFS to empty value.) 50249IFS=" "" $as_nl" 50250 50251# Find who we are. Look in the path if we contain no directory separator. 50252as_myself= 50253case $0 in #(( 50254 *[\\/]* ) as_myself=$0 ;; 50255 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 50256for as_dir in $PATH 50257do 50258 IFS=$as_save_IFS 50259 test -z "$as_dir" && as_dir=. 50260 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 50261 done 50262IFS=$as_save_IFS 50263 50264 ;; 50265esac 50266# We did not find ourselves, most probably we were run as `sh COMMAND' 50267# in which case we are not to be found in the path. 50268if test "x$as_myself" = x; then 50269 as_myself=$0 50270fi 50271if test ! -f "$as_myself"; then 50272 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 50273 exit 1 50274fi 50275 50276# Unset variables that we do not need and which cause bugs (e.g. in 50277# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 50278# suppresses any "Segmentation fault" message there. '((' could 50279# trigger a bug in pdksh 5.2.14. 50280for as_var in BASH_ENV ENV MAIL MAILPATH 50281do eval test x\${$as_var+set} = xset \ 50282 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 50283done 50284PS1='$ ' 50285PS2='> ' 50286PS4='+ ' 50287 50288# NLS nuisances. 50289LC_ALL=C 50290export LC_ALL 50291LANGUAGE=C 50292export LANGUAGE 50293 50294# CDPATH. 50295(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 50296 50297 50298# as_fn_error STATUS ERROR [LINENO LOG_FD] 50299# ---------------------------------------- 50300# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 50301# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 50302# script with STATUS, using 1 if that was 0. 50303as_fn_error () 50304{ 50305 as_status=$1; test $as_status -eq 0 && as_status=1 50306 if test "$4"; then 50307 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 50308 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 50309 fi 50310 $as_echo "$as_me: error: $2" >&2 50311 as_fn_exit $as_status 50312} # as_fn_error 50313 50314 50315# as_fn_set_status STATUS 50316# ----------------------- 50317# Set $? to STATUS, without forking. 50318as_fn_set_status () 50319{ 50320 return $1 50321} # as_fn_set_status 50322 50323# as_fn_exit STATUS 50324# ----------------- 50325# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 50326as_fn_exit () 50327{ 50328 set +e 50329 as_fn_set_status $1 50330 exit $1 50331} # as_fn_exit 50332 50333# as_fn_unset VAR 50334# --------------- 50335# Portably unset VAR. 50336as_fn_unset () 50337{ 50338 { eval $1=; unset $1;} 50339} 50340as_unset=as_fn_unset 50341# as_fn_append VAR VALUE 50342# ---------------------- 50343# Append the text in VALUE to the end of the definition contained in VAR. Take 50344# advantage of any shell optimizations that allow amortized linear growth over 50345# repeated appends, instead of the typical quadratic growth present in naive 50346# implementations. 50347if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 50348 eval 'as_fn_append () 50349 { 50350 eval $1+=\$2 50351 }' 50352else 50353 as_fn_append () 50354 { 50355 eval $1=\$$1\$2 50356 } 50357fi # as_fn_append 50358 50359# as_fn_arith ARG... 50360# ------------------ 50361# Perform arithmetic evaluation on the ARGs, and store the result in the 50362# global $as_val. Take advantage of shells that can avoid forks. The arguments 50363# must be portable across $(()) and expr. 50364if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 50365 eval 'as_fn_arith () 50366 { 50367 as_val=$(( $* )) 50368 }' 50369else 50370 as_fn_arith () 50371 { 50372 as_val=`expr "$@" || test $? -eq 1` 50373 } 50374fi # as_fn_arith 50375 50376 50377if expr a : '\(a\)' >/dev/null 2>&1 && 50378 test "X`expr 00001 : '.*\(...\)'`" = X001; then 50379 as_expr=expr 50380else 50381 as_expr=false 50382fi 50383 50384if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 50385 as_basename=basename 50386else 50387 as_basename=false 50388fi 50389 50390if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 50391 as_dirname=dirname 50392else 50393 as_dirname=false 50394fi 50395 50396as_me=`$as_basename -- "$0" || 50397$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 50398 X"$0" : 'X\(//\)$' \| \ 50399 X"$0" : 'X\(/\)' \| . 2>/dev/null || 50400$as_echo X/"$0" | 50401 sed '/^.*\/\([^/][^/]*\)\/*$/{ 50402 s//\1/ 50403 q 50404 } 50405 /^X\/\(\/\/\)$/{ 50406 s//\1/ 50407 q 50408 } 50409 /^X\/\(\/\).*/{ 50410 s//\1/ 50411 q 50412 } 50413 s/.*/./; q'` 50414 50415# Avoid depending upon Character Ranges. 50416as_cr_letters='abcdefghijklmnopqrstuvwxyz' 50417as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 50418as_cr_Letters=$as_cr_letters$as_cr_LETTERS 50419as_cr_digits='0123456789' 50420as_cr_alnum=$as_cr_Letters$as_cr_digits 50421 50422ECHO_C= ECHO_N= ECHO_T= 50423case `echo -n x` in #((((( 50424-n*) 50425 case `echo 'xy\c'` in 50426 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 50427 xy) ECHO_C='\c';; 50428 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 50429 ECHO_T=' ';; 50430 esac;; 50431*) 50432 ECHO_N='-n';; 50433esac 50434 50435rm -f conf$$ conf$$.exe conf$$.file 50436if test -d conf$$.dir; then 50437 rm -f conf$$.dir/conf$$.file 50438else 50439 rm -f conf$$.dir 50440 mkdir conf$$.dir 2>/dev/null 50441fi 50442if (echo >conf$$.file) 2>/dev/null; then 50443 if ln -s conf$$.file conf$$ 2>/dev/null; then 50444 as_ln_s='ln -s' 50445 # ... but there are two gotchas: 50446 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 50447 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 50448 # In both cases, we have to default to `cp -pR'. 50449 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 50450 as_ln_s='cp -pR' 50451 elif ln conf$$.file conf$$ 2>/dev/null; then 50452 as_ln_s=ln 50453 else 50454 as_ln_s='cp -pR' 50455 fi 50456else 50457 as_ln_s='cp -pR' 50458fi 50459rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 50460rmdir conf$$.dir 2>/dev/null 50461 50462 50463# as_fn_mkdir_p 50464# ------------- 50465# Create "$as_dir" as a directory, including parents if necessary. 50466as_fn_mkdir_p () 50467{ 50468 50469 case $as_dir in #( 50470 -*) as_dir=./$as_dir;; 50471 esac 50472 test -d "$as_dir" || eval $as_mkdir_p || { 50473 as_dirs= 50474 while :; do 50475 case $as_dir in #( 50476 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 50477 *) as_qdir=$as_dir;; 50478 esac 50479 as_dirs="'$as_qdir' $as_dirs" 50480 as_dir=`$as_dirname -- "$as_dir" || 50481$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 50482 X"$as_dir" : 'X\(//\)[^/]' \| \ 50483 X"$as_dir" : 'X\(//\)$' \| \ 50484 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 50485$as_echo X"$as_dir" | 50486 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 50487 s//\1/ 50488 q 50489 } 50490 /^X\(\/\/\)[^/].*/{ 50491 s//\1/ 50492 q 50493 } 50494 /^X\(\/\/\)$/{ 50495 s//\1/ 50496 q 50497 } 50498 /^X\(\/\).*/{ 50499 s//\1/ 50500 q 50501 } 50502 s/.*/./; q'` 50503 test -d "$as_dir" && break 50504 done 50505 test -z "$as_dirs" || eval "mkdir $as_dirs" 50506 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 50507 50508 50509} # as_fn_mkdir_p 50510if mkdir -p . 2>/dev/null; then 50511 as_mkdir_p='mkdir -p "$as_dir"' 50512else 50513 test -d ./-p && rmdir ./-p 50514 as_mkdir_p=false 50515fi 50516 50517 50518# as_fn_executable_p FILE 50519# ----------------------- 50520# Test if FILE is an executable regular file. 50521as_fn_executable_p () 50522{ 50523 test -f "$1" && test -x "$1" 50524} # as_fn_executable_p 50525as_test_x='test -x' 50526as_executable_p=as_fn_executable_p 50527 50528# Sed expression to map a string onto a valid CPP name. 50529as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 50530 50531# Sed expression to map a string onto a valid variable name. 50532as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 50533 50534 50535exec 6>&1 50536## ----------------------------------- ## 50537## Main body of $CONFIG_STATUS script. ## 50538## ----------------------------------- ## 50539_ASEOF 50540test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 50541 50542cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 50543# Save the log message, to keep $0 and so on meaningful, and to 50544# report actual input values of CONFIG_FILES etc. instead of their 50545# values after options handling. 50546ac_log=" 50547This file was extended by libqcow $as_me 20210419, which was 50548generated by GNU Autoconf 2.69. Invocation command line was 50549 50550 CONFIG_FILES = $CONFIG_FILES 50551 CONFIG_HEADERS = $CONFIG_HEADERS 50552 CONFIG_LINKS = $CONFIG_LINKS 50553 CONFIG_COMMANDS = $CONFIG_COMMANDS 50554 $ $0 $@ 50555 50556on `(hostname || uname -n) 2>/dev/null | sed 1q` 50557" 50558 50559_ACEOF 50560 50561case $ac_config_files in *" 50562"*) set x $ac_config_files; shift; ac_config_files=$*;; 50563esac 50564 50565case $ac_config_headers in *" 50566"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 50567esac 50568 50569 50570cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 50571# Files that config.status was made for. 50572config_files="$ac_config_files" 50573config_headers="$ac_config_headers" 50574config_commands="$ac_config_commands" 50575 50576_ACEOF 50577 50578cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 50579ac_cs_usage="\ 50580\`$as_me' instantiates files and other configuration actions 50581from templates according to the current configuration. Unless the files 50582and actions are specified as TAGs, all are instantiated by default. 50583 50584Usage: $0 [OPTION]... [TAG]... 50585 50586 -h, --help print this help, then exit 50587 -V, --version print version number and configuration settings, then exit 50588 --config print configuration, then exit 50589 -q, --quiet, --silent 50590 do not print progress messages 50591 -d, --debug don't remove temporary files 50592 --recheck update $as_me by reconfiguring in the same conditions 50593 --file=FILE[:TEMPLATE] 50594 instantiate the configuration file FILE 50595 --header=FILE[:TEMPLATE] 50596 instantiate the configuration header FILE 50597 50598Configuration files: 50599$config_files 50600 50601Configuration headers: 50602$config_headers 50603 50604Configuration commands: 50605$config_commands 50606 50607Report bugs to <joachim.metz@gmail.com>." 50608 50609_ACEOF 50610cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 50611ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 50612ac_cs_version="\\ 50613libqcow config.status 20210419 50614configured by $0, generated by GNU Autoconf 2.69, 50615 with options \\"\$ac_cs_config\\" 50616 50617Copyright (C) 2012 Free Software Foundation, Inc. 50618This config.status script is free software; the Free Software Foundation 50619gives unlimited permission to copy, distribute and modify it." 50620 50621ac_pwd='$ac_pwd' 50622srcdir='$srcdir' 50623INSTALL='$INSTALL' 50624MKDIR_P='$MKDIR_P' 50625AWK='$AWK' 50626test -n "\$AWK" || AWK=awk 50627_ACEOF 50628 50629cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 50630# The default lists apply if the user does not specify any file. 50631ac_need_defaults=: 50632while test $# != 0 50633do 50634 case $1 in 50635 --*=?*) 50636 ac_option=`expr "X$1" : 'X\([^=]*\)='` 50637 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 50638 ac_shift=: 50639 ;; 50640 --*=) 50641 ac_option=`expr "X$1" : 'X\([^=]*\)='` 50642 ac_optarg= 50643 ac_shift=: 50644 ;; 50645 *) 50646 ac_option=$1 50647 ac_optarg=$2 50648 ac_shift=shift 50649 ;; 50650 esac 50651 50652 case $ac_option in 50653 # Handling of the options. 50654 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 50655 ac_cs_recheck=: ;; 50656 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 50657 $as_echo "$ac_cs_version"; exit ;; 50658 --config | --confi | --conf | --con | --co | --c ) 50659 $as_echo "$ac_cs_config"; exit ;; 50660 --debug | --debu | --deb | --de | --d | -d ) 50661 debug=: ;; 50662 --file | --fil | --fi | --f ) 50663 $ac_shift 50664 case $ac_optarg in 50665 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 50666 '') as_fn_error $? "missing file argument" ;; 50667 esac 50668 as_fn_append CONFIG_FILES " '$ac_optarg'" 50669 ac_need_defaults=false;; 50670 --header | --heade | --head | --hea ) 50671 $ac_shift 50672 case $ac_optarg in 50673 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 50674 esac 50675 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 50676 ac_need_defaults=false;; 50677 --he | --h) 50678 # Conflict between --help and --header 50679 as_fn_error $? "ambiguous option: \`$1' 50680Try \`$0 --help' for more information.";; 50681 --help | --hel | -h ) 50682 $as_echo "$ac_cs_usage"; exit ;; 50683 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 50684 | -silent | --silent | --silen | --sile | --sil | --si | --s) 50685 ac_cs_silent=: ;; 50686 50687 # This is an error. 50688 -*) as_fn_error $? "unrecognized option: \`$1' 50689Try \`$0 --help' for more information." ;; 50690 50691 *) as_fn_append ac_config_targets " $1" 50692 ac_need_defaults=false ;; 50693 50694 esac 50695 shift 50696done 50697 50698ac_configure_extra_args= 50699 50700if $ac_cs_silent; then 50701 exec 6>/dev/null 50702 ac_configure_extra_args="$ac_configure_extra_args --silent" 50703fi 50704 50705_ACEOF 50706cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 50707if \$ac_cs_recheck; then 50708 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 50709 shift 50710 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 50711 CONFIG_SHELL='$SHELL' 50712 export CONFIG_SHELL 50713 exec "\$@" 50714fi 50715 50716_ACEOF 50717cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 50718exec 5>>config.log 50719{ 50720 echo 50721 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 50722## Running $as_me. ## 50723_ASBOX 50724 $as_echo "$ac_log" 50725} >&5 50726 50727_ACEOF 50728cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 50729# 50730# INIT-COMMANDS 50731# 50732AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" 50733 50734 50735# The HP-UX ksh and POSIX shell print the target directory to stdout 50736# if CDPATH is set. 50737(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 50738 50739sed_quote_subst='$sed_quote_subst' 50740double_quote_subst='$double_quote_subst' 50741delay_variable_subst='$delay_variable_subst' 50742AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' 50743DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 50744OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 50745macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 50746macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 50747enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 50748enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 50749pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 50750enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 50751shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 50752SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 50753ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 50754PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 50755host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 50756host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 50757host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 50758build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 50759build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 50760build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 50761SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 50762Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 50763GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 50764EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 50765FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 50766LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 50767NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 50768LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 50769max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 50770ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 50771exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 50772lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 50773lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 50774lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 50775lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 50776lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 50777reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 50778reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 50779deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 50780file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 50781file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 50782want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 50783sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 50784AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 50785AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 50786archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 50787STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 50788RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 50789old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 50790old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 50791old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 50792lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 50793CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 50794CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 50795compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 50796GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 50797lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 50798lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 50799lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 50800lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 50801lt_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"`' 50802lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 50803nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 50804lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 50805lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 50806objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 50807MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 50808lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 50809lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 50810lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 50811lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 50812lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 50813need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 50814MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 50815DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 50816NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 50817LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 50818OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 50819OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 50820libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 50821shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 50822extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 50823archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 50824enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 50825export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 50826whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 50827compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 50828old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 50829old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 50830archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 50831archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 50832module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 50833module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 50834with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 50835allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 50836no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 50837hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 50838hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 50839hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 50840hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 50841hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 50842hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 50843hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 50844inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 50845link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 50846always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 50847export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 50848exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 50849include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 50850prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 50851postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 50852file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 50853variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 50854need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 50855need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 50856version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 50857runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 50858shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 50859shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 50860libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 50861library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 50862soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 50863install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 50864postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 50865postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 50866finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 50867finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 50868hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 50869sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 50870configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 50871configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 50872hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 50873enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 50874enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 50875enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 50876old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 50877striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 50878compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' 50879predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' 50880postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' 50881predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' 50882postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' 50883compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' 50884LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' 50885reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' 50886reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' 50887old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 50888compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' 50889GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' 50890lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' 50891lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' 50892lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' 50893lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' 50894lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' 50895archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' 50896enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' 50897export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 50898whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 50899compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' 50900old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' 50901old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' 50902archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 50903archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 50904module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' 50905module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 50906with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' 50907allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 50908no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 50909hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 50910hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' 50911hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' 50912hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' 50913hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' 50914hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' 50915hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' 50916inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' 50917link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' 50918always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' 50919export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' 50920exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 50921include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 50922prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 50923postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 50924file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' 50925hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' 50926compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' 50927predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' 50928postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' 50929predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' 50930postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' 50931compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' 50932 50933LTCC='$LTCC' 50934LTCFLAGS='$LTCFLAGS' 50935compiler='$compiler_DEFAULT' 50936 50937# A function that is used when there is no print builtin or printf. 50938func_fallback_echo () 50939{ 50940 eval 'cat <<_LTECHO_EOF 50941\$1 50942_LTECHO_EOF' 50943} 50944 50945# Quote evaled strings. 50946for var in AS \ 50947DLLTOOL \ 50948OBJDUMP \ 50949SHELL \ 50950ECHO \ 50951PATH_SEPARATOR \ 50952SED \ 50953GREP \ 50954EGREP \ 50955FGREP \ 50956LD \ 50957NM \ 50958LN_S \ 50959lt_SP2NL \ 50960lt_NL2SP \ 50961reload_flag \ 50962deplibs_check_method \ 50963file_magic_cmd \ 50964file_magic_glob \ 50965want_nocaseglob \ 50966sharedlib_from_linklib_cmd \ 50967AR \ 50968AR_FLAGS \ 50969archiver_list_spec \ 50970STRIP \ 50971RANLIB \ 50972CC \ 50973CFLAGS \ 50974compiler \ 50975lt_cv_sys_global_symbol_pipe \ 50976lt_cv_sys_global_symbol_to_cdecl \ 50977lt_cv_sys_global_symbol_to_import \ 50978lt_cv_sys_global_symbol_to_c_name_address \ 50979lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 50980lt_cv_nm_interface \ 50981nm_file_list_spec \ 50982lt_cv_truncate_bin \ 50983lt_prog_compiler_no_builtin_flag \ 50984lt_prog_compiler_pic \ 50985lt_prog_compiler_wl \ 50986lt_prog_compiler_static \ 50987lt_cv_prog_compiler_c_o \ 50988need_locks \ 50989MANIFEST_TOOL \ 50990DSYMUTIL \ 50991NMEDIT \ 50992LIPO \ 50993OTOOL \ 50994OTOOL64 \ 50995shrext_cmds \ 50996export_dynamic_flag_spec \ 50997whole_archive_flag_spec \ 50998compiler_needs_object \ 50999with_gnu_ld \ 51000allow_undefined_flag \ 51001no_undefined_flag \ 51002hardcode_libdir_flag_spec \ 51003hardcode_libdir_separator \ 51004exclude_expsyms \ 51005include_expsyms \ 51006file_list_spec \ 51007variables_saved_for_relink \ 51008libname_spec \ 51009library_names_spec \ 51010soname_spec \ 51011install_override_mode \ 51012finish_eval \ 51013old_striplib \ 51014striplib \ 51015compiler_lib_search_dirs \ 51016predep_objects \ 51017postdep_objects \ 51018predeps \ 51019postdeps \ 51020compiler_lib_search_path \ 51021LD_CXX \ 51022reload_flag_CXX \ 51023compiler_CXX \ 51024lt_prog_compiler_no_builtin_flag_CXX \ 51025lt_prog_compiler_pic_CXX \ 51026lt_prog_compiler_wl_CXX \ 51027lt_prog_compiler_static_CXX \ 51028lt_cv_prog_compiler_c_o_CXX \ 51029export_dynamic_flag_spec_CXX \ 51030whole_archive_flag_spec_CXX \ 51031compiler_needs_object_CXX \ 51032with_gnu_ld_CXX \ 51033allow_undefined_flag_CXX \ 51034no_undefined_flag_CXX \ 51035hardcode_libdir_flag_spec_CXX \ 51036hardcode_libdir_separator_CXX \ 51037exclude_expsyms_CXX \ 51038include_expsyms_CXX \ 51039file_list_spec_CXX \ 51040compiler_lib_search_dirs_CXX \ 51041predep_objects_CXX \ 51042postdep_objects_CXX \ 51043predeps_CXX \ 51044postdeps_CXX \ 51045compiler_lib_search_path_CXX; do 51046 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 51047 *[\\\\\\\`\\"\\\$]*) 51048 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 51049 ;; 51050 *) 51051 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 51052 ;; 51053 esac 51054done 51055 51056# Double-quote double-evaled strings. 51057for var in reload_cmds \ 51058old_postinstall_cmds \ 51059old_postuninstall_cmds \ 51060old_archive_cmds \ 51061extract_expsyms_cmds \ 51062old_archive_from_new_cmds \ 51063old_archive_from_expsyms_cmds \ 51064archive_cmds \ 51065archive_expsym_cmds \ 51066module_cmds \ 51067module_expsym_cmds \ 51068export_symbols_cmds \ 51069prelink_cmds \ 51070postlink_cmds \ 51071postinstall_cmds \ 51072postuninstall_cmds \ 51073finish_cmds \ 51074sys_lib_search_path_spec \ 51075configure_time_dlsearch_path \ 51076configure_time_lt_sys_library_path \ 51077reload_cmds_CXX \ 51078old_archive_cmds_CXX \ 51079old_archive_from_new_cmds_CXX \ 51080old_archive_from_expsyms_cmds_CXX \ 51081archive_cmds_CXX \ 51082archive_expsym_cmds_CXX \ 51083module_cmds_CXX \ 51084module_expsym_cmds_CXX \ 51085export_symbols_cmds_CXX \ 51086prelink_cmds_CXX \ 51087postlink_cmds_CXX; do 51088 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 51089 *[\\\\\\\`\\"\\\$]*) 51090 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 51091 ;; 51092 *) 51093 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 51094 ;; 51095 esac 51096done 51097 51098ac_aux_dir='$ac_aux_dir' 51099 51100# See if we are running on zsh, and set the options that allow our 51101# commands through without removal of \ escapes INIT. 51102if test -n "\${ZSH_VERSION+set}"; then 51103 setopt NO_GLOB_SUBST 51104fi 51105 51106 51107 PACKAGE='$PACKAGE' 51108 VERSION='$VERSION' 51109 RM='$RM' 51110 ofile='$ofile' 51111 51112 51113 51114 51115 51116# Capture the value of obsolete ALL_LINGUAS because we need it to compute 51117 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it 51118 # from automake < 1.5. 51119 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' 51120 # Capture the value of LINGUAS because we need it to compute CATALOGS. 51121 LINGUAS="${LINGUAS-%UNSET%}" 51122 51123 51124_ACEOF 51125 51126cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 51127 51128# Handling of arguments. 51129for ac_config_target in $ac_config_targets 51130do 51131 case $ac_config_target in 51132 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 51133 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 51134 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; 51135 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 51136 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; 51137 "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;; 51138 "libcerror/Makefile") CONFIG_FILES="$CONFIG_FILES libcerror/Makefile" ;; 51139 "libcthreads/Makefile") CONFIG_FILES="$CONFIG_FILES libcthreads/Makefile" ;; 51140 "libcdata/Makefile") CONFIG_FILES="$CONFIG_FILES libcdata/Makefile" ;; 51141 "libclocale/Makefile") CONFIG_FILES="$CONFIG_FILES libclocale/Makefile" ;; 51142 "libcnotify/Makefile") CONFIG_FILES="$CONFIG_FILES libcnotify/Makefile" ;; 51143 "libcsplit/Makefile") CONFIG_FILES="$CONFIG_FILES libcsplit/Makefile" ;; 51144 "libuna/Makefile") CONFIG_FILES="$CONFIG_FILES libuna/Makefile" ;; 51145 "libcfile/Makefile") CONFIG_FILES="$CONFIG_FILES libcfile/Makefile" ;; 51146 "libcpath/Makefile") CONFIG_FILES="$CONFIG_FILES libcpath/Makefile" ;; 51147 "libbfio/Makefile") CONFIG_FILES="$CONFIG_FILES libbfio/Makefile" ;; 51148 "libfcache/Makefile") CONFIG_FILES="$CONFIG_FILES libfcache/Makefile" ;; 51149 "libfdata/Makefile") CONFIG_FILES="$CONFIG_FILES libfdata/Makefile" ;; 51150 "libcaes/Makefile") CONFIG_FILES="$CONFIG_FILES libcaes/Makefile" ;; 51151 "libqcow/Makefile") CONFIG_FILES="$CONFIG_FILES libqcow/Makefile" ;; 51152 "pyqcow/Makefile") CONFIG_FILES="$CONFIG_FILES pyqcow/Makefile" ;; 51153 "pyqcow-python2/Makefile") CONFIG_FILES="$CONFIG_FILES pyqcow-python2/Makefile" ;; 51154 "pyqcow-python3/Makefile") CONFIG_FILES="$CONFIG_FILES pyqcow-python3/Makefile" ;; 51155 "qcowtools/Makefile") CONFIG_FILES="$CONFIG_FILES qcowtools/Makefile" ;; 51156 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 51157 "po/Makevars") CONFIG_FILES="$CONFIG_FILES po/Makevars" ;; 51158 "manuals/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/Makefile" ;; 51159 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; 51160 "ossfuzz/Makefile") CONFIG_FILES="$CONFIG_FILES ossfuzz/Makefile" ;; 51161 "msvscpp/Makefile") CONFIG_FILES="$CONFIG_FILES msvscpp/Makefile" ;; 51162 "include/libqcow.h") CONFIG_FILES="$CONFIG_FILES include/libqcow.h" ;; 51163 "include/libqcow/definitions.h") CONFIG_FILES="$CONFIG_FILES include/libqcow/definitions.h" ;; 51164 "include/libqcow/features.h") CONFIG_FILES="$CONFIG_FILES include/libqcow/features.h" ;; 51165 "include/libqcow/types.h") CONFIG_FILES="$CONFIG_FILES include/libqcow/types.h" ;; 51166 "libqcow/libqcow_definitions.h") CONFIG_FILES="$CONFIG_FILES libqcow/libqcow_definitions.h" ;; 51167 "common/types.h") CONFIG_FILES="$CONFIG_FILES common/types.h" ;; 51168 "dpkg/changelog") CONFIG_FILES="$CONFIG_FILES dpkg/changelog" ;; 51169 "libqcow/libqcow.rc") CONFIG_FILES="$CONFIG_FILES libqcow/libqcow.rc" ;; 51170 "libqcow.pc") CONFIG_FILES="$CONFIG_FILES libqcow.pc" ;; 51171 "libqcow.spec") CONFIG_FILES="$CONFIG_FILES libqcow.spec" ;; 51172 "common/config.h") CONFIG_HEADERS="$CONFIG_HEADERS common/config.h" ;; 51173 51174 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 51175 esac 51176done 51177 51178 51179# If the user did not use the arguments to specify the items to instantiate, 51180# then the envvar interface is used. Set only those that are not. 51181# We use the long form for the default assignment because of an extremely 51182# bizarre bug on SunOS 4.1.3. 51183if $ac_need_defaults; then 51184 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 51185 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 51186 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 51187fi 51188 51189# Have a temporary directory for convenience. Make it in the build tree 51190# simply because there is no reason against having it here, and in addition, 51191# creating and moving files from /tmp can sometimes cause problems. 51192# Hook for its removal unless debugging. 51193# Note that there is a small window in which the directory will not be cleaned: 51194# after its creation but before its name has been assigned to `$tmp'. 51195$debug || 51196{ 51197 tmp= ac_tmp= 51198 trap 'exit_status=$? 51199 : "${ac_tmp:=$tmp}" 51200 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 51201' 0 51202 trap 'as_fn_exit 1' 1 2 13 15 51203} 51204# Create a (secure) tmp directory for tmp files. 51205 51206{ 51207 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 51208 test -d "$tmp" 51209} || 51210{ 51211 tmp=./conf$$-$RANDOM 51212 (umask 077 && mkdir "$tmp") 51213} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 51214ac_tmp=$tmp 51215 51216# Set up the scripts for CONFIG_FILES section. 51217# No need to generate them if there are no CONFIG_FILES. 51218# This happens for instance with `./config.status config.h'. 51219if test -n "$CONFIG_FILES"; then 51220 51221 51222ac_cr=`echo X | tr X '\015'` 51223# On cygwin, bash can eat \r inside `` if the user requested igncr. 51224# But we know of no other shell where ac_cr would be empty at this 51225# point, so we can use a bashism as a fallback. 51226if test "x$ac_cr" = x; then 51227 eval ac_cr=\$\'\\r\' 51228fi 51229ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 51230if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 51231 ac_cs_awk_cr='\\r' 51232else 51233 ac_cs_awk_cr=$ac_cr 51234fi 51235 51236echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 51237_ACEOF 51238 51239 51240{ 51241 echo "cat >conf$$subs.awk <<_ACEOF" && 51242 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 51243 echo "_ACEOF" 51244} >conf$$subs.sh || 51245 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 51246ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 51247ac_delim='%!_!# ' 51248for ac_last_try in false false false false false :; do 51249 . ./conf$$subs.sh || 51250 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 51251 51252 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 51253 if test $ac_delim_n = $ac_delim_num; then 51254 break 51255 elif $ac_last_try; then 51256 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 51257 else 51258 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 51259 fi 51260done 51261rm -f conf$$subs.sh 51262 51263cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 51264cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 51265_ACEOF 51266sed -n ' 51267h 51268s/^/S["/; s/!.*/"]=/ 51269p 51270g 51271s/^[^!]*!// 51272:repl 51273t repl 51274s/'"$ac_delim"'$// 51275t delim 51276:nl 51277h 51278s/\(.\{148\}\)..*/\1/ 51279t more1 51280s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 51281p 51282n 51283b repl 51284:more1 51285s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 51286p 51287g 51288s/.\{148\}// 51289t nl 51290:delim 51291h 51292s/\(.\{148\}\)..*/\1/ 51293t more2 51294s/["\\]/\\&/g; s/^/"/; s/$/"/ 51295p 51296b 51297:more2 51298s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 51299p 51300g 51301s/.\{148\}// 51302t delim 51303' <conf$$subs.awk | sed ' 51304/^[^""]/{ 51305 N 51306 s/\n// 51307} 51308' >>$CONFIG_STATUS || ac_write_fail=1 51309rm -f conf$$subs.awk 51310cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 51311_ACAWK 51312cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 51313 for (key in S) S_is_set[key] = 1 51314 FS = "" 51315 51316} 51317{ 51318 line = $ 0 51319 nfields = split(line, field, "@") 51320 substed = 0 51321 len = length(field[1]) 51322 for (i = 2; i < nfields; i++) { 51323 key = field[i] 51324 keylen = length(key) 51325 if (S_is_set[key]) { 51326 value = S[key] 51327 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 51328 len += length(value) + length(field[++i]) 51329 substed = 1 51330 } else 51331 len += 1 + keylen 51332 } 51333 51334 print line 51335} 51336 51337_ACAWK 51338_ACEOF 51339cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 51340if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 51341 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 51342else 51343 cat 51344fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 51345 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 51346_ACEOF 51347 51348# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 51349# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 51350# trailing colons and then remove the whole line if VPATH becomes empty 51351# (actually we leave an empty line to preserve line numbers). 51352if test "x$srcdir" = x.; then 51353 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 51354h 51355s/// 51356s/^/:/ 51357s/[ ]*$/:/ 51358s/:\$(srcdir):/:/g 51359s/:\${srcdir}:/:/g 51360s/:@srcdir@:/:/g 51361s/^:*// 51362s/:*$// 51363x 51364s/\(=[ ]*\).*/\1/ 51365G 51366s/\n// 51367s/^[^=]*=[ ]*$// 51368}' 51369fi 51370 51371cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 51372fi # test -n "$CONFIG_FILES" 51373 51374# Set up the scripts for CONFIG_HEADERS section. 51375# No need to generate them if there are no CONFIG_HEADERS. 51376# This happens for instance with `./config.status Makefile'. 51377if test -n "$CONFIG_HEADERS"; then 51378cat >"$ac_tmp/defines.awk" <<\_ACAWK || 51379BEGIN { 51380_ACEOF 51381 51382# Transform confdefs.h into an awk script `defines.awk', embedded as 51383# here-document in config.status, that substitutes the proper values into 51384# config.h.in to produce config.h. 51385 51386# Create a delimiter string that does not exist in confdefs.h, to ease 51387# handling of long lines. 51388ac_delim='%!_!# ' 51389for ac_last_try in false false :; do 51390 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 51391 if test -z "$ac_tt"; then 51392 break 51393 elif $ac_last_try; then 51394 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 51395 else 51396 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 51397 fi 51398done 51399 51400# For the awk script, D is an array of macro values keyed by name, 51401# likewise P contains macro parameters if any. Preserve backslash 51402# newline sequences. 51403 51404ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 51405sed -n ' 51406s/.\{148\}/&'"$ac_delim"'/g 51407t rset 51408:rset 51409s/^[ ]*#[ ]*define[ ][ ]*/ / 51410t def 51411d 51412:def 51413s/\\$// 51414t bsnl 51415s/["\\]/\\&/g 51416s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 51417D["\1"]=" \3"/p 51418s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 51419d 51420:bsnl 51421s/["\\]/\\&/g 51422s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 51423D["\1"]=" \3\\\\\\n"\\/p 51424t cont 51425s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 51426t cont 51427d 51428:cont 51429n 51430s/.\{148\}/&'"$ac_delim"'/g 51431t clear 51432:clear 51433s/\\$// 51434t bsnlc 51435s/["\\]/\\&/g; s/^/"/; s/$/"/p 51436d 51437:bsnlc 51438s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 51439b cont 51440' <confdefs.h | sed ' 51441s/'"$ac_delim"'/"\\\ 51442"/g' >>$CONFIG_STATUS || ac_write_fail=1 51443 51444cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 51445 for (key in D) D_is_set[key] = 1 51446 FS = "" 51447} 51448/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 51449 line = \$ 0 51450 split(line, arg, " ") 51451 if (arg[1] == "#") { 51452 defundef = arg[2] 51453 mac1 = arg[3] 51454 } else { 51455 defundef = substr(arg[1], 2) 51456 mac1 = arg[2] 51457 } 51458 split(mac1, mac2, "(") #) 51459 macro = mac2[1] 51460 prefix = substr(line, 1, index(line, defundef) - 1) 51461 if (D_is_set[macro]) { 51462 # Preserve the white space surrounding the "#". 51463 print prefix "define", macro P[macro] D[macro] 51464 next 51465 } else { 51466 # Replace #undef with comments. This is necessary, for example, 51467 # in the case of _POSIX_SOURCE, which is predefined and required 51468 # on some systems where configure will not decide to define it. 51469 if (defundef == "undef") { 51470 print "/*", prefix defundef, macro, "*/" 51471 next 51472 } 51473 } 51474} 51475{ print } 51476_ACAWK 51477_ACEOF 51478cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 51479 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 51480fi # test -n "$CONFIG_HEADERS" 51481 51482 51483eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 51484shift 51485for ac_tag 51486do 51487 case $ac_tag in 51488 :[FHLC]) ac_mode=$ac_tag; continue;; 51489 esac 51490 case $ac_mode$ac_tag in 51491 :[FHL]*:*);; 51492 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 51493 :[FH]-) ac_tag=-:-;; 51494 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 51495 esac 51496 ac_save_IFS=$IFS 51497 IFS=: 51498 set x $ac_tag 51499 IFS=$ac_save_IFS 51500 shift 51501 ac_file=$1 51502 shift 51503 51504 case $ac_mode in 51505 :L) ac_source=$1;; 51506 :[FH]) 51507 ac_file_inputs= 51508 for ac_f 51509 do 51510 case $ac_f in 51511 -) ac_f="$ac_tmp/stdin";; 51512 *) # Look for the file first in the build tree, then in the source tree 51513 # (if the path is not absolute). The absolute path cannot be DOS-style, 51514 # because $ac_f cannot contain `:'. 51515 test -f "$ac_f" || 51516 case $ac_f in 51517 [\\/$]*) false;; 51518 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 51519 esac || 51520 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 51521 esac 51522 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 51523 as_fn_append ac_file_inputs " '$ac_f'" 51524 done 51525 51526 # Let's still pretend it is `configure' which instantiates (i.e., don't 51527 # use $as_me), people would be surprised to read: 51528 # /* config.h. Generated by config.status. */ 51529 configure_input='Generated from '` 51530 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 51531 `' by configure.' 51532 if test x"$ac_file" != x-; then 51533 configure_input="$ac_file. $configure_input" 51534 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 51535$as_echo "$as_me: creating $ac_file" >&6;} 51536 fi 51537 # Neutralize special characters interpreted by sed in replacement strings. 51538 case $configure_input in #( 51539 *\&* | *\|* | *\\* ) 51540 ac_sed_conf_input=`$as_echo "$configure_input" | 51541 sed 's/[\\\\&|]/\\\\&/g'`;; #( 51542 *) ac_sed_conf_input=$configure_input;; 51543 esac 51544 51545 case $ac_tag in 51546 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 51547 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 51548 esac 51549 ;; 51550 esac 51551 51552 ac_dir=`$as_dirname -- "$ac_file" || 51553$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 51554 X"$ac_file" : 'X\(//\)[^/]' \| \ 51555 X"$ac_file" : 'X\(//\)$' \| \ 51556 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 51557$as_echo X"$ac_file" | 51558 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 51559 s//\1/ 51560 q 51561 } 51562 /^X\(\/\/\)[^/].*/{ 51563 s//\1/ 51564 q 51565 } 51566 /^X\(\/\/\)$/{ 51567 s//\1/ 51568 q 51569 } 51570 /^X\(\/\).*/{ 51571 s//\1/ 51572 q 51573 } 51574 s/.*/./; q'` 51575 as_dir="$ac_dir"; as_fn_mkdir_p 51576 ac_builddir=. 51577 51578case "$ac_dir" in 51579.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 51580*) 51581 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 51582 # A ".." for each directory in $ac_dir_suffix. 51583 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 51584 case $ac_top_builddir_sub in 51585 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 51586 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 51587 esac ;; 51588esac 51589ac_abs_top_builddir=$ac_pwd 51590ac_abs_builddir=$ac_pwd$ac_dir_suffix 51591# for backward compatibility: 51592ac_top_builddir=$ac_top_build_prefix 51593 51594case $srcdir in 51595 .) # We are building in place. 51596 ac_srcdir=. 51597 ac_top_srcdir=$ac_top_builddir_sub 51598 ac_abs_top_srcdir=$ac_pwd ;; 51599 [\\/]* | ?:[\\/]* ) # Absolute name. 51600 ac_srcdir=$srcdir$ac_dir_suffix; 51601 ac_top_srcdir=$srcdir 51602 ac_abs_top_srcdir=$srcdir ;; 51603 *) # Relative name. 51604 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 51605 ac_top_srcdir=$ac_top_build_prefix$srcdir 51606 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 51607esac 51608ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 51609 51610 51611 case $ac_mode in 51612 :F) 51613 # 51614 # CONFIG_FILE 51615 # 51616 51617 case $INSTALL in 51618 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 51619 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 51620 esac 51621 ac_MKDIR_P=$MKDIR_P 51622 case $MKDIR_P in 51623 [\\/$]* | ?:[\\/]* ) ;; 51624 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 51625 esac 51626_ACEOF 51627 51628cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 51629# If the template does not know about datarootdir, expand it. 51630# FIXME: This hack should be removed a few years after 2.60. 51631ac_datarootdir_hack=; ac_datarootdir_seen= 51632ac_sed_dataroot=' 51633/datarootdir/ { 51634 p 51635 q 51636} 51637/@datadir@/p 51638/@docdir@/p 51639/@infodir@/p 51640/@localedir@/p 51641/@mandir@/p' 51642case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 51643*datarootdir*) ac_datarootdir_seen=yes;; 51644*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 51645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 51646$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 51647_ACEOF 51648cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 51649 ac_datarootdir_hack=' 51650 s&@datadir@&$datadir&g 51651 s&@docdir@&$docdir&g 51652 s&@infodir@&$infodir&g 51653 s&@localedir@&$localedir&g 51654 s&@mandir@&$mandir&g 51655 s&\\\${datarootdir}&$datarootdir&g' ;; 51656esac 51657_ACEOF 51658 51659# Neutralize VPATH when `$srcdir' = `.'. 51660# Shell code in configure.ac might set extrasub. 51661# FIXME: do we really want to maintain this feature? 51662cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 51663ac_sed_extra="$ac_vpsub 51664$extrasub 51665_ACEOF 51666cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 51667:t 51668/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 51669s|@configure_input@|$ac_sed_conf_input|;t t 51670s&@top_builddir@&$ac_top_builddir_sub&;t t 51671s&@top_build_prefix@&$ac_top_build_prefix&;t t 51672s&@srcdir@&$ac_srcdir&;t t 51673s&@abs_srcdir@&$ac_abs_srcdir&;t t 51674s&@top_srcdir@&$ac_top_srcdir&;t t 51675s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 51676s&@builddir@&$ac_builddir&;t t 51677s&@abs_builddir@&$ac_abs_builddir&;t t 51678s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 51679s&@INSTALL@&$ac_INSTALL&;t t 51680s&@MKDIR_P@&$ac_MKDIR_P&;t t 51681$ac_datarootdir_hack 51682" 51683eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 51684 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 51685 51686test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 51687 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 51688 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 51689 "$ac_tmp/out"`; test -z "$ac_out"; } && 51690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 51691which seems to be undefined. Please make sure it is defined" >&5 51692$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 51693which seems to be undefined. Please make sure it is defined" >&2;} 51694 51695 rm -f "$ac_tmp/stdin" 51696 case $ac_file in 51697 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 51698 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 51699 esac \ 51700 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 51701 ;; 51702 :H) 51703 # 51704 # CONFIG_HEADER 51705 # 51706 if test x"$ac_file" != x-; then 51707 { 51708 $as_echo "/* $configure_input */" \ 51709 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 51710 } >"$ac_tmp/config.h" \ 51711 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 51712 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 51713 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 51714$as_echo "$as_me: $ac_file is unchanged" >&6;} 51715 else 51716 rm -f "$ac_file" 51717 mv "$ac_tmp/config.h" "$ac_file" \ 51718 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 51719 fi 51720 else 51721 $as_echo "/* $configure_input */" \ 51722 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 51723 || as_fn_error $? "could not create -" "$LINENO" 5 51724 fi 51725# Compute "$ac_file"'s index in $config_headers. 51726_am_arg="$ac_file" 51727_am_stamp_count=1 51728for _am_header in $config_headers :; do 51729 case $_am_header in 51730 $_am_arg | $_am_arg:* ) 51731 break ;; 51732 * ) 51733 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 51734 esac 51735done 51736echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 51737$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 51738 X"$_am_arg" : 'X\(//\)[^/]' \| \ 51739 X"$_am_arg" : 'X\(//\)$' \| \ 51740 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 51741$as_echo X"$_am_arg" | 51742 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 51743 s//\1/ 51744 q 51745 } 51746 /^X\(\/\/\)[^/].*/{ 51747 s//\1/ 51748 q 51749 } 51750 /^X\(\/\/\)$/{ 51751 s//\1/ 51752 q 51753 } 51754 /^X\(\/\).*/{ 51755 s//\1/ 51756 q 51757 } 51758 s/.*/./; q'`/stamp-h$_am_stamp_count 51759 ;; 51760 51761 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 51762$as_echo "$as_me: executing $ac_file commands" >&6;} 51763 ;; 51764 esac 51765 51766 51767 case $ac_file$ac_mode in 51768 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 51769 # Older Autoconf quotes --file arguments for eval, but not when files 51770 # are listed without --file. Let's play safe and only enable the eval 51771 # if we detect the quoting. 51772 # TODO: see whether this extra hack can be removed once we start 51773 # requiring Autoconf 2.70 or later. 51774 case $CONFIG_FILES in #( 51775 *\'*) : 51776 eval set x "$CONFIG_FILES" ;; #( 51777 *) : 51778 set x $CONFIG_FILES ;; #( 51779 *) : 51780 ;; 51781esac 51782 shift 51783 # Used to flag and report bootstrapping failures. 51784 am_rc=0 51785 for am_mf 51786 do 51787 # Strip MF so we end up with the name of the file. 51788 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` 51789 # Check whether this is an Automake generated Makefile which includes 51790 # dependency-tracking related rules and includes. 51791 # Grep'ing the whole file directly is not great: AIX grep has a line 51792 # limit of 2048, but all sed's we know have understand at least 4000. 51793 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ 51794 || continue 51795 am_dirpart=`$as_dirname -- "$am_mf" || 51796$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 51797 X"$am_mf" : 'X\(//\)[^/]' \| \ 51798 X"$am_mf" : 'X\(//\)$' \| \ 51799 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 51800$as_echo X"$am_mf" | 51801 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 51802 s//\1/ 51803 q 51804 } 51805 /^X\(\/\/\)[^/].*/{ 51806 s//\1/ 51807 q 51808 } 51809 /^X\(\/\/\)$/{ 51810 s//\1/ 51811 q 51812 } 51813 /^X\(\/\).*/{ 51814 s//\1/ 51815 q 51816 } 51817 s/.*/./; q'` 51818 am_filepart=`$as_basename -- "$am_mf" || 51819$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ 51820 X"$am_mf" : 'X\(//\)$' \| \ 51821 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 51822$as_echo X/"$am_mf" | 51823 sed '/^.*\/\([^/][^/]*\)\/*$/{ 51824 s//\1/ 51825 q 51826 } 51827 /^X\/\(\/\/\)$/{ 51828 s//\1/ 51829 q 51830 } 51831 /^X\/\(\/\).*/{ 51832 s//\1/ 51833 q 51834 } 51835 s/.*/./; q'` 51836 { echo "$as_me:$LINENO: cd "$am_dirpart" \ 51837 && sed -e '/# am--include-marker/d' "$am_filepart" \ 51838 | $MAKE -f - am--depfiles" >&5 51839 (cd "$am_dirpart" \ 51840 && sed -e '/# am--include-marker/d' "$am_filepart" \ 51841 | $MAKE -f - am--depfiles) >&5 2>&5 51842 ac_status=$? 51843 echo "$as_me:$LINENO: \$? = $ac_status" >&5 51844 (exit $ac_status); } || am_rc=$? 51845 done 51846 if test $am_rc -ne 0; then 51847 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 51848$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 51849as_fn_error $? "Something went wrong bootstrapping makefile fragments 51850 for automatic dependency tracking. If GNU make was not used, consider 51851 re-running the configure script with MAKE=\"gmake\" (or whatever is 51852 necessary). You can also try re-running configure with the 51853 '--disable-dependency-tracking' option to at least be able to build 51854 the package (albeit without support for automatic dependency tracking). 51855See \`config.log' for more details" "$LINENO" 5; } 51856 fi 51857 { am_dirpart=; unset am_dirpart;} 51858 { am_filepart=; unset am_filepart;} 51859 { am_mf=; unset am_mf;} 51860 { am_rc=; unset am_rc;} 51861 rm -f conftest-deps.mk 51862} 51863 ;; 51864 "libtool":C) 51865 51866 # See if we are running on zsh, and set the options that allow our 51867 # commands through without removal of \ escapes. 51868 if test -n "${ZSH_VERSION+set}"; then 51869 setopt NO_GLOB_SUBST 51870 fi 51871 51872 cfgfile=${ofile}T 51873 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 51874 $RM "$cfgfile" 51875 51876 cat <<_LT_EOF >> "$cfgfile" 51877#! $SHELL 51878# Generated automatically by $as_me ($PACKAGE) $VERSION 51879# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 51880# NOTE: Changes made to this file will be lost: look at ltmain.sh. 51881 51882# Provide generalized library-building support services. 51883# Written by Gordon Matzigkeit, 1996 51884 51885# Copyright (C) 2014 Free Software Foundation, Inc. 51886# This is free software; see the source for copying conditions. There is NO 51887# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 51888 51889# GNU Libtool is free software; you can redistribute it and/or modify 51890# it under the terms of the GNU General Public License as published by 51891# the Free Software Foundation; either version 2 of of the License, or 51892# (at your option) any later version. 51893# 51894# As a special exception to the GNU General Public License, if you 51895# distribute this file as part of a program or library that is built 51896# using GNU Libtool, you may include this file under the same 51897# distribution terms that you use for the rest of that program. 51898# 51899# GNU Libtool is distributed in the hope that it will be useful, but 51900# WITHOUT ANY WARRANTY; without even the implied warranty of 51901# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 51902# GNU General Public License for more details. 51903# 51904# You should have received a copy of the GNU General Public License 51905# along with this program. If not, see <http://www.gnu.org/licenses/>. 51906 51907 51908# The names of the tagged configurations supported by this script. 51909available_tags='CXX ' 51910 51911# Configured defaults for sys_lib_dlsearch_path munging. 51912: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 51913 51914# ### BEGIN LIBTOOL CONFIG 51915 51916# Assembler program. 51917AS=$lt_AS 51918 51919# DLL creation program. 51920DLLTOOL=$lt_DLLTOOL 51921 51922# Object dumper program. 51923OBJDUMP=$lt_OBJDUMP 51924 51925# Which release of libtool.m4 was used? 51926macro_version=$macro_version 51927macro_revision=$macro_revision 51928 51929# Whether or not to build shared libraries. 51930build_libtool_libs=$enable_shared 51931 51932# Whether or not to build static libraries. 51933build_old_libs=$enable_static 51934 51935# What type of objects to build. 51936pic_mode=$pic_mode 51937 51938# Whether or not to optimize for fast installation. 51939fast_install=$enable_fast_install 51940 51941# Shared archive member basename,for filename based shared library versioning on AIX. 51942shared_archive_member_spec=$shared_archive_member_spec 51943 51944# Shell to use when invoking shell scripts. 51945SHELL=$lt_SHELL 51946 51947# An echo program that protects backslashes. 51948ECHO=$lt_ECHO 51949 51950# The PATH separator for the build system. 51951PATH_SEPARATOR=$lt_PATH_SEPARATOR 51952 51953# The host system. 51954host_alias=$host_alias 51955host=$host 51956host_os=$host_os 51957 51958# The build system. 51959build_alias=$build_alias 51960build=$build 51961build_os=$build_os 51962 51963# A sed program that does not truncate output. 51964SED=$lt_SED 51965 51966# Sed that helps us avoid accidentally triggering echo(1) options like -n. 51967Xsed="\$SED -e 1s/^X//" 51968 51969# A grep program that handles long lines. 51970GREP=$lt_GREP 51971 51972# An ERE matcher. 51973EGREP=$lt_EGREP 51974 51975# A literal string matcher. 51976FGREP=$lt_FGREP 51977 51978# A BSD- or MS-compatible name lister. 51979NM=$lt_NM 51980 51981# Whether we need soft or hard links. 51982LN_S=$lt_LN_S 51983 51984# What is the maximum length of a command? 51985max_cmd_len=$max_cmd_len 51986 51987# Object file suffix (normally "o"). 51988objext=$ac_objext 51989 51990# Executable file suffix (normally ""). 51991exeext=$exeext 51992 51993# whether the shell understands "unset". 51994lt_unset=$lt_unset 51995 51996# turn spaces into newlines. 51997SP2NL=$lt_lt_SP2NL 51998 51999# turn newlines into spaces. 52000NL2SP=$lt_lt_NL2SP 52001 52002# convert \$build file names to \$host format. 52003to_host_file_cmd=$lt_cv_to_host_file_cmd 52004 52005# convert \$build files to toolchain format. 52006to_tool_file_cmd=$lt_cv_to_tool_file_cmd 52007 52008# Method to check whether dependent libraries are shared objects. 52009deplibs_check_method=$lt_deplibs_check_method 52010 52011# Command to use when deplibs_check_method = "file_magic". 52012file_magic_cmd=$lt_file_magic_cmd 52013 52014# How to find potential files when deplibs_check_method = "file_magic". 52015file_magic_glob=$lt_file_magic_glob 52016 52017# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 52018want_nocaseglob=$lt_want_nocaseglob 52019 52020# Command to associate shared and link libraries. 52021sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 52022 52023# The archiver. 52024AR=$lt_AR 52025 52026# Flags to create an archive. 52027AR_FLAGS=$lt_AR_FLAGS 52028 52029# How to feed a file listing to the archiver. 52030archiver_list_spec=$lt_archiver_list_spec 52031 52032# A symbol stripping program. 52033STRIP=$lt_STRIP 52034 52035# Commands used to install an old-style archive. 52036RANLIB=$lt_RANLIB 52037old_postinstall_cmds=$lt_old_postinstall_cmds 52038old_postuninstall_cmds=$lt_old_postuninstall_cmds 52039 52040# Whether to use a lock for old archive extraction. 52041lock_old_archive_extraction=$lock_old_archive_extraction 52042 52043# A C compiler. 52044LTCC=$lt_CC 52045 52046# LTCC compiler flags. 52047LTCFLAGS=$lt_CFLAGS 52048 52049# Take the output of nm and produce a listing of raw symbols and C names. 52050global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 52051 52052# Transform the output of nm in a proper C declaration. 52053global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 52054 52055# Transform the output of nm into a list of symbols to manually relocate. 52056global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 52057 52058# Transform the output of nm in a C name address pair. 52059global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 52060 52061# Transform the output of nm in a C name address pair when lib prefix is needed. 52062global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 52063 52064# The name lister interface. 52065nm_interface=$lt_lt_cv_nm_interface 52066 52067# Specify filename containing input files for \$NM. 52068nm_file_list_spec=$lt_nm_file_list_spec 52069 52070# The root where to search for dependent libraries,and where our libraries should be installed. 52071lt_sysroot=$lt_sysroot 52072 52073# Command to truncate a binary pipe. 52074lt_truncate_bin=$lt_lt_cv_truncate_bin 52075 52076# The name of the directory that contains temporary libtool files. 52077objdir=$objdir 52078 52079# Used to examine libraries when file_magic_cmd begins with "file". 52080MAGIC_CMD=$MAGIC_CMD 52081 52082# Must we lock files when doing compilation? 52083need_locks=$lt_need_locks 52084 52085# Manifest tool. 52086MANIFEST_TOOL=$lt_MANIFEST_TOOL 52087 52088# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 52089DSYMUTIL=$lt_DSYMUTIL 52090 52091# Tool to change global to local symbols on Mac OS X. 52092NMEDIT=$lt_NMEDIT 52093 52094# Tool to manipulate fat objects and archives on Mac OS X. 52095LIPO=$lt_LIPO 52096 52097# ldd/readelf like tool for Mach-O binaries on Mac OS X. 52098OTOOL=$lt_OTOOL 52099 52100# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 52101OTOOL64=$lt_OTOOL64 52102 52103# Old archive suffix (normally "a"). 52104libext=$libext 52105 52106# Shared library suffix (normally ".so"). 52107shrext_cmds=$lt_shrext_cmds 52108 52109# The commands to extract the exported symbol list from a shared archive. 52110extract_expsyms_cmds=$lt_extract_expsyms_cmds 52111 52112# Variables whose values should be saved in libtool wrapper scripts and 52113# restored at link time. 52114variables_saved_for_relink=$lt_variables_saved_for_relink 52115 52116# Do we need the "lib" prefix for modules? 52117need_lib_prefix=$need_lib_prefix 52118 52119# Do we need a version for libraries? 52120need_version=$need_version 52121 52122# Library versioning type. 52123version_type=$version_type 52124 52125# Shared library runtime path variable. 52126runpath_var=$runpath_var 52127 52128# Shared library path variable. 52129shlibpath_var=$shlibpath_var 52130 52131# Is shlibpath searched before the hard-coded library search path? 52132shlibpath_overrides_runpath=$shlibpath_overrides_runpath 52133 52134# Format of library name prefix. 52135libname_spec=$lt_libname_spec 52136 52137# List of archive names. First name is the real one, the rest are links. 52138# The last name is the one that the linker finds with -lNAME 52139library_names_spec=$lt_library_names_spec 52140 52141# The coded name of the library, if different from the real name. 52142soname_spec=$lt_soname_spec 52143 52144# Permission mode override for installation of shared libraries. 52145install_override_mode=$lt_install_override_mode 52146 52147# Command to use after installation of a shared archive. 52148postinstall_cmds=$lt_postinstall_cmds 52149 52150# Command to use after uninstallation of a shared archive. 52151postuninstall_cmds=$lt_postuninstall_cmds 52152 52153# Commands used to finish a libtool library installation in a directory. 52154finish_cmds=$lt_finish_cmds 52155 52156# As "finish_cmds", except a single script fragment to be evaled but 52157# not shown. 52158finish_eval=$lt_finish_eval 52159 52160# Whether we should hardcode library paths into libraries. 52161hardcode_into_libs=$hardcode_into_libs 52162 52163# Compile-time system search path for libraries. 52164sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 52165 52166# Detected run-time system search path for libraries. 52167sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 52168 52169# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 52170configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 52171 52172# Whether dlopen is supported. 52173dlopen_support=$enable_dlopen 52174 52175# Whether dlopen of programs is supported. 52176dlopen_self=$enable_dlopen_self 52177 52178# Whether dlopen of statically linked programs is supported. 52179dlopen_self_static=$enable_dlopen_self_static 52180 52181# Commands to strip libraries. 52182old_striplib=$lt_old_striplib 52183striplib=$lt_striplib 52184 52185 52186# The linker used to build libraries. 52187LD=$lt_LD 52188 52189# How to create reloadable object files. 52190reload_flag=$lt_reload_flag 52191reload_cmds=$lt_reload_cmds 52192 52193# Commands used to build an old-style archive. 52194old_archive_cmds=$lt_old_archive_cmds 52195 52196# A language specific compiler. 52197CC=$lt_compiler 52198 52199# Is the compiler the GNU compiler? 52200with_gcc=$GCC 52201 52202# Compiler flag to turn off builtin functions. 52203no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 52204 52205# Additional compiler flags for building library objects. 52206pic_flag=$lt_lt_prog_compiler_pic 52207 52208# How to pass a linker flag through the compiler. 52209wl=$lt_lt_prog_compiler_wl 52210 52211# Compiler flag to prevent dynamic linking. 52212link_static_flag=$lt_lt_prog_compiler_static 52213 52214# Does compiler simultaneously support -c and -o options? 52215compiler_c_o=$lt_lt_cv_prog_compiler_c_o 52216 52217# Whether or not to add -lc for building shared libraries. 52218build_libtool_need_lc=$archive_cmds_need_lc 52219 52220# Whether or not to disallow shared libs when runtime libs are static. 52221allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 52222 52223# Compiler flag to allow reflexive dlopens. 52224export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 52225 52226# Compiler flag to generate shared objects directly from archives. 52227whole_archive_flag_spec=$lt_whole_archive_flag_spec 52228 52229# Whether the compiler copes with passing no objects directly. 52230compiler_needs_object=$lt_compiler_needs_object 52231 52232# Create an old-style archive from a shared archive. 52233old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 52234 52235# Create a temporary old-style archive to link instead of a shared archive. 52236old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 52237 52238# Commands used to build a shared archive. 52239archive_cmds=$lt_archive_cmds 52240archive_expsym_cmds=$lt_archive_expsym_cmds 52241 52242# Commands used to build a loadable module if different from building 52243# a shared archive. 52244module_cmds=$lt_module_cmds 52245module_expsym_cmds=$lt_module_expsym_cmds 52246 52247# Whether we are building with GNU ld or not. 52248with_gnu_ld=$lt_with_gnu_ld 52249 52250# Flag that allows shared libraries with undefined symbols to be built. 52251allow_undefined_flag=$lt_allow_undefined_flag 52252 52253# Flag that enforces no undefined symbols. 52254no_undefined_flag=$lt_no_undefined_flag 52255 52256# Flag to hardcode \$libdir into a binary during linking. 52257# This must work even if \$libdir does not exist 52258hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 52259 52260# Whether we need a single "-rpath" flag with a separated argument. 52261hardcode_libdir_separator=$lt_hardcode_libdir_separator 52262 52263# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 52264# DIR into the resulting binary. 52265hardcode_direct=$hardcode_direct 52266 52267# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 52268# DIR into the resulting binary and the resulting library dependency is 52269# "absolute",i.e impossible to change by setting \$shlibpath_var if the 52270# library is relocated. 52271hardcode_direct_absolute=$hardcode_direct_absolute 52272 52273# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 52274# into the resulting binary. 52275hardcode_minus_L=$hardcode_minus_L 52276 52277# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 52278# into the resulting binary. 52279hardcode_shlibpath_var=$hardcode_shlibpath_var 52280 52281# Set to "yes" if building a shared library automatically hardcodes DIR 52282# into the library and all subsequent libraries and executables linked 52283# against it. 52284hardcode_automatic=$hardcode_automatic 52285 52286# Set to yes if linker adds runtime paths of dependent libraries 52287# to runtime path list. 52288inherit_rpath=$inherit_rpath 52289 52290# Whether libtool must link a program against all its dependency libraries. 52291link_all_deplibs=$link_all_deplibs 52292 52293# Set to "yes" if exported symbols are required. 52294always_export_symbols=$always_export_symbols 52295 52296# The commands to list exported symbols. 52297export_symbols_cmds=$lt_export_symbols_cmds 52298 52299# Symbols that should not be listed in the preloaded symbols. 52300exclude_expsyms=$lt_exclude_expsyms 52301 52302# Symbols that must always be exported. 52303include_expsyms=$lt_include_expsyms 52304 52305# Commands necessary for linking programs (against libraries) with templates. 52306prelink_cmds=$lt_prelink_cmds 52307 52308# Commands necessary for finishing linking programs. 52309postlink_cmds=$lt_postlink_cmds 52310 52311# Specify filename containing input files. 52312file_list_spec=$lt_file_list_spec 52313 52314# How to hardcode a shared library path into an executable. 52315hardcode_action=$hardcode_action 52316 52317# The directories searched by this compiler when creating a shared library. 52318compiler_lib_search_dirs=$lt_compiler_lib_search_dirs 52319 52320# Dependencies to place before and after the objects being linked to 52321# create a shared library. 52322predep_objects=$lt_predep_objects 52323postdep_objects=$lt_postdep_objects 52324predeps=$lt_predeps 52325postdeps=$lt_postdeps 52326 52327# The library search path used internally by the compiler when linking 52328# a shared library. 52329compiler_lib_search_path=$lt_compiler_lib_search_path 52330 52331# ### END LIBTOOL CONFIG 52332 52333_LT_EOF 52334 52335 cat <<'_LT_EOF' >> "$cfgfile" 52336 52337# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 52338 52339# func_munge_path_list VARIABLE PATH 52340# ----------------------------------- 52341# VARIABLE is name of variable containing _space_ separated list of 52342# directories to be munged by the contents of PATH, which is string 52343# having a format: 52344# "DIR[:DIR]:" 52345# string "DIR[ DIR]" will be prepended to VARIABLE 52346# ":DIR[:DIR]" 52347# string "DIR[ DIR]" will be appended to VARIABLE 52348# "DIRP[:DIRP]::[DIRA:]DIRA" 52349# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 52350# "DIRA[ DIRA]" will be appended to VARIABLE 52351# "DIR[:DIR]" 52352# VARIABLE will be replaced by "DIR[ DIR]" 52353func_munge_path_list () 52354{ 52355 case x$2 in 52356 x) 52357 ;; 52358 *:) 52359 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 52360 ;; 52361 x:*) 52362 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 52363 ;; 52364 *::*) 52365 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 52366 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 52367 ;; 52368 *) 52369 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 52370 ;; 52371 esac 52372} 52373 52374 52375# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 52376func_cc_basename () 52377{ 52378 for cc_temp in $*""; do 52379 case $cc_temp in 52380 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 52381 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 52382 \-*) ;; 52383 *) break;; 52384 esac 52385 done 52386 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 52387} 52388 52389 52390# ### END FUNCTIONS SHARED WITH CONFIGURE 52391 52392_LT_EOF 52393 52394 case $host_os in 52395 aix3*) 52396 cat <<\_LT_EOF >> "$cfgfile" 52397# AIX sometimes has problems with the GCC collect2 program. For some 52398# reason, if we set the COLLECT_NAMES environment variable, the problems 52399# vanish in a puff of smoke. 52400if test set != "${COLLECT_NAMES+set}"; then 52401 COLLECT_NAMES= 52402 export COLLECT_NAMES 52403fi 52404_LT_EOF 52405 ;; 52406 esac 52407 52408 52409ltmain=$ac_aux_dir/ltmain.sh 52410 52411 52412 # We use sed instead of cat because bash on DJGPP gets confused if 52413 # if finds mixed CR/LF and LF-only lines. Since sed operates in 52414 # text mode, it properly converts lines to CR/LF. This bash problem 52415 # is reportedly fixed, but why not run on old versions too? 52416 sed '$q' "$ltmain" >> "$cfgfile" \ 52417 || (rm -f "$cfgfile"; exit 1) 52418 52419 mv -f "$cfgfile" "$ofile" || 52420 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 52421 chmod +x "$ofile" 52422 52423 52424 cat <<_LT_EOF >> "$ofile" 52425 52426# ### BEGIN LIBTOOL TAG CONFIG: CXX 52427 52428# The linker used to build libraries. 52429LD=$lt_LD_CXX 52430 52431# How to create reloadable object files. 52432reload_flag=$lt_reload_flag_CXX 52433reload_cmds=$lt_reload_cmds_CXX 52434 52435# Commands used to build an old-style archive. 52436old_archive_cmds=$lt_old_archive_cmds_CXX 52437 52438# A language specific compiler. 52439CC=$lt_compiler_CXX 52440 52441# Is the compiler the GNU compiler? 52442with_gcc=$GCC_CXX 52443 52444# Compiler flag to turn off builtin functions. 52445no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 52446 52447# Additional compiler flags for building library objects. 52448pic_flag=$lt_lt_prog_compiler_pic_CXX 52449 52450# How to pass a linker flag through the compiler. 52451wl=$lt_lt_prog_compiler_wl_CXX 52452 52453# Compiler flag to prevent dynamic linking. 52454link_static_flag=$lt_lt_prog_compiler_static_CXX 52455 52456# Does compiler simultaneously support -c and -o options? 52457compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX 52458 52459# Whether or not to add -lc for building shared libraries. 52460build_libtool_need_lc=$archive_cmds_need_lc_CXX 52461 52462# Whether or not to disallow shared libs when runtime libs are static. 52463allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX 52464 52465# Compiler flag to allow reflexive dlopens. 52466export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX 52467 52468# Compiler flag to generate shared objects directly from archives. 52469whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX 52470 52471# Whether the compiler copes with passing no objects directly. 52472compiler_needs_object=$lt_compiler_needs_object_CXX 52473 52474# Create an old-style archive from a shared archive. 52475old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX 52476 52477# Create a temporary old-style archive to link instead of a shared archive. 52478old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX 52479 52480# Commands used to build a shared archive. 52481archive_cmds=$lt_archive_cmds_CXX 52482archive_expsym_cmds=$lt_archive_expsym_cmds_CXX 52483 52484# Commands used to build a loadable module if different from building 52485# a shared archive. 52486module_cmds=$lt_module_cmds_CXX 52487module_expsym_cmds=$lt_module_expsym_cmds_CXX 52488 52489# Whether we are building with GNU ld or not. 52490with_gnu_ld=$lt_with_gnu_ld_CXX 52491 52492# Flag that allows shared libraries with undefined symbols to be built. 52493allow_undefined_flag=$lt_allow_undefined_flag_CXX 52494 52495# Flag that enforces no undefined symbols. 52496no_undefined_flag=$lt_no_undefined_flag_CXX 52497 52498# Flag to hardcode \$libdir into a binary during linking. 52499# This must work even if \$libdir does not exist 52500hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX 52501 52502# Whether we need a single "-rpath" flag with a separated argument. 52503hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX 52504 52505# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 52506# DIR into the resulting binary. 52507hardcode_direct=$hardcode_direct_CXX 52508 52509# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 52510# DIR into the resulting binary and the resulting library dependency is 52511# "absolute",i.e impossible to change by setting \$shlibpath_var if the 52512# library is relocated. 52513hardcode_direct_absolute=$hardcode_direct_absolute_CXX 52514 52515# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 52516# into the resulting binary. 52517hardcode_minus_L=$hardcode_minus_L_CXX 52518 52519# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 52520# into the resulting binary. 52521hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX 52522 52523# Set to "yes" if building a shared library automatically hardcodes DIR 52524# into the library and all subsequent libraries and executables linked 52525# against it. 52526hardcode_automatic=$hardcode_automatic_CXX 52527 52528# Set to yes if linker adds runtime paths of dependent libraries 52529# to runtime path list. 52530inherit_rpath=$inherit_rpath_CXX 52531 52532# Whether libtool must link a program against all its dependency libraries. 52533link_all_deplibs=$link_all_deplibs_CXX 52534 52535# Set to "yes" if exported symbols are required. 52536always_export_symbols=$always_export_symbols_CXX 52537 52538# The commands to list exported symbols. 52539export_symbols_cmds=$lt_export_symbols_cmds_CXX 52540 52541# Symbols that should not be listed in the preloaded symbols. 52542exclude_expsyms=$lt_exclude_expsyms_CXX 52543 52544# Symbols that must always be exported. 52545include_expsyms=$lt_include_expsyms_CXX 52546 52547# Commands necessary for linking programs (against libraries) with templates. 52548prelink_cmds=$lt_prelink_cmds_CXX 52549 52550# Commands necessary for finishing linking programs. 52551postlink_cmds=$lt_postlink_cmds_CXX 52552 52553# Specify filename containing input files. 52554file_list_spec=$lt_file_list_spec_CXX 52555 52556# How to hardcode a shared library path into an executable. 52557hardcode_action=$hardcode_action_CXX 52558 52559# The directories searched by this compiler when creating a shared library. 52560compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX 52561 52562# Dependencies to place before and after the objects being linked to 52563# create a shared library. 52564predep_objects=$lt_predep_objects_CXX 52565postdep_objects=$lt_postdep_objects_CXX 52566predeps=$lt_predeps_CXX 52567postdeps=$lt_postdeps_CXX 52568 52569# The library search path used internally by the compiler when linking 52570# a shared library. 52571compiler_lib_search_path=$lt_compiler_lib_search_path_CXX 52572 52573# ### END LIBTOOL TAG CONFIG: CXX 52574_LT_EOF 52575 52576 ;; 52577 "po-directories":C) 52578 for ac_file in $CONFIG_FILES; do 52579 # Support "outfile[:infile[:infile...]]" 52580 case "$ac_file" in 52581 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 52582 esac 52583 # PO directories have a Makefile.in generated from Makefile.in.in. 52584 case "$ac_file" in */Makefile.in) 52585 # Adjust a relative srcdir. 52586 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 52587 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" 52588 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 52589 # In autoconf-2.13 it is called $ac_given_srcdir. 52590 # In autoconf-2.50 it is called $srcdir. 52591 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 52592 case "$ac_given_srcdir" in 52593 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 52594 /*) top_srcdir="$ac_given_srcdir" ;; 52595 *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 52596 esac 52597 # Treat a directory as a PO directory if and only if it has a 52598 # POTFILES.in file. This allows packages to have multiple PO 52599 # directories under different names or in different locations. 52600 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then 52601 rm -f "$ac_dir/POTFILES" 52602 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" 52603 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" 52604 POMAKEFILEDEPS="POTFILES.in" 52605 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend 52606 # on $ac_dir but don't depend on user-specified configuration 52607 # parameters. 52608 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 52609 # The LINGUAS file contains the set of available languages. 52610 if test -n "$OBSOLETE_ALL_LINGUAS"; then 52611 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 52612 fi 52613 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` 52614 # Hide the ALL_LINGUAS assigment from automake < 1.5. 52615 eval 'ALL_LINGUAS''=$ALL_LINGUAS_' 52616 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 52617 else 52618 # The set of available languages was given in configure.in. 52619 # Hide the ALL_LINGUAS assigment from automake < 1.5. 52620 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' 52621 fi 52622 # Compute POFILES 52623 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) 52624 # Compute UPDATEPOFILES 52625 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) 52626 # Compute DUMMYPOFILES 52627 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) 52628 # Compute GMOFILES 52629 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) 52630 case "$ac_given_srcdir" in 52631 .) srcdirpre= ;; 52632 *) srcdirpre='$(srcdir)/' ;; 52633 esac 52634 POFILES= 52635 UPDATEPOFILES= 52636 DUMMYPOFILES= 52637 GMOFILES= 52638 for lang in $ALL_LINGUAS; do 52639 POFILES="$POFILES $srcdirpre$lang.po" 52640 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 52641 DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 52642 GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 52643 done 52644 # CATALOGS depends on both $ac_dir and the user's LINGUAS 52645 # environment variable. 52646 INST_LINGUAS= 52647 if test -n "$ALL_LINGUAS"; then 52648 for presentlang in $ALL_LINGUAS; do 52649 useit=no 52650 if test "%UNSET%" != "$LINGUAS"; then 52651 desiredlanguages="$LINGUAS" 52652 else 52653 desiredlanguages="$ALL_LINGUAS" 52654 fi 52655 for desiredlang in $desiredlanguages; do 52656 # Use the presentlang catalog if desiredlang is 52657 # a. equal to presentlang, or 52658 # b. a variant of presentlang (because in this case, 52659 # presentlang can be used as a fallback for messages 52660 # which are not translated in the desiredlang catalog). 52661 case "$desiredlang" in 52662 "$presentlang"*) useit=yes;; 52663 esac 52664 done 52665 if test $useit = yes; then 52666 INST_LINGUAS="$INST_LINGUAS $presentlang" 52667 fi 52668 done 52669 fi 52670 CATALOGS= 52671 if test -n "$INST_LINGUAS"; then 52672 for lang in $INST_LINGUAS; do 52673 CATALOGS="$CATALOGS $lang.gmo" 52674 done 52675 fi 52676 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" 52677 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" 52678 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do 52679 if test -f "$f"; then 52680 case "$f" in 52681 *.orig | *.bak | *~) ;; 52682 *) cat "$f" >> "$ac_dir/Makefile" ;; 52683 esac 52684 fi 52685 done 52686 fi 52687 ;; 52688 esac 52689 done ;; 52690 52691 esac 52692done # for ac_tag 52693 52694 52695as_fn_exit 0 52696_ACEOF 52697ac_clean_files=$ac_clean_files_save 52698 52699test $ac_write_fail = 0 || 52700 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 52701 52702 52703# configure is writing to config.log, and then calls config.status. 52704# config.status does its own redirection, appending to config.log. 52705# Unfortunately, on DOS this fails, as config.log is still kept open 52706# by configure, so config.status won't be able to write to it; its 52707# output is simply discarded. So we exec the FD to /dev/null, 52708# effectively closing config.log, so it can be properly (re)opened and 52709# appended to by config.status. When coming back to configure, we 52710# need to make the FD available again. 52711if test "$no_create" != yes; then 52712 ac_cs_success=: 52713 ac_config_status_args= 52714 test "$silent" = yes && 52715 ac_config_status_args="$ac_config_status_args --quiet" 52716 exec 5>/dev/null 52717 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 52718 exec 5>>config.log 52719 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 52720 # would make configure fail if this is the last instruction. 52721 $ac_cs_success || as_fn_exit 1 52722fi 52723if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 52724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 52725$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 52726fi 52727 52728 52729{ $as_echo "$as_me:${as_lineno-$LINENO}: 52730Building: 52731 libcerror support: $ac_cv_libcerror 52732 libcthreads support: $ac_cv_libcthreads 52733 libcdata support: $ac_cv_libcdata 52734 libclocale support: $ac_cv_libclocale 52735 libcnotify support: $ac_cv_libcnotify 52736 libcsplit support: $ac_cv_libcsplit 52737 libuna support: $ac_cv_libuna 52738 libcfile support: $ac_cv_libcfile 52739 libcpath support: $ac_cv_libcpath 52740 libbfio support: $ac_cv_libbfio 52741 libfcache support: $ac_cv_libfcache 52742 libfdata support: $ac_cv_libfdata 52743 DEFLATE compression support: $ac_cv_inflate 52744 libcaes support: $ac_cv_libcaes 52745 AES-CBC support: $ac_cv_libcaes_aes_cbc 52746 FUSE support: $ac_cv_libfuse 52747 52748Features: 52749 Multi-threading support: $ac_cv_libcthreads_multi_threading 52750 Wide character type support: $ac_cv_enable_wide_character_type 52751 qcowtools are build as static executables: $ac_cv_enable_static_executables 52752 Python (pyqcow) support: $ac_cv_enable_python 52753 Verbose output: $ac_cv_enable_verbose_output 52754 Debug output: $ac_cv_enable_debug_output 52755" >&5 52756$as_echo "$as_me: 52757Building: 52758 libcerror support: $ac_cv_libcerror 52759 libcthreads support: $ac_cv_libcthreads 52760 libcdata support: $ac_cv_libcdata 52761 libclocale support: $ac_cv_libclocale 52762 libcnotify support: $ac_cv_libcnotify 52763 libcsplit support: $ac_cv_libcsplit 52764 libuna support: $ac_cv_libuna 52765 libcfile support: $ac_cv_libcfile 52766 libcpath support: $ac_cv_libcpath 52767 libbfio support: $ac_cv_libbfio 52768 libfcache support: $ac_cv_libfcache 52769 libfdata support: $ac_cv_libfdata 52770 DEFLATE compression support: $ac_cv_inflate 52771 libcaes support: $ac_cv_libcaes 52772 AES-CBC support: $ac_cv_libcaes_aes_cbc 52773 FUSE support: $ac_cv_libfuse 52774 52775Features: 52776 Multi-threading support: $ac_cv_libcthreads_multi_threading 52777 Wide character type support: $ac_cv_enable_wide_character_type 52778 qcowtools are build as static executables: $ac_cv_enable_static_executables 52779 Python (pyqcow) support: $ac_cv_enable_python 52780 Verbose output: $ac_cv_enable_verbose_output 52781 Debug output: $ac_cv_enable_debug_output 52782" >&6;}; 52783 52784